Basically when I walk up the slope it slows the player because its a slope, but I think if the player spams the jump key it increases their speed because going down a slope increases the players speed and the game somehow detects the slope on the roof and increases the player speed.
Either that or the roof slope somehow cancels the slowness effect from the ground slope since the speed seems similar to that of falling down the same slope.
Note that this bug doesn’t affect my game, I just wanted to share this as I have not seen this documented in the Forum before.
The bugs type of topic is to discuss what is wrong within GKC, please mark a solution as this isn’t really a bug and team Gimkit do not need to fix this. This is not a creative “bug” this is just a movement blip.
if you want to know whats happening, i can give a lot of assumptions but i dont have access to inspect on my school computer
what i think could be happening (from somebody that sucks at coding)
dont trust me because i have 0 finished projects on scratch despite having 2 years to make one
so lets assume that gimkit moves your gim by changing their position by a variable
if xVelo is equal to 0.2, then your gim moves 0.2 tiles to the right a tick
if yVelo is equal to -1, then your gim moves 1 tile down a tick [1]
these changes are smoothed out via interpolation
and the collision system works by simply moving the gim out of the way
when you jump up yVelo is set to something like 1 tile an in-game tick
and if the assumptions are true
then you keep your yVelo with gravity continuing like normal (changing yVelo by -0.2 every tick unless touching ground or at terminal velocity)
while the collision system changes your xVelo to move you out of the way
and because the collision system is changing your xVelo- it does something like this
where you gain a little bit of speed at the end of the jump [2]
and then when you land on the slope you dont lose speed because uhhhhhhh idk maybe they have friction and the friction wasnt strong enough
as i said this is based off two years of block coding with 0 finished projects take this with a humongus grain of salt
and also sry if this is confusing
this is how i made an unfinished platformer
i couldnt figure out the collision part with scratch being unable to figure out whether the player is touching a wall, from the right or left, or the floor or the roof ↩︎
an byproduct of the collision system that i assume i got right ↩︎
I don’t think this is a bug. The celling is at an upwards angle, right? So hitting it from and upwards angle does this weird video-game friction thing that speeds you up. It’s cool, thanks for sharing. I could probably use this to make more jumps for my jump guide (If you don’t mind, of course)