regarding images,....

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
jory014
Regular
Posts: 80
Joined: Fri Mar 18, 2011 6:13 am
Projects: Confidant From Darkness (VN), Stand By Me (NaNoRenO 2013)
Organization: CHILL Brigade
Location: Manila, Philippines
Contact:

regarding images,....

#1 Post by jory014 » Thu Sep 08, 2011 12:43 am

is there a code to make an image still for like any number of seconds until moving on to the next scene/line/label or whatever??? (with bgm/sfx?? no text?)

rather like a load screen... for transitions to a next chapter in a game...

that is all :p
"We're Cute and Cool, while Chilling- CHILL Brigade-"

W.I.P:
-A Confidant From Darkness
http://lemmasoft.renai.us/forums/viewto ... t=11427url
-~Stand By Me~
http://lemmasoft.renai.us/forums/viewto ... 50&t=19784

Team Site:
-CHILL Brigade]
http://chillbrigade14.wix.com/chill-brigade

User avatar
Soraminako
Veteran
Posts: 277
Joined: Sun Sep 04, 2011 1:36 am
Projects: A thingie without a title. With messy code.
Contact:

Re: regarding images,....

#2 Post by Soraminako » Thu Sep 08, 2011 1:28 am

Keeping in mind that maybe I shouldn't be answering this since I'm a huge noob, I think you can achieve that with the following code:

Code: Select all

     show imagethingie
     with Pause(1.0)
     #Or however long you want your pause to be.
Or possibly use $ renpy.pause(1.0) or however long you want your pause to be?

Sorry in advance if I'm wrong. D:
That seems to be working in my code, but considering I have more things go wrong than go right in my game, one should take anything from my code with a huge grain of salt...
(I drew my avatar especially to express the scary feeling I get from the code as I type it... XD)

User avatar
jory014
Regular
Posts: 80
Joined: Fri Mar 18, 2011 6:13 am
Projects: Confidant From Darkness (VN), Stand By Me (NaNoRenO 2013)
Organization: CHILL Brigade
Location: Manila, Philippines
Contact:

Re: regarding images,....

#3 Post by jory014 » Thu Sep 08, 2011 1:47 am

Lol, its okay. like you I am a noob. But possibly more noobish hahahaha XD

I'll probably try this :) (if its wrong, its okay I wouldn't mind, at least you have tried making a code, while I don't even know what to do with it lols)

well I did try the renpy.pause thing but it seemed to not play the sound/music with it :/ I tried ways to make it work but it just won't work for some odd reason...

and possibly do you think renpy.pause would work on text also?? or also pause?
"We're Cute and Cool, while Chilling- CHILL Brigade-"

W.I.P:
-A Confidant From Darkness
http://lemmasoft.renai.us/forums/viewto ... t=11427url
-~Stand By Me~
http://lemmasoft.renai.us/forums/viewto ... 50&t=19784

Team Site:
-CHILL Brigade]
http://chillbrigade14.wix.com/chill-brigade

User avatar
Soraminako
Veteran
Posts: 277
Joined: Sun Sep 04, 2011 1:36 am
Projects: A thingie without a title. With messy code.
Contact:

Re: regarding images,....

#4 Post by Soraminako » Thu Sep 08, 2011 2:07 am

I didn't know it could interrupt the music... it's not doing that in my code. Maybe if you have it near the music it pauses the music, while if it's near an image or something it doesn't?

The way I have it is like this:

Code: Select all


    scene party_animation 
    with dissolve
    with Pause(1.0)

    hide party_animation
    
    scene party_food

That gets my animation, which is 1 second long, to play fully before the hide command kicks in and we move onto the other scene. (Although maybe I didn't need to use hide there. I'm not sure. But in any case it's working, at least for now! XD)

So you could probably do the same thing, and after the hide command you put your text or whatever you wanted to have appear after the character staying there for some time.

It's like we're two blind people trying to help each other walk around, hahaha! But hopefully we can figure out how to make it work. :)
The code is so hard it seems to take me forever to figure out how to do anything... ^^;
(I drew my avatar especially to express the scary feeling I get from the code as I type it... XD)

User avatar
jory014
Regular
Posts: 80
Joined: Fri Mar 18, 2011 6:13 am
Projects: Confidant From Darkness (VN), Stand By Me (NaNoRenO 2013)
Organization: CHILL Brigade
Location: Manila, Philippines
Contact:

Re: regarding images,....

#5 Post by jory014 » Thu Sep 08, 2011 2:38 am

Soraminako wrote:I didn't know it could interrupt the music... it's not doing that in my code. Maybe if you have it near the music it pauses the music, while if it's near an image or something it doesn't?

The way I have it is like this:

Code: Select all


    scene party_animation 
    with dissolve
    with Pause(1.0)

    hide party_animation
    
    scene party_food

