omediadon

p2 complex ground shape

Recommended Posts

Hey there

So, this is my first post in here, i hope everybody is good out there, let's go straight into the issue.

 

I'm new to Phaser.io, and I'm intending to use it to create a hill climber clone. I have successfully create car like shapes (following a couple of online tutos) but still very confused about how to create the land on which the car will run. To make it clearer, here's an illustration of what i exactly want:

hqdefault.jpg

So basically, the original game introduces 2+ types of ground, that are the bridges, land, water, ...

I need to implement only two types.

I know how to "materialize" the body and everything that should go after i declare them, which is my problem.

On Phaser.io examples page there's quiet half the solution to my problem but uses Box2D which is paid (and i can afford it right now, else, i would love to get it!)

2016-08-19_081052.png

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Recently Browsing   0 members

    No registered users viewing this page.