Hi !
I've a big problem with many games/projects are posted here. When I start a love file I just see a black screen and nothing happens.
I tried to make a simple animation with anal but i have the same problem. ( just this example http://love2d.org/wiki/AnAL )
I'am using Windows 7 32bit.
Can anybody help me ? That would be great!
//Code of my examplecode
of course the used files are existing
require( 'AnAL.lua' )
function load()
local img = love.graphics.newImage("exp.png")
anim = newAnimation(img, 96, 96, 0.1, 0)
end
function update(dt)
-- Updates the animation. (Enables frame changes)
anim:update(dt)
end
function draw()
-- Draw the animation at (100, 100).
if love.keyboard.isDown( ' ' ) then
anim:draw(100, 100)
end
end
require( 'AnAL.lua' )
function love.load()
local img = love.graphics.newImage("exp.png")
anim = newAnimation(img, 96, 96, 0.1, 0)
end
function love.update(dt)
-- Updates the animation. (Enables frame changes)
anim:update(dt)
end
function love.draw()
-- Draw the animation at (100, 100).
if love.keyboard.isDown( ' ' ) then
anim:draw(100, 100)
end
end
sorry for this noobquestion - iam new at this language
If you need help @ Delphi you can ask me