Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (780)
Games in Android Showcase (233)
games submitted by our members
Games in WIP (857)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  how to made the prestation good for a low-prestation hardware  (Read 2455 times)
0 Members and 1 Guest are viewing this topic.
Offline lucabeast

Innocent Bystander

« Posted 2009-10-30 08: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

Senior Devvie

Medals: 1
Projects: 1

Co-op Freak

« Reply #1 - Posted 2009-10-31 02: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 Coder

Medals: 10

« Reply #2 - Posted 2009-11-02 13: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]
  ignore  |  Print  

hadezbladez (736 views)
2018-11-16 13:46:03

hadezbladez (372 views)
2018-11-16 13:41:33

hadezbladez (726 views)
2018-11-16 13:35:35

hadezbladez (187 views)
2018-11-16 13:32:03

EgonOlsen (2385 views)
2018-06-10 19:43:48

EgonOlsen (2539 views)
2018-06-10 19:43:44

EgonOlsen (1473 views)
2018-06-10 19:43:20

DesertCoockie (2137 views)
2018-05-13 18:23:11

nelsongames (1934 views)
2018-04-24 18:15:36

nelsongames (2615 views)
2018-04-24 18:14:32
Deployment and Packaging
by mudlee
2018-08-22 18:09:50

Java Gaming Resources
by gouessej
2018-08-22 08:19:41

Deployment and Packaging
by gouessej
2018-08-22 08:04:08

Deployment and Packaging
by gouessej
2018-08-22 08:03:45

Deployment and Packaging
by philfrei
2018-08-20 02:33:38

Deployment and Packaging
by philfrei
2018-08-20 02:29:55

Deployment and Packaging
by philfrei
2018-08-19 23:56:20

Deployment and Packaging
by philfrei
2018-08-19 23:54:46 is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!