Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- game = new Phaser.Game(800, 600, Phaser.AUTO, { preload: preload, create: create, update: update, render: render });
- function preload ()
- {
- this.load.image('logo','/client/data/UI/logo.png');
- }
- function create ()
- {
- this.add.image(config.width/2, config.height/2, 'logo').setScale(6);
- }
- function update ()
- {
- }
- function render ()
- {
- this.debug.text("Anti-aliasing", 10, 32)
- }
Add Comment
Please, Sign In to add comment