Guest User

Untitled

a guest
Oct 16th, 2018
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. game = new Phaser.Game(800, 600, Phaser.AUTO, { preload: preload, create: create, update: update, render: render });
  2. function preload ()
  3. {
  4. this.load.image('logo','/client/data/UI/logo.png');
  5. }
  6.  
  7. function create ()
  8. {
  9. this.add.image(config.width/2, config.height/2, 'logo').setScale(6);
  10. }
  11.  
  12. function update ()
  13. {
  14.  
  15. }
  16.  
  17. function render ()
  18. {
  19. this.debug.text("Anti-aliasing", 10, 32)
  20. }
Add Comment
Please, Sign In to add comment