I'm making a fishing minigame based on this tutorial, and I've made a few changes:
-Added a timer variable
-Made the pointer move based on the player's input, instead of moving on itself
-Made the bar's goal (the green picture) move when the timer variable is at certain values, instead of moving when the player presses 'OK'
I have encountered two problems that I don't know how to solve:
1. I want the pointer to move when the player mashes 'OK', but it won't work. It only moves if the condition is set to hold the button [SOLVED]
2. The bar's goal jumps from one position to the next one, but I'd like it to be more smooth, at a rate of 1 pixel per frame. [SOLVED]
Does anyone know how to do it? I'm attaching screenshots of my event (my RM is in spanish, sorry about that). Thanks in advance to anyone who can help.
EDIT: I've added the screenshots in english.
EDIT 2: problem 1 solved. My event was checking if the button was triggered every frame, so in order to make the pointer move, you would have to mash the button an insane amount of times every second... so I made the variable pointer X grow significantly higher when 'OK' is being triggered.
EDIT 3: problem 2 solved. I used the command "move picture" instead of "show picture". I'll attach screenshots of the final event in case anyone finds it helpful
-Added a timer variable
-Made the pointer move based on the player's input, instead of moving on itself
-Made the bar's goal (the green picture) move when the timer variable is at certain values, instead of moving when the player presses 'OK'
I have encountered two problems that I don't know how to solve:
1. I want the pointer to move when the player mashes 'OK', but it won't work. It only moves if the condition is set to hold the button [SOLVED]
2. The bar's goal jumps from one position to the next one, but I'd like it to be more smooth, at a rate of 1 pixel per frame. [SOLVED]
Does anyone know how to do it? I'm attaching screenshots of my event (my RM is in spanish, sorry about that). Thanks in advance to anyone who can help.
EDIT: I've added the screenshots in english.
EDIT 2: problem 1 solved. My event was checking if the button was triggered every frame, so in order to make the pointer move, you would have to mash the button an insane amount of times every second... so I made the variable pointer X grow significantly higher when 'OK' is being triggered.
EDIT 3: problem 2 solved. I used the command "move picture" instead of "show picture". I'll attach screenshots of the final event in case anyone finds it helpful