[RMVX ACE] [SCRIPTING] 2 PLAYER SCRIPT/HELP

Posts

Pages: 1
Okay, (not sure if this has been asked but it's worth a shot) so I want to make a game that allows 2 player, same screen (non-split). I already have a theory with the controls and think I might have found a script that works, however, I don't think the script works they way I wish it to.

So the controls I was think of are:
Player 1:
Movement: WASD
Sprint: Shift
Interact: Space

Player 2:
Movement: 8456 (Number Pad)
Sprint: Enter (Number Pad)
Interact: 0 (Number Pad)

So by looking at these, yes, each player has their side of the keyboard. Along with only using 1 hand to play (Player 1 uses Left hand and Player 2 uses Right hand).

The script I found is Simple 2 Player script concept (Well a concept, but it links to other scripts that could be used.) I just want the simple functions of making two events (the players) move around the map.

For the script on the site: I tried using it but it ended up not working, so I probably did not do complete the script correctly/it's not fully working.

For the script the site links to: It looks great, however, I am unsure how to implement it into this. I could be wrong in using it, but it allows the full functionality of the keyboard and makes it so I can program what I need.

Another thing, in theory, could I use these events to make the entities move instead of importing a giant script?

Input.trigger?(Input::A)
Input.repeat?(:A)
Input.press?(:A)

Given that the event is using parallel processing, this should work in a way, correct?

Thank you for your time :3
Pages: 1