Sign in to follow this  

World size smaller than screen size

Recommended Posts

Is it possible to make the world size smaller than the screen size?

When i set the x and y coordinate of the world bounds to 100,100 (, 100, ...)), the collision still happens at 0,0.

The change of the width and height seems to work.

Share this post

Link to post
Share on other sites

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, 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.

Share this post

Link to post
Share on other sites

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.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.