@JacksonAiken3/

Phaser.js Game Starter

HTML, CSS, JS

Created by @ThatSmart | Written in phaser.js, use the arrow keys to control the square. Add more to this repl to make it a game!

fork
loading
Files
  • index.html
  • assets
  • script.js
  • style.css
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width">
    <title>repl.it</title>
    <link href="style.css" rel="stylesheet" type="text/css" />
    <script src="https://cdnjs.cloudflare.com/ajax/libs/phaser/3.16.2/phaser.min.js"></script>
    <script src="script.js"></script>
  </head>
  <body>
    <h1>Phaser Template</h1>
    <p>Move with arrow keys or WASD</p>
  </body>
</html>
result
console