Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
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.
-
fsc
- Regular
- Posts: 36
- Joined: Tue Jul 23, 2013 3:52 am
- Projects: ALLBLACK; a new project incoming...
- IRC Nick: fsc
-
Contact:
#1
Post
by fsc » Sat Apr 11, 2015 1:22 am
I forgot about this, this has been asked somewhere but I can't find it.
Simply put, how to make pause menu like this? Thanks.
-
KairuKyun
- Veteran
- Posts: 286
- Joined: Thu Feb 12, 2015 4:10 pm
- Completed: No One But You, Catch Canvas, Sickness, Written in the Sky, Wander no more, Warped Reality
- Projects: Warped Reality
- Organization: Unwonted Studios
- IRC Nick: Kairu_kyun
- Tumblr: karamuchan
-
Contact:
#2
Post
by KairuKyun » Sat Apr 11, 2015 2:11 am
I did that like this
Tell your game to use the right click to show this menu
Code: Select all
$ _game_menu_screen = "game_menu"
Screen code for the menu
Code: Select all
##########################
##Pause menu
screen game_menu:
tag menu
imagemap:
auto "assets/UI/pause_%s.png"
hotspot (575,130,133,53) action Return()
hotspot (555,198,160,60) action ShowMenu("save")
hotspot (575,265,125,55) action ShowMenu("load")
hotspot (535,342,209,50) action ShowMenu("text_history")
hotspot (565,410,152,59) action ShowMenu("preferences")
hotspot (540,485,190,51) action MainMenu()
How it looks
https://drive.google.com/file/d/0B7tyzt ... sp=sharing
It has to be the size of your screen and you need a transparent background.
Hope this helps.
-
fsc
- Regular
- Posts: 36
- Joined: Tue Jul 23, 2013 3:52 am
- Projects: ALLBLACK; a new project incoming...
- IRC Nick: fsc
-
Contact:
#3
Post
by fsc » Sat Apr 11, 2015 6:55 am
I thought about that too, it's not what I expected. :s
Let me rephrase and reillustrate the example.
It's adaptive to active scene, and dynamic displayables are still playing over it, as if pause menu is just another layer.
-
Donmai
- Eileen-Class Veteran
- Posts: 1919
- 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:
#4
Post
by Donmai » Sat Apr 11, 2015 11:55 am
Open your options.rpy and look for a line similar to this:
and change it to
Your game menu background should become transparent.
-
KairuKyun
- Veteran
- Posts: 286
- Joined: Thu Feb 12, 2015 4:10 pm
- Completed: No One But You, Catch Canvas, Sickness, Written in the Sky, Wander no more, Warped Reality
- Projects: Warped Reality
- Organization: Unwonted Studios
- IRC Nick: Kairu_kyun
- Tumblr: karamuchan
-
Contact:
#5
Post
by KairuKyun » Sat Apr 11, 2015 1:06 pm
Sorry forgot to include that part

Users browsing this forum: Bing [Bot]