Sorry for language. lol
It’s just basically divide but the output is the remainder
Modulo is very helpful when making buttons with options that cycle.
This website helped me a lot
Ok let me test something… I’m coming back dwbh
Ok I’ll be back as well
WOW. too hard for me, guess I’ll just make it work just when game is open
You’d need a way to save variables then. You can’t do that, so it won’t work anyway.
Yeah, you’re right, it won’t work anyways
COAN’s project also stops when app is exited, but you can do this:
- Use “Detect a Close” code to detect a close
- Calculate and Recalculate timestamp (have a pause/load screen when exit)
- Use the difference to subtract health
The WaitTilTimestamp block can be accessed in a JSON file draft. JSON File draft also includes a delete clone method.
This is really hard. Things like “cloud variables” (like you can find in Scratch) would really help. You could try to implement some kind of system with “save codes”, which I have already done in a project. Here is the one that I’m talking about:
My approach makes it pretty easy to figure out how to hack the game though.
Great site, thanx for recommending it