level_format 1.1.0
A file format for 2D levels
To use this package, run the following command in your project's root directory:
Manual usage
Put the following dependency into your project's dependences section:
Level Format
This is a simple library which provides an interface to a custom file format designed for levels in 2D games. At the moment, the file format can only be reasonably used in a hexadecimal editor, as it is a binary format, as opposed to a text format.
Basic usage
A typical file looks like this:
Header
Map
Objects
Header section
The header section consists of two little-endian integers, one byte, and three more unused bytes. The integers are the dimensions for the map, the first being the width, the second being the height. The next byte denotes the size in bits of each map cell, the maximum being 64 bits.
- 1.1.0 released 5 years ago
- TheOnlyMrCat/levelformat
- LGPL-3.0
- Copyright © 2019, TheOnlyMrCat
- Authors:
- Dependencies:
- none
- Versions:
-
1.1.0 2019-Dec-28 1.0.0 2019-Dec-28 ~master 2019-Dec-28 - Download Stats:
-
-
0 downloads today
-
0 downloads this week
-
0 downloads this month
-
8 downloads total
-
- Score:
- 0.6
- Short URL:
- level_format.dub.pm