Java-Gaming.org Java4K winners: [ by our judges | by the community ]         
Featured games (67)
games approved by the League of Dukes
Games in Showcase (∞)
games submitted by our members



News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  Print  
  how to made the prestation good for a low-prestation hardware  (Read 1183 times)
0 Members and 2 Guests are viewing this topic.
Offline lucabeast

JGO n00b
*

Posts: 1



« on: 2009-10-30 04:15:55 »

I must create a game with J2SE with 2D graphics for low-prestation hardware (e.g. 256MB Ram, max 512MB processor) but I don't know how to minimize the prestation of the game for this kind of hardware, i hope that anyone can help me.
Thank you
Offline Karmington

Full Member
**

Posts: 177
Medals: 1


Co-op Freak


« Reply #1 on: 2009-10-30 22:30:46 »

just keep the draw calls to a reasonable number, say about a 100 draws per frame.
If using more, try dirty pixels techniques to limit redraws.
The limitation is not in itself crippling, look at C64 games as example of what can be done with 64 meg RAM.
Most games it's the rendering that takes time, logic is 1% of the load.

Offline JL235

JGO Ninja
***

Posts: 660
Medals: 21



« Reply #2 on: 2009-11-02 08:10:41 »

You could also build it as an event driven game, rather then active rendering. When an event occurres you clear the section of the screen where the event occurred and then redraw what's new. On games with very few changes to the graphics over time, like Civilization, this is very efficient and will leave the CPU idle for most of it's time.

Pages: [1]
  Print  
 
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.08 seconds with 19 queries.