Please create an account or Login! Have fun!

DAT: Difference between revisions

Jump to navigation Jump to search
1 byte added ,  23 January 2022
→‎5: Cloner linkage: never mind i'm dumb
(make the byte table more compact)
(→‎5: Cloner linkage: never mind i'm dumb)
(6 intermediate revisions by 3 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 128 moving monsters in a level.
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
|2
|1
|x-coordinate of monster
|x-coordinate of monster
|-
|-
|$02
|$02
|2
|1
|y-coordinate of monster
|y-coordinate of monster
|}
|}
Line 435: Line 435:


* [[C2M]], the more flexible format used in [[Chip's Challenge 2]]
* [[C2M]], the more flexible format used in [[Chip's Challenge 2]]
== 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>]
== External Links ==
[http://www.seasip.info/ccfile.html Explanation of the CHIPS.DAT format]


[[Category:Terminology]]
[[Category:Terminology]]
[[Category:File formats]]
[[Category:File formats]]
Anonymous user

Navigation menu