Discussion in 'How Can I...?' started by Arshpreet, Dec 23, 2016.
i am making a parkour game so i need To Setup Timer in The game
I also would like to know that..
Add an action that rewards 1 point. Then copy that action and place it in an objects animation. Then add that object into the default animation of your character as a decoration and give it a spawned of 1 ( or whatever you want). When you are satisfied with it open the object and animation and give it an opacity of 0.01 so it is not visible. Now the points would increase per second so you can add a text in the UI and make it show the session points. You can then add an observer that stops the game after the points reached like 20 or whatever you want.
Thanks telerebor for reply, but i still can't understand that
thanku i Will Check
and I Am trying To understand lol
Thanks for reply @heathclose, it counts from 1 to 10,
but can we make it count from 10 to 1.
custom fonts can reverse counters... look up the health bar tutorial from @VectologyGames , there is talk of custom fonts in that thread.
Ok, Thanks a lot!
Thats an awesome trick the timer....
Now one question, @heathclose
Im using the timer in my world, but in my world i have placed an action set to gameplay and set the time warp to zero, as i want the world to be paused when entering the world. So the user can read some quick instructions, then the game will proceed.
My problem is the timer pauses as it should when entering the world but when the action duration finishes and the game continues the timer starts at 3 instead of zero, so I'm guessing the spawner, doesn't actually pause, but the timer objects do once spawned.
Not really sure though,.
Any suggestions or more tricks up your sleeve that could help rectify this.
Your wisdom would be highly appreciated....
That should help , thank you @Phoebe
why aren't you using a menu jump to pause for instructions... why are you using a timer?
Thanks for replying...
So i have made a few changes.
My timer is for the user to reach a goal within 30 seconds or its game over. So my timer works perfect,
So i have an action set to, zero time warp, to pause at the start, and the action is actually a countdown, 3 2 1 Go,
All works well, except once the countdown has finished and the action is complete the timer jumps 3 seconds,
So I'm thinking while the countdown is happening it still spawns the timer objects, and they pause once spawned, then when the action is complete all three timer objects are counted.
So i need to re think what I'm doing as zero time warp doesn't effect the spawner.
Ill have to play around i guess to see what else can work.
Not sure if anyone has come across this minor issue but it certainly confused me for a while. In following Heath Close's Video 10 for the Timer solution I had an issue whereby the timer countdown would remain at zero. After checking the steps against the video multiple times it turned out it was due to the Joystick touch area covering the timer. As soon as I moved the touch area to not cover the timer it worked fine.
Separate names with a comma.