So I'm making this spaceship game where you fly around and destroy ships, and I'm trying to set a crosshair and I kind of already did. I made it so it spawns when the player moves but it creates a lot of crosshairs. How can I make it so it only spawns one crosshair?
Don't spawn it when the player moves. Put one instance of the crosshair sprite on the layout in the editor, or create it once on start of layout. When player moves - change the position of the existing crosshair instance.
Develop games in your browser. Powerful, performant & highly capable.
I'm new to construct so I don't really understand much of what you said. Could you be a little more specific?
Why are you spawning a new crosshair? Instead of "Spawn Crosshair at (x,y)" use "Crosshair set position to (x,y)" action in your event. This will move the existing crosshair instance to the specified position.
Thank you! It worked!