Compare commits
2 Commits
master
...
sidescroll
Author | SHA1 | Date |
---|---|---|
Rob Drake | ebc656473d | |
Rob Drake | 2a4f86bf7f |
Binary file not shown.
After Width: | Height: | Size: 6.2 KiB |
Binary file not shown.
After Width: | Height: | Size: 6.3 KiB |
|
@ -0,0 +1,10 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<title>Mortal Wombat</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<script src="./mortalwombat.js"></script>
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -0,0 +1,18 @@
|
||||||
|
const config = {
|
||||||
|
type: PHASER.AUTO,
|
||||||
|
width: 800,
|
||||||
|
height: 600,
|
||||||
|
physics: {
|
||||||
|
default: 'arcade',
|
||||||
|
arcade: {
|
||||||
|
gravity: {y: 500},
|
||||||
|
debug: false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
scene: {
|
||||||
|
key: 'main',
|
||||||
|
preload: preload,
|
||||||
|
create: create,
|
||||||
|
update: update
|
||||||
|
}
|
||||||
|
};
|
Loading…
Reference in New Issue