Search found 22 matches
- Mon Aug 10, 2015 1:36 pm
- Forum: Support and Development
- Topic: how to create collision between two entities.
- Replies: 2
- Views: 482
Here is a simple collision detection function: -- Collision detection function. -- Returns true if two boxes overlap, false if they don't -- x1,y1 are the left-top coords of the first box, while w1,h1 are its width and height -- x2,y2,w2 & h2 are the same, but for the second box function CheckCollis...
Hi. I'm working on a top down strategy game and need some help with fog of war. Right now i have a working basic fog of war that light up the things around the player in a circle. But the problem is that i see thru walls. Anyone have any tips how to solve this? I have tried to loop thru all my tiles...