Adding thousands of stat points (buttons or increasing allocation on key press)

AdeptusUK

Veteran
Veteran
Joined
May 27, 2020
Messages
45
Reaction score
9
First Language
English
Primarily Uses
RMMV
Hi all

I am using the YEP_StatAllocation plugin and I'm having an issue where the player can end up with thousands of stat points to assign. By default pressing the left/right key on a stat increases it by one, holding the key increases it in increments of one per X time (presumably whatever the refresh rate of the screen is). I have a couple of solutions for this, but I lack the js knowledge to implement them. I could either:

1. Increase the speed at which stat points are allocated whilst a user holds the 'right' key
2. Add some buttons to the stat allocation screen that add 10/50/100 or whatever amount of stat points.

I've been fiddling with adding buttons, but I just don't understand enough to implement it from the tutorials I've seen. Can anyone point me to a tutorial that would explain it to me as if I am 5 or help me solve this problem?
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

Less than a week and I can move into my new apartment and out of this bad situation. I'm so excited! Then game making power will increase. :kaoluv:
Enter the password in letters. (English subtitles)
I really tried to pull off something for halloween, but I don't feel like going on. I feel like the plot I was building was too generic, and I couldn't connect to it as I do with other projects. On the bright side, I've been working on my cosmic-puzzle project, so far I think the core mechanics are working properly, so I'll be creating some large test maps to see how it works out.
People2_5 & SF_Monster1 added!

Ami
--- X Costume ---

M.Healer: I'm wearing M.Mage's Costume.
M.Mage: I'm wearing M.Healer's Costume.
M.Knight: Why not using the Scary Costume like me,The Scary Frankenstein?
M.Healer: Err…Because we have low of Budget.
M.Mage: Yeah,right.

Forum statistics

Threads
104,602
Messages
1,007,483
Members
136,084
Latest member
TikeTenGamesOffical
Top