BARTBES I'm rly sorry about that. I'm too lazy to copy paste it:-). To make things right I'll worship your name.
Btw it doesn't sound like Malibu "doll" :-)
Search found 10 matches
- Fri May 21, 2010 7:55 pm
- Forum: General
- Topic: Line of sight - The Best Way
- Replies: 9
- Views: 4099
- Thu May 20, 2010 5:07 pm
- Forum: General
- Topic: Line of sight - The Best Way
- Replies: 9
- Views: 4099
Re: Line of sight - The Best Way
thanks a lot guys first i've been trying pythagoras but as long as i use physics and i didn't noticed sensor functionality there this is the right and easiest way for me to go. sensors works like charm with the oportunity to use callbacks it's just fine. So if anyone is intrested i recomend use sens...
- Thu May 13, 2010 8:27 am
- Forum: General
- Topic: Line of sight - The Best Way
- Replies: 9
- Views: 4099
Line of sight - The Best Way
Hi all I'm trying to make a perfect simple and non memory consuming Line of sight in a 2D space without affecting by any other object only A point and B point. I've been thinking about drawing a line between two points and if this line is longer than the view range then it can't see it. Something li...
- Sun Apr 11, 2010 5:55 pm
- Forum: Support and Development
- Topic: need more examples for physics module
- Replies: 4
- Views: 2501
Re: need more examples for physics module
there are plenty of examples around for box2d which is used as inspiration for love engine
have a look here:
http://www.box2d.org/manual.html
love just use slightly different syntax but in basics they are pretty the same
have a look here:
http://www.box2d.org/manual.html
love just use slightly different syntax but in basics they are pretty the same
- Fri Apr 09, 2010 8:12 pm
- Forum: Support and Development
- Topic: platformer moving background and enviroment
- Replies: 10
- Views: 5711
Re: platformer moving background and enviroment
Found the problem, you will see it when you draw the box around the player shape, you'll see the bounding boxes actually collide correctly. (btw, you can draw a bounding box using love.graphics.polygon("line", self.shape:getPoints()), which might be a lot easier, and supports non-square b...
- Fri Apr 09, 2010 7:57 pm
- Forum: Support and Development
- Topic: platformer moving background and enviroment
- Replies: 10
- Views: 5711
Re: platformer moving background and enviroment
hmm that's wierd because the shape is in the position like image and is matching its position but the body isn't... see updated love file with the box around the shapebartbes wrote:Can you draw a box around the shape?
- Fri Apr 09, 2010 7:23 pm
- Forum: Support and Development
- Topic: platformer moving background and enviroment
- Replies: 10
- Views: 5711
Re: platformer moving background and enviroment
yes it is... this is realy strange ... logicaly i don't see any problem in this code it's so simple and it should work but it doesn'tbartbes wrote:Well, then there is the question, is the image the same size?
- Fri Apr 09, 2010 6:44 pm
- Forum: Support and Development
- Topic: platformer moving background and enviroment
- Replies: 10
- Views: 5711
Re: platformer moving background and enviroment
Collisions. And, how do you know the body moves? Also, I'd recommend you take a look at the offset parameters to love.graphics.draw. it has mass 0 so it should be static and collisions shouldn't rotate or in anyway move it. I know that the body moves because i can jump on it in empty space which is...
- Fri Apr 09, 2010 6:19 pm
- Forum: Support and Development
- Topic: platformer moving background and enviroment
- Replies: 10
- Views: 5711
Re: platformer moving background and enviroment
I don't get it how should it rotate? I'm not rotating it.bartbes wrote:Is it possible the body rotates?
- Fri Apr 09, 2010 5:37 pm
- Forum: Support and Development
- Topic: platformer moving background and enviroment
- Replies: 10
- Views: 5711
platformer moving background and enviroment
Hi guys so I've fell in LOVE and I've a little issue with moving physic enviroment elements as the player reach some point to the right or left all elements and background should move. Well everything is moving the right way but there is some strange offset while moving that little platform, its phy...