Description

This extension requires SimpleNetwork, get it here

A small extension to SimpleNetwork, which will give a way to send keypresses to the server.

Example:

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:

net_button_is_down("Jump", clientSocket);

End User Licence Agreement (EULA).

Changes in 1.2.1

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.

Added functions:

  • net_button_bind - Binds a name with a key
  • net_button_rebind - Rebinds a name with a key
  • net_button_is_pressed - Checks if the button was just pressed
  • net_button_is_released - Checks if the button was just released

Version 1.2.1. Published September 13, 2016

Created with GameMaker: Studio v1.4.1760

Age Rating: 4+

Average Rating

This asset hasn't received enough reviews yet.

Your review

You can only review assets you've bought.


Gravatar

MAX P 12 December 2017

Package contents

Loading, please wait

What is the issue?

Back to Top