Hey Indie Developers !! Question about LOVE2D Engine..
I have attached 2 photos below. currently I'm working on simple 2d platformer game; idea is the player starts from left corner of the screen and if player captures the flag on the right corner of screen player wins and will take the player to the next level.
So I have my player and the ground set up and I applied the gravity and collision bounds to them. (picture 1 reflects the situation) Anyways, here's the tricky part , how do I add the collision system to platform1,2,3 ?? I didn't want to use "Tiled Map Editor" or such. Goal is to create the levels using photoshop&illustrator and bring those to the game world.
any thoughts and ideas? or any advise ?
thank you for your time, I'd be much appreciated !!
Cheers.
Question about 2D platformer games (collision system)
-
- Prole
- Posts: 1
- Joined: Tue Mar 17, 2015 1:56 am
Re: Question about 2D platformer games (collision system)
First, set up your fixtures/bodies with love.physics (Box2D) and test the gameplay.
After you make sure that it works, just draw a graphic on top.
I think it works better for action games because with Box2D, you're never 100% sure how objects are going to behave without testing the gameplay first.
After you make sure that it works, just draw a graphic on top.
I think it works better for action games because with Box2D, you're never 100% sure how objects are going to behave without testing the gameplay first.
Who is online
Users browsing this forum: Google [Bot] and 2 guests