Jump to content

World size smaller than screen size


Starcluster
 Share

Recommended Posts

I want the world bounds to be smaller than the screensize. I'm making a breakout clone. The ball should collide the world at y=100, not at y=0. I've set the world bounds with game.world.setBounds(10, 100, ...). But there is no effect. The same with the x value. Only the change of the width and height parameter works. It's no problem, to handle the collision by myself, but it would be nice to handle it with phaser instead.

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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