This commit is contained in:
Mees Roelofsz
2023-12-06 13:25:27 +01:00
parent fa0d1e2ffc
commit 3d49c6e915
3 changed files with 28 additions and 1 deletions

View File

@@ -10,6 +10,7 @@
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/1.1.9/addons/p5.sound.min.js"></script>
<script src="Serial.js"></script>
<script src="js/basicbullet.js"></script>
<script src="js/homescreen.js"></script>
<script src="game.js"></script>
</head>
<body>

23
web/js/homescreen.js Normal file
View File

@@ -0,0 +1,23 @@
class Startscreen {
constructor(width, height) {
this.width = width;
this.height = height;
}
setup() {
createCanvas(this.width, this.height);
}
draw() {
circle(100, 100, 100)
}
update() {
}
}