This is a little API I created to support status effects in Triangle Guy. Currently, there are only 6 that I've made. Use the projectiles I've provided to try them out. If you would like to use them in your project, please credit me! To use them in your project, you must add the sprite of the effect you want in your backpack ALONG with the sprite "Triangle Guy Status". That sprite supports all 6 of the status effects, so keep only the code related to the effect(s) you want to prevent clutter. Everything in the Effect Sprite's code is what you'll have to put into the Triangle Guy Sprite (Besides the code that explains the effect on mouse click) You can read the effects of the statuses when you click on them, but they won't be as detailed as what I'll write here: FREEZE: upon touching dark cyan, you will start to get colder and colder, slowing down your movement. When continuing to touch it, you'll eventually freeze, preventing any movement and shooting for 2 seconds. After that time period, you'll thaw out, making you immune to freezing up until after you've fully thawed out. Freezes you immediately upon touching cyan. PERPLEX: upon touching darker, dark, light and regular pink, flips your controls for 1 second. This means pressing the up key moves you down, pressing the right key moves you left, etc. BURN: upon touching dark scarlet, you start burning up! you'll start to jitter around. Continuing to touch it will eventually burn you, dealing damage (currently not supported as of yet). you are immune to burning until fully cooled down. Burns you twice as quickly upon touching scarlet. FEAR: upon touching dark or regular purple, you are feared for 2 seconds, preventing you from shooting. GAMMA: upon touching dark or regular chartreuse yellow, you begin to feel the gamma rays. This makes you start to move and shoot slower. You are never immune to gamma. SHOCK: upon touching dark or regular sky blue, you are paralyzed for 1 second, preventing any movement. You are never immune to shock.
Credit to: @K102008 for the Triangle Guy series The Binding of Isaac: Repentance for some of the sound effects used. The rest is by me,