Skip to content

Commit f01a444

Browse files
authored
Merge pull request #125 from Parallaxes/main
Skibidi sprite change
2 parents eb730b4 + bcb4e17 commit f01a444

File tree

6 files changed

+10
-10
lines changed

6 files changed

+10
-10
lines changed

assets/js/platformer/GameEnv.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export class GameEnv {
5959
* @property {boolean} spellUsed - Checks whether the wand has been used by the player
6060
6161
*/
62-
static userID = "Guest";
62+
static userID = "guest";
6363
static player = null;
6464
static levels = [];
6565
static currentLevel = null;

assets/js/platformer/GameSetterSkibidi.js

+9-9
Original file line numberDiff line numberDiff line change
@@ -178,18 +178,18 @@ const assets = {
178178
hitbox: { widthPercentage: 0.3, heightPercentage: 0.8 }
179179
},
180180
escaper: {
181-
src: "/images/platformer/sprites/merged_sprite_sheet.png",
182-
width: 81,
183-
height: 83,
184-
scaleSize: 85,
185-
speedRatio: 0.7,
186-
animationSpeed: 6, // How fast it goes through displaying each frame in specified row below:
181+
src: "/images/platformer/sprites/skibidiMan.png",
182+
width: 54,
183+
height: 60,
184+
scaleSize: 110,
185+
speedRatio: 0.9,
186+
animationSpeed: 5.5, // How fast it goes through displaying each frame in specified row below:
187187
idle: {row: 0, frames: 4 }, // idle animation
188188
walk: { row: 1, frames: 6 }, // walking animation
189-
run: { row: 2, frames: 6 }, // running animation
189+
run: { row: 2, frames: 6}, // running animation
190190
jump: {row: 4, frames: 6 }, // jumping animation
191-
attack: {row: 4, frames: 6 },
192-
hitbox: { widthPercentage: 0.3, heightPercentage: 0.8 }
191+
attack: {row: 3, frames: 5 },
192+
hitbox: { widthPercentage: 0.3, heightPercentage: 0.9, offsetx: 0, offsety: 10 }
193193

194194
},
195195
whitemario: {
341 KB
Loading
51.2 KB
Loading
125 KB
Loading
325 KB
Loading

0 commit comments

Comments
 (0)