We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to scale the world to get the effect of raising the camera above the world?
I do this:
Composite.scale(engine.world, 0.01, 0.01, {x:0,y:0}, true)
but it doesn't work
The text was updated successfully, but these errors were encountered:
lookcenter={x:0,y:0}; Render.lookAt(render, { min: { x: lookcenter.x-render.options.width/2, y: lookcenter.y-render.options.height/2 }, max: { x: lookcenter.x+render.options.width/2, y: lookcenter.y+render.options.height/2 } }); For reference only.
lookcenter={x:0,y:0}; Render.lookAt(render, { min: { x: lookcenter.x-render.options.width/2, y: lookcenter.y-render.options.height/2 }, max: { x: lookcenter.x+render.options.width/2, y: lookcenter.y+render.options.height/2 } });
Sorry, something went wrong.
does not work
No branches or pull requests
How to scale the world to get the effect of raising the camera above the world?
I do this:
Composite.scale(engine.world, 0.01, 0.01, {x:0,y:0}, true)
but it doesn't work
The text was updated successfully, but these errors were encountered: