I'm trying to add a semi-real time feature into my game. I want to have it where the player gets more points/money to spend every day. So, obviously you need the game to be keeping track of what the time is so if the player opens the game a new day, they get their stuff.
Code: Select all
init python:
import datetime
today = datetime.date.today()
label start:
"Today is [today]"
Also, while I'm on the topic . . . How would I implant the system of adding points at the player's midnight? (12:00am) And how do I make sure that they don't get more points if they re-open the game?
Thank you!!