Hey everyone!
It's been months that I've been working on a special project on RPG Maker MV and finally I'm sharing my first post. I have a problem with the eventing of a little minigame inside my RPG and can't figure out what exactly the problem is.
I followed this tutorial on RPG Maker Web by @hiddenone to build a whack-a-cat minigame, set up the events, the variables, thought I had understood the logic, but the game gets stuck in the play test.
The cats randomly flash up, but much too fast, and the player doesn't turn, no matter which buttons I press. The timer does count down, but when reaching 00:00, nothing happens, the game does not stop. Overall: It doesn't work! And I don't know why!
Can someone help me figure out what I'm not seeing?
Above screenshots of the 5 different events and following the eventing of the Autorun Event. I'd appreciate it greatly if anyone could take the time and take a look at it and tell me what the hell I'm doing wrong!
It's been months that I've been working on a special project on RPG Maker MV and finally I'm sharing my first post. I have a problem with the eventing of a little minigame inside my RPG and can't figure out what exactly the problem is.
I followed this tutorial on RPG Maker Web by @hiddenone to build a whack-a-cat minigame, set up the events, the variables, thought I had understood the logic, but the game gets stuck in the play test.
The cats randomly flash up, but much too fast, and the player doesn't turn, no matter which buttons I press. The timer does count down, but when reaching 00:00, nothing happens, the game does not stop. Overall: It doesn't work! And I don't know why!
Can someone help me figure out what I'm not seeing?
Above screenshots of the 5 different events and following the eventing of the Autorun Event. I'd appreciate it greatly if anyone could take the time and take a look at it and tell me what the hell I'm doing wrong!
Code:
◆Tint Screen:(0,0,0,0), 30 frames (Wait)
◆Show Balloon Icon:Player, Exclamation (Wait)
◆If:Bezuna Random = 0
◆Text:felicity(0), Window, Bottom
: :Hit the arrow keys to catch the cats!
: : ↑ cat above you ↓cat under you
: : → cat right of you ← cat left of you \!
: :Minigame starts in 3,\| 2,\| 1,\| Go!\|
◆Control Timer:Start, 0 min 30 sec
◆
:End
◆Loop
◆Control Variables:#0005 Bezuna Random = Random 0..4
◆If:#0013 ≠ Bezuna Previous
◆Break Loop
◆
:End
◆
:Repeat Above
◆Control Variables:#0007 Bezuna Timer = 30
◆Control Variables:#0008 Bezuna Choice = 0
◆Control Variables:#0006 Bezuna Previous = Bezuna Random
◆Control Variables:#0009 Bezuna Total += 1
◆Loop
◆If:Button [Left] is pressed down
◆Set Movement Route:Player (Wait)
: :◇Turn Left
◆Control Variables:#0008 Bezuna Choice = 3
◆
:End
◆If:Button [Right] is pressed down
◆Set Movement Route:Player (Wait)
: :◇Turn Right
◆Control Variables:#0008 Bezuna Choice = 2
◆
:End
◆If:Button [Up] is pressed down
◆Set Movement Route:Player (Wait)
: :◇Turn Up
◆Control Variables:#0008 Bezuna Choice = 1
◆
:End
◆If:Button [Down] is pressed down
◆Set Movement Route:Player (Wait)
: :◇Turn Down
◆Control Variables:#0008 Bezuna Choice = 4
◆
:End
◆If:Bezuna Choice ≥ 1
◆If:Bezuna Choice = Bezuna Random
◆Flash Screen:(0,119,0,51), 5 frames
◆Wait:5 frames
◆Control Variables:#0010 Bezuna Score += 1
◆Break Loop
◆
:End
◆
:Else
◆Flash Screen:(119,0,0,51), 5 frames
◆Wait:5 frames
◆Play SE:Wind4 (50, 100, 0)
◆Break Loop
◆
:End
◆Control Variables:#0007 Bezuna Timer -= 1
◆If:Bezuna Timer = 0
◆Break Loop
◆
:End
◆Wait:1 frame
◆
:Repeat Above
◆If:Timer ≤ 0 min 0 sec
◆Text:felicity(3), Window, Bottom
: :Time's up!
: :
: :You caught \v[10] of \v[9] cats!
◆Transfer Player:Orchard (9,7) (Direction: Down)
◆
:End




