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

add flag to json image import #21999

Draft
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

spacek531
Copy link
Contributor

There are several flags that could be exposed to json for convenience of custom object creators. This is one of them.

@Gymnasiast
Copy link
Member

There are several flags that could be exposed to json for convenience of custom object creators. This is one of them.

What are they? I’d prefer doing this right - once we expose something to JSON, we can’t really remove it, so I’d like to get this right first time.

@spacek531
Copy link
Contributor Author

spacek531 commented May 10, 2024

There are several flags that could be exposed to json for convenience of custom object creators. This is one of them.

What are they? I’d prefer doing this right - once we expose something to JSON, we can’t really remove it, so I’d like to get this right first time.

It turns out I misspoke. I saw there were other flags in the G1_FLAG enum but the only ones that are useful and aren't exposed to JSON are this and zoom sprite, which is broken.

@spacek531
Copy link
Contributor Author

I don't know why tests are failing

@spacek531 spacek531 marked this pull request as draft May 17, 2024 07:11
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.

None yet

3 participants