Update 2023.04.23 Important fix and new function
Lime.Particles » Devlog
Important fix of the "advanced_part_emitter_burst" function. And also a new function "advanced_part_particles_burst".
- "advanced_part_emitter_burst" now works as it should and additionally takes an optional argument with the name of the timer variable, which it uses to correctly count the number of generated particles per second. This fix was needed to avoid situations when you use this function in one place with the same particle or in one emitter and the timer variable breaks. The new argument which comes after "number" is optional, but can be used in the above described case, e.g. like this:
advanced_part_emitter_burst(global.APSMain, PartEmit, FirePart, 16, "a"); advanced_part_emitter_burst(global.APSMain, PartEmit, CinderPart, 4, "b");
- New function "advanced_part_particles_burst". It works the same as "advanced_part_emitter_burst", but does not require emitter creation.
- The functions "advanced_part_emitter_burst", "advanced_part_particles_burst" and "advanced_particles_particles_create" now return an array with currently created particles. Which can be used later to change the particle variables, for example like this:
var _particles = advanced_partic_particles_burst(global.all_particles, x, y, part_tire_smoke, 10); array_foreach(_particles, function(_elm) { _elm.angle_increase *= choose(-1,1); })
To update, simply import the "AdvancedParticleSystem" script into your project with replacements.
Files
Advanced Particle System 2023.04.23.yymps 301 kB
Apr 23, 2023
Get Lime.Particles
Download NowName your own price
Lime.Particles
Advanced particle system for Game Maker Studio 2.3+ (works on structs)
More posts
- Update 2024.04.15Apr 25, 2024
- Update 2023.10.17Oct 17, 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
Leave a comment
Log in with itch.io to leave a comment.