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

Move animation #50

Merged
merged 5 commits into from
May 13, 2022
Merged

Move animation #50

merged 5 commits into from
May 13, 2022

Conversation

Kuromeruk
Copy link

This adds a generic animation set reader to Scenes/Battle/BattleScene.gd.

Transformation definitions for moves are in Objects/Enumerations.gd.

Move animations are assigned to moves at Data/GodotResources/Moves/ with a new member variable

Each move is defined by an array of arrays, which corresponds to the order of the animations. Each sub-array contains any number of SCALE, ROTATE, and TRANSLATE transformations specified by associative array. After each transformation, the opmon's rect will change back to the original position.

@milkyroute milkyroute self-requested a review May 12, 2022 11:08
@milkyroute milkyroute added feature New feature to add code Related to the code itself labels May 12, 2022
@milkyroute milkyroute linked an issue May 12, 2022 that may be closed by this pull request
@milkyroute
Copy link
Member

Thanks a lot! I’ve just tested it and it looks very nice. I’ll be looking at the code soon and then I should merge.

Copy link
Member

@milkyroute milkyroute left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great! I’m merging!

@milkyroute milkyroute merged commit db2eed1 into OpMonTeam:master May 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code Related to the code itself feature New feature to add
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Moves animate OpMons
2 participants