Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- module Neon.Client {
- export class Game extends Phaser.State {
- create() {
- this.game.world.setBounds(0, 0, this.game.width, this.game.height);
- }
- update() {
- this.game.world.camera.setPosition(100, 0);
- }
- render() {
- this.game.debug.cameraInfo(this.game.world.camera, 50, 50);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement