summaryrefslogtreecommitdiffhomepage
path: root/config/maps
diff options
context:
space:
mode:
authorAki <nthirtyone@gmail.com>2017-09-02 21:08:08 +0200
committerAki <nthirtyone@gmail.com>2017-09-02 21:08:08 +0200
commitd480978edd91e0b096c57fb151780a957587e06d (patch)
treefc8dc31094a12692a8c52b1e428467e1e330fff5 /config/maps
parenteaa78e7d697108b0a3b224835ce28d8e8e5874f2 (diff)
downloadroflnauts-d480978edd91e0b096c57fb151780a957587e06d.zip
roflnauts-d480978edd91e0b096c57fb151780a957587e06d.tar.gz
roflnauts-d480978edd91e0b096c57fb151780a957587e06d.tar.bz2
First changes to map format, two samples
Diffstat (limited to 'config/maps')
-rw-r--r--config/maps/ribbit.lua12
-rw-r--r--config/maps/starstorm.lua10
2 files changed, 9 insertions, 13 deletions
diff --git a/config/maps/ribbit.lua b/config/maps/ribbit.lua
index c3f5c78..a8a4366 100644
--- a/config/maps/ribbit.lua
+++ b/config/maps/ribbit.lua
@@ -1,19 +1,17 @@
-return {
- -- GENERAL
+return
+{
name = "ribbit",
theme = "ribbit.ogg",
- center_x = 0,
- center_y = 50,
+ portrait = 3, -- TODO: either separate portraits now or change `iconsList` and `menu/host`.
+ center = {x = 0, y = 50},
width = 360,
height = 240,
- -- RESPAWN POINTS
respawns = {
{x = -15, y = -80},
{x = -5, y = -80},
{x = 5, y = -80},
{x = 15, y = -80}
},
- -- GRAPHICS
clouds = false,
background = "assets/backgrounds/ribbit.png",
platforms = {
@@ -43,4 +41,4 @@ return {
}
},
decorations = {}
-} \ No newline at end of file
+}
diff --git a/config/maps/starstorm.lua b/config/maps/starstorm.lua
index 7f00633..c74372f 100644
--- a/config/maps/starstorm.lua
+++ b/config/maps/starstorm.lua
@@ -1,12 +1,11 @@
-return {
- -- CENTER AND SIZE
+return
+{
name = "starstorm",
theme = "starstorm.ogg",
- center_x = 0,
- center_y = -20,
+ portrait = 4, -- TODO: See `maps/ribbit`.
+ center = {x = 0, y = -20},
width = 400,
height = 260,
- -- RESPAWN POINTS
respawns = {
{x = 100, y = 45},
{x = -100, y = 45},
@@ -15,7 +14,6 @@ return {
{x = -110, y = -70},
{x = 110, y = -70}
},
- -- GRAPHICS
clouds = false,
background = "assets/backgrounds/starstorm.png",
platforms = {