Source Code Progress as of Day 5

GitHub - yjlintw/Tweenie at blog-day5

Refactor Move All Loop Control to Tweenie

In our previous discussion on Day 3, we noted that while most of the Tweener controls (such as stop, play, and pause) were handled in the Tweenie class, the StopAfterStepComplete method was being handled in the Tweener class itself. To ensure consistency in the codebase, we have refactored the control logic by moving it to the Tweenie class.

The refactor involves the following changes:

  1. We have introduced a status flag within the Tweener class to keep track of its current state.
  2. When a Tweener step is completed, the Tweenie class checks if the Tweener needs to be stopped or paused based on the status flag. This allows for handling these actions through the same route as the regular Tweener Stop() or Pause() events.

By centralizing the loop control logic in the Tweenie class, we achieve greater consistency and maintainability within the codebase.

API Documentation

I'm pleased to provide you with the initial version of our API documentation for Tweenie. The documentation is automatically generated using DocFx and Github Workflow, ensuring a streamlined publishing process.

You can access the API documentation here: API Documentation.

Please note that the website is still a work in progress, and we plan to expand it further in the future. Our upcoming additions will include tutorials, additional information, and more resources to help you get the most out of Tweenie.

Tweenie API

Todo List

Not in any particular order

Tween Control

Looping

Animation

Optimization

Quality of Life

Testing

Refactor