PowerUp Tutorials
I am trying to create PowerUps for my game. I want a slowdown powerup that when triggered sets the timescale at .5f and then back to normal to 1f. Or maybe there is a better way like altering the speeds of my gameobjects. I want one that speeds the timescale up to say 1.3f. I also want a double points one. I have done research online using google, unity answers, and youtube, but there are very few tutorials or questions asked about this and I have made some progress, but not to perfection. Does anyone know of any good links, tutorials, or courses that go into depth about this?
Answer by JedBeryll · May 30, 2016 at 07:05 PM
There are quite a few actually: http://docs.unity3d.com/ScriptReference/Coroutine.html http://docs.unity3d.com/ScriptReference/Collider.OnTriggerEnter.html
Or a simple script that does this:
Usage: attach this to the powerup, give it a collider, make it trigger. If a gameObject tagged as player crosses it, it will activate slow motion. I haven't tested it so if it doesn't work let me know.
Your answer
Follow this Question
Related Questions
Double Points Powerup 1 Answer
Powerup Timer Help 0 Answers
Slow Motion PowerUp 0 Answers
Survival Shooter Error CS0120 1 Answer
Tanks tutorial 'Input' issue 0 Answers