Botre Posted July 15, 2014 Share Posted July 15, 2014 Quote Link to comment Share on other sites More sharing options...
thepecher Posted July 15, 2014 Share Posted July 15, 2014 what is that? Quote Link to comment Share on other sites More sharing options...
Botre Posted July 15, 2014 Author Share Posted July 15, 2014 what is that? Absolute power Quote Link to comment Share on other sites More sharing options...
Mysteryy Posted July 15, 2014 Share Posted July 15, 2014 Absolute power Drawing tiles, such power. xD Quote Link to comment Share on other sites More sharing options...
Botre Posted July 15, 2014 Author Share Posted July 15, 2014 Drawing tiles, such power. xD Collision flags for areas (allowing for proper getRandomPosition methods :p) and room detection. Quote Link to comment Share on other sites More sharing options...
Mysteryy Posted July 15, 2014 Share Posted July 15, 2014 Collision flags for areas (allowing for proper getRandomPosition methods ) and room detection. What are you using it for anyway? ^_^ Quote Link to comment Share on other sites More sharing options...
Botre Posted July 15, 2014 Author Share Posted July 15, 2014 What are you using it for anyway? Area.getRandomPosition() currently returns a random tile without accounting for its collision flag, which an be a huge ballache in certain situations :p Will probably make a getClosestPosition() as well, but still testing some stoof (hence the tile painting for debugging) The room detection is mainly to check if you are in the same room as an entity, and if not it will look for an obstacle to handle to get access to that room ^^ Quote Link to comment Share on other sites More sharing options...
Khaleesi Posted July 15, 2014 Share Posted July 15, 2014 (edited) What are you using it for anyway? For A* pathfinding and to check if A tile is walkable xD Edited July 15, 2014 by Khaleesi Quote Link to comment Share on other sites More sharing options...
Swizzbeat Posted July 15, 2014 Share Posted July 15, 2014 Now get all map data. Quote Link to comment Share on other sites More sharing options...
Proto Posted July 15, 2014 Share Posted July 15, 2014 take lsd and watch it again Quote Link to comment Share on other sites More sharing options...
Botre Posted July 15, 2014 Author Share Posted July 15, 2014 Now get all map data. "All" as in web walk ? Quote Link to comment Share on other sites More sharing options...
Swizzbeat Posted July 15, 2014 Share Posted July 15, 2014 "All" as in web walk ? Well with web walking you wouldn't need map data as all the nodes are predefined with their own edges. This would be more of a global pathfinder to construct a path from point A to B using (obviously) the collision flags. Quote Link to comment Share on other sites More sharing options...
Botre Posted July 15, 2014 Author Share Posted July 15, 2014 (edited) Well with web walking you wouldn't need map data as all the nodes are predefined with their own edges. This would be more of a global pathfinder to construct a path from point A to B using (obviously) the collision flags. What did u mean by "all" mapdata then ? Edited July 15, 2014 by Botrepreneur Quote Link to comment Share on other sites More sharing options...
Swizzbeat Posted July 15, 2014 Share Posted July 15, 2014 What did u mean by "all" mapdata then ? The only thing this data does is allow you to find a path/position in your current region. Quote Link to comment Share on other sites More sharing options...
Botre Posted July 15, 2014 Author Share Posted July 15, 2014 (edited) The only thing this data does is allow you to find a path/position in your current region. What other data are you talking abouuuuuuuuuuuuuuuuuuuuuuuuut (what am I missing out on ? ) Edited July 15, 2014 by Botrepreneur Quote Link to comment Share on other sites More sharing options...