Hi,
I’m new on the GP2X community, and my first « project » was to make particles systems.
There are 2 particles systems, 2D and 3D.
The 3D version use « Trenki » fixed float and vector math « lib ».
Screenshots is not the best to see particles, its better in movement.
In the archive, you will see the 2 versions with GP2X and Windows binary, sources codes + samples.
With 2500 particles:
- 3D system : 20 FPS
- 2D system : 60 FPS
You can use and change sources has you want, but it will be cool to send your improvements to community.
[UPDATE]
Added customize draw particle methods support.
Sample updated to show how to mix 2D and 3D particles.
I’m new on the GP2X community, and my first « project » was to make particles systems.
There are 2 particles systems, 2D and 3D.
The 3D version use « Trenki » fixed float and vector math « lib ».
Screenshots is not the best to see particles, its better in movement.
In the archive, you will see the 2 versions with GP2X and Windows binary, sources codes + samples.
With 2500 particles:
- 3D system : 20 FPS
- 2D system : 60 FPS
You can use and change sources has you want, but it will be cool to send your improvements to community.
[UPDATE]
Added customize draw particle methods support.
Sample updated to show how to mix 2D and 3D particles.