Imagebutton GUI Framework [GxImagebuttons]

A place for Ren'Py tutorials and reusable Ren'Py code.
Forum rules
Do not post questions here!

This forum is for example code you want to show other people. Ren'Py questions should be asked in the Ren'Py Questions and Announcements forum.
Posts: 91
Joined: Tue Aug 08, 2017 9:10 pm

Re: Imagebutton GUI Framework [GxImagebuttons]

#91 Post by Zherot » Fri Aug 11, 2017 6:15 pm

So... i saw the game and it is good but i still don't know what to do...

i put this in my code just to see if i could make a button:

screen home_menu1:
style_group "quick"
xpos 650
ypos 410
textbutton _("Kitchen") action ShowMenu('save')

Nothing happens... what am i doing wrong?

User avatar
Eileen-Class Veteran
Posts: 1730
Joined: Sun Jun 10, 2012 1:45 am
Completed: Toire No Hanako, Li'l Red [NaNoRenO 2013], The One in LOVE [NaNoRenO 2014], Running Blade [NaNoRenO 2016], The Other Question
Projects: Slumberland
Location: Brazil

Re: Imagebutton GUI Framework [GxImagebuttons]

#92 Post by Donmai » Sat Aug 12, 2017 9:02 am

Question answered by carrot on another thread. viewtopic.php?p=462459#p462459
No, sorry! You must be mistaking me for someone else.
TOIRE NO HANAKO (A Story About Fear)

Posts: 1
Joined: Mon Aug 14, 2017 12:57 am

Re: Imagebutton GUI Framework [GxImagebuttons]

#93 Post by redyolocup » Mon Aug 14, 2017 1:00 am

I am unable to run this after I have downloaded, unzipped, and placed in directory. Here is the traceback, can someone help me?

I'm sorry, but an uncaught exception occurred.

While running game code:
File "game/example.rpy", line 113, in script
image example = __Example()
Exception: Not a displayable: <store._m1_example__Example object at 0x041A1530>

-- Full Traceback ------------------------------------------------------------

Full traceback:
File "C:\Users\Scott\Desktop\Game Creation\renpy\renpy-\renpy\", line 295, in bootstrap
File "C:\Users\Scott\Desktop\Game Creation\renpy\renpy-\renpy\", line 419, in main
File "game/example.rpy", line 113, in script
image example = __Example()
File "C:\Users\Scott\Desktop\Game Creation\renpy\renpy-\renpy\", line 911, in execute
renpy.exports.image(self.imgname, img)
File "C:\Users\Scott\Desktop\Game Creation\renpy\renpy-\renpy\", line 347, in image
d = renpy.easy.displayable(d)
File "C:\Users\Scott\Desktop\Game Creation\renpy\renpy-\renpy\", line 108, in displayable
raise Exception("Not a displayable: %r" % (d,))
Exception: Not a displayable: <store._m1_example__Example object at 0x041A1530>

Renpy Imagebuttons GUI Sample 1.0

User avatar
Lemma-Class Veteran
Posts: 3276
Joined: Sat Jul 09, 2011 10:33 pm
Projects: A Close Shave
Location: Medford, MA

Re: Imagebutton GUI Framework [GxImagebuttons]

#94 Post by trooper6 » Mon Aug 14, 2017 1:35 am

Have you downloaded from the updated file in this post?
A Close Shave:
*Last Thing Done (Jul 21): Worked out 2 Characters, 1 Sprite. Re-did my character callbacks. Created all new GUI elements for the new GUI. Fixed the check/radio/slider problem. Rebuilt the game to work with the new gui system. Finished coding emotions and camera for 1/10 labels.
*Currently Doing: Coding of emotions and camera for the labels--On 2/10
*First Next thing to do: Code in all CG and special animation stuff
*Next Next thing to do: Set up film animation
*Other Thing to Do: Do SFX and Score (maybe think about eye blinks?)
Check out My Clock Cookbook Recipe: ... 51&t=21978

Post Reply

Who is online

Users browsing this forum: No registered users