Isabela

Warper
Member
Joined
Apr 20, 2019
Messages
1
Reaction score
1
First Language
Portuguese
Primarily Uses
RMVXA
Hello, I'm developing a game on RPGMMV where the mechanism is focused on doing things to increase time (which are just points that simulates time where you raise the constant of a variable that increases 5,10,15,20... minutes).
Example:
Grab a random item (5 Minutes) (add 1)
Look for an useful item (10 Minutes) (add 2)

But I'm thinking about developing a HUD that shows the time on the screen, but I have no clue how to do this on an event, so I thought on making a plugin especially for the game. But I'm also very new at programming and I'm kinda lost. Do you guys have any tip of how I can do that? (I have SRDude's HUD maker btw)
 

Siffers

Villager
Member
Joined
Nov 7, 2019
Messages
5
Reaction score
2
First Language
English
Primarily Uses
RMMV
You can use a variable to store the points, then have them display in the HUD with "${$gameVariables.value(id)}" by replacing "id" with the id of the variable you chose.

So in example, if you used variable 7 you would write "${$gameVariables.value(7)}"
Then when you pick up an item worth 5 minutes, you would run an event that adds +1 to variable 7


You could also have text in front of it with something like "text ${$gameVariables.value(7)}"


I hope this helps!
 

Latest Threads

Latest Profile Posts

It might be a little bit boring and tedious, but building that database of armor, items, weapons and skills are super important.
More words of wisdom: Trying to make everyone happy will just make you miserable.
Ads: "Up to 90% off"
Reality: 9 items at 10% Off, one item at 90% off
if you were working on a rhythm-based retro fighting game, would you rather have the jumps take up two beats (one for jumping, one for landing) or just one?

Forum statistics

Threads
124,383
Messages
1,163,243
Members
163,181
Latest member
Insaneaphobe
Top