elad Posted December 28, 2017 Share Posted December 28, 2017 I use this function to set bounds this.game.world.setBounds(0, 0, gameOptions.gameWidth - 20, gameOptions.gameHeight - 20) But this only set bound from bottom to top. What i want to do is set the top and bottom bounds to stop my character from walking on the sky Quote Link to comment Share on other sites More sharing options...
elad Posted January 3, 2018 Author Share Posted January 3, 2018 Y no1 answer ? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.