PlaceholderGames / 2016-VnD_Game

2nd year computer games development group project
2 stars 0 forks source link

Switch ant animation to "dying" after done working #73

Open BojanStankovic opened 7 years ago

BojanStankovic commented 7 years ago

Once the ant is done with digging/mining, instead of simply removing the ant it should perform a dying animation first and sink into the ground. When the dead ant is not visible on the level anymore we should remove it completely as we are doing it now.

Alternatively, when the dying animation is finished the ant can fade out before being suddenly removed.

napiorek commented 7 years ago

With a help of @BojanStankovic and Thomas I manage to add the dying animation before the ant is being deleted.

This solution only works if the animation will be finished before we highlight another Ant

Edit by Bojan: This bug was reported at 77 The reference to issue 77 was put here due to a miscommunication. Issues are not linked

napiorek commented 7 years ago

This issue is now resolved/done. Just finished it now and tested myself. Current delay is set for 3 seconds and it looks right but in future this can be dependent on the digging/mining time length.

BojanStankovic commented 7 years ago

By testing the branch I noticed that the dying animation is working for the mining ability but it doesn't work for digging ability.

napiorek commented 7 years ago

This has been corrected now so it's working for digging and mining. Thanks for pointing this out @BojanStankovic !