Now that we are able to lay out our nodes, we should give it a city-like feel by adding the correct graphics to it. For this, we are going to be using bit masking. Bit masking is greatly explained here: http://www.angryfishstudios.com/2011/04/adventures-in-bitmasking/. It is basically…
Read more →A procedurally generated city (2d)-Part 3 : Creating the game map
The plan Now that we are able to get a squarish city-like thing, we need to differentiate on what every square means for the game. We need to define all the types of tiles that we are going to be using. We will be using the following: roads blocks 2…
Read more →A procedurally generated city (2d)-Part 2 : The city generator
In the previous post we got our L-System nodes ready and we went through a quick 3 step iteration to generate a small city. This was just theory though, so let's create some code which actually generates this city. For this, I have the CityGenerator class, which needs to have…
Read more →A procedurally generated city (2d)-Part 1 : The nodes
I haven't really seen many examples on how to create a 2d procedurally generated city, most of the tutorials out there for procedural maps are focused to dungeons / caves. I wanted to create a 2d top down city (not like...full of detail, but something that could pass for a…
Read more →Libgdx, Artemis-ODB and Lua
I have been playing around with an idea of a card-based rpg battle game. With the objective to be able to quickly modify the behavior of a unit during combat without having to create a new class I decided to script the effects using Lua (this should even allow to…
Read more →Google play game services in the amazon app store
I have my libgdx game published to both, the google play store and the amazon app store. I decided to publish 2 apks to the amazon store, one for the fire devices (which don't have gogle play services) and another one for all the other devices( usually, this means a…
Read more →Glib, attemping to improve Libgdx's html5 gamedev
I do like using libgdx for my hobby gamedev, also, I like dart because of how comfortable it is to code using it. The only flaw libgdx has is when you want to go for web games. This is by no means because of libgdx itself, but becase of fricking…
Read more →Easy pathfinding in your libgdx game
I v0.2.4 of my java pathfinding library has been uploaded, which now features a libgdx-bridge (which can be still much improved, but can already save you lots of typing) and ThetaStarFinding for smoother paths! That means that the library contains 3 different path finding algorithms: A*, Jump Point…
Read more →