Laser room MZ

I have been trying to get a laser room up and running for a while now but can not get it to work successfully. I know I am missing something simple I am sure. The only way the room ever worked was if I ran them all in autorun which then I can't move at all in the room. I appreciate any help that I can get. This is an example of the idea and my current attempt. I am sorry if this is inconvient. In the end I want to block each laser with a barrel.
Do the Lasers go On and Off like spike Traps?
Instead of 'autorun', you have to put their trigger to 'parallel'.
Autorun is what is making you unable to move the character.

How are the lasers supposed to work? Is there something the player touches that triggers them? Or are you supposed to get past them when they are off? Also 60 frames = 1 second, so that is an incredibly short time for them to be on or off. Is that what you intended?
1 Parallel Event, for turning a Switch On and Off, to Set Up when the Lasers are On or Off.
Lasercontrol15151.png


Than an Laser Event which is only running on Parallel when it is absolutly needed.
Laser0155.png
Laser201515.png
Laser301554.png


If you need help implementing more Switches for different Timers into the Laser Control Event, let us know, maybe this helps somehow to get you started Level Building/Prototyping soon.

Edit: I just tested a fast intervall with 30 Frames and 3 Lasers in a Row, the Player needs good Timing and takes a few hits if he cant Dash, else with Dash its doable without getting Hit when 3 are in a row.

Edit2: Bug or Feature XD, when passing multiple Laser Events in a row, the Player is thrown back 2 Tiles not 1, this could be solved, but iam not sure if needed for this example, and it realy depends on the Gameplay if this is a Bug or a Feature.

Edit3: The Laser Maptile in Database Tilesets needs the passability setting: passable O.
That is because Events on below Player which are using Tileset Graphic instead of Chargraphic are
using the passability setting of the Database (X or O).
I appreciate all of the feedback. I will test this after work. Lastly, I want it so I can block each laser with a barrel. I might be able to figure it out. I will attempt when I get home. This community is awesome.
1 Parallel Event, for turning a Switch On and Off, to Set Up when the Lasers are On or Off.
View attachment 223016

Than an Laser Event which is only running on Parallel when it is absolutly needed.
View attachment 223013View attachment 223014View attachment 223015

If you need help implementing more Switches for different Timers into the Laser Control Event, let us know, maybe this helps somehow to get you started Level Building/Prototyping soon.

Edit: I just tested a fast intervall with 30 Frames and 3 Lasers in a Row, the Player needs good Timing and takes a few hits if he cant Dash, else with Dash its doable without getting Hit when 3 are in a row.

Edit2: Bug or Feature XD, when passing multiple Laser Events in a row, the Player is thrown back 2 Tiles not 1, this could be solved, but iam not sure if needed for this example, and it realy depends on the Gameplay if this is a Bug or a Feature.

Edit3: The Laser Maptile in Database Tilesets needs the passability setting: passable O.
That is because Events on below Player which are using Tileset Graphic instead of Chargraphic are
using the passability setting of the Database (X or O).
You definitely added more than I was looking for but I will use it. I wasn't thinking of damage from it at first but that does make it even more difficult. I attempted it with the first example and it stays solid, it doesn't flash off and on at all.
Autorun is what is making you unable to move the character.

How are the lasers supposed to work? Is there something the player touches that triggers them? Or are you supposed to get past them when they are off? Also 60 frames = 1 second, so that is an incredibly short time for them to be on or off. Is that what you intended?
That was just me attempting to get them to flash off and on. I plan to block them one at a time with a barrel eventually.
Do the Lasers go On and Off like spike Traps?
kind of like spike sticking up then going back in? If so then yes in a way.
I attempted it with the first example and it stays solid, it doesn't flash off and on at all.
That is strange, try to insert Textboxes for testing into the parallel "Laser Control Event" that is turning the Switch On and Off. To see if it does its Job.

Than on the Laser Event check if you Set the Eventpage Conditions correctly and the Pages in correct order,
and remember in rpg maker the highest Eventpage ID which mets Page conditions is used as
active Eventpage. If Page 2 has no Conditions or its conditions is true, than it will always run no matter if Eventpage1 Page conditions are true or not.

This should work because its working in the Testproject XD.
Else please show Pictures of your whole Eventpages.
That is strange, try to insert Textboxes for testing into the parallel "Laser Control Event" that is turning the Switch On and Off. To see if it does its Job.

Than on the Laser Event check if you Set the Eventpage Conditions correctly and the Pages in correct order,
and remember in rpg maker the highest Eventpage ID which mets Page conditions is used as
active Eventpage. If Page 2 has no Conditions or its conditions is true, than it will always run no matter if Eventpage1 Page conditions are true or not.

This should work because its working in the Testproject XD.
Else please show Pictures of your whole Eventpages.
I will attempt it on my switch in MV on lunch then on my main game at home after work. Tyvm
I will attempt it on my switch in MV on lunch then on my main game at home after work. Tyvm
No laser shows up at all here.

Update: Ok now I got it. I forgot to set the initial event. TY so much for all of the help!!!
I decided to make a maze event out of it. Now to get the trap to shut off after obtaining the key item.
LOL you showed the one Eventpage Twice and skiped the Page with the Parallel Event which i
showed. Did you realy over looked it?

Without it the Magic will not work.
Lasercontrol15151.png


Edit: Therefor i over looked that you allready fixed the Problem.

Original thread: https://forums.rpgmakerweb.com/threads/laser-room-mz.146674/