Dart Fixes
This week i had worked on the Darts and fixing a bug that canceled the darts all together if you used the stun shot long enough while the darts were active. To fix this problem i had to look into how the darts were getting their time variables. The game has a custom game delta time that gets manipulated when things such as the stun shot are used.
To get around this problem i was looking into custom yield returns for the coroutines. After hours of looking into this and trying out different implementations Chance reached out and suggested i try to put everything into a while loop and yield return null until i had what i needed. This had fixed the issue with the time but things were still getting weird if the attack ran more than once in a row.
To combat that issue i wrapped the attack into an if statement to let the tinkerer know if the current attack was active or not. If the attack was active already nothing would happen. If it was not active. darts would spawn and the attack would continue as normal.
Disavowed
Status | In development |
Authors | King Studio, Devon0033, Mike_Sroka, Michael-W-Smith7 |
Genre | Adventure |
Tags | 2D, Action-Adventure, Metroidvania, Unity |
More posts
- Steam Launch!!!Dec 17, 2022
- Coming to a closeDec 16, 2022
- Project OverviewDec 14, 2022
- Steam StuffDec 13, 2022
- Achievement GetDec 11, 2022
- Controls Remapping AgainDec 10, 2022
- Steam funDec 09, 2022
- Boss Music ImplementationDec 09, 2022
- SteamWorksDec 02, 2022
- Callback Issue with Controller SupportDec 02, 2022
Leave a comment
Log in with itch.io to leave a comment.