summaryrefslogtreecommitdiffhomepage
path: root/maps/default.lua
blob: 142df8f7805b32f329ae0c110f527a4e86992f5e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
-- Default map from original roflnauts
return {
	center_x = 140,
	center_y = 90,
	width  = 320,
	height = 240,
	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"
		}
	}
}