QUADROLINE'S PROFILE
Someone you don't know
Search
Filter
[RM2K3] Meter Gauge?
[RM2K3] Meter Gauge?
[RM2K3] Meter Gauge?
author=Darken
if you don't have official rm2k3 though.
I don't :[
author=hedge1
There are two ways to do this.
If you have the most recent English version of rm2k3, you can show images by variable reference. So make images of every level of the gauge (say 20 of them) and then show the appropriate image. Something like the following (not exact code):
TempVariable = CurrentStamina
TempVariable * 20 <-- use however many images you have here
TempVariable / MaximumStamina
Show Image StaminaMeter_0000 using TempVariable as the variable reference
The other option is to place your stamina meter on a screen edge and then as your stamina drops, have it move off screen. We create the TempVariable similarly, except because we only need a single image for this (the image of the full bar), we can have it move pixel by pixel.
TempVariable = CurrentStamina
TempVariable * 20 <-- use the width of the full StaminaMeter, in pixels
TempVariable / MaximumStamina
Show Image FullStaminaMeter where x = TempVariable and y = whatever you want
Place which ever code you use in a common event, and then call that event when needed. I would not call it on parallel process, but you could call it at the end of the parallel process event which slowly refills the stamina gauge when you're not running (assuming you have such a mechanic).
Sadly I am a god damn cheapskate and I only downloaded the non-official product (Mods forgive me)
Hopefully It'll will work, thanks for the advice guys.
[RM2K3] Meter Gauge?
Greetings RMN, I want to have my character run, but however I want to place a limit on how long they can run for, I'm wondering if it's possible to add a gauge/meter to show how much stamina a character have behind getting tired and go back to walking speed.
GREETINGS.
Pages:
1














