first commit
This commit is contained in:
commit
74544db5d3
|
@ -0,0 +1,20 @@
|
|||
--[[ 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
|
Binary file not shown.
After Width: | Height: | Size: 126 KiB |
|
@ -0,0 +1,4 @@
|
|||
player = {}
|
||||
|
||||
player.x = 100
|
||||
player.y = 100
|
Binary file not shown.
After Width: | Height: | Size: 18 KiB |
Binary file not shown.
After Width: | Height: | Size: 2.7 KiB |
Binary file not shown.
After Width: | Height: | Size: 2.6 KiB |
Loading…
Reference in New Issue