how do I put CG's in the game ? [solved]

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
Meg'
Regular
Posts: 185
Joined: Tue Sep 27, 2011 10:37 am
Projects: Anges Démoniaques, Gang (Alex & Hugo), Le passé dans les veines
Location: France
Contact:

how do I put CG's in the game ? [solved]

#1 Post by Meg' »

Hello everyone ! :)

Well here I am begging for help. Yes, I have read a lot of threads but didn’t find what I looked for so I created this topic.

My problem is the following ==> How do I put CG’s during the game ? I mean, is it the same as a picture for a scene or for a character or is it different ? Do I have to delay the appearing of the picture ? Or is there a key word or something that I don't know ?

Because it works if I write some text, but I only want to show the picture. I don't want some text because it's not really nice as a result... :mrgreen:

Thanks in advance for your help ^^
Last edited by Meg' on Wed Oct 19, 2011 8:11 am, edited 1 time in total.

User avatar
TsukiShima
Miko-Class Veteran
Posts: 778
Joined: Fri Aug 05, 2011 4:47 am
Projects: Heartful Memory
Location: Malaysia
Contact:

Re: how do I put CG's in the game ?

#2 Post by TsukiShima »

Code: Select all

scene CG
with Dissolve(2.0)
$ renpy.pause(1.5, hard=True)
Hmm, I'm not sure if this is how you want it, but this will allow the player to see the CG for a few seconds and without any text I believe.

User avatar
Meg'
Regular
Posts: 185
Joined: Tue Sep 27, 2011 10:37 am
Projects: Anges Démoniaques, Gang (Alex & Hugo), Le passé dans les veines
Location: France
Contact:

Re: how do I put CG's in the game ?

#3 Post by Meg' »

Yes ! That's exactly what I was looking for ! :D I tried it and it works.
Thanks a lot !

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

Re: how do I put CG's in the game ?

#4 Post by Soraminako »

HanaMori wrote:

Code: Select all

scene CG
with Dissolve(2.0)
$ renpy.pause(1.5, hard=True)
Hmm, I'm not sure if this is how you want it, but this will allow the player to see the CG for a few seconds and without any text I believe.
This is going to be a noobish question, but I wasn't aware of the hard pause before: Is there a way to make it so that it displays the CG and only goes to the next scene once the player clicks somewhere on the CG?

I mean, I realize you could just make the Pause to be "hard=False" so they can click and skip to the next scene, but is there a more 'proper' way of doing what I described above, other than setting a soft pause of several seconds so it displays for a long time unless they click it?
(I drew my avatar especially to express the scary feeling I get from the code as I type it... XD)

User avatar
TsukiShima
Miko-Class Veteran
Posts: 778
Joined: Fri Aug 05, 2011 4:47 am
Projects: Heartful Memory
Location: Malaysia
Contact:

Re: how do I put CG's in the game ? [solved]

#5 Post by TsukiShima »

Code: Select all

scene CG
with Dissolve(2.0)
$ renpy.pause()
I think this is the code you're looking for, though I admit I'm a noob myself.

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

Re: how do I put CG's in the game ? [solved]

#6 Post by Soraminako »

That does the job perfectly, thank you! :D

I'm afraid we're all somewhat noob-ish in a way or another, since other than the really advanced veteran Ren'py users most of us are just learning as we go. XD
(I drew my avatar especially to express the scary feeling I get from the code as I type it... XD)

Post Reply

Who is online

Users browsing this forum: Majestic-12 [Bot]