This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Java Micro Edition and the fly likes speed of the game Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "speed of the game" Watch "speed of the game" New topic

speed of the game

sally brown

Joined: Apr 29, 2003
Posts: 9
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

Joined: Apr 29, 2003
Posts: 28
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.

------<br />
sally brown

Joined: Apr 29, 2003
Posts: 9
thanks pavlin mihalev!
yes i am implementing the game of life(john conway's) for palm.i found the PocketLife.prc on the works really good meaning it is fast.but i couldn't see the i thought that it is the fault of my program.
besides palm applications is not my is my course i have to
I agree. Here's the link:
subject: speed of the game
jQuery in Action, 3rd edition