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

Add an asset editor #21393

Draft
wants to merge 6 commits into
base: bleed
Choose a base branch
from
Draft

Add an asset editor #21393

wants to merge 6 commits into from

Conversation

PunkPun
Copy link
Member

@PunkPun PunkPun commented Apr 8, 2024

Currently it's very difficult to get precise offsets artwork, or turrets / barrels. The current workflow is changing the yamls, and then reloading the entire game. When you need to do it only a few times it's fine, but often you have to do it tens or hundreds of times.

This solution lets you see how the changes affect the assets and also has an export option for easy copy paste.

The way it's implemented: It does memberwise copies of trait infos and sprites on opening the asset editor, this way it doesn't affect anything ingame. I use quite a bit of reflection, I wonder how much of it should be done in a non-magic manner. This is also an early implementation, its functionality will grow a lot over time

When editing sequence offsets it doesn't handle combined sequences properly

@PunkPun PunkPun force-pushed the offset-editor branch 3 times, most recently from a8f0a3f to 2edb58a Compare April 10, 2024 17:38
@PunkPun PunkPun force-pushed the offset-editor branch 3 times, most recently from 02e3610 to 70798c8 Compare May 5, 2024 18:01
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

1 participant