A file format for 2D levels
To use this package, run the following command in your project's root directory:
Put the following dependency into your project's dependences section:
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.
A typical file looks like this:
Header Map Objects
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.
- Registered by Bob Fish
- 1.1.0 released 2 years ago
- Copyright © 2019, TheOnlyMrCat