• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
  • Help Room /
avatar image
0
Question by El-Deiablo · May 28, 2016 at 06:45 PM · tutorialpointspowerupdoubleslowmotion

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?

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

· Add your reply
  • Sort: 
avatar image
0

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:

alt text

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.


timer.png (21.2 kB)
Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

Double Points Powerup 1 Answer

Slow Motion PowerUp 0 Answers

Powerup Timer Help 0 Answers

Looking for a turn-based strategy beginner's tutorial. 4 Answers

Tutorial level 1 Answer

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges