#Player movement/boost lock not reset

11 messages · Page 1 of 1 (latest)

cinder beacon
#

if you play a level that lock player movement, boost or forced movement / 'gravity'(didnt confirm this one, happened once long ago, might be fixed) and the level either ends with this or you quit, you get permanently stuck with these effects unless a level overrides them

easy reproduction

  • Open brohoof by misteriousShep, at the very start all movement is disabled
  • immediately leave the level and play any other level that does not use movement lock triggers at the start
#

I believe these are not reset upon level exit

VGPlayerManager.Inst.currentDashDirection = Vector2.zero;
VGPlayerManager.Inst.currentDashLock = false;
VGPlayerManager.Inst.currentMoveXLock = false;
VGPlayerManager.Inst.currentMoveYLock = false;
potent coral
#

Ooo

valid cobalt
cinder beacon
#

I wouldnt say related

#

that seems more like a trigger not running issue

potent coral
#

No

#

So I rewrote the entire player control system

#

To be globalized

#

Previously there was issues where the desync would happen if a trigger happened in a weird order cause it was per player based

#

Now it's globally controlled