Friday, June 27, 2014

Dev Blog 3 - Reworking gravity, new features

Today I rewrote how gravity works in Enigmatic - the way gravity was written didn't work well with the implementation of one of the new features (dissolving platforms). When a platform dissolved, if the player was still above it and not moving, they would just float above nothing, and could continue the level without dying if the next platform was close enough. Obviously this isn't intended, so I changed gravity around, and made it slightly stronger, so that if the player decides to stick around while a platform dissolves beneath their feet, they're sure to die.

Next up, I'll be implementing platforms that move in x & y directions (besides falling, which is already done) and rotating platforms.

Side note: "Alive" 2007 by Daft Punk is my new favorite album to listen to while writing C# scripts =)


No comments:

Post a Comment