Imagebutton GUI Framework [GxImagebuttons]
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.
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.
- trooper6
- Lemma-Class Veteran
- Posts: 3712
- Joined: Sat Jul 09, 2011 10:33 pm
- Projects: A Close Shave
- Location: Medford, MA
- Contact:
Re: Imagebutton GUI Framework [GxImagebuttons]
Thanks for doing this Donmai, I've been away from home all day and figured I wouldn't be able to fix this until the weekend.
A Close Shave:
*Last Thing Done (Aug 17): Finished coding emotions and camera for 4/10 main labels.
*Currently Doing: Coding of emotions and camera for the labels--On 5/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: http://lemmasoft.renai.us/forums/viewto ... 51&t=21978
*Last Thing Done (Aug 17): Finished coding emotions and camera for 4/10 main labels.
*Currently Doing: Coding of emotions and camera for the labels--On 5/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: http://lemmasoft.renai.us/forums/viewto ... 51&t=21978
- Donmai
- Eileen-Class Veteran
- Posts: 1960
- 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, To The Girl With Sunflowers
- Projects: Slumberland
- Location: Brazil
- Contact:
Re: Imagebutton GUI Framework [GxImagebuttons]
Well, thank you for showing that the solution to the problem was so simple.
No, sorry! You must be mistaking me for someone else.
TOIRE NO HANAKO (A Story About Fear)
TOIRE NO HANAKO (A Story About Fear)
-
- Regular
- Posts: 50
- Joined: Sun Nov 13, 2016 5:42 am
- Tumblr: tunasandwichofdestiny
- Skype: sarbezleeb
- Soundcloud: charclo
- Contact:
Re: Imagebutton GUI Framework [GxImagebuttons]
I added the changes Donmai described earlier but it still seems not to be working. Here's my error:
Code: Select all
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 0x105212b90>
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "game/example.rpy", line 113, in script
image example = __Example()
File "/Applications/renpy-6.99.8-sdk/renpy/ast.py", line 900, in execute
renpy.exports.image(self.imgname, img)
File "/Applications/renpy-6.99.8-sdk/renpy/exports.py", line 342, in image
d = renpy.easy.displayable(d)
File "/Applications/renpy-6.99.8-sdk/renpy/easy.py", line 105, in displayable
raise Exception("Not a displayable: %r" % (d,))
Exception: Not a displayable: <store._m1_example__Example object at 0x105212b90>
Darwin-15.6.0-x86_64-i386-64bit
Ren'Py 6.99.11.1749
Renpy Imagebuttons GUI Sample 1.0
Last edited by sarbezleeb on Thu Jan 05, 2017 1:22 pm, edited 1 time in total.
- trooper6
- Lemma-Class Veteran
- Posts: 3712
- Joined: Sat Jul 09, 2011 10:33 pm
- Projects: A Close Shave
- Location: Medford, MA
- Contact:
Re: Imagebutton GUI Framework [GxImagebuttons]
On Wednesday Dec 28th I explained what the problem was and Donmai explained how to fix it. Did you read the last four posts?
A Close Shave:
*Last Thing Done (Aug 17): Finished coding emotions and camera for 4/10 main labels.
*Currently Doing: Coding of emotions and camera for the labels--On 5/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: http://lemmasoft.renai.us/forums/viewto ... 51&t=21978
*Last Thing Done (Aug 17): Finished coding emotions and camera for 4/10 main labels.
*Currently Doing: Coding of emotions and camera for the labels--On 5/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: http://lemmasoft.renai.us/forums/viewto ... 51&t=21978
-
- Regular
- Posts: 50
- Joined: Sun Nov 13, 2016 5:42 am
- Tumblr: tunasandwichofdestiny
- Skype: sarbezleeb
- Soundcloud: charclo
- Contact:
Re: Imagebutton GUI Framework [GxImagebuttons]
I did, after posting that original message, and I copied and pasted the relevant portions of the script, however it seemed they were already included in my script. This error message seems to refer to something else on a different line.
- Donmai
- Eileen-Class Veteran
- Posts: 1960
- 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, To The Girl With Sunflowers
- Projects: Slumberland
- Location: Brazil
- Contact:
Re: Imagebutton GUI Framework [GxImagebuttons]
Sorry, I should have written a better recipe, but I was in a hurry. First, you have to go to the Ren'Py tutorial game folder and copy examples.rpy from there (be sure to copy it, not simply move it from there, or your Ren'Py tutorial game will stop working). Paste examples.rpy inside the game folder of your Imagebutton GUI Framework. You can now trash the old and outdated example.rpy that's already there. Copy and paste the modifications I have listed to your copy of examples.rpy (it seems you have made it to the old script, that's useless). Everything should work now.
No, sorry! You must be mistaking me for someone else.
TOIRE NO HANAKO (A Story About Fear)
TOIRE NO HANAKO (A Story About Fear)
Re: Imagebutton GUI Framework [GxImagebuttons]
I am having the following error.
please help
Code: Select all
I'm sorry, but an uncaught exception occurred.
While running game code:
File "renpy/common/00start.rpy", line 106, in script
return
Exception: Could not find return label (u'C:\\Users\\6715\\renpy games\\Renpy Imagebuttons GUI sample/game/script.rpy', 1375188938, 104).
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "renpy/common/00start.rpy", line 106, in script
return
File "/Applications/renpy-6.99.11-sdk/renpy/ast.py", line 1367, in execute
next_node(renpy.game.context().lookup_return(pop=True))
File "/Applications/renpy-6.99.11-sdk/renpy/execution.py", line 523, in lookup_return
raise Exception("Could not find return label {!r}.".format(self.return_stack[-1]))
Exception: Could not find return label (u'C:\\Users\\6715\\renpy games\\Renpy Imagebuttons GUI sample/game/script.rpy', 1375188938, 104).
Darwin-15.6.0-x86_64-i386-64bit
Ren'Py 6.99.11.1749
Renpy Imagebuttons GUI Sample 1.0
- PyTom
- Ren'Py Creator
- Posts: 16096
- Joined: Mon Feb 02, 2004 10:58 am
- Completed: Moonlight Walks
- Projects: Ren'Py
- IRC Nick: renpytom
- Github: renpytom
- itch: renpytom
- Location: Kings Park, NY
- Contact:
Re: Imagebutton GUI Framework [GxImagebuttons]
It looks like a game changed to the point where Ren'Py couldn't load it. I don't think this is a framework issue, but there's not much you can do other than start the game over.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
Software > Drama • https://www.patreon.com/renpytom
Re: Imagebutton GUI Framework [GxImagebuttons]
Just stopping by to say that this is a huge timesaver! Many thanks!
- trooper6
- Lemma-Class Veteran
- Posts: 3712
- Joined: Sat Jul 09, 2011 10:33 pm
- Projects: A Close Shave
- Location: Medford, MA
- Contact:
Re: Imagebutton GUI Framework [GxImagebuttons]
Because some folks have had a hard time following Donmai's instructions on how to fix the Imagebutton tutorial, here is a version of the tutorial with the minor issue fixed so you can load it.
- Attachments
-
- ZZ Renpy Imagebuttons GUI sample.zip
- (8.49 MiB) Downloaded 1626 times
A Close Shave:
*Last Thing Done (Aug 17): Finished coding emotions and camera for 4/10 main labels.
*Currently Doing: Coding of emotions and camera for the labels--On 5/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: http://lemmasoft.renai.us/forums/viewto ... 51&t=21978
*Last Thing Done (Aug 17): Finished coding emotions and camera for 4/10 main labels.
*Currently Doing: Coding of emotions and camera for the labels--On 5/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: http://lemmasoft.renai.us/forums/viewto ... 51&t=21978
-
- Newbie
- Posts: 3
- Joined: Mon Jun 12, 2017 12:23 pm
- Deviantart: szymanowsky7husky
- Contact:
Re: Imagebutton GUI Framework [GxImagebuttons]
OMG thank you so much for uploading this!! I was having the problem to run the old project and have no idea what to do. You're a life saver thanks again ^^trooper6 wrote:Because some folks have had a hard time following Donmai's instructions on how to fix the Imagebutton tutorial, here is a version of the tutorial with the minor issue fixed so you can load it.
- shakeyss
- Newbie
- Posts: 17
- Joined: Sun Jun 11, 2017 10:58 am
- Projects: Moonlit Tears
- Organization: Digilikha Studios
- Soundcloud: shakeyss
- itch: digilikha
- Location: Philippines
- Contact:
Re: Imagebutton GUI Framework [GxImagebuttons]
I just want to comment and say thanks for this, for helping me alot in making my GUI. Kudos
Re: Imagebutton GUI Framework [GxImagebuttons]
Hmm not work for 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 0x044AD130>
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "D:\renpy-6.99.9-sdk\renpy\bootstrap.py", line 295, in bootstrap
renpy.main.main()
File "D:\renpy-6.99.9-sdk\renpy\main.py", line 419, in main
game.context().run(node)
File "game/example.rpy", line 113, in script
image example = __Example()
File "D:\renpy-6.99.9-sdk\renpy\ast.py", line 911, in execute
renpy.exports.image(self.imgname, img)
File "D:\renpy-6.99.9-sdk\renpy\exports.py", line 347, in image
d = renpy.easy.displayable(d)
File "D:\renpy-6.99.9-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 0x044AD130>
Windows-8-6.2.9200
Ren'Py 6.99.12.4.2187
Renpy Imagebuttons GUI Sample 1.0
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 0x044AD130>
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "D:\renpy-6.99.9-sdk\renpy\bootstrap.py", line 295, in bootstrap
renpy.main.main()
File "D:\renpy-6.99.9-sdk\renpy\main.py", line 419, in main
game.context().run(node)
File "game/example.rpy", line 113, in script
image example = __Example()
File "D:\renpy-6.99.9-sdk\renpy\ast.py", line 911, in execute
renpy.exports.image(self.imgname, img)
File "D:\renpy-6.99.9-sdk\renpy\exports.py", line 347, in image
d = renpy.easy.displayable(d)
File "D:\renpy-6.99.9-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 0x044AD130>
Windows-8-6.2.9200
Ren'Py 6.99.12.4.2187
Renpy Imagebuttons GUI Sample 1.0
- Donmai
- Eileen-Class Veteran
- Posts: 1960
- 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, To The Girl With Sunflowers
- Projects: Slumberland
- Location: Brazil
- Contact:
Re: Imagebutton GUI Framework [GxImagebuttons]
Have you downloaded it from this link? viewtopic.php?p=455107#p455107
No, sorry! You must be mistaking me for someone else.
TOIRE NO HANAKO (A Story About Fear)
TOIRE NO HANAKO (A Story About Fear)
Who is online
Users browsing this forum: No registered users