3 ms·
The addLevel() function seems especially interesting. It takes an array as input to generate the level, with each index being another row of the level. Here is
by zelon88 6y ago
The addLevel() function seems especially interesting. It takes an array as input to generate the level, with each index being another row of the level. Here is the level from the linked platformer example.....
" $ ",
" ==== ",
" ",
" ^^ ",
"=============",