001 Action / RPG Maker


TUTORIALS

 

Multiplayer Game Part One: Movement

by evergreen (PM)

See everything made by this user or team.

Rating

Very Helpful of 12 vote(s).

NOTE: This guide may have a few bugs at this stage, please pm me with any 

 
problems or suggestions as it is imposible to forcsee all errors.
 
 
STEP ONE: Make a new game. Do it.
 
STEP TWO: Make a new map, call it Co-op. Make a new person, call him Player 
 
Two. Give him a weapon (lets say, an Uzi)
 
STEP THREE: Go to Input Scripts, its near system scripts. familarise yourself 
 
with how everything works by experimenting with a few different scripts. 
 
 
 
Input Scripts: click on add controll combination to create a new Input Script. 
 
Scroll down and double click on the new Controll you just created. To assign a 
 
key to that script click on the Controll once, then click Assign key. Simple. 
 
There are also three nodes witch controll wether the script is exectuted when 
 
the player pushes the key down, realeses it or holds it down.
 
 
 
 
STEP FOUR
 
Add a new Switch, call it 2P
 
Maker a new variable, call it 2PName
 
Return to Input Scripts
 
Click on 'Add combination'.
 
Scroll down, look for the combination you just made, it should say 'No 
 
Combination'
 
Double click on it, Insert Event> Switch Branch> If 2p is on>Change Movement X> 
 
Select the map 'This' > Click the small sqaure box on the right hand side o the 
 
character selection screen> select the variable '2PName'> Set slider to 1 (not 
 
minus one). If 2p is off do nothing. Click ok.
 
Now to assign a key on the keyboard to that script. Make sure that script is 
 
still highlighted, click on the 'Down Bubble' bellow the name field> Click on 
 
Key/ Button> Push the 'K' key on yyour keyboard, click ok.
 
Now when ever the 'K' Key is pushed, the second player moves right.
 
STEP FIVE:
 
Repeat STEP FOUR only this time set the slider to minus one and use the key 
 
'H'. Repeat STEP FOUR only this time use the Change Movement Y script and use 
 
the 'U' key. Repeat STEP FOUR only this time use the Change Movement Y script, 
 
use the 'j' key and set the slider to minus one. 
 
 
 
Now take a well earned break from scripting and test the player out. Click 
 
'test game' on the map 'Player Two' is on, and change the variable '2PName' to 
 
'player two', ensuring you replicate the text exactly. You will notice that 
 
when you push the corresponding key the player moves but does not stop.
 
You can obviously substitue the keys if you prefer to use the Number Pad or 
 
WASD. Now would be the best time to change this configuration.
 
 
 
 
STEP SIX:
 
Repet step four and five, only this time set the slider to zero for every step 
 
and click the 'up' buble under the name field before you enter the key instead 
 
of the 'down' bubble, if there is not a blue arrow next to the picture of the 
 
key you are doing it wrong : ( .
 
STEP SEVEN:
 
Pat yourself on the back, you now have finished the movement controlls for a 
 
second player. To enable 2 player controlls in your game do this: Turn the '2p' 
 
Switch on, set the variable '2pname' to the name of your second player.
 
 
 
Enjoy : D
 
Evergreen
 
There's been a total of 1609 views(s).
There's been 1083 people that have viewed.
You must be registered on the forums to vote.

 

Here you will find tutorials that the community has submitted. You get the opportunity to publish a tutorial down below.

Current Tutorials

Search

View by Category

Tutorials I Have Rated

Best Rated Tutorials
Most Rated Tutorials

Most Read Tutorial
Most Popular Tutorial

View by Creator

miroki123 (2)
evergreen (3)
Darkvoid (1)
Deedasmi (1)
AznaThira (3)
metomunc (2)
Neto (1)
Scaveleon (3)
Stephen Chapman (3)
gamer_dude001 (2)
Tehufn (1)
Now3r3 (4)
Samulis (2)
YunO (3)
coffeennicotine (1)
lbdl (1)
C0c1 (3)
MIV (1)
ammohead213 (1)
RPGking (3)
thutman (1)
K-Pone (8)
Ixayou (1)
Mr.Numbers (2)
hellblade (2)
Zarthan (1)
Ovoon (1)
manomomma (1)
epsilon017 (1)
ves75 (2)
TheRunner (1)
icecolddude (1)
DS21 (1)
FacialXpression (2)
Zorc (1)
phosita83 (1)
haraldx (1)
In_the_Bushes (1)
alphakal (1)
todydejaca (1)
Gaba (1)
mm001 (1)

Tutorial Panel

Add a Tutorial

Pending Approval

18 Tutorials In Progress
3 Finished Tutorials