I’m trying to do a game like pou (I bet all of you know it!), where, when time passes, your hunger amount starts getting higher, but I believe I need to include a clock code in the game to make it work!
@Awesome_E
@CreationsOfaNoob
@CodeHelp
@everyone_who_knows_how_to_do_this
How do I make a variable decrease even when the project isn't open
Rodrik834
#1
tankt2016
#3
@Petrichor uses a hidden block called the WaitTilTimestamp block, but idk how to get it, ask him maybe?
CoderOfMagic
#7
- Find out the set speed block for the time rate of 60 seconds per minute
- Make a clock out of shapes, numbers, etc.
- Make your click hand move
The time rate of 60 should be a variable, so you can use a variable to get the hand to move
DECODECO
#11
You don’t need a timestamp for something like that.
You could code
Repeat Forever
Wait (5000) milliseconds
Increase (Health) by -1
DECODECO
#18
Lol that’s a big troll haha
Interesting
Repeat Forever
Increase (Health) by ((Current Timestamp)-(Start Timestamp))
Mindcool24
#19
I get what you want now you could probably do something like
Time + 1
Divide by 60 = hours
Modulo 60 = minutes