Logo Lanfrica

wiledion/kani-libgdx

Record type:

software
Creator:
wil
Host:
An african RPG-like coded with the framework LibGDX Kani ------------------------------------------------------------------- Kani is a 2D game written with the framework LibGDX in Java. It wants to promote African culture and history. The gameplay is inspired from hack and slash and RPG games. Advancement ------------------------------------------------------------------- The project was firstly developed with the library Slick2d which is not still supported by his developers. It has been rewritten with LibGDX, and some features has been added to allow a separated level designing. Data for maps and levels can be loaded from a file. Only the desktop version is developed. How to edit a Map file .kni ------------------------------------------------------------------- A map file is organised as follows : ``` mapheight = XX // The height of the map in number of tile mapwidth = XX // The width of the map in number of tile tileheight = XX // The height of a tile tilewidth = XX // The width of a tile nblayer = XX // The number of layer // For every layer, 1 line contains the name of the layer, and the // others contain the ID of the tile corresponding, placed as on // the map. The tile ID is composed of three digits/characters. A // number corresponds to the order they appear in the tilesheets, // from the top left to the bottom right, and the order of the // files tilesheets. "___" is used for a blank tile, and "aaa" is // a special ID which generates a tree on the map. Others shortcuts // can be added to facilitate game mapping. layer ground 001 001 001 001 001 001 001 001 001 001 002 001 001 001 001 001 001 003 003 003 003 003 003 003 001 001 001 001 001 003 // Then we can define a property for the different tiles. A first // line contains the properties and the values to assign. The next // line contains all the tile ID who will be affected by this // property. blocked = true 002 003 An example is available in "android/assets/data/maps" ``` How to edit a Level file .kni ------------------------------- …