Jump to content

rnd.integer.InRange


mrxj88
 Share

Recommended Posts

hey guys i'm pretty new to javascript and phaser so go easy on me lol. but i was trying to figure out what the 50 in front of this.game.width means? is it basically saying?that it gives a random number between 50 and -50? sorry for the noob question.

(this.game.rnd.integerInRange(50, this.game.width-50)
Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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