Private
Public Access
1
0

add player.gif
All checks were successful
Dynamic Branch Deploy / build-and-deploy (push) Successful in 1m45s

This commit is contained in:
Sebastian Unterschütz
2025-11-25 10:58:40 +01:00
parent 4ebcd5f8c1
commit 20b678101d

View File

@@ -91,7 +91,7 @@ window.addEventListener('resize', resize);
resize(); resize();
async function loadAssets() { async function loadAssets() {
playerSprite.src = "assets/player.png"; playerSprite.src = "assets/player.gif";
if (gameConfig.backgrounds && gameConfig.backgrounds.length > 0) { if (gameConfig.backgrounds && gameConfig.backgrounds.length > 0) {
const bgName = gameConfig.backgrounds[0]; const bgName = gameConfig.backgrounds[0];