(Question) Make a loading screen before entering the scene ?
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.
(Question) Make a loading screen before entering the scene ?
I just want to know, what can I make the loading screen in the game before entering the main scene
Re: (Question) Make a loading screen before entering the sce
What kind of loading screen? Do you have a reference picture of it?
If this is a question about how to code it in Renpy, then you should've posted in Renpy Question sub forum instead of here...
If this is a question about how to code it in Renpy, then you should've posted in Renpy Question sub forum instead of here...
My avatar is courtesy of Mellanthe
- mugenjohncel
- Hentai Poofter
- Posts: 2121
- Joined: Sat Feb 04, 2006 11:13 pm
- Organization: Studio Mugenjohncel
- Location: Philippines
- Contact:
Re: (Question) Make a loading screen before entering the sce
That's easy... you can simulate a loading screen in renpy by doing this...NNaosuke wrote:I just want to know, what can I make the loading screen in the game before entering the main scene
First, make a fake loading graphics
Code: Select all
init:
image loading = "graphics/loading_screen.jpg"
#assuming you put your graphics in "graphics" folder. Change accordingly..."
Code: Select all
scene loading with fade
$ renpy.pause(4.0, hard=True)
#True makes it un-clickable to give the impression the game is loading something in the background
scene background_02 with fade
show uncle_mugen with dissolve
m "And... were here... "
m "Me, You and the background behind me..."
m "Everything was loaded properly."
Edit: I added a working demo here so you can play with it... "POOF" (...what have I done)
Re: (Question) Make a loading screen before entering the sce
@Mugen: Hi Uncle! Nice to see ya!
You can simply put an image in the game folder called "presplash.png".
Just that, really, Ren'py automatically show it in the "loading" phase. No coding.
If it goes too fast, use this:
define config.minimum_presplash_time = x.x
where x.x are the minimum seconds the image must show up.
You can simply put an image in the game folder called "presplash.png".
Just that, really, Ren'py automatically show it in the "loading" phase. No coding.
If it goes too fast, use this:
define config.minimum_presplash_time = x.x
where x.x are the minimum seconds the image must show up.
If you want to debate on a reply I gave to your posts, please QUOTE ME or i'll not be notified about. << now red so probably you'll see it.
10 ? "RENPY"
20 GOTO 10
RUN
10 ? "RENPY"
20 GOTO 10
RUN
- mugenjohncel
- Hentai Poofter
- Posts: 2121
- Joined: Sat Feb 04, 2006 11:13 pm
- Organization: Studio Mugenjohncel
- Location: Philippines
- Contact:
Re: (Question) Make a loading screen before entering the sce
Yahoo... and uh...gas wrote:@Mugen: Hi Uncle! Nice to see ya!
Now that I look at it more closely... yes, I may have read this very wrong... and interpreted it as wanting to fake a loading screen...
"POOF" (Disappears)
Re: (Question) Make a loading screen before entering the sce
My renpy launcher simply refuses to launch my game whenever I do something like that. Is there any additional option that I must set (beside the minimum presplash time) ?gas wrote:You can simply put an image in the game folder called "presplash.png".
Just that, really, Ren'py automatically show it in the "loading" phase. No coding..
I'm using the new GUI.
My avatar is courtesy of Mellanthe
- Donmai
- Eileen-Class Veteran
- Posts: 1960
- 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:
Re: (Question) Make a loading screen before entering the sce
Maybe the new GUI doesn't have this feature? The usefulness of the presplash image was questioned five years ago. viewtopic.php?f=32&t=16060indoneko wrote:I'm using the new GUI.
No, sorry! You must be mistaking me for someone else.
TOIRE NO HANAKO (A Story About Fear)
TOIRE NO HANAKO (A Story About Fear)
- Imperf3kt
- Lemma-Class Veteran
- Posts: 3794
- Joined: Mon Dec 14, 2015 5:05 am
- itch: Imperf3kt
- Location: Your monitor
- Contact:
Re: (Question) Make a loading screen before entering the sce
The presplash is there for Android, so it should still be there somewhere for PC.
off to the docs, I guess.
off to the docs, I guess.
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Current project: GGD Mentor
Twitter
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Current project: GGD Mentor
Re: (Question) Make a loading screen before entering the sce
So, a presplash.png in a game directory will actually block renpy launcher on PC? Is it by design? (I'm talking about the new version, with the new GUI)
My avatar is courtesy of Mellanthe
Re: (Question) Make a loading screen before entering the sce
I'm using it in that very exact moment, new GUI and Linux.
Work perfectly as intended.
Just created a presplash.png, and dropped in the game folder (not the images, the game, where there are scripts).
("new gui" means nothing, the core is the same whatever, legacy or new, you use).
Work perfectly as intended.
Just created a presplash.png, and dropped in the game folder (not the images, the game, where there are scripts).
("new gui" means nothing, the core is the same whatever, legacy or new, you use).
If you want to debate on a reply I gave to your posts, please QUOTE ME or i'll not be notified about. << now red so probably you'll see it.
10 ? "RENPY"
20 GOTO 10
RUN
10 ? "RENPY"
20 GOTO 10
RUN
- Donmai
- Eileen-Class Veteran
- Posts: 1960
- 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:
Re: (Question) Make a loading screen before entering the sce
Partially true. viewtopic.php?p=444546#p444546gas wrote:("new gui" means nothing, the core is the same whatever, legacy or new, you use)
No, sorry! You must be mistaking me for someone else.
TOIRE NO HANAKO (A Story About Fear)
TOIRE NO HANAKO (A Story About Fear)
Re: (Question) Make a loading screen before entering the sce
Which renpy version do you use?gas wrote:I'm using it in that very exact moment, new GUI and Linux.
Work perfectly as intended.
Just created a presplash.png, and dropped in the game folder (not the images, the game, where there are scripts).
("new gui" means nothing, the core is the same whatever, legacy or new, you use).
I tested this on Windows with several Renpy version, and the result :
Renpy 6.99.12.4 : FAILED
Renpy 6.99.12.2 : FAILED
Renpy 6.99.4 : SUCCESS
Renpy 6.12 : SUCCESS
My avatar is courtesy of Mellanthe
Re: (Question) Make a loading screen before entering the sce
Linux 6.99.12.3indoneko wrote:Which renpy version do you use?gas wrote:I'm using it in that very exact moment, new GUI and Linux.
Work perfectly as intended.
Just created a presplash.png, and dropped in the game folder (not the images, the game, where there are scripts).
("new gui" means nothing, the core is the same whatever, legacy or new, you use).
I tested this on Windows with several Renpy version, and the result :
Renpy 6.99.12.4 : FAILED
Renpy 6.99.12.2 : FAILED
Renpy 6.99.4 : SUCCESS
Renpy 6.12 : SUCCESS
It work also on Wine emulation.
I'll do a quick update now and let's see.
EDIT: it work even better now XD. On 6.99.12.4 both in Linux and Wine.
If you want to debate on a reply I gave to your posts, please QUOTE ME or i'll not be notified about. << now red so probably you'll see it.
10 ? "RENPY"
20 GOTO 10
RUN
10 ? "RENPY"
20 GOTO 10
RUN
- First Aid Kid
- Newbie
- Posts: 1
- Joined: Fri Jul 31, 2020 8:33 pm
- Contact:
Re: (Question) Make a loading screen before entering the sce
Do .gif files work as well?gas wrote: ↑Tue Mar 14, 2017 6:21 pmLinux 6.99.12.3indoneko wrote:Which renpy version do you use?gas wrote:I'm using it in that very exact moment, new GUI and Linux.
Work perfectly as intended.
Just created a presplash.png, and dropped in the game folder (not the images, the game, where there are scripts).
("new gui" means nothing, the core is the same whatever, legacy or new, you use).
I tested this on Windows with several Renpy version, and the result :
Renpy 6.99.12.4 : FAILED
Renpy 6.99.12.2 : FAILED
Renpy 6.99.4 : SUCCESS
Renpy 6.12 : SUCCESS
It work also on Wine emulation.
I'll do a quick update now and let's see.
EDIT: it work even better now XD. On 6.99.12.4 both in Linux and Wine.
- Imperf3kt
- Lemma-Class Veteran
- Posts: 3794
- Joined: Mon Dec 14, 2015 5:05 am
- itch: Imperf3kt
- Location: Your monitor
- Contact:
Re: (Question) Make a loading screen before entering the scene ?
Renpy does not support .gif files
If you want animation you can use ATL, which strings together a bunch of still images, similar to how the graphics interchange format works.
However, you must do this in the splashscreen, it won't work in the presplash.
If you want animation you can use ATL, which strings together a bunch of still images, similar to how the graphics interchange format works.
However, you must do this in the splashscreen, it won't work in the presplash.
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Current project: GGD Mentor
Twitter
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Current project: GGD Mentor
Who is online
Users browsing this forum: Google [Bot]