Guild icon
Teeworlds
IRC / bridge
One-way IRC channel bridge. If you want to be able to send messages to IRC, contact @Dune or @heinrich5991. https://www.teeworlds.com/?page=docs&wiki=rules/irc_rules
Between 2023-04-24 00:00:00Z and 2023-04-25 00:00:00Z
Avatar
https://github.com/teeworlds/teeworlds/blob/26d24ec061d44e6084b2d77a9b8a0a48e354eba6/src/game/collision.cpp#L193 Just to fuck around a bit: if abs(Vel.x) >= abs(Vel.y): NewPos.y = Pos.y Vel.y *= -Elasticity else NewPos.x = Pos.x Vel.x *= -Elasticity
16:37
# Prevents fucking edge clipping
Avatar
What's the issue this adresses?
Avatar
loosing all your speed when you clip an edge
16:49
normally elasticity is 0
16:49
so if you perfectly hit a corner, your speed is set to 0 in every direction
16:50
in the next tick, since you hold left/right, you still move but lost all your speed
16:50
or if you don't move, you continue falling
Avatar
ChillerDragon BOT 2023-04-24 18:11:44Z
thats the one that ends up in the ddrace montage clips right?
Exported 9 message(s)