browser icon
You are using an insecure version of your web browser. Please update your browser!
Using an outdated browser makes your computer unsafe. For a safer, faster, more enjoyable user experience, please update your browser today or try a newer browser.

Tagged With: Game Dev

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: , , , , , , , , | Leave a comment

Physics!

UPDATE: Improved (and actually working) version can be found in this new blog post. So the next step since I fixed up the collision polygons last time was integrating physics into the game. Even though the game will not really be physics-based, it's a nice thing to have if only for the collision detection. After … Continue reading »

Categories: Game Development, Java, Programming | Tags: , , , , , , , , , | 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: , , , , , , , , | Leave a comment