I coded this tiny demo based off @mhughson 's micro platformer demo as an exercise to get more familiar with the basic pico-8 API.
However, I came up with a fun particle effect and wanted to share it - maybe it could be of interest to someone.
The basic idea is to scale a sprite from size 0 to X (however large it should become), and shift its position by a movement vector each frame (determining the speed and direction of movement). The movement vector is based on a random point on the unit circle (direction) that is multiplied by a scaling factor (speed).
You will find a detailed documentation of the code inside the cartridge.
thank you βΊοΈ
I decided, I will try to extend it in the future, instead of starting something new, as I continue to dabble with pico-8. it could definitely be made a bit more interesting in various ways π
[Please log in to post a comment]