Slowing Down Motion
Hello All,
So I have a scene that, within the scene, there is a power up that slows down time. So I have stuff falling from the sky, and when that power up is received, I want "time" to slow down for a set amount of time (say ten seconds). How would I create this half or quarter speed effect?
Thanks!
So I have a scene that, within the scene, there is a power up that slows down time. So I have stuff falling from the sky, and when that power up is received, I want "time" to slow down for a set amount of time (say ten seconds). How would I create this half or quarter speed effect?
Thanks!
Best Answer
-
UtopianGames Posts: 5,692
1st of all its best if you have all speed related actors set to a global variable for eg game.PlayerSpeed game.EnemySpeed then you can trigger a rule that says if slowdown=true change PlayerSpeed to PlayerSpeed/2 for half speed and /4 for quarter speed.
It might also be best to save the original speeds to a master speed to change back depending on what your doing so have a game.MasterPlayerSpeed and do change attribute MasterPlayerSpeed to game.PlayerSpeed before the slowdown if for eg your character gets faster and faster over time (endless runner type game).
You can also use tables for this.
Hope this helps.
Darren.