Lime.Particles
A downloadable asset pack
Advanced Particle System
You can download this project or clone repo on Github! You can also help in the development of this system, suggest your improvements and functions!
Compare
Simple example
All functions looks like standart gms particle system. We are create particle system, emitter and particle type.
For our particle system to work, we need to add a step function to the step event. And of course to create our particles need to run burst function almost like the standard system, all functions look identical, except that at the beginning ascribed to "advanced_".
But in order for our particles to be visible, they need to be drawn on the screen, for this you just need to run the draw function in the "draw" event.
Done!
***
Why advanced?
Point gravity
Because, as first, we have part_point_gravity function!
Delta time
And, as second, we have delta time! Which give us a huge control with particles speed! At low and high FPS we have the same speed of particles.
To turn on delta time just put enabledelta() function to create event after creating particle system.
With delta enabled you should remember to setup right speed, gravity amount and life values! For example without deltatime we should setup life 60 for 1 second life for this particle with room speed 60 and with deltatime we should setup life to 1 for 1 second life regardless room speed. For burst particles with advanced_part_emitter_burst function without deltatime 1 for 60 particles each second with room speed 60 and with deltatime 60 to burst 60 particle within a second!
Example with 15 FPS: left particles is standart GMS2 particle system, middle is advanced particle system without deltatime and right with deltatime.
Collisions
For collisions we have part_step_function. With which we can add what you want including collisions!
For example collisions with objects:
And result is:
Distance to mouse:
Or just a rain:
***
Fireworks!
Code
One part burst and thats all
And how it looks!
***
Conclusion
We have a very interesting particle system with functions that are not in the standard particle system, but not the most productive! I try to do my best to optimize it. If you like, you can help develop this project!
Compatibility:
Lime.Particles version | Game Maker runtime version |
2023.10.17+ | 2023.1.1.81+ |
Status | In development |
Category | Assets |
Rating | Rated 5.0 out of 5 stars (1 total ratings) |
Author | Limekys |
Made with | GameMaker |
Tags | deltatime, Effects, free, GameMaker, particles |
Code license | MIT License |
Average session | A few seconds |
Languages | English |
Download
Click download now to get access to the following files:
Development log
- Update 2024.04.15Apr 25, 2024
- Update 2023.10.17Oct 17, 2023
- Update 2023.04.23 Important fix and new functionApr 23, 2023
- Update 2023.02.18Mar 18, 2023
- Update 2022.07.29Jul 30, 2022
- Update 2022.07.26Jul 30, 2022
- Update 2022.05.13May 13, 2022
- Particle collisions?!Mar 09, 2021
Comments
Log in with itch.io to leave a comment.
Hi! GG for your particle system it's clean!
Maybe you should explain how to use it in another project (if its your desire)