In my game i have spears that should be created when the player gets within X amount of pixels away but i can't seem to figure out how to get them spawned.
The spears should spawn at TUBE1 & destroy on collision with TUBE2 or the player. I've tried using LOS on the tube1 and the spear, neither work. Possibly due to the fact there are SOLID block between them, I don't know. I've also tried using "is on screen" with tube1 to spawn the spear but no luck.
How can i spawn the spear if the player gets X amount of distance away and there are solids between them and the spear?
Thanks for any help