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?
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?