I recall making QTEs, though I haven't done the swinging bar yet. Hm, let's see a quick structure. So one example starting with our common event:
Show Pic: Bar
Show Pic: Bar Cursor
Variable: Success = 0
Variable: Result = 0
Switch: Bar Direction = True
Loop:
If Bar Direction == True
Move Pic: Bar Cursor + 1
Variable Result + 1
If Variable Result > 100
Switch Bar Direction = False
End
Else
Move Pic: Bar Cursor - 1
Variable Result - 1
If Variable Result > 100
Switch Bar Direction = True
End
End
If Button A (Z) is Pressed
If Variable Result > Variable Max1
If Variable Result < Variable Max2
Variable Success = 3
End
Else
If Variable Result > Variable Mid1
If Variable Result < Variable Mid2
Variable Success = 2
End
Else
Variable Success = 1
End
End
If Variable Success > 0
Break Loop
End
Repeat Loop
Erase Pic: Bar
Erase Pic: Bar Cursor
---
And our event:
Variable: Mid1 = 30
Variable: Max1 = 50
Variable: Max2 = 60
Variable: Mid2 = 80
Call Common Event
If Variable Success == 3
"CRITICAL!"
Else
If Variable Success == 2
"GOOD ENOUGH!"
Else
"Where are the pretty colors?"
End
End
End
elseif
Oh, that makes sense! Mostly...!
What does this mean?
"Variable: Mid1 = 30
Variable: Max1 = 50
Variable: Max2 = 60
Variable: Mid2 = 80"
I'm super inexperienced with all this, please excuse my noobness!
Oh, your image showed a bar with three "zones" (should have some mathematics for a true bar...)
Anyway, Let's assume that the part you can hit is 0-100. In this case, I have two more zones (red and orange) that give different results if they succeed. Since our "bar cursor" goes back and forth between 0 and 100, the "okay" zone in our example is 30-80, and the "best result" zone is 50-60.
So with that quick common event I came up with, when you press Z, it should read the current result variable, like if the cursor is around 71, it is obviously not in the Best zone but it's still in the Good zone. Perhaps another example would be a "maximum bar", trying to hit the button at the 90-100 range but good enough if you hit 75-100.
So to recap:
Variable: Mid1 = 30
Variable: Max1 = 50
Variable: Max2 = 60
Variable: Mid2 = 80"
Is
Best: 50-60
Good: 30-80
---
Well, I suppose another way with some scripting would be based on a HP Bar, or rather 3 bars so you don't have to create specific images for each QTE, but that's for another time.
Ah, I see. I'll try making it and see how it goes. Thank you very much!