summaryrefslogtreecommitdiffhomepage
path: root/maps/readme.md
diff options
context:
space:
mode:
authorAki <nthirtyone@gmail.com>2017-04-09 22:07:04 +0200
committerAki <nthirtyone@gmail.com>2017-04-09 22:07:04 +0200
commit0dd01913fe0eefc7ba4bc0797877f40fdedf9315 (patch)
tree8d270eb07f589d2487b3ce66d4865e5a4718042a /maps/readme.md
parent55b0cf1a22e4a7e41fe00aa693445d6c4bd0652d (diff)
parenta03c1125f10fbbad253a0efc4727072fcbd55345 (diff)
downloadroflnauts-0dd01913fe0eefc7ba4bc0797877f40fdedf9315.zip
roflnauts-0dd01913fe0eefc7ba4bc0797877f40fdedf9315.tar.gz
roflnauts-0dd01913fe0eefc7ba4bc0797877f40fdedf9315.tar.bz2
Merge branch 'com'
Diffstat (limited to 'maps/readme.md')
-rw-r--r--maps/readme.md82
1 files changed, 0 insertions, 82 deletions
diff --git a/maps/readme.md b/maps/readme.md
deleted file mode 100644
index dc139ad..0000000
--- a/maps/readme.md
+++ /dev/null
@@ -1,82 +0,0 @@
-# Mapmaking
-*Hugs Emo*
-
-### Name (string)
-Name of the map. Should be same as the filename. *I think*.
-```lua
-name = "default"
-```
-
-### Center (int)
-Coordinates of center of the map. Camera zone and death zone are placed relative to it.
-```lua
-center_x = 0,
-center_y = 0
-```
-
-### Size (int)
-Width and height of playground. Camera zone and death zone sizes are calculated based on map size.
-```lua
-width = 360,
-height = 240
-```
-
-### Respawns (table, int)
-Table of possible respawn points. Players will randomly spawn on one of these points.
-```lua
-respawns = {
- {x = -15, y = -80},
- {x = -5, y = -80},
- {x = 5, y = -80},
- {x = 15, y = -80}
-}
-```
-
-### Clouds (bool)
-Presence of clouds. Clouds will spawn if set to **true**.
-```lua
-clouds = true
-```
-
-### Background (string)
-Path to background image in the game structure. It will be used as fixed background.
-```lua
-background = "assets/background-default.png"
-```
-
-### Platforms (table, int, string)
-Platforms on which player can stand. They will be placed on given coordinates with given sprite and shape.
-Shape are points placed relatively to platform's coordinates. Shape points are connected in given order. On top of that last point is connected with first one.
-```lua
-platforms = {
- {
- x = -91,
- y = 0,
- shape = {0,1, 181,1, 181,10, 96,76, 86,76, 0,10},
- sprite = "assets/platform_big.png"
- },
- {
- x = 114,
- y = 50,
- shape = {0,1, 52,1, 52,30, 0,30},
- sprite = "assets/platform_small.png"
- }
-}
-```
-
-### Decoration (table, int, string)
-Decorations are objects in the background which are not fixed but move alongside with foreground objects (platforms, players, clouds). They do not have physical body.
-```lua
-decorations = {
- {
- x = -80,
- y = 10,
- sprite = "assets/decoration_big.png"
- },
- {
- x = 50,
- y = 50,
- sprite = "assets/decoration_small.png"
- }
-}
-``` \ No newline at end of file