So i am working on a feature called magic shield but i want to put a circle in the center of the screen (circular sprite) that stays there and doesnt move at all.
right in the center
So i am working on a feature called magic shield but i want to put a circle in the center of the screen (circular sprite) that stays there and doesnt move at all.
Make a special UI spritekind and or set ghost through sprites true, then set ghost throw walls true. The use this code
sprite.setPosition(scene.cameraProperty(CameraProperty.X), scene.cameraProperty(CameraProperty.Y));
or