lua-love-platformer/main.lua
2018-01-17 22:51:14 -05:00

21 lines
429 B
Lua

--[[ LOVE STUFF ]]
function love.load()
sprites = {}
sprites.coin_sheet = love.graphics.newImage('sprites/coin_sheet.png')
sprites.player_jump = love.graphics.newImage('sprites/player_jump.png')
sprites.player_stand = love.graphics.newImage('sprites/player_stand.png')
require('player')
end
function love.update(dt)
end
function love.draw()
love.graphics.draw(sprites.player_stand, player.x, player.y)
end