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

Load sets of files semantically #5

Open
pforhan opened this issue Feb 15, 2021 · 1 comment
Open

Load sets of files semantically #5

pforhan opened this issue Feb 15, 2021 · 1 comment

Comments

@pforhan
Copy link
Owner

pforhan commented Feb 15, 2021

Requirements:

  • load a directory w/optional file filter
  • stretch: load a dir tree

example:
2dgameart bundle is typically: character/filetype/size/frameset/files_001.png
so Hedgehog/PNG Sequences/Hurt/Hurt_00*.png would hopefully translate to frames named Hedgehog-hurt-001 or something.

simplest impl would be to have a load(prefix, list) so maybe a file gatherer/visitor would be a different thing

... that said may need an abstraction layer since the files could be streaming out of an archive.

@pforhan
Copy link
Owner Author

pforhan commented Mar 10, 2021

fun fact, kotlin has a nice visitor for files in its file.walk() method

pforhan added a commit that referenced this issue Mar 15, 2021
Load from file system
fixes some of #5 -- can load all images in a directory tree with some rules for splitting them up
Fixes Switch command for animations
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