Tag: Tutorial

Using Box2d in Libgdx Game Part III

Hi, In this post we would make a box2d object manager to handle creation/deletion of objects. First we would make some changes in the BaseBoxObject class made in the last post to add option of deleting an object from the

Tagged with: , , , ,

Using Box2d in Libgdx Game Part II

Hi, In our last post we used box2d to make a body and attach a fixture to it. Then wrote fixed step update function to update the box2d physics in the game. Now we would attach a texture to the

Tagged with: , , , ,

Using Box2d in Libgdx Game Part I

Hello Everyone, Over the course of the next few weeks we would be covering the topic of using Box2d for physics in your libgdx app/game. In our recently released Android Game – Balloon Shooter we used Box2d for all the

Tagged with: , , , ,

Post Game Score In Facebook from Android

For posting score in Facebook using facebook sdk we first need to create an Android app for Facebook. Go to Facebook Apps Page and login with the account from which you want to create the app. Then go to Create New

Tagged with: , , , ,

Generating Enemies Randomly In Game

In this post we would be focusing on adding game objects automatically in random positions to make high score/infinite mode similar to the one in Polar. Grid: To start off we make a Grid, i.e. we divide the playable screen

Tagged with: ,

Integrating Scoreloop in Libgdx Android

In this post we would be talking about integrating scoreloop in libgdx. We would be assuming that you have created a Scoreloop account and have added a game for which you would have the SECRET String provided by Scoreloop. It

Tagged with: , , , , ,

Writing Android Specific Code in Libgdx

There are some parts of the code which you would want to run in the android version but not in the desktop version of your game/app like adding ads, integrating scoring libraries like (OpenFeint, Scoreloop etc). It really simple to

Tagged with: , , , ,

2d Animation in Libgdx

In this post we will cover how to make a 2d Animation for a sprite. Firstly we will need different sprites which would constitute the animation. Lets take for example we have 3 images Animation1.png, Animation2.png and Animation3.png. First we

Tagged with: , , , ,

Handling Back Key in Libgdx

This would be a really quick post for handling the back key in android. Back key, if not handled, would mostly exit the application which is its intended purpose but sometimes there is need to give the user a warning popup

Tagged with: , , , ,

Game Development in Android using Libgdx Part X

In this tutorial we will be updating the different game states depending on time/enemy collision/star collections. We will edit the LevelManager class to handle changes. LevelManager.java public class LevelManager{       //………..       public Boolean IsPaused;  

Tagged with: , , , ,