Level Switching
Author: Colyn Reed
Problem
For this week I worked on having a working elevator that the player starts in when loading the level. When we came up with the idea for our game, the concept of how the player starts each level was a big discussion. We didn't want basic stairs to trancend levels so we came up with the idea for the elevator. The biggest problem this week was getting the doors to only open when the player is in the elevator. The level switch was difficult at first but was easier when I made the elevator its own actor along with being its own level.
Solution
Getting the doors on the elevator to open was the biggest issue I had. At first they were not staying attached to the elevator so when the player entered the trigger, they would either not open or move to a whole other location on the map. I fixed this by making the elevator an actor and attaching the doors as child components and just moving the actor around. With the level swiching, the only real issue I had was making the whole sequence feel like the player is on an elevator and is moving through the levels. It took some trial and error to get the time setting right for the switch.


Comments
Post a Comment