Examples of what i'm going to need:
I'm using cocos2d to draw a CCTMXTiledMap, on those tiles i'll have to draw the LOS trianglecone.
How would i test if the player is within that trianglecone, taking obstacles into account? How would i draw the line of sight area on the map tiles, again taking obstacles into account, like in the examples above?
This is a re-post of a question i've put on stackoverflow.