Power Up timer?
thilanwij
Member Posts: 20
Hey everyone! I was wondering how I would make a power up timer? Like if you collect a powerup, it will last a certain amount of time then expire. I want to let the user know how much time is left til it expires. I'm thinking of ideas of how to do it, but nothing is coming out. Any ideas? Thanks in advance!
EDIT: Also, (if anyone can also help in this) how would I come up with a bar if you fill it up, you unlock certain amount of powers for a limited time? (bar as in like a health bar or something) If you collect certain actors, it will fill or lower the bar and if you fill the whole thing up, you get powers. Thanks again!
EDIT: Also, (if anyone can also help in this) how would I come up with a bar if you fill it up, you unlock certain amount of powers for a limited time? (bar as in like a health bar or something) If you collect certain actors, it will fill or lower the bar and if you fill the whole thing up, you get powers. Thanks again!
This discussion has been closed.
Comments
after
When overlaps or collide with actor "Power up"
Change attribute blah to true (whatever you want it to trigger)
Timer, after 3 seconds (or whatever) change attribute blah to false.
Hope that helps
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx
All I need now is to possibly have a bar that fills up !
P.S. btw i was hoping that it would show a countdown on the screen to show how many time is left til it expires and found that out in the video! thanks again guys!
And display the attribute
hi for sum reason it doesn't turn off any help
@gummyboys, this thread is 3 years old.... If you have a question consider starting a new thread topic.
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page