Skip to content

Instantly share code, notes, and snippets.

View usysrc's full-sized avatar
💻
cyber in the sun

usysrc

💻
cyber in the sun
View GitHub Profile
@usysrc
usysrc / main.lua
Created April 18, 2012 16:54
Code from my 2nd Löve Tutorial
-- tutorial #2
-- added enemys, shooting, background etc.
function love.load()
bg = love.graphics.newImage("bg.png")
hero = {} -- new table for the hero
hero.x = 300 -- x,y coordinates of the hero
hero.y = 450
hero.width = 30