Merge pull request 'add-new-player-skin' (#1) from add-new-player-skin into main
All checks were successful
Dynamic Branch Deploy / build-and-deploy (push) Successful in 2m32s
All checks were successful
Dynamic Branch Deploy / build-and-deploy (push) Successful in 2m32s
Reviewed-on: #1
This commit is contained in:
BIN
static/assets/player.gif
Normal file
BIN
static/assets/player.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 6.9 KiB |
@@ -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