Page 18 of 23
Re: 0.6.0 Update
Posted: Sun Nov 08, 2009 8:26 pm
by TechnoCat
kikito wrote:
After a (pitiful) try to browse the LÖVE source code it seems that newRectangleShape is removed from 0.6.
love.graphics.rectangle( mode, x, y, width, height )
Re: 0.6.0 Update
Posted: Sun Nov 08, 2009 8:41 pm
by bartbes
He meant rectangles for physics, not drawing them.
Re: 0.6.0 Update
Posted: Sun Nov 08, 2009 9:34 pm
by kikito
Exactly - I meant the physics stuff.
The potato docs don't mention any "new*" stuff (newRectangleShape, newCircleShape...) and I could not find references to any of this by browsing the source code - maybe this isn't ported yet, I can't say for sure.
Re: 0.6.0 Update
Posted: Mon Nov 09, 2009 12:01 am
by kikito
Hi again
newRectangleShape does seem to have the same syntax as before. My problem was somewhere else in my code - apologies.
Re: 0.6.0 Update
Posted: Mon Nov 09, 2009 11:06 pm
by kikito
Ok now I think I got one missing thing on 0.6.0
I tried calling body:setVelocity(0,0) on a pysics body and I got a "tried to call a non-existing (nil) function" error.
Regards!
Re: 0.6.0 Update
Posted: Tue Nov 10, 2009 4:00 pm
by napco
It looks like love.filesystem.enumerate has been removed... But how can i rewrite a similar function? I've found it very useful to load game resources in automatic, allowing me to drag and drop pgn files to the resource folder without adding a silgle line of code...
Re: 0.6.0 Update
Posted: Tue Nov 10, 2009 4:47 pm
by rude
kikito: That function has been changed to setLinearVelocity to conform better with Box2D.
napco: It hasn't been removed.
Re: 0.6.0 Update
Posted: Tue Nov 10, 2009 5:58 pm
by bartbes
rude wrote:
napco: It hasn't been removed.
I added it to potato.
Re: 0.6.0 Update
Posted: Tue Nov 10, 2009 6:57 pm
by napco
Ok, very well. By the way, potato lacks of informations about "conf.lua" and the new constants names. When are you going to post a "downloadable" version of the potato?
Re: 0.6.0 Update
Posted: Tue Nov 10, 2009 7:11 pm
by bartbes
Potato lacks a lot of information, it's based on what users enter, so hereby I tell you to start entering stuff in potato!