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
Assa
2023-04-24 16:37:13Z
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
Dune
2023-04-24 16:39:58Z
What's the issue this adresses?
Assa
2023-04-24 16:49:16Z
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
ChillerDragon
BOT
2023-04-24 18:11:44Z
thats the one that ends up in the ddrace montage clips right?
Exported 9 message(s)