PlaceholderGames / 2016-Beyond-Time

4 stars 0 forks source link

Jakes level #131

Closed JakeP121 closed 7 years ago

JakeP121 commented 7 years ago

Level not finished yet but merging in because I've made little changes the Game Instance, Player and Bubble blueprints.

Game Instance I've added two float variables to keep track of the time dilations for normal time (1) and slowed time (0.05). Using these instead of the current method of just typing in the values in the 'set time dilation' function allows us to easily change every reference at the same time if we want to tweak the times in future. gameinstance

Bubble I've just added the code to get the new NORM_TIME_DILATION and SLOW_TIME_DILATION times instead of manually entering them. bubble

Player Again, I have added cde to get the time dilation variables rather than manually entered numbers. player timedila

I have also added a boolean that only allows the player to jump when it is true. This is used to stop the player being able to jump up the ramp in my level while they are sliding down. playerjump