There are two enemy instances with LOS behaviour. I want to set the player instance variable to 1 when player is in the LOS of any enemy instance and when the p...
Could you help me to implement a code in my game. There's Enemy, Player and Home. Enemy has LOS behaviour. 1. If the enemy has LOS with player then enemy will a...
But I wanted every green sprite to shot every 1 second, not only 1 green sprite, how can I fix it?
Hey, everybody. I am making a 2D game with puzzle elements. The problem is as follows: Object A releases a laser, which must reach Object B for the following ch...
I´m working on a checkered grid dungeon crawler, and while working with a Ranged unit, that should only attack while aligned with the player (think of it as a R...
I'm making a game where there are 4 powers, one of them is Telekinisis which I want to have a range but I want this range visible to the player when they activa...
Hey everyone, was wondering if I could get some help regarding an issue I have encountered trying to use LOS. This is what's expected to happen. There's a line...
So I am trying to animate a character walking around and have him walk the right direction. My big problem is I am also trying to add in a line of sight and sin...
I'm creating a game with a gun in it and decided to use line of sight on the gun to check if it hits something. The issue is that it only checks if it hits an i...
Is it possible to make only objects that are in the player's line of sight visible and all other objects black similar to the image above? I have attempted to u...