Jump to content

Moving platforms with limits


crysfel
 Share

Recommended Posts

Hi Guys!

 

Im really new to games, this is my first attempt of creating a game and so far I've found Phaser a great library! There's one problem that I have, I want to create moving platforms, I found this example: http://jsfiddle.net/lewster32/4yh8ee1f/ which is great, however my map is larger and I would like to move the platforms in just some space not to the limits of my map.

 

Is there a way to set limits to the moving platform? let's say from x=100 to x=400.

 

Thanks in advance.

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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