first commit

This commit is contained in:
Tyrel Souza 2018-01-17 22:51:14 -05:00
commit 74544db5d3
6 changed files with 24 additions and 0 deletions

20
main.lua Normal file
View File

@ -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

BIN
maps/tiles_spritesheet.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 126 KiB

4
player.lua Normal file
View File

@ -0,0 +1,4 @@
player = {}
player.x = 100
player.y = 100

BIN
sprites/coin_sheet.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

BIN
sprites/player_jump.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

BIN
sprites/player_stand.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB