- Sep 30, 2017
- 2,346
- 4,915
Renpy Noob again,
So I want to do two action on the same image for an image button.
This is the current code
This is what I want to do to the image.
While we are here. Can one do something like this?
probably a stupid mistake, but I get an error
So I want to do two action on the same image for an image button.
This is the current code
Code:
if imgname != "":
imagebutton idle im.FactorScale(imgname, 0.15):
Code:
im.FactorScale(imgname, 0.15)
im.GrayScale(imgname)
While we are here. Can one do something like this?
Code:
if imgname != "":
image smallimage = im.FactorScale(imgname, 0.15)
imagebutton idle smallimage:
Code:
I'm sorry, but errors were detected in your script. Please correct the
errors listed below, and try again.
File "game/Z Custom Status Bar Main.rpy", line 211: expected a keyword argument, colon, or end of line.
image smallimage = im.FactorScale(imgname, 0.15)
Ren'Py Version: Ren'Py 7.2.2.491
Tue Nov 10 19:28:59 2020