You can subscribe to this list here.
2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(26) |
Nov
|
Dec
(2) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
(2) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Paulo S. <pa...@pa...> - 2003-07-30 17:13:43
|
Hello guys! =20 I will, this week, make javaarena built through Maven (maven.apache.org). this way we can easily mantain the website and have a better directory layout. I will try to keep a build.xml for ant lovers. =20 If anyone is working on some changes that were not commited, please do it. =20 Thanks a lot! =20 =20 ------------------------ Paulo Silveira http://www.ime.usp.br/~peas/ http://www.guj.com.br/ =20 -----Original Message----- From: jav...@li... [mailto:jav...@li...] On Behalf Of Antonio Kantek Sent: quarta-feira, 30 de julho de 2003 18:04 To: jav...@li...; ton...@ho... Subject: [Javaarena-development] JavaArena Brazilian contests !!! (In portuguese) Pessoal, para esse ano =E9 bem prov=E1vel (99% de chances) de = acontecerem 3 JavaArenas:=20 1) Salvador (Evento de jogos)=20 2) S=E3o Paulo (S=E3o Judas Tadeu)=20 3) Curitiba (evento do CITS)=20 J=E1 estou come=E7ando a articular os patroc=EDnios. O que voc=EAs acham = de fecharmos a vers=E3o 1.07 com as seguintes funcionalidades:=20 a) colis=E3o de rob=F4s.=20 b) deploy melhorado=20 c) engine checkupeado=20 d) mais eventos=20 Aguardando!=20 -antonio=20 |
From: Antonio K. <ant...@ho...> - 2003-07-30 17:03:23
|
Pessoal, para esse ano =E9 bem prov=E1vel (99% de chances) de = acontecerem 3 JavaArenas:=20 1) Salvador (Evento de jogos)=20 2) S=E3o Paulo (S=E3o Judas Tadeu)=20 3) Curitiba (evento do CITS)=20 J=E1 estou come=E7ando a articular os patroc=EDnios. O que voc=EAs acham = de fecharmos a vers=E3o 1.07 com as seguintes funcionalidades:=20 a) colis=E3o de rob=F4s.=20 b) deploy melhorado=20 c) engine checkupeado=20 d) mais eventos=20 Aguardando!=20 -antonio |
From: Antonio K. <ant...@ho...> - 2003-06-27 00:40:44
|
Check out the new JavaArena 1.06 !!! https://sourceforge.net/project/showfiles.php?group_id=3D64395&release_id= =3D119018 -antonio |
From: Ademir C. F. <ja...@on...> - 2002-12-20 04:14:36
|
Hello guys I finished commit of my proposal for the javaarena. These modifications = are a little big because I think until February of 2003 we can release = the javaarena 2.0 for any user (I say user so that he is stable in any = computer without having to alter files of texts etc...) perhaps it is = not such an easy task because it will demand some time. I want to know = your opinion and my alterations are approved. The new module name is javaarena2, connect in CVS and make the checkout = for this module. We have everything to do the best game of the gender of JavaArena but = for that we needed time that should be the problem of all us. I will be traveling and i return in January of 2003. Merry Christmas and a Happy New Year Ademir Constantino Filho - ja...@on... |
From: Antonio K. <ant...@ho...> - 2002-12-11 11:12:46
|
Galera, eu vou abrir alguns bugs! D=EAem um check out! -------------------------------------------------------------- Hi all, JavaArena developers, please attention: I will submit new bugs! -antonio |
From: Antonio K. <ka...@jv...> - 2002-10-30 21:18:58
|
Pessoal, eu baixei as classes do gnu para carregar os argumentos que = s=E3o passados no Main. Eu coloquei em gnu.getopt. A classe Main agora ficou muito mais estilo. []'s -------------------------------------------------------------------------= ------ Antonio C.C.B. Kantek http://www.jvelox.com.br -------------------------------------------------------------------------= ----- |
From: Antonio K. <ka...@jv...> - 2002-10-23 23:05:24
|
J=E1 passou pela cabe=E7a de algu=E9m fazer com que as Arenas se = comunicassem por p2p ? |
From: Leonardo R. N. <leo...@su...> - 2002-10-23 17:05:41
|
Pessoal ... como vcs ja devem ter visto ainda faltam coisas nas classes que alterei. Estarei terminando as alterações e integrando hoje a tarde. Kantek vc vai estar online hoje a tarde ??? Leonardo R Nunes Sumersoft Tecnologia Ltda. http://www.sumersoft.com R. Capitão Souza Franco, 848 - Cj 86 Curitiba - PR - CEP 80730-420 +55 41 336-8381 |
From: Antonio K. <ka...@jv...> - 2002-10-23 11:00:49
|
Ai Galera, já comitei as classes do Léo. Façam update! !! []'s ----- Original Message ----- From: "Leonardo R. Nunes" <leo...@su...> To: "JAVAARENA" <jav...@li...> Sent: Tuesday, October 22, 2002 10:48 PM Subject: [Javaarena-development] RobotDeployListener > Pq adiciona robos e remove por nomes ??? > Pq nao faz o remove ser por robos tambem ao inves de nomes ? > > Kantek ... nao esquece de ligar aqui na Sumer quando vc chegar: 41 336-8381 > > Inteh, > > Leonardo R Nunes > Sumersoft Tecnologia Ltda. > http://www.sumersoft.com > > R. Capitão Souza Franco, 848 - Cj 86 > Curitiba - PR - CEP 80730-420 > +55 41 336-8381 > > > > ------------------------------------------------------- > This sf.net emial is sponsored by: Influence the future > of Java(TM) technology. Join the Java Community > Process(SM) (JCP(SM)) program now. > http://ad.doubleclick.net/clk;4699841;7576301;v?http://www.sun.com/javavote > _______________________________________________ > Javaarena-development mailing list > Jav...@li... > https://lists.sourceforge.net/lists/listinfo/javaarena-development > |
From: Leonardo R. N. <leo...@su...> - 2002-10-23 00:49:28
|
Pq adiciona robos e remove por nomes ??? Pq nao faz o remove ser por robos tambem ao inves de nomes ? Kantek ... nao esquece de ligar aqui na Sumer quando vc chegar: 41 336-8381 Inteh, Leonardo R Nunes Sumersoft Tecnologia Ltda. http://www.sumersoft.com R. Capitão Souza Franco, 848 - Cj 86 Curitiba - PR - CEP 80730-420 +55 41 336-8381 |
From: Antonio K. <ka...@jv...> - 2002-10-22 18:53:57
|
Quando é comentario que eu vou substituir eu mando o coment em port. Senao em eng. Outra coisa pessoal, quando entrarem gringos aqui, vamos escrever nas duas linguas, ok? Eu Léo, você não poderia escrever o algorítmo para sortear a posição dos robôs não ? []'s ----- Original Message ----- From: "Paulo Eduardo Azevedo Silveira" <pa...@pa...> To: "arena" <jav...@li...> Sent: Tuesday, October 22, 2002 3:36 PM Subject: [Javaarena-development] commit: bug da tela, build.xml e outros > resolvi o bug da tela la! > > coisas que fiz > - sai tiro mais de perto do robo! > - tela sem o bug, o game agora roda com 750x500 de tela util > - script ant pq meu eclipse ta com uns prob pra da run, que diabos! > > coisas a fazer: > > - tirar os println, que dao lag ao game! tirei alguns > - os robozinhos aqui nao estao aparecendo em posicao randomica! antigamente aparecia > - entregar as coisas em um jar, sem codigo fonte > > alias, vcs tao dando o commit com comentario port ou ingl? > > falou! > > > On Tue, 22 Oct 2002 07:33:18 -0200, "Antonio Kantek" <ka...@jv...> escreveu : > > > De: "Antonio Kantek" <ka...@jv...> > > Data: Tue, 22 Oct 2002 07:33:18 -0200 > > Para: "Paulo Eduardo Azevedo Silveira" <pa...@pa...> > > Assunto: Re: [Javaarena-development] commit: duas constantes mudadas > > > > Ei Paulo, o Leonardo está fazendo as classes no pacote org.javaarena.engine > > Ele tah fazendo o refactory lah. O que você acha de fazer as novas classes > > neste novo pacote ? > > > > []'s > > ----- Original Message ----- > > From: "Paulo Eduardo Azevedo Silveira" <pa...@pa...> > > To: <je...@ob...>; "arena" > > <jav...@li...> > > Sent: Tuesday, October 22, 2002 12:38 AM > > Subject: [Javaarena-development] commit: duas constantes mudadas > > > > > > > oi pessoal > > > > > > mudei duas coisas q vao mudar um pouco a dinamica do jogo > > > > > > o radar passa a "flashar" de meio em meio segundo, ao inves de 1 em 1, vai > > melhorar a qtdade de ataques > > > > > > a formula do calcul da velocidade do tiro eh (velo_atual*2)+7 ao inves de > > +5 de antigamente. Tem um exmploit > > > na velo do tiro: o cara ta paradao, ve o robo inimigo e acelera ao maximo > > e atira, ja que nao tem aceleracao, e > > > as velocidades aumentam instantaneamente, o robo vai dar tiro na > > velocidade maxima. bem, depois a gente > > > incorpora aceleracao, agora nao da tempo > > > > > > sinto nao poder estar mais de perto nesse refactoring > > > > > > paulo > > > > > > > > > On Mon, 21 Oct 2002 17:31:06 -0200, je...@ob... escreveu : > > > > > > > De: je...@ob... > > > > Data: Mon, 21 Oct 2002 17:31:06 -0200 > > > > Para: "arena" <jav...@li...> > > > > Assunto: [Javaarena-development] Scanner e deploy > > > > > > > > > > > > 3) Jean, vc tem como jogar na lista o seu exemplo de full screen ? > > > > > > > > Feito ! > > > > > > > > Mas devo lembrar que o correto é testar quais resoluções o dispositivo > > > > aceita antes de tentar mudar a resolução. Em anexo vai o exemplo da Sun > > > > Outro detalhe, o exemplo não roda se o prompt do DOS estiver em tela > > > > cheia, é preciso que ele esteja como Janela. > > > > > > > > Abraços, > > > > > > > > > > > > #Jean. Object all: time. > > > > . > > > > ----8<--- > > > > > > > > import java.awt.DisplayMode; > > > > import java.awt.Frame; > > > > import java.awt.GraphicsConfiguration; > > > > import java.awt.GraphicsDevice; > > > > import java.awt.GraphicsEnvironment; > > > > import java.awt.Frame; > > > > > > > > public class FullScreenDisplay { > > > > private Frame mainFrame; > > > > > > > > public FullScreenDisplay() { > > > > this(640,400); > > > > } > > > > > > > > public FullScreenDisplay(int x, int y) { > > > > > > > > GraphicsEnvironment env = > > > > GraphicsEnvironment.getLocalGraphicsEnvironment(); > > > > aDevice = env.getDefaultScreenDevice(); > > > > GraphicsConfiguration gc = aDevice.getDefaultConfiguration(); > > > > > > > > try { > > > > mainFrame = new Frame(gc); > > > > mainFrame.setUndecorated(true); > > > > //mainFrame.setIgnoreRepaint(true); > > > > > > > > aDevice.setFullScreenWindow(mainFrame); > > > > > > > > if (aDevice.isDisplayChangeSupported()) { > > > > aDevice.setDisplayMode(new DisplayMode(x, y, 16, 0)); > > > > > > > > } else { > > > > System.out.println("O seu sistema não permite mudar para > > outra > > > > resolução"); > > > > } > > > > > > > > } catch (Exception e) { > > > > e.printStackTrace(); > > > > } > > > > } > > > > > > > > public void close() { > > > > > > > > try { > > > > aDevice.setFullScreenWindow(null); > > > > > > > > } catch (Exception e) { > > > > e.printStackTrace(); > > > > } > > > > } > > > > > > > > public Frame getFrame(){ > > > > return this.mainFrame; > > > > } > > > > > > > > /******************************************** > > > > * Teste > > > > */ > > > > > > > > public static void main(String[] arg) { > > > > FullScreenDisplay aFSD = new FullScreenDisplay(); > > > > Frame umFrame = aFSD.getFrame(); > > > > for (int x = 0; x < 50000; x++) { > > > > umFrame.getGraphics().drawArc(x % 640, x % 400, > > > > x%37,x%33,x/100,x/44); > > > > } > > > > aFSD.close(); > > > > System.exit(0); > > > > } > > > > } > > > > > > > > > > ---------------------------------- > > > Paulo Silveira ICQ 5142673 > > > Grupo de Usuários Java > > > http://www.guj.com.br/ > > > > > > > > > > > > ------------------------------------------------------- > > > This sf.net emial is sponsored by: Influence the future > > > of Java(TM) technology. Join the Java Community > > > Process(SM) (JCP(SM)) program now. > > > > > http://ad.doubleclick.net/clk;4699841;7576298;k?http://www.sun.com/javavote > > > _______________________________________________ > > > Javaarena-development mailing list > > > Jav...@li... > > > https://lists.sourceforge.net/lists/listinfo/javaarena-development > > > > > > > > > > > ------------------------------------------------------- > > This sf.net emial is sponsored by: Influence the future of > > Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) > > program now. http://ad.doubleclick.net/clk;4699841;7576301;v? > > http://www.sun.com/javavote > > _______________________________________________ > > Javaarena-development mailing list > > Jav...@li... > > https://lists.sourceforge.net/lists/listinfo/javaarena-development > > > > > > > > ---------------------------------- > Paulo Silveira ICQ 5142673 > Grupo de Usuários Java > http://www.guj.com.br/ > > > > ------------------------------------------------------- > This sf.net emial is sponsored by: Influence the future > of Java(TM) technology. Join the Java Community > Process(SM) (JCP(SM)) program now. > http://ad.doubleclick.net/clk;4699841;7576301;v?http://www.sun.com/javavote > _______________________________________________ > Javaarena-development mailing list > Jav...@li... > https://lists.sourceforge.net/lists/listinfo/javaarena-development > |
From: Paulo E. A. S. <pa...@pa...> - 2002-10-22 18:48:04
|
resolvi o bug da tela la! coisas que fiz - sai tiro mais de perto do robo! - tela sem o bug, o game agora roda com 750x500 de tela util - script ant pq meu eclipse ta com uns prob pra da run, que diabos! coisas a fazer: - tirar os println, que dao lag ao game! tirei alguns - os robozinhos aqui nao estao aparecendo em posicao randomica! antigamente aparecia - entregar as coisas em um jar, sem codigo fonte alias, vcs tao dando o commit com comentario port ou ingl? falou! On Tue, 22 Oct 2002 07:33:18 -0200, "Antonio Kantek" <ka...@jv...> escreveu : > De: "Antonio Kantek" <ka...@jv...> > Data: Tue, 22 Oct 2002 07:33:18 -0200 > Para: "Paulo Eduardo Azevedo Silveira" <pa...@pa...> > Assunto: Re: [Javaarena-development] commit: duas constantes mudadas > > Ei Paulo, o Leonardo está fazendo as classes no pacote org.javaarena.engine > Ele tah fazendo o refactory lah. O que você acha de fazer as novas classes > neste novo pacote ? > > []'s > ----- Original Message ----- > From: "Paulo Eduardo Azevedo Silveira" <pa...@pa...> > To: <je...@ob...>; "arena" > <jav...@li...> > Sent: Tuesday, October 22, 2002 12:38 AM > Subject: [Javaarena-development] commit: duas constantes mudadas > > > > oi pessoal > > > > mudei duas coisas q vao mudar um pouco a dinamica do jogo > > > > o radar passa a "flashar" de meio em meio segundo, ao inves de 1 em 1, vai > melhorar a qtdade de ataques > > > > a formula do calcul da velocidade do tiro eh (velo_atual*2)+7 ao inves de > +5 de antigamente. Tem um exmploit > > na velo do tiro: o cara ta paradao, ve o robo inimigo e acelera ao maximo > e atira, ja que nao tem aceleracao, e > > as velocidades aumentam instantaneamente, o robo vai dar tiro na > velocidade maxima. bem, depois a gente > > incorpora aceleracao, agora nao da tempo > > > > sinto nao poder estar mais de perto nesse refactoring > > > > paulo > > > > > > On Mon, 21 Oct 2002 17:31:06 -0200, je...@ob... escreveu : > > > > > De: je...@ob... > > > Data: Mon, 21 Oct 2002 17:31:06 -0200 > > > Para: "arena" <jav...@li...> > > > Assunto: [Javaarena-development] Scanner e deploy > > > > > > > > > 3) Jean, vc tem como jogar na lista o seu exemplo de full screen ? > > > > > > Feito ! > > > > > > Mas devo lembrar que o correto é testar quais resoluções o dispositivo > > > aceita antes de tentar mudar a resolução. Em anexo vai o exemplo da Sun > > > Outro detalhe, o exemplo não roda se o prompt do DOS estiver em tela > > > cheia, é preciso que ele esteja como Janela. > > > > > > Abraços, > > > > > > > > > #Jean. Object all: time. > > > . > > > ----8<--- > > > > > > import java.awt.DisplayMode; > > > import java.awt.Frame; > > > import java.awt.GraphicsConfiguration; > > > import java.awt.GraphicsDevice; > > > import java.awt.GraphicsEnvironment; > > > import java.awt.Frame; > > > > > > public class FullScreenDisplay { > > > private Frame mainFrame; > > > > > > public FullScreenDisplay() { > > > this(640,400); > > > } > > > > > > public FullScreenDisplay(int x, int y) { > > > > > > GraphicsEnvironment env = > > > GraphicsEnvironment.getLocalGraphicsEnvironment(); > > > aDevice = env.getDefaultScreenDevice(); > > > GraphicsConfiguration gc = aDevice.getDefaultConfiguration(); > > > > > > try { > > > mainFrame = new Frame(gc); > > > mainFrame.setUndecorated(true); > > > //mainFrame.setIgnoreRepaint(true); > > > > > > aDevice.setFullScreenWindow(mainFrame); > > > > > > if (aDevice.isDisplayChangeSupported()) { > > > aDevice.setDisplayMode(new DisplayMode(x, y, 16, 0)); > > > > > > } else { > > > System.out.println("O seu sistema não permite mudar para > outra > > > resolução"); > > > } > > > > > > } catch (Exception e) { > > > e.printStackTrace(); > > > } > > > } > > > > > > public void close() { > > > > > > try { > > > aDevice.setFullScreenWindow(null); > > > > > > } catch (Exception e) { > > > e.printStackTrace(); > > > } > > > } > > > > > > public Frame getFrame(){ > > > return this.mainFrame; > > > } > > > > > > /******************************************** > > > * Teste > > > */ > > > > > > public static void main(String[] arg) { > > > FullScreenDisplay aFSD = new FullScreenDisplay(); > > > Frame umFrame = aFSD.getFrame(); > > > for (int x = 0; x < 50000; x++) { > > > umFrame.getGraphics().drawArc(x % 640, x % 400, > > > x%37,x%33,x/100,x/44); > > > } > > > aFSD.close(); > > > System.exit(0); > > > } > > > } > > > > > > > ---------------------------------- > > Paulo Silveira ICQ 5142673 > > Grupo de Usuários Java > > http://www.guj.com.br/ > > > > > > > > ------------------------------------------------------- > > This sf.net emial is sponsored by: Influence the future > > of Java(TM) technology. Join the Java Community > > Process(SM) (JCP(SM)) program now. > > > http://ad.doubleclick.net/clk;4699841;7576298;k?http://www.sun.com/javavote > > _______________________________________________ > > Javaarena-development mailing list > > Jav...@li... > > https://lists.sourceforge.net/lists/listinfo/javaarena-development > > > > > > ------------------------------------------------------- > This sf.net emial is sponsored by: Influence the future of > Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) > program now. http://ad.doubleclick.net/clk;4699841;7576301;v? > http://www.sun.com/javavote > _______________________________________________ > Javaarena-development mailing list > Jav...@li... > https://lists.sourceforge.net/lists/listinfo/javaarena-development > > > ---------------------------------- Paulo Silveira ICQ 5142673 Grupo de Usuários Java http://www.guj.com.br/ |
From: Antonio K. <ka...@jv...> - 2002-10-22 10:28:05
|
Ei Paulo, o Leonardo está fazendo as classes no pacote org.javaarena.engine Ele tah fazendo o refactory lah. O que você acha de fazer as novas classes neste novo pacote ? []'s ----- Original Message ----- From: "Paulo Eduardo Azevedo Silveira" <pa...@pa...> To: <je...@ob...>; "arena" <jav...@li...> Sent: Tuesday, October 22, 2002 12:38 AM Subject: [Javaarena-development] commit: duas constantes mudadas > oi pessoal > > mudei duas coisas q vao mudar um pouco a dinamica do jogo > > o radar passa a "flashar" de meio em meio segundo, ao inves de 1 em 1, vai melhorar a qtdade de ataques > > a formula do calcul da velocidade do tiro eh (velo_atual*2)+7 ao inves de +5 de antigamente. Tem um exmploit > na velo do tiro: o cara ta paradao, ve o robo inimigo e acelera ao maximo e atira, ja que nao tem aceleracao, e > as velocidades aumentam instantaneamente, o robo vai dar tiro na velocidade maxima. bem, depois a gente > incorpora aceleracao, agora nao da tempo > > sinto nao poder estar mais de perto nesse refactoring > > paulo > > > On Mon, 21 Oct 2002 17:31:06 -0200, je...@ob... escreveu : > > > De: je...@ob... > > Data: Mon, 21 Oct 2002 17:31:06 -0200 > > Para: "arena" <jav...@li...> > > Assunto: [Javaarena-development] Scanner e deploy > > > > > > 3) Jean, vc tem como jogar na lista o seu exemplo de full screen ? > > > > Feito ! > > > > Mas devo lembrar que o correto é testar quais resoluções o dispositivo > > aceita antes de tentar mudar a resolução. Em anexo vai o exemplo da Sun > > Outro detalhe, o exemplo não roda se o prompt do DOS estiver em tela > > cheia, é preciso que ele esteja como Janela. > > > > Abraços, > > > > > > #Jean. Object all: time. > > . > > ----8<--- > > > > import java.awt.DisplayMode; > > import java.awt.Frame; > > import java.awt.GraphicsConfiguration; > > import java.awt.GraphicsDevice; > > import java.awt.GraphicsEnvironment; > > import java.awt.Frame; > > > > public class FullScreenDisplay { > > private Frame mainFrame; > > > > public FullScreenDisplay() { > > this(640,400); > > } > > > > public FullScreenDisplay(int x, int y) { > > > > GraphicsEnvironment env = > > GraphicsEnvironment.getLocalGraphicsEnvironment(); > > aDevice = env.getDefaultScreenDevice(); > > GraphicsConfiguration gc = aDevice.getDefaultConfiguration(); > > > > try { > > mainFrame = new Frame(gc); > > mainFrame.setUndecorated(true); > > //mainFrame.setIgnoreRepaint(true); > > > > aDevice.setFullScreenWindow(mainFrame); > > > > if (aDevice.isDisplayChangeSupported()) { > > aDevice.setDisplayMode(new DisplayMode(x, y, 16, 0)); > > > > } else { > > System.out.println("O seu sistema não permite mudar para outra > > resolução"); > > } > > > > } catch (Exception e) { > > e.printStackTrace(); > > } > > } > > > > public void close() { > > > > try { > > aDevice.setFullScreenWindow(null); > > > > } catch (Exception e) { > > e.printStackTrace(); > > } > > } > > > > public Frame getFrame(){ > > return this.mainFrame; > > } > > > > /******************************************** > > * Teste > > */ > > > > public static void main(String[] arg) { > > FullScreenDisplay aFSD = new FullScreenDisplay(); > > Frame umFrame = aFSD.getFrame(); > > for (int x = 0; x < 50000; x++) { > > umFrame.getGraphics().drawArc(x % 640, x % 400, > > x%37,x%33,x/100,x/44); > > } > > aFSD.close(); > > System.exit(0); > > } > > } > > > > ---------------------------------- > Paulo Silveira ICQ 5142673 > Grupo de Usuários Java > http://www.guj.com.br/ > > > > ------------------------------------------------------- > This sf.net emial is sponsored by: Influence the future > of Java(TM) technology. Join the Java Community > Process(SM) (JCP(SM)) program now. > http://ad.doubleclick.net/clk;4699841;7576298;k?http://www.sun.com/javavote > _______________________________________________ > Javaarena-development mailing list > Jav...@li... > https://lists.sourceforge.net/lists/listinfo/javaarena-development > |
From: Paulo E. A. S. <pa...@pa...> - 2002-10-22 02:39:21
|
oi pessoal mudei duas coisas q vao mudar um pouco a dinamica do jogo o radar passa a "flashar" de meio em meio segundo, ao inves de 1 em 1, vai melhorar a qtdade de ataques a formula do calcul da velocidade do tiro eh (velo_atual*2)+7 ao inves de +5 de antigamente. Tem um exmploit na velo do tiro: o cara ta paradao, ve o robo inimigo e acelera ao maximo e atira, ja que nao tem aceleracao, e as velocidades aumentam instantaneamente, o robo vai dar tiro na velocidade maxima. bem, depois a gente incorpora aceleracao, agora nao da tempo sinto nao poder estar mais de perto nesse refactoring paulo On Mon, 21 Oct 2002 17:31:06 -0200, je...@ob... escreveu : > De: je...@ob... > Data: Mon, 21 Oct 2002 17:31:06 -0200 > Para: "arena" <jav...@li...> > Assunto: [Javaarena-development] Scanner e deploy > > > 3) Jean, vc tem como jogar na lista o seu exemplo de full screen ? > > Feito ! > > Mas devo lembrar que o correto é testar quais resoluções o dispositivo > aceita antes de tentar mudar a resolução. Em anexo vai o exemplo da Sun > Outro detalhe, o exemplo não roda se o prompt do DOS estiver em tela > cheia, é preciso que ele esteja como Janela. > > Abraços, > > > #Jean. Object all: time. > . > ----8<--- > > import java.awt.DisplayMode; > import java.awt.Frame; > import java.awt.GraphicsConfiguration; > import java.awt.GraphicsDevice; > import java.awt.GraphicsEnvironment; > import java.awt.Frame; > > public class FullScreenDisplay { > private Frame mainFrame; > > public FullScreenDisplay() { > this(640,400); > } > > public FullScreenDisplay(int x, int y) { > > GraphicsEnvironment env = > GraphicsEnvironment.getLocalGraphicsEnvironment(); > aDevice = env.getDefaultScreenDevice(); > GraphicsConfiguration gc = aDevice.getDefaultConfiguration(); > > try { > mainFrame = new Frame(gc); > mainFrame.setUndecorated(true); > //mainFrame.setIgnoreRepaint(true); > > aDevice.setFullScreenWindow(mainFrame); > > if (aDevice.isDisplayChangeSupported()) { > aDevice.setDisplayMode(new DisplayMode(x, y, 16, 0)); > > } else { > System.out.println("O seu sistema não permite mudar para outra > resolução"); > } > > } catch (Exception e) { > e.printStackTrace(); > } > } > > public void close() { > > try { > aDevice.setFullScreenWindow(null); > > } catch (Exception e) { > e.printStackTrace(); > } > } > > public Frame getFrame(){ > return this.mainFrame; > } > > /******************************************** > * Teste > */ > > public static void main(String[] arg) { > FullScreenDisplay aFSD = new FullScreenDisplay(); > Frame umFrame = aFSD.getFrame(); > for (int x = 0; x < 50000; x++) { > umFrame.getGraphics().drawArc(x % 640, x % 400, > x%37,x%33,x/100,x/44); > } > aFSD.close(); > System.exit(0); > } > } > ---------------------------------- Paulo Silveira ICQ 5142673 Grupo de Usuários Java http://www.guj.com.br/ |
From: <je...@ob...> - 2002-10-21 19:27:30
|
/*=0A test @(#)DisplayModeTest.java 1.4 01/07/17=0A @bug 4189326=0A @sum= mary Tests changing display mode=0A @author martak@eng: area=3DFullScreen= =0A @ignore This test enters full-screen mode, if available, and should no= t=0A be run as an applet or as part of the test harness.=0A*/=0A=0A/**=0A = * This test generates a table of all available display modes, enters=0A * f= ull-screen mode, if available, and allows you to change the display mode.= =0A * The application should look fine under each enumerated display mode.= =0A * On UNIX, only a single display mode should be available, and on Micro= soft=0A * Windows, display modes should depend on direct draw availability = and the=0A * type of graphics card.=0A */=0A=0Aimport java.awt.*;=0Aimport = java.awt.event.*;=0Aimport javax.swing.*;=0Aimport javax.swing.event.*;=0Ai= mport javax.swing.table.*;=0A=0Aclass DisplayModeModel extends DefaultTable= Model {=0A private DisplayMode[] modes;=0A=0A public DisplayModeModel= (DisplayMode[] modes) {=0A this.modes =3D modes;=0A }=0A=0A pu= blic DisplayMode getDisplayMode(int r) {=0A return modes[r];=0A }= =0A=0A public String getColumnName(int c) {=0A return DisplayMode= Test.COLUMN=5FNAMES[c];=0A }=0A=0A public int getColumnCount() {=0A = return DisplayModeTest.COLUMN=5FWIDTHS.length;=0A }=0A=0A publi= c boolean isCellEditable(int r, int c) {=0A return false;=0A }=0A= =0A public int getRowCount() {=0A if (modes =3D=3D null) {=0A = return 0;=0A }=0A return modes.length;=0A }=0A=0A = public Object getValueAt(int rowIndex, int colIndex) {=0A Display= Mode dm =3D modes[rowIndex];=0A switch (colIndex) {=0A ca= se DisplayModeTest.INDEX=5FWIDTH :=0A return Integer.toStrin= g(dm.getWidth());=0A case DisplayModeTest.INDEX=5FHEIGHT :=0A = return Integer.toString(dm.getHeight());=0A case Di= splayModeTest.INDEX=5FBITDEPTH : {=0A int bitDepth =3D dm.ge= tBitDepth();=0A String ret;=0A if (bitDepth = =3D=3D DisplayMode.BIT=5FDEPTH=5FMULTI) {=0A ret =3D "Mu= lti";=0A } else {=0A ret =3D Integer.toSt= ring(bitDepth);=0A }=0A return ret;=0A = }=0A case DisplayModeTest.INDEX=5FREFRESHRATE : {=0A = int refreshRate =3D dm.getRefreshRate();=0A String = ret;=0A if (refreshRate =3D=3D DisplayMode.REFRESH=5FRATE=5F= UNKNOWN) {=0A ret =3D "Unknown";=0A } els= e {=0A ret =3D Integer.toString(refreshRate);=0A = }=0A return ret;=0A }=0A }=0A = throw new ArrayIndexOutOfBoundsException("Invalid column value");=0A = }=0A=0A}=0A=0Apublic class DisplayModeTest extends JFrame implements Action= Listener,=0A ListSelectionListener {=0A=0A private boolean waiting = =3D false;=0A private GraphicsDevice device;=0A private DisplayMode o= riginalDM;=0A private JButton exit =3D new JButton("Exit");=0A privat= e JButton changeDM =3D new JButton("Set Display");=0A private JLabel cur= rentDM =3D new JLabel();=0A private JTable dmList =3D new JTable();=0A = private JScrollPane dmPane =3D new JScrollPane(dmList);=0A private boo= lean isFullScreen =3D false;=0A=0A public static final int INDEX=5FWIDTH= =3D 0;=0A public static final int INDEX=5FHEIGHT =3D 1;=0A public st= atic final int INDEX=5FBITDEPTH =3D 2;=0A public static final int INDEX= =5FREFRESHRATE =3D 3;=0A=0A public static final int[] COLUMN=5FWIDTHS = =3D new int[] {=0A 100, 100, 100, 100=0A };=0A public static f= inal String[] COLUMN=5FNAMES =3D new String[] {=0A "Width", "Height"= , "Bit Depth", "Refresh Rate"=0A };=0A=0A public DisplayModeTest(Grap= hicsDevice device) {=0A super(device.getDefaultConfiguration());=0A = this.device =3D device;=0A setTitle("Display Mode Test");=0A = originalDM =3D device.getDisplayMode();=0A setDMLabel(origina= lDM);=0A setDefaultCloseOperation(EXIT=5FON=5FCLOSE);=0A // M= ake sure a DM is always selected in the list=0A exit.addActionListen= er(this);=0A changeDM.addActionListener(this);=0A changeDM.se= tEnabled(device.isDisplayChangeSupported());=0A }=0A=0A public void a= ctionPerformed(ActionEvent ev) {=0A Object source =3D ev.getSource()= ;=0A if (source =3D=3D exit) {=0A device.setDisplayMode(o= riginalDM);=0A System.exit(0);=0A } else { // if (source = =3D=3D changeDM)=0A int index =3D dmList.getSelectionModel().get= AnchorSelectionIndex();=0A if (index >=3D 0) {=0A = DisplayModeModel model =3D (DisplayModeModel)dmList.getModel();=0A = DisplayMode dm =3D model.getDisplayMode(index);=0A d= evice.setDisplayMode(dm);=0A setDMLabel(dm);=0A = setSize(new Dimension(dm.getWidth(), dm.getHeight()));=0A = validate();=0A }=0A }=0A }=0A=0A public void value= Changed(ListSelectionEvent ev) {=0A changeDM.setEnabled(device.isDis= playChangeSupported());=0A }=0A=0A private void initComponents(Contai= ner c) {=0A setContentPane(c);=0A c.setLayout(new BorderLayou= t());=0A // Current DM=0A JPanel currentPanel =3D new JPanel(= new FlowLayout(FlowLayout.CENTER));=0A c.add(currentPanel, BorderLay= out.NORTH);=0A JLabel current =3D new JLabel("Current Display Mode := ");=0A currentPanel.add(current);=0A currentPanel.add(curren= tDM);=0A // Display Modes=0A JPanel modesPanel =3D new JPanel= (new GridLayout(1, 2));=0A c.add(modesPanel, BorderLayout.CENTER);= =0A // List of display modes=0A for (int i =3D 0; i < COLUMN= =5FWIDTHS.length; i++) {=0A TableColumn col =3D new TableColumn(= i, COLUMN=5FWIDTHS[i]);=0A col.setIdentifier(COLUMN=5FNAMES[i]);= =0A col.setHeaderValue(COLUMN=5FNAMES[i]);=0A dmList.= addColumn(col);=0A }=0A dmList.getSelectionModel().setSelecti= onMode(=0A ListSelectionModel.SINGLE=5FSELECTION);=0A dmL= ist.getSelectionModel().addListSelectionListener(this);=0A modesPane= l.add(dmPane);=0A // Controls=0A JPanel controlsPanelA =3D ne= w JPanel(new BorderLayout());=0A modesPanel.add(controlsPanelA);=0A = JPanel controlsPanelB =3D new JPanel(new GridLayout(2, 1));=0A = controlsPanelA.add(controlsPanelB, BorderLayout.NORTH);=0A // Exit= =0A JPanel exitPanel =3D new JPanel(new FlowLayout(FlowLayout.CENTER= ));=0A controlsPanelB.add(exitPanel);=0A exitPanel.add(exit);= =0A // Change DM=0A JPanel changeDMPanel =3D new JPanel(new F= lowLayout(FlowLayout.CENTER));=0A controlsPanelB.add(changeDMPanel);= =0A changeDMPanel.add(changeDM);=0A controlsPanelA.add(new JP= anel(), BorderLayout.CENTER);=0A }=0A=0A public void setVisible(boole= an isVis) {=0A super.setVisible(isVis);=0A if (isVis) {=0A = dmList.setModel(new DisplayModeModel(device.getDisplayModes()));= =0A }=0A }=0A=0A public void setDMLabel(DisplayMode newMode) {= =0A int bitDepth =3D newMode.getBitDepth();=0A int refreshRat= e =3D newMode.getRefreshRate();=0A String bd, rr;=0A if (bitD= epth =3D=3D DisplayMode.BIT=5FDEPTH=5FMULTI) {=0A bd =3D "Multi"= ;=0A } else {=0A bd =3D Integer.toString(bitDepth);=0A = }=0A if (refreshRate =3D=3D DisplayMode.REFRESH=5FRATE=5FUNKNOW= N) {=0A rr =3D "Unknown";=0A } else {=0A rr = =3D Integer.toString(refreshRate);=0A }=0A currentDM.setText(= =0A COLUMN=5FNAMES[INDEX=5FWIDTH] + ": " + newMode.getWidth() + = " "=0A + COLUMN=5FNAMES[INDEX=5FHEIGHT] + ": " + newMode.getHeig= ht() + " "=0A + COLUMN=5FNAMES[INDEX=5FBITDEPTH] + ": " + bd + "= "=0A + COLUMN=5FNAMES[INDEX=5FREFRESHRATE] + ": " + rr=0A = );=0A }=0A=0A public void begin() {=0A isFullScreen =3D = device.isFullScreenSupported();=0A setUndecorated(isFullScreen);=0A = setResizable(!isFullScreen);=0A if (isFullScreen) {=0A = // Full-screen mode=0A device.setFullScreenWindow(this);=0A= validate();=0A } else {=0A // Windowed mode= =0A pack();=0A setVisible(true);=0A }=0A }= =0A=0A public static void main(String[] args) {=0A GraphicsEnviro= nment env =3D GraphicsEnvironment.=0A getLocalGraphicsEnvironmen= t();=0A GraphicsDevice[] devices =3D env.getScreenDevices();=0A = // REMIND : Multi-monitor full-screen mode not yet supported=0A f= or (int i =3D 0; i < 1 /* devices.length */; i++) {=0A DisplayMo= deTest test =3D new DisplayModeTest(devices[i]);=0A test.initCom= ponents(test.getContentPane());=0A test.begin();=0A }=0A = }=0A}=0A= |
From: Antonio K. <ka...@jv...> - 2002-10-20 17:42:40
|
Eu comecei a fazer as telas novas. Elas estao em = candidates.org.javaarena.gui.* Eu achei que elas est=E3o umas bostas. Algu=E9m poderia me ajudar a fazer essas telas? []'s |
From: Antonio K. <ka...@jv...> - 2002-10-20 16:51:43
|
Pessoal, estou criando um diretorio chamado candidates. Todos os patches devem ser colocados lah antes de irem para o seu lugar = original. Isso vai evitar conflitos. []'s |
From: Paulo E. A. S. <pa...@pa...> - 2002-10-20 16:03:29
|
O que seria exatamente o save e load arena? Sobre a GUI, precisa tirar o bug da faixa la embaixo, deve ser BEM facil de tirar! falou On Sun, 20 Oct 2002 10:49:39 -0700, "Antonio Kantek" <ka...@jv...> escreveu : > De: "Antonio Kantek" <ka...@jv...> > Data: Sun, 20 Oct 2002 10:49:39 -0700 > Para: "arena" <jav...@li...> > Assunto: [Javaarena-development] Tarefas > > Pendências para GUI: > > Menu > Arena > Load Arena (desabilitar) > Save Arena (desabilitar) > Exit > Session > New > Load > Save > Pause > Stop > Robot > ? > Help > About > > Então o que vocês acham ? > > ---------------------------------------------------------------------------- > --- > Antonio C.C.B. Kantek > > http://www.jvelox.com.br > > Java Arena Sul > http://www.jvelox.com.br/javaarena > > Acontecerá dia 26 de Outubro em Florianópolis > a segunda etapa do maior desafio de robôs feitos > em Java. > > O evento acontecerá na Rua José Salvador Diniz > Bairro Ponte do Imaruim, CEP: 88.130-000 > Palhoça - SC > ---------------------------------------------------------------------------- > --- > > > > ------------------------------------------------------- > This sf.net email is sponsored by: > Access Your PC Securely with GoToMyPC. Try Free Now > https://www.gotomypc.com/s/OSND/DD > _______________________________________________ > Javaarena-development mailing list > Jav...@li... > https://lists.sourceforge.net/lists/listinfo/javaarena-development > > > ---------------------------------- Paulo Silveira ICQ 5142673 Grupo de Usuários Java http://www.guj.com.br/ |
From: Antonio K. <ka...@jv...> - 2002-10-20 14:47:27
|
Leo, o deployer agora estah beleza. Alem disso eu fiz os deployListeners. As responsabilidades ficaram assim: Scanner: toda vez que algum novo arquivo =E9 jogado, o scanner vai = notificar os deployers Deployer: todo deployer vai filtrar os arquivos atraves de = java.io.FileFilter e notificar=E1 os seus listeners, os DeployListener. Telas, provavelmente, ser=E3o DeployListener. pendencias: clean shutdown full screen refactory to pacote org.javaarena.engine obs: pessoal, precisamos correr com isso! []'s |
From: Antonio K. <ka...@jv...> - 2002-10-20 13:50:06
|
Pendências para GUI: Menu Arena Load Arena (desabilitar) Save Arena (desabilitar) Exit Session New Load Save Pause Stop Robot ? Help About Então o que vocês acham ? ---------------------------------------------------------------------------- --- Antonio C.C.B. Kantek http://www.jvelox.com.br Java Arena Sul http://www.jvelox.com.br/javaarena Acontecerá dia 26 de Outubro em Florianópolis a segunda etapa do maior desafio de robôs feitos em Java. O evento acontecerá na Rua José Salvador Diniz Bairro Ponte do Imaruim, CEP: 88.130-000 Palhoça - SC ---------------------------------------------------------------------------- --- |
From: Leonardo R. N. <leo...@su...> - 2002-10-19 21:47:48
|
To meio perdido ainda ... o que que era para eu fazer mesmo ?? o shutdown ? Quando tiver nova versao do robot deployer avisa ai kantek ... :) Vi uns /*TODOS */ no código posso ir fazendo tambem. inteh Leonardo R Nunes Sumersoft Tecnologia Ltda. http://www.sumersoft.com R. Capitão Souza Franco, 848 - Cj 86 Curitiba - PR - CEP 80730-420 +55 41 336-8381 |
From: Leonardo R. N. <leo...@su...> - 2002-10-19 19:55:35
|
Bom ... checkoutei o pacote javaarena inteiro ... notei que a classe org.javaarena.deploy.RobotDeployer nao compila pois nao tem "this.filter" Seguinte ... tem algum script ant pro javaarena ??? Leonardo R Nunes Sumersoft Tecnologia Ltda. http://www.sumersoft.com R. Capitão Souza Franco, 848 - Cj 86 Curitiba - PR - CEP 80730-420 +55 41 336-8381 |
From: Antonio K. <ka...@jv...> - 2002-10-18 22:41:56
|
Ai galera, adicionei o RobotClassLoader. Tah ficando muito legal o hotdeploy do javaarena... Isso o robocode n=E3o tem ehhehehe []'s -------------------------------------------------------------------------= ------ Antonio C.C.B. Kantek http://www.jvelox.com.br Java Arena Sul http://www.jvelox.com.br/javaarena Acontecer=E1 dia 26 de Outubro em Florian=F3polis a segunda etapa do maior desafio de rob=F4s feitos=20 em Java.=20 O evento acontecer=E1 na Rua Jos=E9 Salvador Diniz Bairro Ponte do Imaruim, CEP: 88.130-000 Palho=E7a - SC -------------------------------------------------------------------------= ------ |
From: Antonio K. <ka...@jv...> - 2002-10-18 19:29:58
|
1) Amigos, eu criei o scanner (org.javaarena.deploy.Scanner) Ele fica vendo se foram colocados ou tirados arquivos de um determinado = diret=F3rio. Podemos colocar deployers dentro do scanner. Cada deployer vai fazer o = deploy de um determinado=20 tipo de arquivo. A escolha vai ser feita atrav=E9s do = java.io.FileFilter. Por ex: os arquivos .class vao ser pegos pelo RobotDeployer que vai = fazer a implanta=E7=E3o dos robos (.class) Quanto aos classloaders, vamos criar um classloader por partida. Ai = acaba aquele problema de descarregar classes. 2) Outra coisa pessoal, um projeto opensource tem sucesso quando = conseguimos tirar a tipagem dos objetos. Deixe-me explicar melhor. Precisamos fazer uma coisa parecida com o = JBoss. Nao digo para utilizar JMX. Mas de alguma forma precisamos chamar os = componentes pelos seus nomes tipo componente x execute o metodo y com os params z. Isso ajuda muito a integra=E7=E3o com m=F3dulos de terceiros. Mas isso vai ficar para os javaarenas s=E9ries 3.x 3) Jean, vc tem como jogar na lista o seu exemplo de full screen ? -------------------------------------------------------------------------= ------ Antonio C.C.B. Kantek http://www.jvelox.com.br Java Arena Sul http://www.jvelox.com.br/javaarena Acontecer=E1 dia 26 de Outubro em Florian=F3polis a segunda etapa do maior desafio de rob=F4s feitos=20 em Java.=20 O evento acontecer=E1 na Rua Jos=E9 Salvador Diniz Bairro Ponte do Imaruim, CEP: 88.130-000 Palho=E7a - SC -------------------------------------------------------------------------= ------ |
From: <je...@ob...> - 2002-10-18 18:44:59
|
teste 3 ok "Antonio Kantek" <ka...@jv...> Sent by: jav...@li... 18/10/2002 19:13 =20 To: <jav...@li...> cc:=20 Subject: [Javaarena-development] teste 3 =20 ---------------------------------------------------------------------------= ---- Antonio C.C.B. Kantek =20 http://www.jvelox.com.br =20 Java Arena Sul http://www.jvelox.com.br/javaarena =20 Acontecer=E1 dia 26 de Outubro em Florian=F3polis a segunda etapa do maior desafio de rob=F4s feitos=20 em Java.=20 =20 O evento acontecer=E1 na Rua Jos=E9 Salvador Diniz Bairro Ponte do Imaruim, CEP: 88.130-000 Palho=E7a - SC ---------------------------------------------------------------------------= ---- |