Description

An easy to use set of scripts, which allow for easy implementation of on-screen joysticks, with the possibility (but without the necessity) to use custom sprites for graphics.

All scripts are explained at the beginning of the script. There are 3 scripts which should always be called for the joysticks to work properly:

  • vstick_init(stick_id,x,y,r,square_calculation,backsprite,frontsprite): adds a joystick. Only has to be called once.
  • vstick_step(stick_id): handles the logic.
  • vstick_draw(stick_id): draws the joystick.

The scripts have been tested on android, windows, and HTML5.

If you have any suggestions on what to add, change, or fix, feel free to contact me! PS: if you (dis)like this asset, feel free to leave a review.

End User Licence Agreement (EULA).

Age Rating: 4+

Version

GMS1 - Version 1.1.0. Published July 19, 2014

  • Added vstick_check(id), vstick_check_pressed(id) and vstick_check_released(id)
  • Edited vstick_step(id) to calculate vstick_check_pressed(id) and vstick_check_released(id)
Loading, please wait

Package contents

Loading, please wait

What is the issue?

Loading, please wait

Back to Top