[Solved]bar questions (love meter)

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
itoroc0417
Newbie
Posts: 1
Joined: Sun Oct 08, 2017 11:21 pm
Contact:

[Solved]bar questions (love meter)

#1 Post by itoroc0417 »

I'm completely new to ren'py and not even a professional programmer.
I'm using this script to show love meter

Code: Select all

init:
    screen lovescreen:
        vbox:
            hbox:
                text "character"
                bar:
                    value love #character's love value. defined as init python:
                    range 100
            hbox:
                text "[love]"

            textbutton "Close" action Hide('lovescreen'),Show('buttons')
and It works. but I want to show the "negative value" going on. maybe around -100 to 100
I tried range(-100,100) ,range[-100,100] and everything. I just don't think I'm using 'range' right.

I have no idea if it was already solved topic. if it is, just leave me a link and I'll delete this thread.
Thank you
Last edited by itoroc0417 on Tue Oct 10, 2017 1:18 am, edited 1 time in total.

User avatar
RicharDann
Veteran
Posts: 286
Joined: Thu Aug 31, 2017 11:47 am
Contact:

Re: bar questions (love meter)

#2 Post by RicharDann »

The most important step is always the next one.

Post Reply

Who is online

Users browsing this forum: Bing [Bot], Majestic-12 [Bot], piinkpuddiin