Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
I'm sorry, but an uncaught exception occurred.
While running game code:
File "game/screens.rpy", line 448, in <module>
add g.make_button("bonus1", "bonusicon.png", xalign=0.5, yalign=0.5)
AttributeError: 'ADVCharacter' object has no attribute 'make_button'
init python:
# Step 1. Create the gallery object.
g = Gallery() # <==== give it a name that don't used for any of your characters and variables, like z = Gallery() or so
(also, don't forget to change all the code lines for your gallery)
I'm sorry, but an uncaught exception occurred.
While running game code:
File "game/screens.rpy", line 448, in <module>
add x.make_button("bg street", "bg/street.png", xalign=0.5, yalign=0.5)
TypeError: 'str' object is not callable
Hello!
I've honestly just started learning the code for GUIs, but I used this tutorial to create my own gallery: http://lemmasoft.renai.us/forums/viewto ... say+screen
You can probably put your image as the background, and then mess around with the code to get the tiles to fit ^^;
well i'm pretty new at this new version of the cg gallery T^T
i'm still having difficulties with that forum's code as well. how can i add different pages? I want to make different page of cgs per character