lua-love-platformer/main.lua

21 lines
429 B
Lua
Raw Normal View History

2018-01-18 03:51:14 +00:00
--[[ 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