From 88dd93374aab6417d7bc9f1c996d3aec0d9f5c20 Mon Sep 17 00:00:00 2001 From: jak1 Date: Fri, 13 Jan 2023 21:24:31 +0100 Subject: added some char animation (still a bit buggy) --- app.js | 1 + client/index.html | 81 ++++++++++++++++++++++++++++++++++++----------- server/Entities/Player.js | 10 ++++++ 3 files changed, 74 insertions(+), 18 deletions(-) diff --git a/app.js b/app.js index fbf081d..202f28d 100644 --- a/app.js +++ b/app.js @@ -11,6 +11,7 @@ app.get('/', function(req,res) { }); app.use('/client', express.static(__dirname + '/client')); +app.use('/favicon.ico', express.static(__dirname + '/client/favicon.ico')); serv.listen(2000); console.log("Server started."); diff --git a/client/index.html b/client/index.html index 24403e3..de22cc0 100644 --- a/client/index.html +++ b/client/index.html @@ -47,9 +47,9 @@