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

Implement support for border-box and font metadata #1

Closed
rozniak opened this issue Sep 11, 2020 · 1 comment
Closed

Implement support for border-box and font metadata #1

rozniak opened this issue Sep 11, 2020 · 1 comment
Assignees

Comments

@rozniak
Copy link
Owner

rozniak commented Sep 11, 2020

Rzxe only crudely supports drawing sprites straight from an atlas. Support should be added to give additional context about the kinds of things that can be drawn by the atlas, notably 'border-boxes' and 'fonts'.

In this sense, an atlas file should contain information for this kind of metadata - I call them 'resources':

  • Border-boxes should reference 9 sprites used to draw a box with a border (4 corners, 4 sides, 1 body), possibly metadata about stretching/tiling the sides/body
  • Fonts should contain references to sprites for each character, metadata regarding kerning and character/line spacing

This has been started in dev-packer-assets, I have mainly been working on a single dialog for this (to do sprite mappings) though will need to think of a neat way to include the type-specific metadata properties.

@rozniak
Copy link
Owner Author

rozniak commented Nov 17, 2020

I think these may be too distinct from each other to implement in one clean branch - I think this should be done as separate features.

@rozniak rozniak closed this as completed Nov 17, 2020
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

No branches or pull requests

1 participant