It feels great to share with everyone that our first game, Polar, has crossed 4000 in downloads in Google Play Store. Thanks to all the gamers who appreciate our crazy games. Even though the number is still a modest one, we feel encouraged by the recent spurt of downloads. We’ll appreciate a lot if you…
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 like. In all of our example the objects we create in Box2d are scaled down…
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…
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 game huds. We needed to this functionality in our next game though in a little…
New Game For Android Market – Choozak
Hi, We have released a new Puzzle Game in Android Market – “Choozak” pronounced “Choozak“. Description:- Guide choozak, our hero, the egg with a helmet into its nest. There are some evil, dastardly, out of context enemies trying to stop him and also a timer. You have the creator’s power to change his path by…
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 Gimp just to show how it looks in the game. If you are creating 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…
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″ encoding=”utf-8″?> <LinearLayout xmlns:android=”http://schemas.android.com/apk/res/android” android:layout_width=”wrap_content” android:layout_height=”wrap_content” android:orientation=”vertical” > <ImageView android:id=”@+id/imageWaitDlg” android:layout_width=”wrap_content” android:layout_height=”wrap_content” android:src=”@drawable/pleasewait” android:contentDescription=”@string/waitString” /> </LinearLayout>…
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….
Moving Platforms in Box2d in a Specified Path
Hi, In one of the previous post we moved a platform from a point A to point B and then back to point A and so on. In this post we would expand on it and move it in specific path which has more than 2 points which we find in many platformers like mario…