Let us save the time as a variable
I'm creating an trophy system for my game and I thought it would be nice to show when the player got the trophy but it's difficult to save the time. I know it can be done by saving parts of it in different variables. But that means it has to be encoded and decoded which is just a lot when it should be so simple.
-
The thing is, a variable stores a 32-bit number value under a case-sensitive name. Very simple, but that means they can't really extend it like this very easily.
It's not too difficult, once you understand how the time/date stuff works; I have chips for that kind of thing, which don't actually encode/decode anything at all for saving/loading.
I have chips for saving the entire thing, or just the date, etc. if you're interested... https://indreams.me/collection/cAJtYwRHriR
Please sign in to leave a comment.