Hellpug

Veteran
Veteran
Joined
Feb 6, 2016
Messages
61
Reaction score
47
First Language
Engililish
Primarily Uses
Hi all!

So I'm trying to make a puzzle for game jam game that's based off the D&D Countdown Puzzle

I'm stuck at basically the last part and then it should be fine from there. Basically, I can't get it to do the events during the countdown AND reset at the same time. I've searched other threads and vids which got me this far but now I am stumped.
I can either get the events during the countdown to go off but not the reset or get the rest to work but not the events.

References I used to get this far: Issues with Timers , Making Countdown Timers , Super Simple Puzzles

This is my Countdown timer event set up. The event EV012/the gray stone is my countdown timer and controls the events. Basically I am trying to get threats to appear on the map as the count goes down. The events are the "clear" squares which switch to bats during the countdown. I initially tried different ways of getting the one event to reset itself which didn't work. I tried creating an event that would just reset the Countdown but it will not do anything during the countdown. I've tried switching around above and below characters.

Any help is appreciated. Thanks!
1634541001090.png
1634541061842.png
1634541099266.png
1634541151645.png
 

ShadowDragon

Realist
Veteran
Joined
Oct 8, 2018
Messages
4,677
Reaction score
1,797
First Language
Dutch
Primarily Uses
RMMV
the best way personally to control timers (if visible) is to use a variable.
a variable timer that is the same as total of the timer you have.

in the event in parallel process you have around this.

variable x -=1 (remove 1 variable from timer)
if variable x <= 720 (timer 12 seconds)
show text/image of 12 seconds left
else
if variable x < 360 (6 seconds)
show text/image of 6 seconds
else
maybe more?
end
end
end

in the other event next to it in parallel

if timer = 00.00.00 or lower
variable x = 0
switch stop of the timer if used
end
you want to stop the entire timer and reset the player if failed,
able to reset it.
you might require to use a selfswitch for the other event to be off
in this event as well, you can search how to do it.

variable number is a example, so for 20 seconds, use 20x60 = 1200.
use this variable also in your puzzle where the timer start otherwise,
it stops the timer as well :)

I use this example half from my side game which is timer based.
but I hope you understand how to set up the timer to make it work
better in your case which is also more controlled.
 

Hellpug

Veteran
Veteran
Joined
Feb 6, 2016
Messages
61
Reaction score
47
First Language
Engililish
Primarily Uses
@ShadowDragon So I am trying to understand I'll screenshot what I have. Do I need both the timer and the variable? Or are you saying I would just make a timer purely with variables?


1634616429575.png 1634616506404.png
 

Latest Threads

Latest Profile Posts

I'm new to rpgmaker mv, link me some good stuff to learn.
Finally, I have graduated from college and now I can put a lot more work into my game, after having not worked on it for the better part of a year.
post so i can change my profile picture ^^
Creating Some art for a fighter game.

Finally was able to record the rest of the game demo! I added some edits here and there, this is why it takes me so long to do stuff cuz I find a problem and have to fix it asap. x.x
Game: https://dj990j.itch.io/region-of-mythos

Forum statistics

Threads
117,062
Messages
1,104,211
Members
153,027
Latest member
Mr_Skely
Top