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).

Changes in 1.1.0

  • 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)

Version 1.1.0. Published July 19, 2014

Created with GameMaker: Studio v1.99.180

Age Rating: 4+

Average Rating

Your review

You can only review assets you've bought.


Gravatar

Marcos A 06 February 2017

Very nice...

Great assets.. I only should sugest an tutorial more easy... with scripts ready to use.. but it´s very commented. But a very little knowledge of programing is needed!


Gravatar

Anonymous 02 January 2017

Good

It's good overall.
User can customise the sprites, comments in the scripts are straightforward.
However, somehow it has got some problem related to GUI.
The circle at the center of the vstick does not follow perfectly the mouse.
When I use it in android phone, it get worse.
I really want publisher to figure out this problem.
Then it will be perfect literaly.
Thank you for good extension!


Gravatar

Bengt R 23 November 2016

Just what I want !

But i dont understand how to install it in my windowsproject ?
Please help me.


Gravatar

Curtis S 31 October 2016

Excellent

As others have said, this is easy to understand, implement, and adjust. Not only that, it's free! Perfect for any project requiring a virtual joystick.


Gravatar

Andreas P 08 July 2016

Amazing and easy!

Very customizable and loads of usefull, easy to understand functions!


Gravatar

loganout l 14 June 2016

move ?

How do I do for the player to move in the direction and angle of the analog?
The image shows a player and two analog.
but actually you only have scripts =)

I have a fire button, it does not work when the analog is being used


Gravatar

Anonymous 31 January 2016

good

only 4 directions 8direction best


Gravatar

Luiz R 19 January 2017

Very good

I need a help.
how can I make an action with right joystick like a shoot?
My player have a gun and the right joystick need turn player and shoot.
Except this, it's a great script.


Gravatar

Ricardo R 29 December 2015

Awesome! Worked flawlessly.

Very easy to use and to customize, cost effective and functional. Many thanks. Tested on Windows and Android. A MUST HAVE on any project.


Gravatar

Andreas M 12 December 2015

Dont work on windows... ah got it

object create:
vstick_init(1,x,y,sprite_width,true,spr_back,spr_front);
object step:
vstick_step(1);
obj draw:
vstick_draw(1);

Click it with the mouse and drag it but nothing happen. No movement on the front sprite.

Edit: Ahh it should be draw_gui

You should add a demo room :-)


Gravatar

Anonymous 15 June 2015

Great

but how will i draw sprite instead that big and small circles? pls help anyone


Gravatar

Anonymous 21 February 2016

Great

This is not bullshit.. Thanks...


Gravatar

Waldemar R 19 January 2017

Great Piece of Software - comments included

Thank you for providing the Virtual Joysticks library.

The code has very clear comments.

A working example with joystick objects placed in a room would make this library perfect also for beginners.

Thank You. Great piece of software!

All the best.


Gravatar

David R 22 February 2015

Does everything I wanted it to!

Joystick is easy to customize and can be implemented within minutes (seconds even)
Publisher is always there for support and responds quickly if any problems arise.


Gravatar

Brandon S 19 August 2014

Exactly what it says

Works perfectly and easy as pie to setup!


Gravatar

Alex M 19 August 2014

Perfect!

I had a small issue when working with views, sent an email to the publisher & he helped find my oversight :)

Works perfectly, highly recommended!


Gravatar

John G 18 August 2014

Ok (ish)

it could work and if fixed would be really useful, however, currently the "vstick_init" file/script seems corrupted. (at least on my Windows XP laptop with GM Pro)


Gravatar

Mark H 18 August 2014

Works well


Gravatar

ivan c 23 July 2014

awesome script. easy to use and 100% powerful

What is the issue?

Back to Top