Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
Our educational partners
Free education resources to use in the classroom
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
So I have been trying to find a working virtual joystick and I copied one over from another project but it doesn't work at all, you can't move the joystick. (At least in my testing)
https://www.dropbox.com/s/kzic7ssargn5bhv/Game.capx?dl=0 Main Game
https://www.dropbox.com/s/d4fs5bjm9vzcmkv/ProjectThumbstick.capx?dl=0 Joystick Template
Help would be appreciated!
I don't understand what's going on in that template.
Here is a much simpler version:
dropbox.com/s/gz2g128hcvaxzvf/Thumbstick8Direction.capx
I don't understand what's going on in that template. Here is a much simpler version: https://www.dropbox.com/s/gz2g128hcvaxzvf/Thumbstick8Direction.capx?dl=0
https://www.dropbox.com/s/gz2g128hcvaxzvf/Thumbstick8Direction.capx?dl=0
So uh I changed the code but it still doesn't move. The joystick moves but the player doesn't.
New Link: https://www.dropbox.com/s/ag46zqpoulpvcmc/Game.capx?dl=0
You have a much smaller window size and TStick sprite is also smaller, so you need to decrease the deadzone value in event 31, set something like "TStick.d>5"
Also, you don't need to set angle, remove event 37.
Hey, it is kind of working now, but moving to the right a lot bugs out the joystick.
Develop games in your browser. Powerful, performant & highly capable.
Oh, right, that's because your layout size is bigger than the screen. Here is the fixed file
dropbox.com/s/7p6fgru06zrzvpj/Thumbstick8Direction2.capx