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

Adjust Creature sprite naming conventions #839

Conversation

SushmitaGoswami
Copy link
Contributor

@SushmitaGoswami SushmitaGoswami commented Sep 12, 2024

Context

Description - Adjust Creature sprite naming conventions
Fixes - Closes #777

Summary

Updated Creature Sprite state to MOVE from WALK to make it more generic.

Additional thoughts

For the issue #777, as per the present implementation, I didn't find any place where state and direction is calculated by splitting the sprite name at '-' characters. As per my understanding, sprite name is calculated from state or direction to prepare the name of the image. Therefore, in my opinion, the 2nd point most probably is not relevant as per the current implementation. Please correct me if I am wrong. Thanks so much!

@nightm4re94
Copy link
Member

I was giving this some more thought and while I still think there is room for improvement regarding the name-state-direction syntax, changing this doesn't really yield any huge benefit right now except replacing the convention that has done its job well with another convention. So I would consider #777 done with the scope of this PR. Thank you!

@nightm4re94 nightm4re94 merged commit 123496f into gurkenlabs:main Sep 13, 2024
1 check passed
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.

Adjust Creature sprite naming conventions
2 participants