Really mysterios problem [BlackScreen]
Posted: Sat Apr 17, 2010 11:34 am
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
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
Code: Select all
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