Hi !
Featured games (91)
games approved by the League of Dukes
Games in Showcase (757)
Games in Android Showcase (229)
games submitted by our members
Games in WIP (843)
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  
  Odd Slick2D ParticleSystem problem (Solved)  (Read 2422 times)
0 Members and 1 Guest are viewing this topic.
Offline Dreamcatchermatt

Junior Devvie

« Posted 2010-07-11 20:31:39 »

Hi All,

I'm using Slick2D for my game, and i'm haveing a problem where my ParticleSystems seem to be going in fast-forward.

This seems to happen to some, but not others, and general happens when there are a lot of ParticleEffects instanced.

for example, if i have 1 or 5 effects going, its ok, if i have more than that, suddenly fast-forward.

I'm trying to track down any loops where i may be calling the render or update more than once, but all of my effects use the instances of the same component class, so i dont think this is the case or it would happen to ALL my effects, rather than just some.

Anyway, this is really foxing me, has anyone come across this before?

chears all,
Offline appel

JGO Wizard

Medals: 80
Projects: 4

I always win!

« Reply #1 - Posted 2010-07-15 17:27:50 »

Best to ask on the slick forums.

But it sounds to me like you're updating the same particlesystem in multiple entities.
Offline Dreamcatchermatt

Junior Devvie

« Reply #2 - Posted 2010-07-16 06:02:58 »

Ahh, yeh, I forgot to edit this as solved.

What i was doing was using a list to queue up particle systems to add and remove from the game world to avoid concurrent modification in my update loop. What is wasn't doing was clearing the queue each time I added its contents to the game world...

I litraly tore my entire game apart trying to find the hidden extra loops, and felt realy stupid when I realised what I had done.

Chears for your reply though
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Nate

« JGO Bitwise Duke »

Medals: 167
Projects: 4
Exp: 14 years

Esoteric Software

« Reply #3 - Posted 2010-07-17 20:18:19 »


Offline Dreamcatchermatt

Junior Devvie

« Reply #4 - Posted 2010-07-20 18:10:21 »

lol, yeah, its one of those words that I always spell that way and cant get out of the habit.
Pages: [1]
  ignore  |  Print  

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

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

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

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

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

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

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

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

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

Solater (139 views)
2018-03-17 05:04:08
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!