Main Menu
  • Welcome to The RPG Maker Resource Kit.

WASD movement system

Started by Zeriab, June 20, 2007, 05:28:52 PM

0 Members and 1 Guest are viewing this topic.

Zeriab

I was bored, so here is a quick and dirty WASD movement system made with events




- Zeriab

Kokowam

YAY! A ZERIAB TUTORIAL! Just make some on scripting, pretty please? XD I'm going to try this out... But is it possible to have this replace the Up,Down,Left,Right instead?

Zeriab

Sure, you should have no trouble changing this to up, down, left, right.

Just change the conditional branches which checks for key pressed

R = UP
Y = DOWN

X = LEFT
Z = RIGHT



btw... If I were to make another tut on scripting the level would probably be about the same as with my RegExp tut ^_^

Kokowam

C'mon! It's too hard... T_T Also, I haven't tried it out, but would the directional things override the event or vice versa?

Zeriab

Not if you have one of the systems on Autorun. If you put both triggers to Parallel Process, then yes.
In fact, if you set both to parallel without changing the event otherwise you will have to ways of movement and you can let the player decide which to choose.

Kokowam

Autostart. o.o But... are you able to... you know... talk to NPC's and do things normally? Also, do parallel processes work during autostart events?

Zeriab

I have just tested an you can't talk to NPC's like normally.
Parallel processes does however work.

Kokowam

So basically to talk to NPCs you have to make parallel processes that check if you're at a certain spot, facing a certain way, and pressing a certain button? XD Is there any possible way to change it like changing the default scripts or something?

Zeriab

No no no...
If you set the two events on parallel processing you can speak with people just fine.
Making it so that you talk to NPCs with the Autostart solution is a bit more tricky because just triggering and starting the event is not enough.
If you manage to do that it'll wait until the Autostart is over before getting interpreted.
Any scripts that changes this will more than likely bring great compatibility issues with it.