how to show Love meters
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.
how to show Love meters
Hello,
I've been trying for a few days to display the three different meters I've created. I've read the "Screen Language" part in the Renpy documentation, but as english is not my native language, I don't understand what the part says
I just want to make something like this : The best would be if I could have three meters but I won't push my luck ahah
If you could help me, it would be awesome !
Thank you
I've been trying for a few days to display the three different meters I've created. I've read the "Screen Language" part in the Renpy documentation, but as english is not my native language, I don't understand what the part says
I just want to make something like this : The best would be if I could have three meters but I won't push my luck ahah
If you could help me, it would be awesome !
Thank you
Re: how to show Love meters
I haven't done this sort of thing in a while, but I think you can work with something along the lines of this (before label start):
Just change heartimage.png to the name of your image for the heart.
To change the "heartpoints", you can do the following:
You can do the same thing with the other two stats as well, just duplicate them and play around with the x position and y positions.
Code: Select all
screen lovemeter:
add "heartimage.png":
xpos 0.0
ypos 0.0
text (heartpoints):
xpos 0.780
ypos 0.015
color "#ffffff"
To change the "heartpoints", you can do the following:
Code: Select all
$ heartpoints = 0
Re: how to show Love meters
Thanks for the reply !Ana wrote: ↑Sat Jan 20, 2018 6:32 pm I haven't done this sort of thing in a while, but I think you can work with something along the lines of this (before label start):Just change heartimage.png to the name of your image for the heart.Code: Select all
screen lovemeter: add "heartimage.png": xpos 0.0 ypos 0.0 text (heartpoints): xpos 0.780 ypos 0.015 color "#ffffff"
To change the "heartpoints", you can do the following:You can do the same thing with the other two stats as well, just duplicate them and play around with the x position and y positions.Code: Select all
$ heartpoints = 0
So I've tried your code. The game doesn't indicate any error but nothing appears on the screen :/
- 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 Love meters
You have to show a screen in order for it to show up on the screen.
Code: Select all
show screen lovemeter
Re: how to show Love meters
Oh ok, my bad :')
I've tried it and an error appeared :
Here's my code :
I've tried it and an error appeared :
Here's my code :
- 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 Love meters
try
instead
Code: Select all
text "[love]"
Re: how to show Love meters
Oh my god it's working thank you so much !!!
Who is online
Users browsing this forum: Alex, piinkpuddiin