--[[ hi! This should be a pretty easy program to follow. Select this main.lua file and the fireDjinn.png file, and add them to a zip archive. Name the archive something.love, instead of something.zip. You can change this name after you've already compressed everything into a zip file, if you want. If you have love2d from love2d.org installed, you should now be able to click on the game to run it. FYI, another way to run the game is to put main.lua and fireDjinn.png into a folder, and then drag that folder onto the blue, circular LOVE icon which you might have on your virtual desktop. --]] function love.load() -- load the image of the fire djinn image=love.graphics.newImage('fireDjinn.png') -- get the dimensions of the fire djinn w=image:getWidth() h=image:getHeight() -- get some variables that will be used with the following funciton --love.graphics.draw( drawable, x, y, r, sx, sy, ox, oy, kx, ky ) --for info see: http://love2d.org/wiki/love.graphics.draw r=0 --find the center of the 'stage' x=love.graphics.getWidth()/2 y=love.graphics.getHeight()/2 --make sprite twice as big sx=2 sy=2 --move the coordinates of the image from the upper left, to the center ox=w/2 oy=h/2 -- pulsing circle around djinn radius=w changeInRadius=20 --movement speed=150 end function love.draw() love.graphics.circle('line',x,y,radius,30) love.graphics.draw(image, x, y, r, sx, sy, ox, oy, kx, ky ) if radius>w then love.graphics.print('use the arrow keys!',x-50,y+60) end end function love.update(dt) --make circle pulse radius = radius + changeInRadius*dt if radius>w*1.2 or radius