Sony Ericsson / Sony : Themes, ringtones, screensavers, games, video clips : Check out my J2ME Snake game!
>
New Topic
>
Reply<
Esato Forum Index
>
Sony Ericsson / Sony >
Themes, ringtones, screensavers, games, video clips
> Check out my J2ME Snake game!
Bookmark topic
that's cool!
great work dude!
--
Posted: 2003-06-12 03:42:52
Edit :
Quote
good job!
well, I have a PackMan Java game, but it runs too fast on my t610, any way to make it slower?
--
Posted: 2003-06-12 09:40:33
Edit :
Quote
it can't be downloaded???
why?
--
Posted: 2003-06-12 10:32:17
Edit :
Quote
I speed option would be great..
--
Posted: 2003-06-12 12:09:24
Edit :
Quote
@bahraini
Try "Save Target As..." or doesn't the link work at all?
@randomix
Do you work with Threads already? If so look at this run method.
Code:public void run ( )
{
while ( true )
{
repaint ( );
try
{
thread.sleep ( 250 ); // This are miliseconds
}
catch ( InterruptedException exception )
{
// Do something...
}
}
}
I'll post an updated version of Snake later today and the source code! So perhaps you could look at that. Good luck with your game.
--
Posted: 2003-06-12 14:57:10
Edit :
Quote
Ok, just look at SE example. When you download SE SDK you get an snake example, look at the code...
--
Posted: 2003-06-12 15:09:10
Edit :
Quote
Ok a new version is released! Look at the first post in this topic for the URL's. I also posted the source code if anyone is interrested and the .jad file for Nokia users.
What's new?
- Different speed modes
- Pause function (Press FIRE while playing)
http://snake.dynalias.com/Snake.jar
http://snake.dynalias.com/Snake.jad
http://snake.dynalias.com/Snake.zip (Source)
Feel free to use the source code for your own games and to publish this game on your own site. There are no copyrights on this game
--
Posted: 2003-06-12 15:54:49
Edit :
Quote
wooohooo!
thanks for the update dude!
that's very nice of you!
by the way, dude, is it possible to make the squares just a bit smaller so that there's more room to run around? thanks!

[ This Message was edited by: Lars on 2003-06-12 15:39 ]
--
Posted: 2003-06-12 16:37:40
Edit :
Quote
If you download the source and are able to compile it:
In Field.java, line 27, you can change the variable gridSize to any size you like as long as it's between 2 and your screensize
If you can't compile it, just wait for a new version, it could take a while, I'm very busy at the moment...
--
Posted: 2003-06-12 16:47:23
Edit :
Quote
okay thanks!
i learnt java before but haven't been doing it for 3 years. :/
so i need to get JDK for win32? to compile huh?
--
Posted: 2003-06-12 16:50:33
Edit :
Quote
New Topic
Reply