Log In  

Cart #valentine-0 | 2021-02-16 | Code ▽ | Embed ▽ | No License
3

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.

P#87776 2021-02-16 22:54

Love it! πŸ’˜

P#87777 2021-02-16 23:24

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 πŸ’–

P#87800 2021-02-17 13:02

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-03-29 12:19:36 | 0.016s | Q:20