Log In  
Follow
codlark

Cart #40582 | 2017-05-14 | Code ▽ | Embed ▽ | No License
7

LLE is a level editor that supports multiple layers, with each layer stored on cart as different sections of the map. LLE works by loading the sprite and map data of a user's cart, making changes, and saving back to the cart. Be sure to download LLE for best effect!

For demo purposes the cart comes with a small selection of sprites and a level made with them to show off the editor can do, but otherwise to actually use LLE you have to tell it where the layers are and how big the level is; all layers are considered the same size.

working_cart = "" --file name (with .p8) of the cart you want to edit
lvl_size = {width,height} --in map cells, overall size of the level
lvl_layers = { --starting point of each layer of the level on the map
  {x,y}, --each layer is an x,y pair, like so
  {x2,y2}
}

[ Continue Reading.. ]

7
4 comments