• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

speed of the game

 
sally brown
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello! i am implementing a game for pdas.but the game works too slow in the emulator.i think it's not the problem of the emulator but the code because other similar games work well.when i press the stop button the game stops after one or more generations.also i use thread.sleep(delay) to change the speed of the game but changing delay variable in the code does not make difference.i think i have a problem about threads but i can not find the mistake.Can you help please?Thanks
 
Pavlin Mihalev
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi again sally brown,
as I am understanding from your previous posts in this forum, you are trying to develop a game for the PalmOS, so most probably it isn't fault in your code. In fact java is running very very slow on PalmOS. I have done many games that run well on almost all j2me platforms, but doesn't perform on Palm. That is : java on palm is not a good conjunction.
Don't lose courage though, java has many other applications.
Cheers
 
sally brown
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks pavlin mihalev!
yes i am implementing the game of life(john conway's) for palm.i found the PocketLife.prc on the internet.it works really good meaning it is fast.but i couldn't see the code.so i thought that it is the fault of my program.
besides palm applications is not my choice.it is my course project.so i have to
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic