ochadenas / cpudefense

A tower defense game for Android based on a microprocessor theme
MIT License
130 stars 8 forks source link

Phantom attacker blocks some chip attacks #90

Closed Cwpute closed 2 months ago

Cwpute commented 10 months ago

I was mass-upgrading this SHR chip while super-fast-forwarding, when suddenly it stopped working properly. phantom attacker This chip started targeting a seemingly phantom attacker in front of it, amd wouldn't affect other attackers unless they were closer to its center. While i was croping this screenshot i cam back, i found the game on pause and the chip had reverted its behavior to normal.

It might have been triggered by an unwanted tap on an attacker whil upgrading the SHR chip, or an unwanted long press or gesture that somehow bugged the chip to target a phantom attacker.Might have also been made possible by the super-fast-forward being enabled (faster fast-forward).

Cwpute commented 10 months ago

rpro I could reproduce this behavior while faster-fast-forwarding and upgrading the same chip. Now the visualization of in-range ennemies seems to indicate one that isn't even on the lane! It might be the chip mistaking the player's tap for an attacker maybe ? Also the chips for which it happened are level 9 and 10, and high level chips seem to have been problematic in some previous issues.

VA1DER commented 8 months ago

This is quite noticeable on ACC chips where they will stop working. I can verify it's not due to a tap and it happens sometimes even in slow stages.

A workaround is to pause, switch to a different app or home screen, then switch back to the game. All seized chips will be free.

ochadenas commented 2 months ago

I think this was related to a bug when switching between apps. Should no longer happen now; if it does, please reopen.