How to show the different meters in-game and how to modify the choice position when 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
squarecup
Newbie
Posts: 15
Joined: Fri Jan 19, 2018 2:28 pm
Contact:

How to show the different meters in-game and how to modify the choice position when images

#1 Post by squarecup » Fri Jan 19, 2018 2:42 pm

Hello,

I'm totally new to Ren'Py (and French so yeah for the help ahah) and I'm kinda lost.

I have created the different variable :
variable.PNG
but I can't find how to show them in the game.

and secondly, I have a part of my game where I would like the choice to be image and to be aligned horizontally but I don't know how to do it :
choix.PNG
choix.PNG (8.2 KiB) Viewed 279 times
If someone know how to help me, you will seriously save me !

Thanks in advance :)

User avatar
Empish
Veteran
Posts: 221
Joined: Thu Jan 14, 2016 9:52 pm
Projects: Efemural Hearts, It Ends With Graduation
itch: empish
Contact:

Re: How to show the different meters in-game and how to modify the choice position when images

#2 Post by Empish » Fri Jan 19, 2018 2:58 pm

If you just want to show the value of the variable for debugging purposes, you can just output it to the screen with a say statement like this

Code: Select all

"[friendship]"
If you want a more complex visualization of it, you'd probably want to check out screen language. https://www.renpy.org/doc/html/screens.html

squarecup
Newbie
Posts: 15
Joined: Fri Jan 19, 2018 2:28 pm
Contact:

Re: How to show the different meters in-game and how to modify the choice position when images

#3 Post by squarecup » Fri Jan 19, 2018 3:07 pm

Empish wrote:
Fri Jan 19, 2018 2:58 pm
If you just want to show the value of the variable for debugging purposes, you can just output it to the screen with a say statement like this

Code: Select all

"[friendship]"
If you want a more complex visualization of it, you'd probably want to check out screen language. https://www.renpy.org/doc/html/screens.html
Oh thanks it's working ! But it's showing the value in the textbox, is there anyway to show it in the screen like something like this ?
Bg.PNG

User avatar
Empish
Veteran
Posts: 221
Joined: Thu Jan 14, 2016 9:52 pm
Projects: Efemural Hearts, It Ends With Graduation
itch: empish
Contact:

Re: How to show the different meters in-game and how to modify the choice position when images

#4 Post by Empish » Fri Jan 19, 2018 3:29 pm

Yes. For that you'll want to check out the screen language that I mentioned.

Post Reply

Who is online

Users browsing this forum: Google [Bot]