Please create an account or Login! Have fun!
DAT: Difference between revisions
Jump to navigation
Jump to search
→5: Cloner linkage: never mind i'm dumb
m (Move external links under the external links header) |
(→5: Cloner linkage: never mind i'm dumb) |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 412: | Line 412: | ||
==== 10: Monster list ==== | ==== 10: Monster list ==== | ||
Contains zero or more of the following structure. As this structure is 2 bytes in size, the chunk size should be a multiple of 2, and there cannot be more than | Contains zero or more of the following structure. As this structure is 2 bytes in size, the chunk size should be a multiple of 2, and there cannot be more than 127 moving monsters in a level. | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
Line 420: | Line 420: | ||
|- | |- | ||
|$00 | |$00 | ||
| | |1 | ||
|x-coordinate of monster | |x-coordinate of monster | ||
|- | |- | ||
|$02 | |$02 | ||
| | |1 | ||
|y-coordinate of monster | |y-coordinate of monster | ||
|} | |} | ||
Line 437: | Line 437: | ||
== External Links == | == External Links == | ||
* [http://www.seasip.info/ccfile.html Explanation of the CHIPS.DAT format] | |||
* Implementation in [[Tile World]]: [https://github.com/zrax/tworld/blob/master/series.c <code>series.c</code>] (whole file) and [https://github.com/zrax/tworld/blob/master/encoding.c <code>encoding.c</code>] (individual level) | * Implementation in [[Tile World]]: [https://github.com/zrax/tworld/blob/master/series.c <code>series.c</code>] (whole file) and [https://github.com/zrax/tworld/blob/master/encoding.c <code>encoding.c</code>] (individual level) | ||
* Implementation in [[Lexy's Labyrinth]]: [https://github.com/eevee/lexys-labyrinth/blob/master/js/format-dat.js <code>js/format-dat.js</code>] | * Implementation in [[Lexy's Labyrinth]]: [https://github.com/eevee/lexys-labyrinth/blob/master/js/format-dat.js <code>js/format-dat.js</code>] | ||
[[Category:Terminology]] | [[Category:Terminology]] | ||
[[Category:File formats]] | [[Category:File formats]] |