commit 349904d7ebed3dbf64d5e4e8a92d0a2b379790c8 Author: KikooDX Date: Tue Nov 5 09:56:26 2019 +0100 diff --git a/Levels.py-format.md b/Levels.py-format.md new file mode 100644 index 0000000..9d79ea7 --- /dev/null +++ b/Levels.py-format.md @@ -0,0 +1,23 @@ +## Variables utility +levels list : contain raw levels layouts +lvl_dims list : contain levels dim in tuples + +## Chars/tiles correpondance +`@` : player (can only put one) +`#` : wall +`/` : box space +`+` : box +`*` : box in box space +`.` : floor (can be walked on) +` ` (space) : empty tile (can't be walked on) + +## Example +```levels += [ +" "+\ # no empty spaces, need to put spaces else the level brake +"#######"+\ +"#..+./#"+\ +"#@#+..#"+\ +"#..../#"+\ +"#######" +] +lvl_dim += [(7, 6)] # level is 7 width and 6 height``` \ No newline at end of file