Important Update —– ### Recently someone reported that the whole controller breaks when centring the camera on the ship.

Important Update —– ### Recently someone reported that the whole controller breaks when centring the camera on the ship.
Comments are closed.
Cookie | Duration | Description |
---|---|---|
cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |
Important Note 1: Recently someone reported that the whole controller breaks when centring the camera on the ship. This is because mouse coordinates change. But the good news is that there is a simple solution:
1. Make sure to replace MouseX() and MouseY() in the events with MouseX("UI") and MouseY("UI")
2. Make sure to position TouchRadius Sprite Object on UI Layer as well.
Important Note 2: Please ignore this part: https://youtu.be/-k-bVU3QrfA?t=335 because while making this tutorial I've realised that the red square object called "MouseDistanceCheck" is actually not needed at all. Sorry for the confusion.
Can you make double joy stick for shooter and controller, like hero kimmy on game mobile legend?
How to flip animation with Joystick?bro
OMG, U came too late for me. I also created one myself before U did and am very eager 2 see, if U did it the same way. I was actually very happy when I finally found out a good working solution. =D
When I knew that there is so much demand for it, I'd provided a download for it as well… Thank U anyway, even if I already have my own version of it. 😉
Hello bro when i put condition for moving an space ship forward it not moving when i put key pressed condition . So wt can i do to move the space ship forward plzzz give some solution
The tutorial which is given in gdeveloper of space shooter.. when i apply the same action to move the rocket it's not moving can u please help
I have two red squares, HOW DO I FIX THIS!
You literaly save me
(My English is bad :c)
Thank You SOOOOOOOOOOOOOO much!!!!!!!!!!!!!!!!!!!!!!!
Just perfection, thank you so much!
I don't know if this is an error. I click the mouse and quick release mouse key, tween event is gone. The controllerposition go back to center immediately. Thanks for the tutorial.
Thanks. I was able to use this approach on a recent client project where I built an isometric game and needed a method of player control on touch devices. Your video and source code saved me hours of frustration.
If Anybody having problems with Joystick not in Center Edit Objects that is joystick then edit points and set the origin point to the center
very good video thanks a question in GDevelop you can use game control for pc that is a USB Joystick instead of the mouse or keyboard THANKS
转换的太快了。看不清。
The ship is awsome! How do you make it?
when i tried using the joystick the object still moves although the joystick is not used. i narrowed the problem as the fact that the distance between the controllerposition and controllercenter is not zero although the x and y position is equal. How to solve it?
Bro i have problem in making touch control, i have three button left right and jump.i can't touch run and jump together i think it is multi touch issue,please help me
Amazing tuto, thank you ! Can I use the code for my mobile game please ?
Very nice tutorial, I really was looking for something like this. Thks u vry much.
This is the best channel for Gdevelop tutorials. Thanks a lot man!
when i sat camera to center of player, direction would only be one wherever i touched. How can i fix this? Thanks!
Open this project and make a new sprite as a button and make it so when you press on it it fires and you'll notice an issue. This controller registers any other touches as a controller input Can you fix it?
I tried the 1st step to orient TouchPosition to center of ControllerCenter.But they didn't oriented as given in the video.{TouchPosition touching the side of ControllerCenter. ControllerRadius also followed this pattern. Why??}
I downloaded Zip file. It worked.
Any idea where should I look for my error????
thank sir Please more tutorial im subscribe you
do normal mouse click has apply in mobile?
thank you very much for this tutorial … i wanted to ask you a question … when controllerposition is dragged and pressed on a different part of the screen the cursor detaches and takes the second tap as reference
So I am brand new to this. When I follow you exactly, step by step, the images do not align by default. I do not know a way to make them align by default (the images align to the objects origin point over the center for some reason). This is so infuriating – help. I can make them align by changing the object's origin to the center location.
Perfect.