Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat!: New AlternatePattern argument for SequenceEffect #3322

Draft
wants to merge 9 commits into
base: main
Choose a base branch
from

Commits on Sep 24, 2024

  1. Fixed math in MoveToEffect so that negative progress did not reflect …

    …the direction of the delta offset vec. Corrected progress getter overload in SequenceEffect to correctly map to the progess when _index < 0. Added onStart() in the initial conidition of ecede() so that effects like MoveEffect can recalculate their initial data. Removed unnecessary math in DurationEffectController to avoid potential negative zeros. Replaced �lternate boolean for SequenceEffect with a new type AlternatePattern which allows users to include or exlude the last effect in the sequence when the pattern reverses. Default value is now AlternatePattern.none. Updated all SequenceEffect examples and tests to reflect changes. Made the TiledGame example project more aesthetically interesting. The camera now pans to all 4 corners WRT the bounds of the loaded map and uses the new AlternatePattern feature along with all the new fixes.
    TheMaverickProgrammer committed Sep 24, 2024
    Configuration menu
    Copy the full SHA
    80166b1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    dd1fc7b View commit details
    Browse the repository at this point in the history

Commits on Nov 4, 2024

  1. Configuration menu
    Copy the full SHA
    d107787 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    faa32b9 View commit details
    Browse the repository at this point in the history
  3. renamed enum to be clearer. Restored �lternate boolean. Added logic t…

    …o skip start element whendoNotRepeatLast is true and the pattern is playing in reverse.
    TheMaverickProgrammer committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    d05e3ee View commit details
    Browse the repository at this point in the history

Commits on Nov 5, 2024

  1. Configuration menu
    Copy the full SHA
    ed63c41 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ece8953 View commit details
    Browse the repository at this point in the history
  3. restore tests

    TheMaverickProgrammer committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    6dd88a1 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2ea5e9f View commit details
    Browse the repository at this point in the history