diff options
author | Aki <nthirtyone@gmail.com> | 2016-05-22 16:29:12 +0200 |
---|---|---|
committer | Aki <nthirtyone@gmail.com> | 2016-05-22 16:29:12 +0200 |
commit | bbee57ad4fbb9a12c5e3947fcee68657d0fa52c5 (patch) | |
tree | f6435fb85afb221688cb802bc90664d10a9a48b9 /maps | |
parent | b9fd32317e2af74ab6c9fb410666c26793d4f7a6 (diff) | |
download | roflnauts-bbee57ad4fbb9a12c5e3947fcee68657d0fa52c5.zip roflnauts-bbee57ad4fbb9a12c5e3947fcee68657d0fa52c5.tar.gz roflnauts-bbee57ad4fbb9a12c5e3947fcee68657d0fa52c5.tar.bz2 |
Map loads from file
Diffstat (limited to 'maps')
-rw-r--r-- | maps/default.lua | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/maps/default.lua b/maps/default.lua new file mode 100644 index 0000000..8d9740b --- /dev/null +++ b/maps/default.lua @@ -0,0 +1,38 @@ +-- Default map from original roflnauts +return { + color_top = {193, 100, 99, 255}, + color_mid = {189, 95, 93, 255}, + color_bot = {179, 82, 80, 255}, + respawns = { + {x = 130, y = 10}, + {x = 140, y = 10}, + {x = 150, y = 10}, + {x = 160, y = 10} + }, + platforms = { + { + x = 145, + y = 90, + shape = {-91,1, 90,1, 90,10, 5,76, -5,76, -91,10}, + sprite = "assets/platform_big.png" + }, + { + x = 285, + y = 140, + shape = {-26,1, 26,1, 26,30, -26,30}, + sprite = "assets/platform_small.png" + }, + { + x = 5, + y = 140, + shape = {-26,1, 26,1, 26,30, -26,30}, + sprite = "assets/platform_small.png" + }, + { + x = 145, + y = 40, + shape = {-17,1, 17,1, 17,16, -17,16}, + sprite = "assets/platform_top.png" + } + } +} |