Performance update


I finally got around to improving this demo with performance improvements. The web version is capable of supporting hundreds of particles and maintaining 60fps. On the desktop, it can support several thousand.

I changed the construction of the effects to make it easier to build new ones and also added a 'move' method that allows you to define custom movement for particles each time their position is updated.

For fun, I added two new effects. A wafty "smoke" effect and a spherical "swirl" effect.

The source code is available here under an MIT license: https://github.com/oeloeloel/dragonruby-particle-explosions

Suggestions for code optimisations or improvements are welcome.

Files

particle-explosion-demo-windows-amd64.exe 5 MB
Version 3 Jan 08, 2021
particle-explosion-demo-linux-raspberrypi.bin 5 MB
Version 3 Jan 08, 2021
particle-explosion-demo-linux-amd64.bin 5 MB
Version 3 Jan 08, 2021
particle-explosion-demo-html5.zip Play in browser
Version 3 Jan 08, 2021
particle-explosion-demo-macos.zip 4 MB
Version 3 Jan 08, 2021

Get DragonRuby Particle Explosion Demo

Leave a comment

Log in with itch.io to leave a comment.