Submit Your Article Guild Wars 2 Forum RPG Maker VX.com
 
RPG Maker
 

 Username:
 Password:
   Not a member? Register!



Home > Tutorials > RPG Maker VX > Reappearing Platforms

Reappearing Platforms


- First make an event that is not the block you wish to walk on.
- Here you need to set 4 variables
1 for the Player's Map X
1 for the Player's Map Y
1 for the Block's Map X (Note: this is the event u want to walk on so select that event from the list.)
1 for the Block's Map y
-Make this a Parallel Process event

- Now make an event and choose a graphic like the dock piece in the top of "tile set B".
-Give this event a name to make it easier to find when setting up the variables above.
- make it wait for however long, I choose 120 frames. Then give it a "self switch A" Make sure its Parallel Process and Below Player.

-On the next page keep the graphic clear because this will be the disappeared block.

The code should look like this

-Conditional Branch: Variable[001: Player X]== Variable[002: Block X]
-Conditional Branch: Variable[003: Player Y]== Variable[002: Block Y]
(Call Game Over here if conditions above are met)

else

-wait 120 frames
-self switch A off

branch end


else

-wait 120 frames
-self switch A off

Branch End

----Make sure Parallel Process is on here too
----Turning self switch A off will make sure the tile will keep appearing and disappearing.

Note: This is for 1 platform only, if you want to use 2 or more that appear in order then you will need to create 2 variables (X and Y) for them in the variable event.

Have Fun and feel free to ask me questions.


Details
Tutorial: Reappearing Platforms
Date Listed: 2010-01-13
Author: kccarmea
Total Hits: 1547


Embed
Short URL:

HTML:

BB Code:



RPG RPG Revolution
RPG RPG Revolution is your #1 stop for game development and console RPG games, as well as those created by people like you. Link to us to support us, so we may grow to be better website community for you.

RPG RPG Revolution is an Privacy Policy and Legal