#Simple Countdown

28 messages · Page 1 of 1 (latest)

wanton zinc
#

Basically a visible timer. Start a delay, but it shows how much time is left in the delay.
ex: 20 Second delay, every second it is shown counting down through text.

I feel like this is a super dump and stupid question considering how easy it is to do something like this in CV1, but for the life of me, I cannot figure out how to do this without constantly updating a string variable every second.

fading falcon
#

Update a int variable every second then use to string I guess

wanton zinc
#

i wish it were simpler, but it seems like that might be what I have to do

fading falcon
#

Trust me if you do everything right it won’t be an issue

wanton zinc
#

hopefully, just wish something this simple would be even simpler to create

wanton zinc
#

another stupid question thats probably easier to do than I think it is: how can I format integers into minutes and seconds?

jovial goblet
#

@wanton zinc

#

How Much Do You Need It?

wanton zinc
#

wdym

jovial goblet
#

Like Is It Nessercery, Cuz I Can Come Do It For Y

brisk blade
#

I would get a "int variable" and subtract it every one second and connect that to a "to string"

wanton zinc
# jovial goblet Like Is It Nessercery, Cuz I Can Come Do It For Y

i really just need the minutes and seconds thing atm, because now that I know what they were saying I've done something like it in the past and I already made it. also, it's a contest room and im unsure on the type of restrictions for that stuff, so I'm trying to work alone

brisk blade
jovial goblet
#

Alright, I'll Send A Image How To Do It

wanton zinc
brisk blade
#

Or something like that

#

I went for my little sister.

wanton zinc
#

haha, seems like a fun movie, hope you enjoy it

brisk blade
#

Same

cunning gorge
#

@wanton zinc instead of having to use updates 30hz or delays, take a time get universal seconds, add 7200 result into a variable that sets 1 time then variable-time get universal seconds into string

#

For the min and seconds take a divide and modulo

#

Dive the remaining time by 60, same for modulo, divide result is minutes

#

Modulo result is seconds

#

The put it into a string format

#

👌

wanton zinc
# cunning gorge 👌

That makes so much sense, thank you! I knew it was something to do with dividing, I had no idea what a Modulo was but I think I understand now, thx

fading falcon