med-material / Whack_A_Mole_VR

Whack-A-Mole in VR
MIT License
3 stars 15 forks source link

Moles: Entering "Popped" State breaks "WAIT:HIT" behavior. #252

Open bastianilso opened 1 year ago

bastianilso commented 1 year ago

When patterns specify a WAIT:HIT behavior, moles are spawned immediately when other moles are shot. However, this only works if we don't enter the "Popped" state (which is our current hack in DiskMole.cs). We should backtrace what the real issue is so the behavior can be properly supported. See commit abc217d71a35b15d27ed42c96f384f6f51bcdf43

hendrikknoche commented 1 year ago

I believe that Quentin was opposed due to this leading to "spaghetti code". According to him it has to be a work around. But not sure we touched that in the mean time.