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.
Message
Author
Zherot
Regular
Posts: 72
Joined: Tue Aug 08, 2017 9:10 pm
Contact:

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:
hbox:
style_group "quick"
xpos 650
ypos 410
textbutton _("Kitchen") action ShowMenu('save')

Nothing happens... what am i doing wrong?

User avatar
Donmai
Eileen-Class Veteran
Posts: 1607
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
Contact:

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
Image
No, sorry! You must be mistaking me for someone else.
TOIRE NO HANAKO (A Story About Fear)

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

Re: Imagebutton GUI Framework [GxImagebuttons]

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

Hi,
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-6.99.12.4-sdk\renpy\bootstrap.py", line 295, in bootstrap
renpy.main.main()
File "C:\Users\Scott\Desktop\Game Creation\renpy\renpy-6.99.12.4-sdk\renpy\main.py", line 419, in main
game.context().run(node)
File "game/example.rpy", line 113, in script
image example = __Example()
File "C:\Users\Scott\Desktop\Game Creation\renpy\renpy-6.99.12.4-sdk\renpy\ast.py", line 911, in execute
renpy.exports.image(self.imgname, img)
File "C:\Users\Scott\Desktop\Game Creation\renpy\renpy-6.99.12.4-sdk\renpy\exports.py", line 347, in image
d = renpy.easy.displayable(d)
File "C:\Users\Scott\Desktop\Game Creation\renpy\renpy-6.99.12.4-sdk\renpy\easy.py", line 108, in displayable
raise Exception("Not a displayable: %r" % (d,))
Exception: Not a displayable: <store._m1_example__Example object at 0x041A1530>

Windows-8-6.2.9200
Ren'Py 6.99.12.4.2187
Renpy Imagebuttons GUI Sample 1.0

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

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?
viewtopic.php?f=51&t=22565&start=75#p455107
A Close Shave:
*Last Thing Done (Jul 7) Finished Emotion Matrix for Joint Customer Sprite.
*Currently Doing: Print Matrices, & decide emotions to use for Joint Sprite, think about blinking and lip flap. Maybe also about TransitionConditionSwitch?
*First Next thing to do: Code in all the sprite emotion and camera movement for Close Shave Sprite Sections
*Next Thing to Do: Code in all CG and special animation stuff
*Other Next Thing: Do SFX
Check out My Clock Cookbook Recipe: http://lemmasoft.renai.us/forums/viewto ... 51&t=21978

Post Reply

Who is online

Users browsing this forum: No registered users