RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
Life bar with pictures

0 Members and 1 Guest are viewing this topic.

**
Rep: +0/-0Level 88
How do I do at life bar that made of pics and sre shown on screen allt the time? ???
I want an "Air meter" that shall go down every 2 sec. do anyone know how to fix this?
I'd like an answer sa fast as passible. 

***
Rep:
Level 88
Do you want to do it with events or scripts?

**
Rep: +0/-0Level 88
events^^ idonno bout script thingy  :-\

***
Rep:
Level 88
Are you having problems with getting the actual picture up? Or making it change according to what your HP (or air meter) is at?

**
Rep: +0/-0Level 88
like evereything XD I've had RPG maker 2003 since 2004 and i'm stilla a noob :P
I know how the get pic up, but not the rest =/ I'd like the meter do drop every 2 sec an I want a thin that when you pick up an iten that refills the meter.

***
Rep:
Level 88
Ok, this will take a little math, but basically what you want to do is have a variable for how much the air meter is.  Then you use a small circle or line for what the air level is at.  Or you could use a solid bar.

Then use the move picture to move the cursor or line or whatever to a variable coordinates.  You might have to set up a formula to convert the variable that tells how much air you have to something that you can use to resize the variable to what works for you and use move picture to move the cursor to the right spot on the bar.

Kind of confusing, but I hope that helps X_x

**
Rep: +0/-0Level 88
I did not get any of that you just said  ???
but I got help from a friend now, he has done that before ;)
thx anyway  :D

***
Rep:
Level 88
Alright.  Sorry I couldn't help X_x

****
When the dawn breaks...
Rep:
Level 88
...tonight will be just another memory.
lol... Just so you know half your words where incomplete or spelt wrong... I'll assume that was because you have a dodgy keyboard or something.

Oh, and Yami, I didn't get it either. Was that for rm2003?

***
Rep:
Level 88
Actually, I was distracted when I wrote it.  Let me try to clarify.

(any numbers are just for example)

Let's say that the air meter goes to 100.  Then each second it goes down by 1 (So you have a little more than a minute and a half).
But the air bar probably is more or less than 100 pixels, and it probably isn't doesn't start at the 0th(not sure if 0th is a word...) pixel so you need to have a different variable to know where to place it.
Use variable operation (might take a few of them.  I haven't tried it out to see how many) to make a new variable that represents the X coordinate (Or the Y if it is a vertical bar) of the bar or blip that shows where your air level is at.
If you want, I could come up with the formula, but since Stalker's friend already helped him I won't bother unless you want to know it. (I'm not that good at math so it would take me a while to figure it out ;D).
Then you use move picture to place the blip or bar above where it should be on the gauge.

Does that clear it up any?  I can go more into it if there's part you don't understand ^^;

lol... Just so you know half your words where incomplete or spelt wrong.
=x
« Last Edit: January 25, 2007, 05:42:01 PM by Yami »

****
When the dawn breaks...
Rep:
Level 88
...tonight will be just another memory.
lol... Just so you know half your words where incomplete or spelt wrong.
=x

Oppsie... And... err... that is how you spell spelt... lol. I even checked it.