This extension requires SimpleNetwork, get it here
A small extension to SimpleNetwork, which will give a way to send keypresses to the server.
net_button_bind("Jump", vk_space); net_button_bind("Left", ord("A")); net_button_bind("Right", ord("D"));
The server then recieves the button presses and will store the keys in the obj_keyboard_controller.
The server can then check if a button is pressed down by calling:
Keys are now registered as Name-Key pairs, this makes it so the server can check for specific names, like "Jump", instead of keys like "vk_space". This allows the client to change their key bindings.
Version 1.2.1. Published September 13, 2016
Created with GameMaker: Studio v1.4.1760
This asset hasn't received enough reviews yet.
You can only review assets you've bought.