Spacewrecked!
2D Platformer Assignment
Major Changes:
- Created 2 new and unique levels with multiple hazards, enemies, pickups and a bonus room in Level2
- Created the "Switch" Prefab which can be toggled by the player to modify the behaviour of various platforms in each level
- wrote ToggleSwitch script and modified the WaypointMover script so that once the switch is toggled, certain platforms within the level that are tied to the switch have modified movement trajectories
- Created a new animation for a rotating platform and used it to create a new RotatingPlatform Prefab
- wrote PlatfromRotator and PlatformRotateAnimator scripts to handle the rotation animation on a timer set using a public variable (similar to waitTime in WaypointMover)
- Created the ToggleSwitch_2 script which can also be applied to Switches. This script also modifies platform behaviour but does so by slowing down the time in between rotations for the platforms defined in the inputs
- Created the ToolTip script which can be attached to any object (along with a 2D collider) to trigger a ToolTip page in the UI to be shown - in this instance it was used only to explain Switch functionality
Minor Changes:
- Added a Level Info UI Page at the start of each level to give the player some context/story
- Added a tooltip UI Page to the first switch encountered to give some hints on how it works
Download
Download
Spacewrecked_Win.zip 30 MB
Leave a comment
Log in with itch.io to leave a comment.