Search found 100 matches
- Mon Jun 14, 2010 12:23 pm
- Forum: Support and Development
- Topic: ok, physics explanation please!
- Replies: 8
- Views: 2444
Re: ok, physics explanation please!
ok, ran into another problem: none of the collisions work!!! the bodies run fine(i even checked to see if they were colliding with getX, getY), im not getting any errors with the shapes and ive followed the collision callbacks perfectly. only problem could be with the oop side of things, so, is this...
- Mon Jun 14, 2010 10:19 am
- Forum: Support and Development
- Topic: ok, physics explanation please!
- Replies: 8
- Views: 2444
Re: ok, physics explanation please!
ahhhhhhhhhhhhhhhh, now i get it!!!
yea, i understand the whole attach shape to body, draw image at body x,y, now i understand how it all fits together!!
cheers again mate, i owe you one, well, two now actually!!!
yea, i understand the whole attach shape to body, draw image at body x,y, now i understand how it all fits together!!
cheers again mate, i owe you one, well, two now actually!!!
- Mon Jun 14, 2010 9:22 am
- Forum: Support and Development
- Topic: ok, physics explanation please!
- Replies: 8
- Views: 2444
ok, physics explanation please!
hi! im very, very new to love.physics. read the tutorial, so i know how to use all the actual physics, but i don't understand how im supposed to figure out whats collided with what. so, say ive got a few sprites, just two tables with and image and a body each, in my collision callback how can i deci...
- Sun Jun 13, 2010 9:51 pm
- Forum: Support and Development
- Topic: rectangular body help
- Replies: 9
- Views: 4812
Re: rectangular body help
@luiji: basically, i just wanted to set up something really simple and reusable. i find the physics stuff really good, but not really suited to what im doing at the moment. i guess im old fashioned and just want a list(table) of rectangles to iterate over. But some day I'm going to figure out the lo...
- Sun Jun 13, 2010 9:20 am
- Forum: Support and Development
- Topic: rectangular body help
- Replies: 9
- Views: 4812
Re: rectangular body help
sorry dude, meant to type Robin
big thanks!
big thanks!
- Sun Jun 13, 2010 8:47 am
- Forum: Support and Development
- Topic: rectangular body help
- Replies: 9
- Views: 4812
Re: rectangular body help
wow, yes!
much, much smoother! thanks rude!
now i can get on with the next million gameplay elements!
x
---DOUBLE POST---
and yeah, too much parenthesis. i come from a world of java, thats all i can say
xx
much, much smoother! thanks rude!
now i can get on with the next million gameplay elements!
x
---DOUBLE POST---
and yeah, too much parenthesis. i come from a world of java, thats all i can say
xx
- Sun Jun 13, 2010 7:45 am
- Forum: Support and Development
- Topic: rectangular body help
- Replies: 9
- Views: 4812
Re: rectangular body help
ok, i dont think im gonna use the physics module for this. this is the code im using: local xOff = self.x + anotherRect.x + (anotherRect.width / 2) local yOff = self.y + anotherRect.y + (anotherRect.height / 2) if(xOff > yOff) then if(self.x <= (anotherRect.x + (anotherRect.width / 2))) then return ...
- Sun Jun 13, 2010 6:53 am
- Forum: Support and Development
- Topic: rectangular body help
- Replies: 9
- Views: 4812
rectangular body help
hi! is there any way to check which side of a rectangular body is being collided with? im not actually using love.physics in my project, im using an old-skool rectIntersect() function, but im having no joy with the maths(ive got it sort of working, but it needs to be pretty much perfect). is there a...
- Sat Jun 05, 2010 8:51 am
- Forum: Support and Development
- Topic: distort?
- Replies: 7
- Views: 2783
Re: distort?
@jasaco : agreed!
- Sat Jun 05, 2010 6:51 am
- Forum: Support and Development
- Topic: clipping masks?
- Replies: 10
- Views: 3173
Re: clipping masks?
who runs love? is it rude + bartbes? just wanna see what the men at the top think!x