TextureRect image is stuck during play testing
-
Hello,
I'm learning godot and set myself on creating a simple platformer game. My problem is within my player HUD, the first visible element would get stuck on the screen and would not follow the player. How do I prevent this and make it follow the player like the rest of the HUD elements?
-
@Ishmael-Mansoor You need to create a Canvas Layer and put all HUD there. It all I can suggest without seeing the code
-
thats good im trying to create a 2D beat em up well good luck
-
Hey guys, I found out what my problem was. I needed to place the TextureRect inside of a Panel node and it now follows the camera like it's suppose to. This also works with the Sprite2D node, make it the child of a Panel node and the problem is solved.