[Tutorial] Customizing Menus

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
User avatar
castrix
Newbie
Posts: 1
Joined: Tue Jun 14, 2016 7:28 pm
Contact:

Re: [Tutorial] Customizing Menus

#151 Post by castrix »

Thank You for tutorial, but I want to ask something.
could we modify button with vector based image? such as SVG?
I want to minimalize the file size. You know, 200kb in PNG could be only 5kb in SVG.

User avatar
DarrylDidIt
Newbie
Posts: 14
Joined: Sat Jul 09, 2016 5:35 pm
Contact:

Re: [Tutorial] Customizing Menus

#152 Post by DarrylDidIt »

So am I the only one that started using the code in this tutorial and then updated Renpy only to be a bit sad yet happy about the new GUI script?

TheOtherNewGuy
Regular
Posts: 26
Joined: Wed Nov 16, 2016 2:53 am
Contact:

Re: [Tutorial] Customizing Menus

#153 Post by TheOtherNewGuy »

will this still work the same way in renpy 6.99.11? Just noticed person above made a similar comment.

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

Re: [Tutorial] Customizing Menus

#154 Post by trooper6 »

For the new GUI you all should probably follow the GUI customization guide in the documentation:
https://www.renpy.org/doc/html/gui.html
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

TheOtherNewGuy
Regular
Posts: 26
Joined: Wed Nov 16, 2016 2:53 am
Contact:

Re: [Tutorial] Customizing Menus

#155 Post by TheOtherNewGuy »

trooper6 wrote:For the new GUI you all should probably follow the GUI customization guide in the documentation:
https://www.renpy.org/doc/html/gui.html
welp, problem with that is that I, dunno about everyone else, look for these more detailed and specific tutorials because the documentation goes way over my head :(

User avatar
neometalero
Regular
Posts: 196
Joined: Sun Oct 23, 2016 3:51 am
Completed: My Dream Sport Dating Simulator, Attack Helicopter Dating Simulator
Projects: My Dream Sport Dating Simulator, Attack Helicopter Dating Simulator
Deviantart: neometalero
Contact:

Re: [Tutorial] Customizing Menus

#156 Post by neometalero »

Amazing tutorial. It will come in handy for sure. Tks
Working on many weird narrative games at Curse Box Studios
Image
https://www.curseboxstudios.com/

User avatar
firecat
Miko-Class Veteran
Posts: 540
Joined: Sat Oct 25, 2014 6:20 pm
Completed: The Unknowns Saga series
Projects: The Unknown Saga series
Tumblr: bigattck
Deviantart: bigattck
Skype: bigattck firecat
Soundcloud: bigattck-firecat
Contact:

Re: [Tutorial] Customizing Menus

#157 Post by firecat »

TheOtherNewGuy wrote:
trooper6 wrote:For the new GUI you all should probably follow the GUI customization guide in the documentation:
https://www.renpy.org/doc/html/gui.html
welp, problem with that is that I, dunno about everyone else, look for these more detailed and specific tutorials because the documentation goes way over my head :(
agree, it was simple at first with only 3 scripts to edit but now with 7 more things added, it made editing the new renpy version very hard. the time i waste on new version can not complete with simple to edit old version. Plus the new version is kinda broken with image maps and screens.
Image


Image


special thanks to nantoka.main.jp and iichan_lolbot

kistnerelizabeth
Regular
Posts: 74
Joined: Wed Feb 10, 2016 1:20 am

Re: [Tutorial] Customizing Menus

#158 Post by kistnerelizabeth »

The new GUI thing definitely is difficult. If it helps you guys out, I managed to edit my background with this new GUI doing this:

Under game/gui, I made a main_menu folder and put the images I used for my menu background (since I have an animated background).

Then, under script, where you put the images you will be using, you create an image for the background. Mine looks like this: image bg main_menu: "gui/main_menu/MM1.jpg".

Then, under screens, at the very bottom of this part:
(## Main Menu screen ############################################################)
I put in define gui.main_menu_background = "bg main_menu". And, there you have it, the background is done.

Hope that helps those of you who were just as confused as I was.

Ishigreensa
Newbie
Posts: 20
Joined: Sun Jul 06, 2014 8:11 am
Contact:

Re: [Tutorial] Customizing Menus

#159 Post by Ishigreensa »

Actually, I've done something like this before without tooltips:
I made a mainmenu that when you clicked on a particular square, Information was written in the middle of the screen and then you could start with that.

hotspot ( xx, xx, xx, xx) clicked SetVariable ("yyyyy","zzzzz")

if yyyy == zzzz:
add image.png:
xpos 960
ypos 450

if yyyy == zzzz:
text "Lalala":
size 48
xpos 960
ypos 450

hotspot(xx, xx, xx, xx) action Start("zzzz")

This is all I can remember from that old code. I don't have access to that computer anymore as it had stopped working over a year ago on me, but this is what I remember. Sorry if something is off.

Post Reply

Who is online

Users browsing this forum: No registered users