Skip to content

Latest commit

 

History

History
26 lines (25 loc) · 577 Bytes

README.md

File metadata and controls

26 lines (25 loc) · 577 Bytes

simple-platformer-engine

arrow keys for movement
https://asdfish.github.io/simple-platformer/
if you want to create a level, edit the value for levelBitmaps
every space in the string counts as a empty space
"#" is for a solid block
"l" is a kill block that sends the player back to the start of the level
"p" is a portal that sends the player to the next level

[
  //this would be level 1
  [
    "############",
    "#          #",
    "#          #",
    "#@        p#",
    "######l#####",
  ],
  //level 2
  [
    "@",
    "#"
  ],
]