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

surpport object-based edit mode, big refactoring is needed. #26

Open
naiteluo opened this issue Feb 22, 2022 · 0 comments
Open

surpport object-based edit mode, big refactoring is needed. #26

naiteluo opened this issue Feb 22, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@naiteluo
Copy link
Owner

Expected new features and design:

  • Object create by user interactions should be EDITABLE.
    • maintain low cost virtual object tree/pool to surpport post-operation on object.
      • can be easly identified
      • better life-circle
      • stateful
      • have hit box
    • Draw object can't be simple render to rendertexture after user finishing operations. New way of optimizations are needed.
    • For now, GraphicHandler is strictly limited and inconvienct to use. Try to extend PIXI Container to create a internal special container to replace GrahpicHanlder.
  • Select mode surpport.
    • selected object's ui is provided as a NEW PLUGIN: EditPlugin.
      • it handle all user interactions after plugin being activated.
      • it might be able to filter/search object by doing hit test.
      • it provide visual handles and boxs around selected object, intercepts user interaction and react to edit operations.
@naiteluo naiteluo self-assigned this Feb 22, 2022
@naiteluo naiteluo added the enhancement New feature or request label Feb 22, 2022
@naiteluo naiteluo changed the title surpport object-based edit mode, big refactoring need. surpport object-based edit mode, big refactoring is needed. Feb 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant