I was bored, so here is a quick and dirty WASD movement system made with events
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fimg113.imageshack.us%2Fimg113%2F7226%2Fforwardbackwordjs8.png&hash=c1236a6243a5c3bb7e4be0502092250a0aa090f7)
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fimg520.imageshack.us%2Fimg520%2F6974%2Fleftrightfc3.png&hash=0879ddf06b8a47b732e2f5bff4d0a6712ba9c9de)
- Zeriab
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?
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 ^_^
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?
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.
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?
I have just tested an you can't talk to NPC's like normally.
Parallel processes does however work.
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?
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.