simple collision detection with physics for 2d platformers

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
User avatar
IAsep-TrixI
Citizen
Posts: 89
Joined: Mon Aug 12, 2013 4:22 am
Location: Philippines,Asia

simple collision detection with physics for 2d platformers

Post by IAsep-TrixI »

another question apart from the particles, does anyone know how to add simple collision detection with physics on to a platformer test I'm doing? (AKA a fail of a previous discontinued game)
http://www.mediafire.com/?z14l4w5w49qfo8c
An agent of the free

check out the game I'm doing with Jkash!
User avatar
tavuntu
Citizen
Posts: 65
Joined: Mon Dec 24, 2012 6:56 am
Contact:

Re: simple collision detection with physics for 2d platforme

Post by tavuntu »

Hi, this probably can help you: http://www.love2d.org/wiki/Tutorial:Phy ... nCallbacks it works for me once :)
User avatar
micha
Inner party member
Posts: 1083
Joined: Wed Sep 26, 2012 5:13 pm

Re: simple collision detection with physics for 2d platforme

Post by micha »

For a platformer game, you should not use the love.physics-module. Instead write an own collision code. Here are two sources that helped me a lot:
http://www.explodingrabbit.com/forum/en ... al-04.725/
and
http://higherorderfun.com/blog/2012/05/ ... atformers/
User avatar
IAsep-TrixI
Citizen
Posts: 89
Joined: Mon Aug 12, 2013 4:22 am
Location: Philippines,Asia

Re: simple collision detection with physics for 2d platforme

Post by IAsep-TrixI »

micha wrote:For a platformer game, you should not use the love.physics-module. Instead write an own collision code. Here are two sources that helped me a lot:
http://www.explodingrabbit.com/forum/en ... al-04.725/
and
http://higherorderfun.com/blog/2012/05/ ... atformers/
those links helped, though do you think I should write my own collision code with the help of tiledloader?
An agent of the free

check out the game I'm doing with Jkash!
User avatar
Roland_Yonaba
Inner party member
Posts: 1563
Joined: Tue Jun 21, 2011 6:08 pm
Location: Ouagadougou (Burkina Faso)
Contact:

Re: simple collision detection with physics for 2d platforme

Post by Roland_Yonaba »

IAsep-TrixI wrote:those links helped, though do you think I should write my own collision code with the help of tiledloader?
Well, unless what the Great Markdango did can be of any help, here.
Post Reply

Who is online

Users browsing this forum: No registered users and 85 guests