Negative Powerups: Hazards (Game Dev Day 41)

This is the “Hazard” that the player collides with to produce the negative effect.
Make sure to set the speed values back to their intended amount at the end of the coroutine.
Added Case 6
Added Element 6.
Line 54, Changed the second integer from a 6 to a 7.
A sitting duck.



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Jack Leavey

Jack Leavey


I am a software engineer with years of experience branching into game development, specifically in Unity. Follow along for guides on creating game mechanics!