1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-20 08:27:39 +00:00

moving platforms v0

This commit is contained in:
Zeno Rogue
2025-05-03 00:24:30 +02:00
parent 49257338ee
commit 63bbb2f098
7 changed files with 130 additions and 16 deletions

View File

@@ -17,7 +17,7 @@ void man::act() {
handle_powers(dat);
if((on_floor || jump_control || wallhug) && !on_ice) {
vel.x = zero_speed + dat.dx * dat.d * dat.modv * 2.5;
vel.x = zero_vel.x + dat.dx * dat.d * dat.modv * 2.5;
}
if(on_bounce) {