playMaker

Author Topic: How Do I Add A Countdown?[SOLVED]  (Read 1228 times)

Regaltwo

  • Playmaker Newbie
  • *
  • Posts: 2
    • View Profile
How Do I Add A Countdown?[SOLVED]
« on: April 25, 2017, 03:24:14 AM »
I need to add a countdown to my game so the scoring stops after 30 seconds. The game would stop and the player would click play again with the score reset to zero.

I tried this but it didn't work.
In fact, it seemed to crash Playmaker, so I had to remove the script. I should say the reason I got Playmaker was that I wanted to avoid scripting, about which I know nothing. Any help appreciated.
« Last Edit: April 26, 2017, 03:39:51 AM by jeanfabre »

tcmeric

  • Beta Group
  • Hero Member
  • *
  • Posts: 769
    • View Profile
Re: How Do I Add A Countdown?
« Reply #1 on: April 25, 2017, 03:42:18 AM »
There is an action on the ecosystem called timer or countdown timer. I forget which one. You can download the ecosystem add on here. https://hutonggames.fogbugz.com/default.asp?W1181

It allows you to search for all kinds of more actions to download for playmaker from inside of unity in the playmaker top menu.

Regaltwo

  • Playmaker Newbie
  • *
  • Posts: 2
    • View Profile
Re: How Do I Add A Countdown?
« Reply #2 on: April 25, 2017, 12:02:23 PM »
Thanks. I'll give it a shot.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15440
  • Official Playmaker Support
    • View Profile
Re: How Do I Add A Countdown?
« Reply #3 on: April 26, 2017, 03:39:34 AM »
Hi,

 yes, it's "Countdown Timer"



Bye,

 Jean

fromfame

  • Junior Playmaker
  • **
  • Posts: 74
  • Sloppy PM Veteran
    • View Profile
Re: How Do I Add A Countdown?
« Reply #4 on: January 25, 2021, 02:51:50 PM »
Hi,

 yes, it's "Countdown Timer"



Bye,

 Jean

this doesn't help with the 00:00:00 format

My issue is how to reset the mins or secs into 59 after 00?

They go to -01, it's simple subtracting -1 from a countdown timer.

It's difficult doing it with the HH:mm:ss format.
« Last Edit: January 25, 2021, 02:54:26 PM by fromfame »

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 5934
    • View Profile
    • jinxtergames
Re: How Do I Add A Countdown?[SOLVED]
« Reply #5 on: January 25, 2021, 04:43:07 PM »
Hi.
Have you tried 'Convert Seconds To String'  action.