Team Project

BURNING MEMORIES (TEAM PROJECT) | DEVELOPMENT LOG 2

One-way platforms

After Getting an animated player sprite, I then coded a one way platform so that the player can go between floors by jumping up and landing on the platform (Jump strength was increased due to stairs being unfinished). I did this by using a platform effector and set the surface arc to 180 so the player would be ignored when passing underneath the platform.

One Way Platform

After setting up the one way platform and completing the stairs, I then coded the drop down mechanic when the user holds S for 0.5 seconds, allowing the player to move down a level. The code for this changes the effector’s rotational offset to 0 (from 180) when the key S is detected pressed down for 0.5 seconds. I then reset the rotational offset when the player stopped pressing s so the user could jump back up to the platform

Level Layout

We also agreed to redesign the level so the player only has one way to go so they don’t get lost in the house and where they are supposed to go. We went with a simple zigzag pattern to balance out the stairs on each side of the house.

Leave a Reply

Your email address will not be published. Required fields are marked *