DigitMagazine

Devworx 2019 Typical Phaser File

Dec 25th, 2018
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. var config = {
  2.    type: Phaser.AUTO,
  3.    width: 800,
  4.    height: 600,
  5.    scene: {
  6.        preload: preload,
  7.        create: create,
  8.        update: update
  9.    }
  10. };
  11.  
  12. var game = new Phaser.Game(config);
  13.  
  14. function preload ()
  15. {
  16. }
  17.  
  18. function create ()
  19. {
  20. }
  21.  
  22. function update ()
  23. {
  24. }
Add Comment
Please, Sign In to add comment