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

Decouple platform-related stuff from Graphics #11

Merged
merged 3 commits into from Sep 1, 2015
Merged

Decouple platform-related stuff from Graphics #11

merged 3 commits into from Sep 1, 2015

Conversation

tomfisher
Copy link
Contributor

We're working a project in which we need to replay the game and record it into video on every platform, in which case, it's really not necessary to load the whole platform and Graphics is good enough. In addition, the graphic related configuration is all platform specific graphics need.

This commit will cause code breaks for registering additional fonts on specific platforms. Those can be easily fixed by calling the plat.assets().getFont() or equivalent methods on specific platforms.

@tomfisher
Copy link
Contributor Author

Hi, Michael,

What do you think about this pull request?

@samskivert
Copy link
Contributor

I think it's the middle of PAX! :) I'll look at it tomorrow because I'm going to be on the floor all day today.

The general idea doesn't sound bad to me, I just need to see how much weirding was necessary to make it all work. I'd prefer not to make the normal use case too weird to accommodate this 0.1% use case. I'm sure that can be accomplished somehow.

@tomfisher
Copy link
Contributor Author

Glad to hear that :)

@samskivert samskivert merged commit 940bc1c into playn:master Sep 1, 2015
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

2 participants