Submit Your Article


 
RPG Maker

Welcome Guest ( Log In | Register )


  Games Resources RPG Maker VX RPG Maker XP Scripts Tutorials Downloads

 
Reply to this topicStart new topic
> [Beginners]Pushing Objects through events., Simple tutorial for newcomers
Atsalakotos
post Jul 16 2008, 09:01 AM
Post #1


Level 3
Group Icon

Group: Member
Posts: 32
Type: Developer
RM Skill: Skilled




This tutorial explains how to make an event where you hold a button on the keyboard, (In this case 'A') to push objects like boulders by touching them.
This is on RMXP, but it should work on VX too.

1.First start a new event, set the trigger to 'Player touch', and start a conditional branch, when button 'A' (or whaterver you want) is being pressed. Note that you can completely skip this step if you want to just touch the boulder to move it.
Attached File  001.jpg ( 116.47K ) Number of downloads: 15


You can have a text to appear if you are not holding down 'A' like this one:
Attached File  002.jpg ( 129.8K ) Number of downloads: 10


2.Now open another conditional branch, and set it as shown in the image:
Attached File  003.jpg ( 118.42K ) Number of downloads: 9


3.Then on the same branch add 'Set move route' as shown, you can have any number of steps, but i chose 1:
Attached File  004.jpg ( 117.51K ) Number of downloads: 8


It should look like this by now:
Attached File  005.jpg ( 82.19K ) Number of downloads: 10


4. Now just repeat 1-3, making sure you have e.g: When player is facing right, set move route, turn right, X steps forward. It should look like this:
Attached File  006.jpg ( 85.16K ) Number of downloads: 8


Hope it helped!
Go to the top of the page
 
+Quote Post
   

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 23rd May 2013 - 11:20 AM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker