In the last week or so, I have been going through Solana docs to understand how Program Derived Addresses (PDAs) work. To get a hang of it, I have been working on a small voting proposal program which utilizes PDAs…
In the last week or so, I have been going through Solana docs to understand how Program Derived Addresses (PDAs) work. To get a hang of it, I have been working on a small voting proposal program which utilizes PDAs…
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″…
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…
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…
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…
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…
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…
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; …
In this tutorial we will handle collisions. Before that we will add one more object type to our game and that is the boundary. As the boundaries in the game Polar were perpendicular to the axes so the collision check…
In this tutorial we show how to move the protagonist by tapping near it. We will make a class which would will handle the gravitational force applied to the protagonist on tapping the screen. For the lack of a better name…