-
Notifications
You must be signed in to change notification settings - Fork 0
/
Settings.lua
38 lines (34 loc) · 1.57 KB
/
Settings.lua
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
StartSound = love.audio.newSource('sounds/bolg-music-music-for-blog-243043.mp3', 'static')
Sounds = {
['gameMusic'] = love.audio.newSource('sounds/chill-house-tranquil-beats-251696.mp3', 'static'),
['gameOver'] = love.audio.newSource('sounds/royalty-free-indian-music-2022panjabi-bhangra-beat-12023.mp3', 'static'),
['scaryNoise'] = love.audio.newSource('sounds/toodoom.wav', 'static'),
['bark'] = love.audio.newSource('sounds/bark.wav', 'static'),
['jump'] =love.audio.newSource('sounds/woop.wav', 'static'),
['eat'] = love.audio.newSource('sounds/leaf.wav', 'static'),
['coinTaking'] = love.audio.newSource('sounds/leaf.wav', 'static')
}
Images = {
['bird'] = love.graphics.newImage('images/bird.png'),
['worm'] = love.graphics.newImage('images/wormFrames.png'),
['butterfly'] = love.graphics.newImage('images/spriteButterfly.png'),
['giraffe'] = love.graphics.newImage('images/tmpGiff.png'),
['backround'] = love.graphics.newImage('images/clouds.png'),
['coin'] = love.graphics.newImage('images/leaf.png'),
['grass'] = love.graphics.newImage('images/GreenGrass.png')
}
Fonts = {
['instruction'] = love.graphics.setNewFont(20),
['title'] = love.graphics.setNewFont(50),
['game'] = love.graphics.setNewFont(40)
}
Messages ={
['startStateTitle']='Welcome!',
['gameInstructions'] = {"Press arrows to move", "Press 'w' to jump", "Press 'q' to move butterfly when your'e on it (action takes a leaf)", "Beware of birds!", "Press ENTER to start game!"}
}
GameParameters={
['playerSpeed'] = 20,
['skyScrollSpeed'] = 0.2,
['numSurfaces'] = 100,
['numBirds']=3
}