Compare commits

...

2 Commits

Author SHA1 Message Date
Rob Drake ebc656473d character sprites 2019-09-12 21:33:42 -05:00
Rob Drake 2a4f86bf7f start of side scroller 2019-09-12 14:43:05 -05:00
4 changed files with 28 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

View File

@ -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>

View File

@ -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
}
};