love.graphics.rectangle( mode, x, y, width, height )kikito wrote: After a (pitiful) try to browse the LÖVE source code it seems that newRectangleShape is removed from 0.6.
0.6.0 Update
- TechnoCat
- Inner party member
- Posts: 1611
- Joined: Thu Jul 30, 2009 12:31 am
- Location: Milwaukee, WI
- Contact:
Re: 0.6.0 Update
- bartbes
- Sex machine
- Posts: 4946
- Joined: Fri Aug 29, 2008 10:35 am
- Location: The Netherlands
- Contact:
Re: 0.6.0 Update
He meant rectangles for physics, not drawing them.
- kikito
- Inner party member
- Posts: 3153
- Joined: Sat Oct 03, 2009 5:22 pm
- Location: Madrid, Spain
- Contact:
Re: 0.6.0 Update
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.
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.
When I write def I mean function.
- kikito
- Inner party member
- Posts: 3153
- Joined: Sat Oct 03, 2009 5:22 pm
- Location: Madrid, Spain
- Contact:
Re: 0.6.0 Update
Hi again
newRectangleShape does seem to have the same syntax as before. My problem was somewhere else in my code - apologies.
newRectangleShape does seem to have the same syntax as before. My problem was somewhere else in my code - apologies.
When I write def I mean function.
- kikito
- Inner party member
- Posts: 3153
- Joined: Sat Oct 03, 2009 5:22 pm
- Location: Madrid, Spain
- Contact:
Re: 0.6.0 Update
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!
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!
When I write def I mean function.
Re: 0.6.0 Update
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
kikito: That function has been changed to setLinearVelocity to conform better with Box2D.
napco: It hasn't been removed.
napco: It hasn't been removed.
- bartbes
- Sex machine
- Posts: 4946
- Joined: Fri Aug 29, 2008 10:35 am
- Location: The Netherlands
- Contact:
Re: 0.6.0 Update
I added it to potato.rude wrote: napco: It hasn't been removed.
Re: 0.6.0 Update
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?
- bartbes
- Sex machine
- Posts: 4946
- Joined: Fri Aug 29, 2008 10:35 am
- Location: The Netherlands
- Contact:
Re: 0.6.0 Update
Potato lacks a lot of information, it's based on what users enter, so hereby I tell you to start entering stuff in potato!
Who is online
Users browsing this forum: Bing [Bot] and 0 guests