Search found 5 matches
- Wed Apr 01, 2009 3:31 am
- Forum: General
- Topic: Do stuff on end touch
- Replies: 8
- Views: 7699
Re: Do stuff on end touch
Thanks for the code snippet. The recreating the sensor work around solsword mentioned seems like it may work for your crouching problem. The only thing that comes to mind is a problem someone else had with sensors actually affecting other objects if you create the sensor inside them. ( http://love2d...
- Mon Mar 30, 2009 5:13 pm
- Forum: General
- Topic: Do stuff on end touch
- Replies: 8
- Views: 7699
Re: Do stuff on end touch
The following assumes you're using love.physics and the collision/contact callback function. Box2D (the physics library love uses) has callbacks for when a contact starts (Add), when a contact is still happening (Persist), and when a contact stops (Remove). Currently, love has only implemented the c...
- Sun Mar 29, 2009 3:44 pm
- Forum: Support and Development
- Topic: Compiling LÖVE on Windows
- Replies: 12
- Views: 8583
Re: Compiling LÖVE on Windows
I've tried this and feel like I'm getting pretty close to getting it working but I think I'm stuck. The first problem is that love.rc tries to include afxres.h, which doesn't exist. If I delete the include from love.rc and some other code that I think relies on it, everything compiles. Then when the...
- Thu Mar 26, 2009 8:53 pm
- Forum: General
- Topic: Typical Platformer Physics
- Replies: 3
- Views: 4529
Re: Typical Platformer Physics
Probably the best solution would be Box2D's Body.FixedRotation flag, which is not yet implemented in LOVE. http://www.box2d.org/wiki/index.php?title=B2BodyDef Until then, I'm not sure either. Setting the Player's Body's Angle to 0 every update sorta works, but has some over lap issues. ( body:setAng...
- Thu Mar 26, 2009 3:23 am
- Forum: Support and Development
- Topic: Best practice for fixing body's rotation?
- Replies: 4
- Views: 6424
Re: Best practice for fixing body's rotation?
Added to task list. Does that mean you're going to add support for Box2D's FixedRotation flag? http://www.box2d.org/wiki/index.php?title=B2BodyDef EDIT: I just noticed the mention of FixedRotation at the end of the original post, so I have to assume, of course that's what you meant. Thanks for LOVE!