summaryrefslogtreecommitdiffhomepage
path: root/config/maps/alpha abyss.lua
blob: 0dd2c6130aaf869e200fdfebba54961435c6d86d (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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
-- The abyss of the alpha.
-- Animations
local animations_small = {
	default = {
		frames = 20,
		repeated = true
	}
}
local animations_big = {
	default = {
		frames = 20,
		repeated = true
	}
}
for i=1,10 do
	local a = love.graphics.newQuad(i*118-118, 0, 118,51, 1180,51)
	animations_big.default[i*2-1] = a
	animations_big.default[i*2] = a
	local a = love.graphics.newQuad(i*60-60, 0, 60,20, 600,20)
	animations_small.default[i*2-1] = a
	animations_small.default[i*2] = a
end
-- Map data
return {
	-- GENERAL
	name = "alpha abyss",
	theme = "alpha.ogg",
	center_x = 0,
	center_y = -80,
	width  = 360,
	height = 240,
	-- RESPAWN POINTS
	respawns = {
		{x = -30, y = 0},
		{x =  30, y = 0},
		{x =   0, y = 0},
		{x = -120, y = -50},
		{x = 120, y = -50},
		{x =  0, y = -75}
	},
	-- GRAPHICS
	clouds = false,
	background = "assets/backgrounds/alpha-1.png",
	platforms = {
		{
			x = -60,
			y = 0,
			shape = {0,0, 117,0, 101,50, 16,50},
			sprite = "assets/platforms/alpha-big.png",
			animations = animations_big
		},
		{
			x = -145,
			y = -50,
			shape = {0,0, 59,0, 59,19, 0,19},
			sprite = "assets/platforms/alpha-small.png",
			animations = animations_small
		},
		{
			x = 85,
			y = -50,
			shape = {0,0, 59,0, 59,19, 0,19},
			sprite = "assets/platforms/alpha-small.png",
			animations = animations_small
		},
		{
			x = -30,
			y = -80,
			shape = {0,0, 59,0, 59,19, 0,19},
			sprite = "assets/platforms/alpha-small.png",
			animations = animations_small
		}
	},
	decorations = {}
}