Search found 4 matches

by pronoy
Fri Nov 18, 2011 3:26 pm
Forum: Games and Creations
Topic: Physics - Platformer - Jumping
Replies: 9
Views: 8078

Re: Physics - Platformer - Jumping

coffee wrote:Not an expert in physics code sorry but just wanted to welcome you to LOVE! Have fun around and good coding! :)
Thank you, I am thoroughly enjoying myself. I actually made things work using Love. Very nice framework.
by pronoy
Fri Nov 18, 2011 3:25 pm
Forum: Games and Creations
Topic: Physics - Platformer - Jumping
Replies: 9
Views: 8078

Re: Physics - Platformer - Jumping

Keep track of how many jumps the player has left, and subtract 1 every time the player hits the jump key. When the player collides with other stuff you could do a test to see if he's above the other object. If so, you can reset his number of jumps. I don't quite understand this, but this might be n...
by pronoy
Fri Nov 18, 2011 3:17 pm
Forum: Games and Creations
Topic: Physics - Platformer - Jumping
Replies: 9
Views: 8078

Re: Physics - Platformer - Jumping

It just needed a few tweaks. objects.ball.body:setMassFromShapes() I tried that and the problem is now it develops some sort of inertia and moves out of the frame. It doesn't stop. Is there a way to introduce friction? I uncommented this as it's quite a good mass calculator. Gravity stays at 700. A...
by pronoy
Fri Nov 18, 2011 1:22 pm
Forum: Games and Creations
Topic: Physics - Platformer - Jumping
Replies: 9
Views: 8078

Physics - Platformer - Jumping

Hello there loved ones, I am new to love2d and lua and it's been 3 days I began and it's pretty much been great. I've had a little experience with the likes of Polycode, Cocos2dx and Ogre3d and tons of Python. But Love2D has been the best. It is so easy to understand and work with. The end objective...