That gets my animation, which is 1 second long, to play fully before the hide command kicks in and we move onto the other scene. (Although maybe I didn't need to use hide there. I'm not sure. But in any case it's working, at least for now! XD)

So you could probably do the same thing, and after the hide command you put your text or whatever you wanted to have appear after the character staying there for some time.


I see what you mean... I'll try it :) thanks so much :D
Soraminako wrote:It's like we're two blind people trying to help each other walk around, hahaha! But hopefully we can figure out how to make it work. :)
The code is so hard it seems to take me forever to figure out how to do anything... ^^;
HAHAHAHA!!! IKR, if that was for real, dang i bet we're dead before we can make it anywhere hahahaha XD kidding...

well if it works for you maybe it'll work for me... :p

and maybe its is because of how the music and the code is close cause they are close in mine... well its just like a load screen image that's why and i have specific music for such scenes..

anyways, I'll see first and post if ever i made progress hahaha XD
"We're Cute and Cool, while Chilling- CHILL Brigade-"

W.I.P:
-A Confidant From Darkness
http://lemmasoft.renai.us/forums/viewto ... t=11427url
-~Stand By Me~
http://lemmasoft.renai.us/forums/viewto ... 50&t=19784

Team Site:
-CHILL Brigade]
http://chillbrigade14.wix.com/chill-brigade

User avatar
jory014
Regular
Posts: 80
Joined: Fri Mar 18, 2011 6:13 am
Projects: Confidant From Darkness (VN), Stand By Me (NaNoRenO 2013)
Organization: CHILL Brigade
Location: Manila, Philippines
Contact:

Re: regarding images,....

#6 Post by jory014 » Thu Sep 08, 2011 6:07 am

Soraminako wrote:I didn't know it could interrupt the music... it's not doing that in my code. Maybe if you have it near the music it pauses the music, while if it's near an image or something it doesn't?

The way I have it is like this:

Code: Select all


    scene party_animation 
    with dissolve
    with Pause(1.0)

    hide party_animation
    
    scene party_food

That gets my animation, which is 1 second long, to play fully before the hide command kicks in and we move onto the other scene. (Although maybe I didn't need to use hide there. I'm not sure. But in any case it's working, at least for now! XD)

So you could probably do the same thing, and after the hide command you put your text or whatever you wanted to have appear after the character staying there for some time.

It's like we're two blind people trying to help each other walk around, hahaha! But hopefully we can figure out how to make it work. :)
The code is so hard it seems to take me forever to figure out how to do anything... ^^;
pause just doesn't seem to work on me...but i got the renpy.pause working on me :)

anyways once again thanks!
"We're Cute and Cool, while Chilling- CHILL Brigade-"

W.I.P:
-A Confidant From Darkness
http://lemmasoft.renai.us/forums/viewto ... t=11427url
-~Stand By Me~
http://lemmasoft.renai.us/forums/viewto ... 50&t=19784

Team Site:
-CHILL Brigade]
http://chillbrigade14.wix.com/chill-brigade

User avatar
Soraminako
Veteran
Posts: 277
Joined: Sun Sep 04, 2011 1:36 am
Projects: A thingie without a title. With messy code.
Contact:

Re: regarding images,....

#7 Post by Soraminako » Thu Sep 08, 2011 2:47 pm

Too bad about the simpler pause, but yay that the renpy.pause version worked! At least one of the two. :D
I have them both working in my code, but maybe there's something we overlooked in how to make pause works, and that's making the difference. But well, if it works, yay!
(I drew my avatar especially to express the scary feeling I get from the code as I type it... XD)

User avatar
jory014
Regular
Posts: 80
Joined: Fri Mar 18, 2011 6:13 am
Projects: Confidant From Darkness (VN), Stand By Me (NaNoRenO 2013)
Organization: CHILL Brigade
Location: Manila, Philippines
Contact:

Re: regarding images,....

#8 Post by jory014 » Thu Sep 08, 2011 9:47 pm

Soraminako wrote:Too bad about the simpler pause, but yay that the renpy.pause version worked! At least one of the two. :D
I have them both working in my code, but maybe there's something we overlooked in how to make pause works, and that's making the difference. But well, if it works, yay!
maybe the simplier pause could have worked.. but whenever i try it the error it wasn't defined something something keep on coming up o.O

but yeah at least i got renpy.pause to work XD
"We're Cute and Cool, while Chilling- CHILL Brigade-"

W.I.P:
-A Confidant From Darkness
http://lemmasoft.renai.us/forums/viewto ... t=11427url
-~Stand By Me~
http://lemmasoft.renai.us/forums/viewto ... 50&t=19784

Team Site:
-CHILL Brigade]
http://chillbrigade14.wix.com/chill-brigade

Post Reply

Who is online

Users browsing this forum: Majestic-12 [Bot]