feat: loots of things!!! *

Added features:
- Check if the room is valid
- Pathfinding
- Firsk
- Camera
Changes:
- Borders
Dev:
- new test rooms
- ber.vim plugin
This commit is contained in:
mcolonna 2024-04-15 19:23:58 +02:00
parent b7a2d0494f
commit 9e81a59a7e
95 changed files with 8342 additions and 147 deletions

View file

@ -1,8 +1,3 @@
- Change sprites for top and bottom borders
- Map conditions
- 1 exit
- 1+ collectibles
- 1 start position
- rectangular
- walls all around
- a possible way to exit
- extension .ber

27
dev/ber.vim Normal file
View file

@ -0,0 +1,27 @@
function! BerSyntax()
if expand('%:e') == 'ber'
highlight berDefault ctermfg=white ctermbg=red
syntax match berDefault /./
highlight ber0 ctermfg=grey
syntax match ber0 /0/
highlight ber1 cterm=bold ctermfg=white
syntax match ber1 /1/
highlight berP cterm=bold ctermfg=blue
syntax match berP /P/
highlight berC cterm=bold ctermfg=yellow
syntax match berC /C/
highlight berE cterm=bold ctermfg=green
syntax match berE /E/
highlight berF cterm=bold ctermfg=red
syntax match berF /F/
endif
endfunction
autocmd BufReadPost * call BerSyntax()