So i have a player that is stationary and the background slides to emulate running, the player cannot jump or move and i have birds that can spawn and fly overhead, i have a zone for them to drop eggs, some will hit the player, and some will not.
i have it set so that the player is between X:177 and X:477 so i have this code which doesn't work oddly.
If bird's X= Random(177,477), spawn egg on bird.X and bird.Y
since the x's around the player are set wide, some will hit and others will miss but the code above isn't doing its function