• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

speed of the game

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
I yam what I yam and that's all that I yam - the great philosopher Popeye. Tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic