Skip to content

asdfish/simple-platformer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 

Repository files navigation

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
  [
    "@",
    "#"
  ],
]

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Languages