add player.gif
All checks were successful
Dynamic Branch Deploy / build-and-deploy (push) Successful in 1m45s
All checks were successful
Dynamic Branch Deploy / build-and-deploy (push) Successful in 1m45s
This commit is contained in:
@@ -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];
|
||||||
|
|||||||
Reference in New Issue
Block a user