Hey guys, another week another example project :) Today I will explain how to create virtual joystick in GDevelop to be used for mobile or touch screen devices.

UPDATE - Fixed the UI problem when centring the camera on the spaceship

If you like this project please follow me on:

YouTube: https://www.youtube.com/c/WishforgeGames
Twitter: https://twitter.com/WishforgeGames
Discord: https://discord.gg/vpnkyU9
Blog: https://wishforge.blogspot.com/
Website: http://wishforge.games/

If you'd like to support Wishforge Games you can do it by purchasing our original gadgets here: https://shop.spreadshirt.co.uk/wishforge-games/ or simply by sharing this project with your friends :)

Thanks for Downloading!


StatusReleased
CategoryAssets
Rating
Rated 5.0 out of 5 stars
(6 total ratings)
AuthorWishforge
Made withGDevelop
Tags360, Controller, gdevelop, gdevelop5, gdevelopapp, joystick, mobile, Space, touch, virtual
InputsGamepad (any), Joystick

Download

Download
Gdevelop-Touch-Joystick-Camera-FIX-1.0.1.zip 233 kB

Comments

Log in with itch.io to leave a comment.

(1 edit) (-1)

Noice Baby

Loved it.

Love It


Noice

gracias, milgracias

De nada :)

hi, is it copyright free ? I mean, can I use the assets for commercial things ? or should I credit you ? 

these assets a free to use and if you want to mention me in a project that's great, but you don't have to :)

hi andre iam gokul dev i changed my name to flow motion.. 

(1 edit)

Hi, thanks for feedback and for reporting the problem. To make it work with screen scrolling you need to change where it says MouseX() and MouseY() to MouseX("UI") and MouseY("UI") so then it will keep the coordinates of the mouse on the UI Layer instead. Also make sure to place the TouchRadius Sprite Object on the UI Layer as well. Just tested this and it works well, i will upload updated project file soon as well.

Hello, your tutorials are always awesome. Hats of to you. In this particular asset, if I Center the camera on the player, the joystick doesnot work at all. I figured the problem out, it’s because the screen coordinates change when you center the camera, I mean, mouseX and mouseY change. Is there any solution?

By the way, english isnot my first language, so you might get hard time understanding this.