-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDependencies.lua
37 lines (28 loc) · 1.59 KB
/
Dependencies.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
require 'Util'
-- enemy assets from https://chierit.itch.io/lively-npcs
-- cloud backgrounds from https://free-game-assets.itch.io/free-sky-with-clouds-background-pixel-art-set
-- spaceship, laser, explosion from https://ansimuz.itch.io/spaceship-shooter-environment
-- sound effects from https://shapeforms.itch.io/shapeforms-audio-free-sfx
-- music from https://gooseninja.itch.io/space-music-pack
gTextures = {
['steambot1'] = love.graphics.newImage('graphics/steambot_01.png'),
['steambot2'] = love.graphics.newImage('graphics/steambot_02.png'),
['steambot3'] = love.graphics.newImage('graphics/steambot_03.png'),
['mermaid'] = love.graphics.newImage('graphics/mermaid.png'),
['gypsy'] = love.graphics.newImage('graphics/gypsy.png'),
['priestess'] = love.graphics.newImage('graphics/priestess.png'),
['mage'] = love.graphics.newImage('graphics/ship.png'),
['laser'] = love.graphics.newImage('graphics/laser-bolts.png'),
['explosion'] = love.graphics.newImage('graphics/explosion.png'),
}
gFrames = {
['steambot1'] = GenerateQuads(gTextures['steambot1'], 32, 32),
['steambot2'] = GenerateQuads(gTextures['steambot2'], 32, 32),
['steambot3'] = GenerateQuads(gTextures['steambot3'], 32, 32),
['mermaid'] = GenerateQuads(gTextures['mermaid'], 32, 32),
['gypsy'] = GenerateQuads(gTextures['gypsy'], 32, 32),
['priestess'] = GenerateQuads(gTextures['priestess'], 32, 32),
['mage'] = GenerateQuads(gTextures['mage'], 16, 24),
['laser'] = GenerateQuads(gTextures['laser'], 16, 16),
['explosion'] = GenerateQuads(gTextures['explosion'], 16, 16),
}