HP bar [oh god, 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
ishify
Newbie
Posts: 23
Joined: Thu Aug 15, 2013 5:25 pm
IRC Nick: Ishy
Contact:

HP bar [oh god, SOLVED]

#1 Post by ishify »

Is what I am doing right? I'm trying to get the size / crop of the image dependent in hp_scout...

Code: Select all

$ hp_scout = 30
$ green_scout = hp_scout * 2.866

image hp_green_scout crop = im.Crop("system/hp_green.png"  , (0, 0, green_scout, 14))
Last edited by ishify on Sun Jan 18, 2015 7:24 pm, edited 1 time in total.
ImageI'm a bored potato so come talk to me pleaseImage

User avatar
xela
Lemma-Class Veteran
Posts: 2481
Joined: Sun Sep 18, 2011 10:13 am
Contact:

Re: HP bar

#2 Post by xela »

Any reason you're discriminating the actual "bar"?

http://www.renpy.org/doc/html/screens.html#bar
Like what we're doing? Support us at:
Image

User avatar
ishify
Newbie
Posts: 23
Joined: Thu Aug 15, 2013 5:25 pm
IRC Nick: Ishy
Contact:

Re: HP bar

#3 Post by ishify »

AH nooooooooooooooooooooooooooooooooo

O a O how did I miss that. Thank you.
ImageI'm a bored potato so come talk to me pleaseImage

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Google [Bot]