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

Model Animation #609

Merged
merged 3 commits into from
Jun 25, 2024
Merged

Model Animation #609

merged 3 commits into from
Jun 25, 2024

Conversation

nighca
Copy link
Collaborator

@nighca nighca commented Jun 24, 2024

close #608, update #543

  • Add definition for model Animation
  • Add animation related logic in model Sprite & Costume
  • Fix naming check for asset

related: goplus/spx#289 (we need to upgrade spx version for tools/ispx after goplus/spx#289 merged)

}
}

function validateGopIdentifierAssetName(name: string) {
Copy link
Collaborator Author

@nighca nighca Jun 24, 2024

Choose a reason for hiding this comment

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

之前实现比较简单粗暴,对所有的 asset name 都做相同的校验

实则只有 sprite & sound 会在编译后对应一个 struct field 定义,因此只应该对 sprite & sound 做 GopIdentifier 的格式限制

@qiniu-ci
Copy link

The PR environment is ready, please check the PR environment

[Attention]: This environment will be automatically cleaned up after a certain period of time., please make sure to test it in time. If you have any questions, please contact the builder team.

@nighca nighca merged commit b29bb3d into goplus:dev Jun 25, 2024
4 checks passed
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.

spx-gui: Model Animation
3 participants