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

Exploration: a self-contained default scene #324

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

mikerreed
Copy link
Contributor

@mikerreed mikerreed commented May 25, 2022

Can we offer an API that is optimized for the "just play the right thing" client?

  1. Get the file bytes
  2. Create the "default" scene
  3. go

This is possible because of two things:

  1. This particular Scene subclass "owns" its underlying file and artboardinstance
  2. Scenes can do everything a basic client needs: bounds, draw, advance, inputs, pointers

@mikerreed mikerreed changed the title Default scene API idea Exploration: a default scene object May 25, 2022
@mikerreed mikerreed requested a review from luigi-rosso May 25, 2022 15:02
@mikerreed mikerreed changed the title Exploration: a default scene object Exploration: a self-contained default scene May 25, 2022
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