Skip to content

Releases: Limekys/AdvancedParticleSystem

APS 2024.04.15

15 Apr 07:54

Choose a tag to compare

  • Particles now support animations that you enable in part_image function
  • Updated demo

APS 2024.02.26

26 Feb 21:06

Choose a tag to compare

  • New feature target FPS for particles update

Now you can specify a target FPS for the particles
for example at a value of 30 the particles will update 30 times per second
when the rest of the game will update at your specified frame rate of 60, 120 ....
Default value is 60. But you can use private function "set_update_fps" to set you own.

APS 2023.10.17

17 Oct 14:38

Choose a tag to compare

  • Added x_previous and y_previous
  • Update UsefulFunctions script

APS 2023.04.23

23 Apr 14:36

Choose a tag to compare

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_part_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.

APS 2023.03.18

18 Mar 15:25

Choose a tag to compare

  • Added particles limiter. Use the set_max_count() method to set the maximum number of particles (1000 by default).
  • Wiggle now working (not completed)

APS 2022.07.29

30 Jul 01:02

Choose a tag to compare

  • Removed sprite width, height, halfwidth and halfheight for right calculations
  • Fixed an error with the shape of the ellipse when you set xmin and xmax the same in emitter_region

APS 2022.07.26

26 Jul 23:45

Choose a tag to compare

  • Added JSDoc
  • Removed advanced_part_system_destroy()
  • Fixes (Based on Feather's remarks)

APS 2022.07.23

23 Jul 13:54

Choose a tag to compare

  • Changed ds_lists to arrays.

Thanks to Brent Frymire.

APS 2022.05.13

13 May 20:53

Choose a tag to compare

  • Removed deltatime object.

Instead, deltatime has been built into the particle system itself, and if you want to use your variable for deltatime, simply replace the variable in the "_APS_DT" macro.