Changing Choice Boxes
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.
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.
- Mikomi
- Veteran
- Posts: 324
- Joined: Tue Jun 24, 2014 11:45 pm
- Completed: That Which Binds Us, Enamored Risks, Alice in Stardom
- Projects: Asterism, Magicanna
- Organization: Crystal Game Works
- itch: CrystalGameWorks
- Contact:
Changing Choice Boxes
Hello there, I was wondering if you could upload an image to use instead of the standard choice boxes. I want to make a short of "shooting" part in a game, where if the player clicks the monsters head (the "Yes" choice) it is defeated. If this doesn't make sense I'll try to explain it in better detail. Thank you for reading.
- SundownKid
- Lemma-Class Veteran
- Posts: 2299
- Joined: Mon Feb 06, 2012 9:50 pm
- Completed: Icebound, Selenon Rising Ep. 1-2
- Projects: Selenon Rising Ep. 3-4
- Organization: Fastermind Games
- Deviantart: sundownkid
- Location: NYC
- Contact:
Re: Changing Choice Boxes
You can use screens and imagebuttons to substitute for a typical choice menu.
Example of making an imagebutton is here: http://www.renpy.org/doc/html/screens.html#imagebutton
What you will want to do is set the action of each imagebutton to jump to a different story branch.
Example of making an imagebutton is here: http://www.renpy.org/doc/html/screens.html#imagebutton
What you will want to do is set the action of each imagebutton to jump to a different story branch.
- Mikomi
- Veteran
- Posts: 324
- Joined: Tue Jun 24, 2014 11:45 pm
- Completed: That Which Binds Us, Enamored Risks, Alice in Stardom
- Projects: Asterism, Magicanna
- Organization: Crystal Game Works
- itch: CrystalGameWorks
- Contact:
Re: Changing Choice Boxes
How would I do that?SundownKid wrote:You can use screens and imagebuttons to substitute for a typical choice menu.
Example of making an imagebutton is here: http://www.renpy.org/doc/html/screens.html#imagebutton
What you will want to do is set the action of each imagebutton to jump to a different story branch.
- ArachneJericho
- Regular
- Posts: 196
- Joined: Sun Jun 22, 2014 2:04 am
- Projects: Kaguya Hime
- Tumblr: mousedeerproductions
- Location: Seattle, WA, USA
- Contact:
Re: Changing Choice Boxes
Some example code attached. Look at the bottom of screens.rpy, and also script.rpy.
- Attachments
-
- Test 2.zip
- (306.51 KiB) Downloaded 37 times
Who is online
Users browsing this forum: Bing [Bot], nyeowmi

