Advertisement
metalx1000

Phaser 3 minimal HTML

Apr 2nd, 2020
705
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 0.46 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html lang="en">
  3.   <head>
  4.     <title>My Game</title>
  5.     <meta charset="utf-8">
  6.     <meta name="viewport" content="width=device-width, initial-scale=1">
  7.     <style>
  8.       body{
  9.         margin: auto;
  10.         width: 50%;
  11.         padding: 10px;
  12.       }
  13.     </style>
  14.  
  15.     <script src="https://cdnjs.cloudflare.com/ajax/libs/phaser/3.22.0/phaser.min.js"></script>
  16.     <script src="main.js"></script>
  17.   </head>
  18.   <body>
  19.  
  20.   </body>
  21. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement