Code: Select all
screen dateandtime:
add "GUI/date_back.png":
xpos 940
ypos 0
text "April":
xpos 1000
ypos 50
size 28
outlines [(2,color('#0009'),1,1)]
text "Wednesday":
xpos 1010
ypos 100
size 18
outlines [(2,color('#0009'),1,1)]
text "15".zfill(2):
xpos 1160
ypos 48
size 52
outlines [(2,color('#0009'),1,1)]
Code: Select all
show screen dateandtime
Code: Select all
show screen dateandtime("April", "Wednesday", "15")
Code: Select all
screen dateandtime (str month, str week, str day):
add "GUI/date_back.png":
xpos 940
ypos 0
text "[month]":
xpos 1000
ypos 50
size 28
outlines [(2,color('#0009'),1,1)]
text "[week]":
xpos 1010
ypos 100
size 18
outlines [(2,color('#0009'),1,1)]
text "[day]".zfill(2):
xpos 1160
ypos 48
size 52
outlines [(2,color('#0009'),1,1)]
Code: Select all
I'm sorry, but errors were detected in your script. Please correct the
errors listed below, and try again.
File "game/game_char.rpy", line 170: expected ',' not found.
screen dateandtime (str month, str week, str day):
^
Ren'Py Version: Ren'Py 6.99.10.1227
Any help would be much appreciated!