I'm currently running into problems when trying to use imagebuttons. I'm working with a testproject, so there's nothing much else to it.
This is the code I used:
Code: Select all
label start: scene sz: imagebutton: xpos 1240 ypos 500 idle "images/empty.png" hover "images/move.png" action Jump('testing') label testing: scene sz_fenster a "cool beans, bro"
This is the error message I currently get:
If I change the indentations, I get the following:File "game/script.rpy", line 17: Line is indented, but the preceding ATL statement does not expect a block. Please check this line's indentation.
Since I literally took the imagebutton code from another project and it seems to work there, I don't know what is going wrong. Do I need to declare something? (As you can maybe extrapolate from my written flailing, I am not a programming minded person)File "game/script.rpy", line 16: expected 'comma or end of line' not found.
Thanks to everyone who takes the time to look at my headless ramblings.