Random Panda

Veteran
Veteran
Joined
May 3, 2016
Messages
92
Reaction score
15
First Language
English
Primarily Uses
RMMV
Hi all,

I'm having a little trouble timing out a specific kind of spike trap. What I would like to do is have alternating rows of spikes like so:
------- <-Spikes Down
^^^^^^^ <-Spikes Up
-------
^^^^^^^

And they would alternate their "Spikes Up" and "Spikes Down" positions. Getting them to just alternate was not a problem, but I need to time out a moment when they are both down so the player can move to the next tile. The way I have it now does this for the first swap, but the instant swap is instant. That leaves no time for the player to move.

This is how I have it right now:

Event A
Spikes Down position

Wait: 120 Frames
Self Switch A On

Spikes Up position
An page A:
Wait: 60 Frames
Self Switch A Off

Event B
Spikes Up position
Wait: 60 Frames
Self Switch A On

Spikes Down position
An page A:
Wait: 120 Frames
Self Switch A Off

And these two events alternate between the two spike positions.


I hope that makes sense to any readers. Any help with what I am missing or any ideas I could try would be very appreciated.
 

Rugman

Veteran
Veteran
Joined
Jun 11, 2020
Messages
291
Reaction score
82
First Language
English
Primarily Uses
RMMV
If I’m understanding correctly then you need to change your wait times. How can they both every be down at the same time if they alternate in perfect 60 or 120 intervals? You need to make one of the events change faster than the other so they will lose sync with each other.

I hope that makes sense and that I’m understanding your problem correctly.
 

Random Panda

Veteran
Veteran
Joined
May 3, 2016
Messages
92
Reaction score
15
First Language
English
Primarily Uses
RMMV
Actually, just you stating that helped. I've been scratching my head tweaking numbers. All I had to do was make the second event start its sequence later than the first. Thank you so much.
 

Latest Threads

Latest Posts

Latest Profile Posts

Artists out there, is there something RPG maker related you wish your graphics software had but doesn't? (Something like automatically transform a wall tile into a cylindrical tower). I want to give a boost to WecTools, but I'm dry of ideas right now...
having anxiety during all this virus stuff is the absolute worst. I'm the only one missing out on my friend's wedding in Sept. because I can't be in large groups of people anymore due to anxiety.
Well... I just spent most of the day making something I cant even use xD

Hero_1.png
The idea was to look at the original but at a medium distance.
In hindsight, I might as well have just edited the original lol... I didn't intend for it to end up so similar.
does anyone else feel tired after completing a sprite?

Forum statistics

Threads
113,906
Messages
1,078,338
Members
148,011
Latest member
minh0408
Top