0 votes

im trying to make an rpg moblie game with a joystick an some button
my node tree is :
player (rigid body):camera(camera2d):joystick(touchscreenbutton), button1(tuochscreenbutton)

when ever the player move, the texture of the button move with the camera but the shape off the button stay still and in some cases the shape of the button isnt event in the middle of the button texture unlike in the editor

in Engine by (41 points)
edited by

1 Answer

0 votes

What do you mean with touchscreen? There's no node with this name! Reparent you joystick and button1 to player.

by (380 points)

sr i fixed it , the reparenting didn't work
enter image description here

the shape of the joystick or any button i made always seem to be above the texture by the same length like above

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.