Here's my existing code:
init python:
config.overlay_screens.append("keymap_screen")
init:
#this changes skip to mousewheel
$ config.keymap['rollforward'].remove('mousedown_5')
$ config.keymap['rollback'].remove('mousedown_4')
$ config.keymap['dismiss'].append('mousedown_5')
$ config.keymap['rollforward'].append('K_q')
$ config.keymap['rollback'].append('K_w')
define config.game_menu_music = "gamemenu.ogg"
screen keymap_screen():
key "K_y" action ShowMenu('history')
# Declare characters used by this game. The color argument colorizes the name of the character.
define t = Character("Twilight Sparkle", color="#800080")
define a = Character(_("[povname]"), color="#228B22")
define z = Character(_("Zecora"), color="#696969")
define l = Character(_("Lyra"), color="#98ff98")
define s = Character(_("Spike"), color="#DA70D6")
default povname = "Anonymous"
# The game starts here.
#default a = 2
#label start:
# $ a = 3
# if a == 2:
# e "Do a thing"
# else:
# e "Do another thing"
label splashscreen:
python:
if not persistent.set_volumes:
persistent.set_volumes = True
_preferences.volumes['music'] *= .40
label start:
Here you can download a existing build with the problem: https://watercolorheart.itch.io/ponyvn
SOLVED: My main menu and game menu disappeared (because of splash screen mode)
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.
-
- Eileen-Class Veteran
- Posts: 1314
- Joined: Mon Sep 19, 2005 2:15 am
- Completed: Controlled Chaos / Sum of the Parts / "that" Midna game with ZONEsama
- Projects: Sparse Series/Oddments Shop original cartoon in Pevrea; Cybernetic Duels (fighting game); Good Vibin'
- Organization: Watercolorheart Studios
- IRC Nick: BCS
- Tumblr: adminwatercolor
- Deviantart: itsmywatercolorheart
- Github: Watercolordevdev
- Skype: heartnotes
- Soundcloud: Watercollider
- itch: watercolorheart
- Location: Florida
- Contact:
SOLVED: My main menu and game menu disappeared (because of splash screen mode)
Last edited by Watercolorheart on Wed Nov 11, 2020 5:17 pm, edited 1 time in total.
I'm not even the same person anymore
-
- Eileen-Class Veteran
- Posts: 1314
- Joined: Mon Sep 19, 2005 2:15 am
- Completed: Controlled Chaos / Sum of the Parts / "that" Midna game with ZONEsama
- Projects: Sparse Series/Oddments Shop original cartoon in Pevrea; Cybernetic Duels (fighting game); Good Vibin'
- Organization: Watercolorheart Studios
- IRC Nick: BCS
- Tumblr: adminwatercolor
- Deviantart: itsmywatercolorheart
- Github: Watercolordevdev
- Skype: heartnotes
- Soundcloud: Watercollider
- itch: watercolorheart
- Location: Florida
- Contact:
Re: My main menu and game menu for save/load disappeared! Help!
How do I post code on the forums again?
I'm not even the same person anymore
Re: My main menu and game menu for save/load disappeared! Help!
To post a code you can type code in square brackets []. To close type /code in square brackets []. or Full editor mode and select from menu above textbox </>
Re: My main menu and game menu for save/load disappeared! Help!
Hi, Watercolorheart,
You run the game in "splashscreen mode":
Remove label splashscreen and move the python code to init python.
You can also add return in the splashscreen, although I don't really see why you need splashscreen.
You run the game in "splashscreen mode":
Code: Select all
label splashscreen:
python:
if not persistent.set_volumes:
persistent.set_volumes = True
_preferences.volumes['music'] *= .40
You can also add return in the splashscreen, although I don't really see why you need splashscreen.
-
- Eileen-Class Veteran
- Posts: 1314
- Joined: Mon Sep 19, 2005 2:15 am
- Completed: Controlled Chaos / Sum of the Parts / "that" Midna game with ZONEsama
- Projects: Sparse Series/Oddments Shop original cartoon in Pevrea; Cybernetic Duels (fighting game); Good Vibin'
- Organization: Watercolorheart Studios
- IRC Nick: BCS
- Tumblr: adminwatercolor
- Deviantart: itsmywatercolorheart
- Github: Watercolordevdev
- Skype: heartnotes
- Soundcloud: Watercollider
- itch: watercolorheart
- Location: Florida
- Contact:
Re: My main menu and game menu for save/load disappeared! Help!
That worked, thank you! I have been pulling my hair out over that. It was some code I copied from the forums so that's why.
I'm not even the same person anymore
Re: SOLVED: My main menu and game menu disappeared (because of splash screen mode)
Hi! I have encountered the same issue (menus disappearing because of splash screen mode). I wanted to create a game that would crash, and when you opened it again it would load at a certain point. I followed this person's advice: https://www.reddit.com/r/RenPy/comments ... _starting/ but because of that, when the game loads up again it is perpetually in splash screen mode. Is there any way to retain the menus and accomplish my initial goal? Thank you!
Who is online
Users browsing this forum: Ahrefs [Bot], Google [Bot], Ocelot