Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (754)
Games in Android Showcase (229)
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: Game Freeze! on: 2004-08-10 00:03:08
Well, say an explosion animation may occur several times on the screen, so one animation object is created and a clone of it is used for another explosion.

Now, I've read on another topic that the maximum size for images to be stored in accelerated memory is 256x256.  I've changed my animation images so that they fit this criteria.  I also disabled 2 sound clips which were played on each ship explosion and bullet fired by the player.  I've ran the game several times and it hasnt frozen, but I'd still like to know if there's a better way of loading animations.

2  Game Development / Performance Tuning / Game Freeze! on: 2004-08-09 22:45:47
Hi all,

I'm developing space-shooter style game and I'm using a 3D program to generate some very neat animations for the game.  After adding many animations to the game, it started to freeze a heck of alot during game play, and it'll remain frozen (i.e. I have to shut down the process).

This might have something to do with the fact that each animation is a good 120 frames of PNG images with alpha transparency.  A couple of things which have already been done:

1. The images are compressed as much as possible in terms of size.
2. All of the images are only loaded ONCE and are stored as a static "animation" object which is cloned each time the animation needs to occur.
3. The heap size of the JVM is already being raised to 256 MB, which is pretty darn high!

So if anyone has any suggestions regarding faster, more effecient proper animation it would be greatly appreicated.

Thanks guys!
Pages: [1]
DesertCoockie (33 views)
2018-05-13 18:23:11

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

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

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

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

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

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

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

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

buddyBro (1065 views)
2018-02-28 16:59:18
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!