Splash screen issue fixed, but......

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.
Post Reply
Message
Author
User avatar
Robitron
Newbie
Posts: 14
Joined: Thu Oct 24, 2019 11:53 am
Projects: Working on a VN called " Learning to Fly"
Organization: Just the author and myself so far
Tumblr: niftytron
Deviantart: Rob1tron
Github: Niftytron
itch: Rob1tron
Location: Florida for now...
Contact:

Splash screen issue fixed, but......

#1 Post by Robitron »

I fixed my splashscreen issue of the game starting automatically without the main menu showing and waiting for the user to select an option with the following lines of code:


label splashscreen:
scene bg warning
with dissolve
pause (5)
call screen main_menu

# The game starts here.

label start:

scene black
with dissolve
pause 2


This works perfectly except now there is a History button!

I can't figure out how to get rid of it after searching for the answer for two+ hours. ::hint:: I'm using the KISS method first this time!

[EDIT]

Whoops! I called the wrong screen didn't I? History replaced Start and there is a Main Menu button added.

:oops:
Last edited by Robitron on Thu Oct 31, 2019 10:20 am, edited 1 time in total.
My Career and the first CGI movie comprise my name... Robitron 8)
Robi MUST remember to slow his brain down and actually READ his display fully!
Robi NEEDS to remember to post coding issues in the correct thread :oops:

User avatar
isobellesophia
Miko-Class Veteran
Posts: 979
Joined: Mon Jan 07, 2019 2:55 am
Completed: None
Projects: Maddox and Friends! (AI Teacher friend), Friendly Universities! (Soon)
Organization: Friendly Teachers series
Deviantart: SophBelle
itch: Child Creation
Location: Philippines, Mindanao
Contact:

Re: Splash screen issue fixed, but......

#2 Post by isobellesophia »

Since i understand a bit.. and sorry to say, i dont understand english a little.. what was the call screen main_menu for? Maybe you can just use jump start instead without the main menu if you want that.
I am a friendly user, please respect and have a good day.


Image

Image


User avatar
Robitron
Newbie
Posts: 14
Joined: Thu Oct 24, 2019 11:53 am
Projects: Working on a VN called " Learning to Fly"
Organization: Just the author and myself so far
Tumblr: niftytron
Deviantart: Rob1tron
Github: Niftytron
itch: Rob1tron
Location: Florida for now...
Contact:

Re: Splash screen issue fixed, but......

#3 Post by Robitron »

Thanks isobellesophia, but a jump did nothing. After the splash screen times out, the game starts playing right away with no user input given. I used call screen main_menu to fix it but I think I called the wrong screen.

Google Translation:

Salamat isobellesophia, ngunit ang isang jump ay walang ginawa. Matapos ang oras ng splash screen, nagsisimula ang paglalaro kaagad nang walang ibinigay na input ng gumagamit. Ginamit ko ang call screen main_menu upang ayusin ito ngunit sa palagay ko tinawag ko ang maling screen.
My Career and the first CGI movie comprise my name... Robitron 8)
Robi MUST remember to slow his brain down and actually READ his display fully!
Robi NEEDS to remember to post coding issues in the correct thread :oops:

User avatar
isobellesophia
Miko-Class Veteran
Posts: 979
Joined: Mon Jan 07, 2019 2:55 am
Completed: None
Projects: Maddox and Friends! (AI Teacher friend), Friendly Universities! (Soon)
Organization: Friendly Teachers series
Deviantart: SophBelle
itch: Child Creation
Location: Philippines, Mindanao
Contact:

Re: Splash screen issue fixed, but......

#4 Post by isobellesophia »

Robitron wrote: Thu Oct 31, 2019 10:30 am Thanks isobellesophia, but a jump did nothing. After the splash screen times out, the game starts playing right away with no user input given. I used call screen main_menu to fix it but I think I called the wrong screen.

Google Translation:

Salamat isobellesophia, ngunit ang isang jump ay walang ginawa. Matapos ang oras ng splash screen, nagsisimula ang paglalaro kaagad nang walang ibinigay na input ng gumagamit. Ginamit ko ang call screen main_menu upang ayusin ito ngunit sa palagay ko tinawag ko ang maling screen.
Ahaha, thanks for the translation, so i get it now, you want to show the user input or maybe the naming input.. maybe i can at least make a trick out of splashscreen..

Code: Select all

label splashscreen:
scene bg warning
with dissolve
pause (5)
python: 
    name = renpy.input(_("Anything! But real names i really wanted.")) 
    name = name.strip() or __("Student")
jump start
# The game starts here.

label start:

scene black
with dissolve
pause 2 
I am a friendly user, please respect and have a good day.


Image

Image


User avatar
Robitron
Newbie
Posts: 14
Joined: Thu Oct 24, 2019 11:53 am
Projects: Working on a VN called " Learning to Fly"
Organization: Just the author and myself so far
Tumblr: niftytron
Deviantart: Rob1tron
Github: Niftytron
itch: Rob1tron
Location: Florida for now...
Contact:

Re: Splash screen issue fixed, but......

#5 Post by Robitron »

No, I want the default menu screen to show as in the menu that showed before I added a splash screen.

translation:

Hindi, nais kong ipakita ang default na screen ng menu tulad ng sa menu na nagpakita bago ako magdagdag ng isang splash screen.
My Career and the first CGI movie comprise my name... Robitron 8)
Robi MUST remember to slow his brain down and actually READ his display fully!
Robi NEEDS to remember to post coding issues in the correct thread :oops:

User avatar
Robitron
Newbie
Posts: 14
Joined: Thu Oct 24, 2019 11:53 am
Projects: Working on a VN called " Learning to Fly"
Organization: Just the author and myself so far
Tumblr: niftytron
Deviantart: Rob1tron
Github: Niftytron
itch: Rob1tron
Location: Florida for now...
Contact:

Re: Splash screen issue fixed, but......

#6 Post by Robitron »

A very short version of the game can be download here:

https://mega.nz/#F!cLwHyKZL!BuYKTO-RLEDlMF0E2saPmA
Attachments
traceback.bak.txt
Yesterdays issue
(5.7 KiB) Downloaded 15 times
log.txt
(1 KiB) Downloaded 18 times
log.bak.txt
from the full game
(9.65 KiB) Downloaded 19 times
errors.txt
(365 Bytes) Downloaded 16 times
My Career and the first CGI movie comprise my name... Robitron 8)
Robi MUST remember to slow his brain down and actually READ his display fully!
Robi NEEDS to remember to post coding issues in the correct thread :oops:

Post Reply

Who is online

Users browsing this forum: Google [Bot]