Tag: Tutorial

Using Scoreoid with Libgdx/Desktop

In January we wrote a post on how to integrate scoreoid in Libgdx for Android. In this post we would be integrating it for the desktop/PC version. For parsing JSON we are using the source code available in this link

Tagged with: , , , , ,

Edge Shape in Box2d

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.

Tagged with: , , , , , ,

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

Tagged with: , , , , , , ,

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

Tagged with: , , , , , ,

Using Box2d Debug Renderer in Libgdx

This is an update to the older example (“using Box2d in Libgdx”) we put in the post here. We added box2d debug renderer to the code which is very simple to add and useful in seeing how box2d objects look

Tagged with: , , , , ,

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

Tagged with: , , , , , , ,

Drawing Part of Image in Libgdx

Hi, Its been long since we wrote any post about game development. In this post we would be writing a snippet to draw a part of image which can be used to simulate effect of health bar we see in

Tagged with: , , ,

Sprite Animation Art

Hi, We got some mails regarding how to make a sprite animation. So we will use one of the explosions we have used in a new game as an example. Here is the final animation. The gif was created in

Tagged with: , , ,

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

Tagged with: , , ,

Showing Dialog in Libgdx Android

Hi, In this small post we would write on how to show android dialogs in libgdx code. It is pretty simple. We used dialogs when we had some processing going on or while changing screens. Create A Dialog: <?xml version=”1.0″

Tagged with: , , , ,