Lemma Soft Forums

Supporting creators of visual novels and story-based games since 2003.

Visit our new games list, blog aggregator, IRC channel, and Discord (new).
Activation problem? Email pytom@bishoujo.us.
It is currently Fri Jun 23, 2017 9:56 pm

All times are UTC - 5 hours [ DST ]


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.



Post new topic Reply to topic  [ 87 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6
Author Message
PostPosted: Thu Dec 29, 2016 3:51 am 
Lemma-Class Veteran
User avatar

Joined: Sat Jul 09, 2011 10:33 pm
Posts: 2918
Location: Medford, MA
Projects: A Close Shave
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 (Jul 27) Finished Emotion Matrix for Joint Barber Sprite.
*Currently Doing: Make emotion matrix for Joint Customer Sprite. Decide emotions to use, think about blinking and lip flap.
*First Next thing to do: When the art comes in, cut up the art for Yeah Sure so I can make image buttons rather than image maps
*Next Thing to Do: Code in all the sprite emotion and camera movement for Close Shave
*Other Next Thing: 6.99.1 Tester, customize GUI

Check out My Clock Cookbook Recipe: http://lemmasoft.renai.us/forums/viewtopic.php?f=51&t=21978


Top
 Profile Send private message  
 
PostPosted: Thu Dec 29, 2016 12:53 pm 
Eileen-Class Veteran
User avatar

Joined: Sun Jun 10, 2012 1:45 am
Posts: 1496
Location: Brazil
Completed: Toire No Hanako, Li'l Red [NaNoRenO 2013], The One in LOVE [NaNoRenO 2014], Running Blade [NaNoRenO 2016]
Projects: Slumberland
Well, thank you for showing that the solution to the problem was so simple.

_________________
Image

No, sorry! You must be mistaking me for someone else.
TOIRE NO HANAKO (A Story About Fear)


Top
 Profile Send private message  
 
PostPosted: Thu Jan 05, 2017 1:17 pm 
Regular

Joined: Sun Nov 13, 2016 5:42 am
Posts: 50
Tumblr: tunasandwichofdestiny
Skype: sarbezleeb
Soundcloud: charclo
I added the changes Donmai described earlier but it still seems not to be working. Here's my error:

Code:
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.

Top
 Profile Send private message  
 
PostPosted: Thu Jan 05, 2017 1:21 pm 
Lemma-Class Veteran
User avatar

Joined: Sat Jul 09, 2011 10:33 pm
Posts: 2918
Location: Medford, MA
Projects: A Close Shave
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 (Jul 27) Finished Emotion Matrix for Joint Barber Sprite.
*Currently Doing: Make emotion matrix for Joint Customer Sprite. Decide emotions to use, think about blinking and lip flap.
*First Next thing to do: When the art comes in, cut up the art for Yeah Sure so I can make image buttons rather than image maps
*Next Thing to Do: Code in all the sprite emotion and camera movement for Close Shave
*Other Next Thing: 6.99.1 Tester, customize GUI

Check out My Clock Cookbook Recipe: http://lemmasoft.renai.us/forums/viewtopic.php?f=51&t=21978


Top
 Profile Send private message  
 
PostPosted: Thu Jan 05, 2017 1:25 pm 
Regular

Joined: Sun Nov 13, 2016 5:42 am
Posts: 50
Tumblr: tunasandwichofdestiny
Skype: sarbezleeb
Soundcloud: charclo
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.


Top
 Profile Send private message  
 
PostPosted: Thu Jan 05, 2017 3:30 pm 
Eileen-Class Veteran
User avatar

Joined: Sun Jun 10, 2012 1:45 am
Posts: 1496
Location: Brazil
Completed: Toire No Hanako, Li'l Red [NaNoRenO 2013], The One in LOVE [NaNoRenO 2014], Running Blade [NaNoRenO 2016]
Projects: Slumberland
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.

_________________
Image

No, sorry! You must be mistaking me for someone else.
TOIRE NO HANAKO (A Story About Fear)


Top
 Profile Send private message  
 
PostPosted: Sun Mar 05, 2017 11:56 am 
Newbie
User avatar

Joined: Sun Mar 05, 2017 11:53 am
Posts: 1
Deviantart: nadoChan
I am having the following error.

Code:
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


please help


Top
 Profile Send private message  
 
PostPosted: Tue Mar 07, 2017 11:49 am 
Ren'Py Creator
User avatar

Joined: Mon Feb 02, 2004 10:58 am
Posts: 14672
Location: Kings Park, NY
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Twitter: @renpytom
Github: renpytom
itch.io: renpytom
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
Code > Drama
https://www.patreon.com/renpytom


Top
 Profile Send private message  
 
PostPosted: Fri May 12, 2017 12:36 am 
Newbie

Joined: Thu May 11, 2017 2:37 am
Posts: 1
Just stopping by to say that this is a huge timesaver! Many thanks!


Top
 Profile Send private message  
 
PostPosted: Mon May 22, 2017 2:54 pm 
Lemma-Class Veteran
User avatar

Joined: Sat Jul 09, 2011 10:33 pm
Posts: 2918
Location: Medford, MA
Projects: A Close Shave
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 52 times

_________________
A Close Shave:
*Last Thing Done (Jul 27) Finished Emotion Matrix for Joint Barber Sprite.
*Currently Doing: Make emotion matrix for Joint Customer Sprite. Decide emotions to use, think about blinking and lip flap.
*First Next thing to do: When the art comes in, cut up the art for Yeah Sure so I can make image buttons rather than image maps
*Next Thing to Do: Code in all the sprite emotion and camera movement for Close Shave
*Other Next Thing: 6.99.1 Tester, customize GUI

Check out My Clock Cookbook Recipe: http://lemmasoft.renai.us/forums/viewtopic.php?f=51&t=21978
Top
 Profile Send private message  
 
PostPosted: Sun Jun 18, 2017 1:59 am 
Newbie

Joined: Mon Jun 12, 2017 12:23 pm
Posts: 3
Deviantart: szymanowsky7husky
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.


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 ^^


Top
 Profile Send private message  
 
PostPosted: Sun Jun 18, 2017 2:48 pm 
Newbie
User avatar

Joined: Sun Jun 11, 2017 10:58 am
Posts: 16
Location: Philippines
Projects: Moonlit Tears
Organization: Digilikha Studios
Soundcloud: shakeyss
itch.io: digilikha
I just want to comment and say thanks for this, for helping me alot in making my GUI. Kudos


Top
 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 87 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Protected by Anti-Spam ACP
Powered by phpBB® Forum Software © phpBB Group