-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathassets.lua
20 lines (17 loc) · 842 Bytes
/
assets.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
assets = {}
assets.sprites = {
hero = love.graphics.newImage("assets/sprites/herochar_spritesheet.png"),
trap_spikes = love.graphics.newImage("assets/sprites/trap_spikes_anim_strip_7.png"),
spikes_small = love.graphics.newImage("assets/sprites/spikes_small.png"),
stone = love.graphics.newImage("assets/sprites/stone.png"),
button = love.graphics.newImage("assets/sprites/button_spritesheet.png"),
strangeDoor = love.graphics.newImage("assets/sprites/strange_door_spritesheet.png"),
mushroom = love.graphics.newImage("assets/sprites/mushroom_spritesheet.png"),
}
assets.backgrounds = {
bg0 = love.graphics.newImage("assets/backgrounds/bg_0.png"),
bg1 = love.graphics.newImage("assets/backgrounds/bg_1.png"),
}
assets.tilesets = {
mainTileset = love.graphics.newImage("assets/tilesets/tileset.png")
}