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

Naming scheme #16

Open
heinezen opened this issue Oct 27, 2017 · 0 comments
Open

Naming scheme #16

heinezen opened this issue Oct 27, 2017 · 0 comments

Comments

@heinezen
Copy link
Member

We should encourage contributors to use a naming scheme for their files. That way, we can ensure that scripts which make use of the assets work the way they're supposed to and allows us to generate sprites in batches. The naming scheme could also be used for objects in blender.

For example, we could require a human readable scheme for elite skirmisher assets in this way:

  • Filename: elite_skirmisher.blend
  • Cameras: Camera000, Camera045, Camera090, ... , Camera315 (with Camera000 showing the front of the unit and then going around clockwise)

Doing this ensures that scripts will always find the right camera and sprites can be saved in a similar predictable format such as <blender-filename>_<camera-angle>.png (e.g. elite_skirmisher_090.png) which can be easily parsed by other scripts.

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

2 participants