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

Scene support #588

Open
nighca opened this issue Jun 11, 2024 · 0 comments
Open

Scene support #588

nighca opened this issue Jun 11, 2024 · 0 comments
Assignees

Comments

@nighca
Copy link
Collaborator

nighca commented Jun 11, 2024

Basics

  • Each game contains one or more scenes.

  • Each scene contains one or more backdrops

    Multiple backdrops support (in one scene) is mainly for backward compatibility, and not recommended in most cases

  • Each scene contains zero or more sprites

  • Each scene contains its own map-size setting

  • Each scene contains its own script / code

Problems

  • How to support "Each scene contains its own script / code"

  • Scene-related APIs

    • class Scene & coresponding classfile
    • Scene related events
  • What happens when scene switched

  • Common use cases with scene

    • Keep sprite state
    • Data passing among scenes
    • SpecialShapes like StageMonitor
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

No branches or pull requests

2 participants