Tagged With: Algorithm
Cutting Concave Polygons
Remember my last post on how to turn concave polygons into convex ones so that you can actually use them in Box2D? Well, turns out my solution didn't quite work out that well. The thing is, if you mess up the order of vertices in the polygon (Box2D requires them to be in counter-clockwise order), … Continue reading
Categories: Game Development, Java, Programming
Tags: Algorithm, Code, Convex Polygons, Game Dev, Math, Polygon, Raycasting, Repository, Vertex Order
Leave a comment
Collision Detection on Tilemaps
Hey guys in my first english post I decided to share how I implemented collision. For those who don't know, I'm currently playing with the Slick2D framework for Java developing some kind of RPG/tower defense thing (Yeah, I know, not a really clear idea). Tile based collision really isn't much of a secret and there … Continue reading
Categories: Game Development, Java, Programming
Tags: Algorithm, Code, Collision Detection, Game Dev, Polygon, Programming, RPG, Screenshot, Slick 2D
Leave a comment