ou...shame on me^^

But something is still wrong:

even after correcting, the particles do not changes their position according to the set values.

For testing purpose, i changed the list to store entities instead of Particles(and added entities) but they didnt change either. So something is still wrong o.O

And something that bothers me:
it seems a particle MUST have a function. The above particle function executes itself each frame(which leads to an array overflow). So i added a dummy event which just sets lifespan to 100.

Isnt it possible to just create undead particles without a function? thats currecntly up to 5k unecessary call stuff per frame frown

EDIT: okay that worked for some reason:

Code:
LP = PList[i];
			LP.x =  (GPosition[i]).x*40;	
			LP.y = (GPosition[i]).z*40;
			LP.z = (GPosition[i]).y*40;


Last edited by Rackscha; 01/13/13 21:20.

MY Website with news of my projects:
(for example my current
Muliplayer Bomberman,
GenesisPrecompiler for LiteC
and TileMaster, an easy to use Tile editor)
Sparetime-Development