Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (753)
Games in Android Showcase (228)
games submitted by our members
Games in WIP (842)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
   Home   Help   Search   Login   Register   
  Show Posts
Pages: [1]
1  Game Development / Performance Tuning / Re: Chunk Snapshot on: 2012-09-27 22:54:58
Hey guys, sorry I haven't replied, computer was brokededed.. Shocked
Anyway thanks davedes, that helped alot Smiley.
2  Game Development / Performance Tuning / Chunk Snapshot on: 2012-09-18 21:32:49
Hey guys, not sure if this is the right place for this but here it goes:
I'm working on a tile engine, like 2d minecraft or whatever.  I am organizing the blocks in chunks and draw a whole chunk if any of it is on-screen.  If I am drawing like 20 chunks or something like that then its no problem (default zoom and screen size only 12 chunks MAX are drawn anyway).  BUT, when the user zooms out and a few hundred chunks need being drawn with 256 blocks in each of them, it obviously drops the FPS quite significantly.

I was wondering if it would make any sense at all to take some sort of "chunk snapshot" where it does a one time thing and draws all the blocks in the chunk onto an image and every draw sequence after that just draws that image.  I THINK this is a good idea, and I think I picked it up from somewhere else (I'm not that clever Tongue) but just in case I need some validation xD

IF this makes sense and would boost performance, how exactly could I go about doing this? (I'm using Slick2d BTW)

EDIT:  Also if It's unclear what I'm asking just tell me Smiley
Pages: [1]
nelsongames (5 views)
2018-04-24 18:15:36

nelsongames (5 views)
2018-04-24 18:14:32

ivj94 (586 views)
2018-03-24 14:47:39

ivj94 (49 views)
2018-03-24 14:46:31

ivj94 (383 views)
2018-03-24 14:43:53

Solater (63 views)
2018-03-17 05:04:08

nelsongames (110 views)
2018-03-05 17:56:34

Gornova (159 views)
2018-03-02 22:15:33

buddyBro (704 views)
2018-02-28 16:59:18

buddyBro (93 views)
2018-02-28 16:45:17
Java Gaming Resources
by philfrei
2017-12-05 19:38:37

Java Gaming Resources
by philfrei
2017-12-05 19:37:39

Java Gaming Resources
by philfrei
2017-12-05 19:36:10

Java Gaming Resources
by philfrei
2017-12-05 19:33:10

List of Learning Resources
by elect
2017-03-13 14:05:44

List of Learning Resources
by elect
2017-03-13 14:04:45

SF/X Libraries
by philfrei
2017-03-02 08:45:19

SF/X Libraries
by philfrei
2017-03-02 08:44:05 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!