Problem with the physics tutorial
Posted: Wed Mar 14, 2012 11:54 am
Greetings,
I was reading around the Wiki and the forums, but I don't find any related stuff to my problem here.
I tried to get the tutorial of the physics part running with LOVE 0.8.0 (https://love2d.org/wiki/Tutorial:Physics). But at least, it will not go further the love.load function. It gives me the following error:
Does 0.8.0 not fit to the Wiki anymore? Or is it another problem?
Greetings
Crounus
I was reading around the Wiki and the forums, but I don't find any related stuff to my problem here.
I tried to get the tutorial of the physics part running with LOVE 0.8.0 (https://love2d.org/wiki/Tutorial:Physics). But at least, it will not go further the love.load function. It gives me the following error:
The code at line 4 looks like the following:Error: main.lua:4: attempt to call method 'setMeter' (a nil value)
Code: Select all
function love.load()
world = love.physics.newWorld(0, 0, 650, 650)
world:setGravity(0, 700)
world:setMeter(64)
end
Greetings
Crounus