Hi, We have been working on a new 2d libgdx platformer game for sometime now and it is coming along nicely. While working on it we found the need to add an edge shape rather a rectangle for our platforms. And we found out edge shapes are quite easy to add in box2d. At the…
Tag: Android Development
Box2d Revolute Joint Example
Hi, In our upcoming android game we are adding some box2d joints and in this post we would be creating a revolute joint. We are using Libgdx engine to make the game. Below is a screenshot of what it looks like in game. At the end of the post, you can find the source files…
Using Scoreoid with Libgdx/Android
In this post(or maybe one more) we would integrate scoreoid with libgdx for Android environment. Before we start, check out Scoreoid here. Let me quote from their site “Scoreoid is a non-restrictive, reliable and easy to use server platform for game developers designed to handle but not limited to leaderboards, game achievements, player login, in-game…
Fragment Shader to Simulate Water Surface in LibGdx
In this tutorial we would simulate foreground water similar to the ones we see in many platformers. This shader is written in OpenGL Shading Language, so they can be applied in all environments using OpenGL for rendering and for DirectX it has be changed a bit but basic concept would remain the same. At the…
Adding Box2d Object in between a game
Hi, In our one of the previous post about adding box2d objects in game we created all the box2d bodies in the initialization phase and during the game we were just making the sensor objects (removing their collision response) so that they acted as if they were not present. We added a custom flag to…
Customizing View Adapters in Android
This tutorial is a more general tutorial, focussing on an Android UI aspect that can be used in games as well as other apps. View Adapters are a useful feature which allow us to reuse UI skeletons. The official Android documentation does not give a detailed description on how these can be used / customized….
Integrating Open Feint in Android
Hi, In one of the previous post we had mentioned how to integrate Scoreloop in Android. This time we would be talking about integrating Open Feint as in our game Balloon Shooter we had used open feint for global scoreboard. First make an account in Open Feint and add a game to it. You would…