Skip to content

Conversation

@RatchevD
Copy link
Contributor

Summary: This task is a bugfix in response to the GitHub Issue: #91. The cause of this issue is that the directional arrows in Scene 2 continuously call the function CheckArrowTask() which starts the next coroutine when the directional arrows have been pointed correctly. This function can still be called after initial completion by undoing and recompleting the task, restarting the coroutine and giving the appearance of overlaying audio. A video of this effect is found here: https://drive.google.com/file/d/1WJt6KGXown9MXiG5lTWtymnX1kLYldfz/view?usp=sharing

Fix:

  • Reworked Arrows Task to simply wait until the first completion and then move forward to the next coroutine. This stops CheckArrowTask() from being called again later and restarting the coroutine as was happening with the bug.
  • Removed the CheckArrowTask() script from the Directional Arrows as they do not need to call this anymore. It is now taken care of by the Wait Until statement in the scene manager.
  • Added APK file for testing this bugfix.

Something To Think About:

  • With this new change, following the completion of this activity and entering of the next coroutine, the player can still rotate the arrows and put them in an incorrect configuration as the next audio lines are playing out which talk about the arrows pointing towards the sphere. For now, I am assuming this is the desired behavior, but this can be changed.

Reworked arrow task such that it will now simply wait for the task to be complete for the first time and then move forward. This stops CheckArrowTask() from being called again later and restarting the coroutine as was happening with the bug.
Removed the CheckArrowTask() script from the Directional Arrows as they do not need to call this anymore. It is now taken care of by the Wait Until statement in the scene manager.
Added APK file for testing this bugfix.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants