summaryrefslogtreecommitdiffhomepage
path: root/maps/default.lua
blob: 09cd48fdc473485a256ef8403e3de6ff3cfdebff (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 = 0,
	center_y = 0,
	width  = 320,
	height = 240,
	color_top = {193, 100,  99, 255},
	color_mid = {189,  95,  93, 255},
	color_bot = {179,  82,  80, 255},
	respawns = {
		{x = -15, y = -80},
		{x =  -5, y = -80},
		{x =   5, y = -80},
		{x =  15, y = -80}
	},
	platforms = {
		{
			x = 0,
			y = 0,
			shape = {-91,1, 90,1, 90,10, 5,76, -5,76, -91,10},
			sprite = "assets/platform_big.png"
		},
		{
			x = 140,
			y = 50,
			shape = {-26,1, 26,1, 26,30, -26,30},
			sprite = "assets/platform_small.png"
		},
		{
			x = -140,
			y = 50,
			shape = {-26,1, 26,1, 26,30, -26,30},
			sprite = "assets/platform_small.png"
		},
		{
			x = 0,
			y = -50,
			shape = {-17,1, 17,1, 17,16, -17,16},
			sprite = "assets/platform_top.png"
		}
	}
}