How to create a localhost server?

I’m working on HTML5 games for the time being. During that I came across a very basic issue. If you want to test your HTML5 game in your local system, well you can’t. At least not directly.

Continue reading “How to create a localhost server?”

Advertisements

Importing Terrain Heightmaps in Unity3D

Unity has a good terrain designer with lots of essential options. I wanted to create a forest terrain, so I was searching for the efficient ways of making a terrain and I incidentally found that we can import heightmaps of real locations and use it in a Unity terrain. It is not as efficient out of the box but it is a starting point. Here I will walk through the basic steps that I’ve also taken while learning it.

Continue reading “Importing Terrain Heightmaps in Unity3D”

Reset freenode account password

If you are like me who don’t visit the IRC clients that often and you have a registered nick in the IRC service, it is possible that you don’t remember the password while trying to login because it’s been more than 2 weeks since you last logged in and there are a gazillion passwords in your mind now! (I’ll write about my password manager journey and the solution I finally reached at a later time).

Luckily there’s something like “Forgot Password” in freenode too. Just pass in this command in your IRC client:

/msg nickserv sendpass <your account name>

For example:

/msg nickserv sendpass karmakeenu

Now, freenode will send a mail with a command to create a new password for this nick. Just type that in the client and you will have successfully reset your password. Now login to the registered nick:

/msg nickserv identify <nick> <new password>

Love Peace.

Google Play Services in LibGDX – Android

Past 2 weeks, I spent a lot of time trying to make Google Play Services library work in my LibGDX project. Even though the process is simple there are a few pit falls from which it might take some days to recover, like what happened to me. So I will outline the steps here to implement Google Play Services with minimum number of errors. (I’m not saying there won’t be any errors because LibGDX and Google updates stuff a lot)

Continue reading “Google Play Services in LibGDX – Android”

LibGDX Tutorial – Part 4

Importing the Project

As we have succesfully created a sample project using the LibGDX setup app, let’s start working on it. We’re going to import the project into IntelliJ Idea. You can also use Eclipse instead but the recommended tool is IntelliJ. You’re supposed to have properly setup the development environment before importing the project.

Continue reading “LibGDX Tutorial – Part 4”

LibGDX Tutorial – Part 3

Creating your first project

Sorry for this delayed update. I got caught in a frenzy the past two weeks. Anyway let’s get on with our tutorials, shall we?

Alright! Now that you have set up all the required software to start making games using LibGDX, let’s continue by creating a new project and import it into IntelliJ IDEA.

Continue reading “LibGDX Tutorial – Part 3”

LibGDX Tutorial – Part 2

Environment Setup

To get your code running you need to properly configure your development tools. And that’s one rough road. But once you setup your environment correctly, the successive projects will be easy to deploy. In this part, I will explain how to properly setup your development environment.

Here are the prerequisites for working with LibGDX:

Continue reading “LibGDX Tutorial – Part 2”