Jump to content

Ye olde Slope question


eloguvnah
 Share

Recommended Posts

Hey everyone! 

 

Just first want to say, when I heard about Phaser (being a big Flixel fan) I was STOKED and uber-excited and can't wait to get my hands dirty with it.

One of the only issues I had with Flixel was using slopes in a platformer. Is this addressed at all in Phaser?

 

At the risk of showing my game dev noobiness, does one have to use pixel detection collision or is there another way?

 

Thanks!

Link to comment
Share on other sites

Out of interest, would it be 'Separating Axis Theorem' that you use for this? I'm making a simple platformer (much like the photon storm game Nutmeg) in AS3 and I've just been asked if i could add sloping platforms. A quick google brought up Separating Axis Theorem, but I'm not sure if I'll have time to figure out how to implement it in code as my maths is not quite up to the required level! Unless there is an example online I could read through that you know of on github or something like that?

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...