I only recently started experimenting with Renpy and while I run into like 100 errors a day, I can usually fix them or find a workaround or use some advanced Google-Fu to figure it out. Sadly, this part has me stumped absolutely.
Thing is, I don't want a 'real time' clock, I want to make it pass 30 minutes or an hour based on what the MC does.
Line 16:
Code: Select all
$ clock = 9
Line 28:
Code: Select all
default clock = 900
Line 44-51:
Code: Select all
screen clock():
vbox:
if clock ==900:
show clock/cl0.jpg
show clock/cl9.jpg
show clock/cmid.jpg
show clock/cl0.jpg
show clock/cl0.jpg
Line 104-109:
Code: Select all
### game chapter "01 Prologue" begins ###
scene 0101 at top
show cov at bot
label letsgo():
show screen control()
show screen clock()
Now I have seen some people pull out incredibly difficult 500 line clocks with all kinds of functions I've never even heard of but that's not what I need. I just need renpy to spit out a series of pictures based on the time.
But ALWAYS I get this:
Code: Select all
I'm sorry, but errors were detected in your script. Please correct the
errors listed below, and try again.
File "game/script.rpy", line 47: u'show' is not a keyword argument or valid child for the vbox statement.
show clock/cl0.jpg
^
Ren'Py Version: Ren'Py 6.99.14.1.3218
Tue Mar 13 13:28:31 2018