Jump to content

curved terain


glass22
 Share

Recommended Posts

There are multiple ways to create a curved terrain. Either you use a Physics engine like P2 or Box2d, that really doesn't matter, or you use a algorithm to get a point on a curve and move towards them.

 

Here an example with physics

http://www.emanueleferonato.com/2011/08/26/create-a-terrain-like-the-one-in-tiny-wings-with-flash-and-box2d-adding-textures/

 

Here an example with custom curves

http://www.inkfood.com/smoothnoise/ 

 

Hope that helps to start off

Link to comment
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...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...