KikooDX 2019-11-05 09:56:26 +01:00
commit 349904d7eb
1 changed files with 23 additions and 0 deletions

23
Levels.py-format.md Normal file

@ -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```