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: 添加 SmoothMovement 类;修改 LevelMenu 的场景结构并添加切换章节功能 #62

Merged
merged 5 commits into from
Feb 18, 2024

Conversation

cutekibry
Copy link
Collaborator

No description provided.

smooth_movement 可用于维护平滑移动的坐标。
LevelMenu 的场景结构发生变化:

- LevelMenu
  - LevelMenuCamera # 相机
    - SmoothMovement
  - LevelButtons # 选关按钮
  - UI
    - PreviousLevelButton
    - NextLevelButton
    - Title

初始化时,会生成所有的选关按钮。

按屏幕左右的按钮(PreviousLevelButton 或 NextLevelButton)可以移动
相机,从而实现切换章节的功能。

BREAKING CHANGE: LevelMenu 的场景结构发生变化。
由于 level_menu 已经可以支持切换章节,故删除 chapter_menu。
@cutekibry cutekibry merged commit 66e352b into main Feb 18, 2024
9 checks passed
@cutekibry cutekibry deleted the feat-20240218-level-menu-update branch February 19, 2024 13:04
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.

1 participant