Jump to content
This forum will be closing down. Please move to the respective dedicated project forums.

Slopes


oronbz
 Share

Recommended Posts

Hello everyone,

first of all, kudos to Phaser's developers, even without documentation, very nicely done and easily understandable.

The other best option for HTML5 engine is ImpactJS which cost 99$, so free is definitely a player here (:

 

secondly, i noticed on the "starstruck" game example that you use this function:

map.setCollisionRange(1, 12, true, true, true, true);

to apply a collision box to tiles,

 

with the "true, true, true, true" being up down left right collision or something like that.

 

What I wonder is how would I apply a slope behavior for a tile that's diagonal?

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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