-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathload.lua
More file actions
15 lines (12 loc) · 738 Bytes
/
load.lua
File metadata and controls
15 lines (12 loc) · 738 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
function LoadGameData()
logo = love.graphics.newImage("romfs/logo.png")
bg_image = love.graphics.newImage("romfs/1p_level1_1.png")
console_image = love.graphics.newImage("romfs/console.png")
brick_image = love.graphics.newImage("romfs/brick.png")
ice_image = love.graphics.newImage("romfs/ice.png")
--player1_image = love.graphics.newImage("romfs/sprite1.png")
--player2_image = love.graphics.newImage("romfs/sprite2.png")
consolefont = love.graphics.newFont("romfs/font.ttf", 8*scale)
--font = love.graphics.newImageFont("romfs/Imagefont.png"," abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.,!?-+/():;%&`'*#=[]\"ñ")
love.graphics.setFont(consolefont)
end