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

Texture config #47

Open
alex-irt opened this issue Sep 5, 2015 · 1 comment
Open

Texture config #47

alex-irt opened this issue Sep 5, 2015 · 1 comment

Comments

@alex-irt
Copy link
Collaborator

alex-irt commented Sep 5, 2015

Textures need details about the texture type, connected texture types and random spawn chance. Using the file name is quickly becoming unwieldy so a texture config is needed where all these things can be specified. In addition the texture index should split fetching textures, fetching these files and then building an atlas out of the textures+configs. This will allow extending of the texture config system. This system should have default settings to use if a texture doesn't have any specified.

@alex-irt
Copy link
Collaborator Author

alex-irt commented Sep 9, 2015

Updated alpha1 with some example texture configs, it should now support multiple textures in one file, connected textures in the same folder as the other textures with the connected texture type defined in the config and weighted random textures. The alpha1 branch is still unstable though but it's getting there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant