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

hero: allow different animation sequences for hero diagonal movements #80

Open
5 tasks
jorgegv opened this issue Aug 6, 2022 · 0 comments
Open
5 tasks
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@jorgegv
Copy link
Owner

jorgegv commented Aug 6, 2022

Currently, diagonal movement of the hero is allowed, but horizontal animation sequences are used when moving diagonally. That is: RIGHT animation sequence when moving TR, R and LR; and LEFT animation sequence is used for TL, L and DL. UP and DOWN animation sequences are only used when moving strictly U and D, respectively.

Specific animation sequences should be allowed for TR, LR, TD, LD movement, and be used when moving in those directions. As a particular case, the current behaviour can be configured if we do not want to create so many animation sequences.

  • Modify hero sprite data to add the 4 new animation sequences
  • Modify hero movement to take into account the new 4 directions and anim sequences
  • Modify GDATA and DATAGEN to allow specifying the new 4 anim sequences
  • Modify DATAGEN.md document with new information
  • Add hero config directive DIAGONAL_MOVE to allow (or not) diagonal movement, and conditionally compile it only if needed
@jorgegv jorgegv self-assigned this Aug 6, 2022
@jorgegv jorgegv added the enhancement New feature or request label Aug 6, 2022
@jorgegv jorgegv added this to the Release 0.6.0 milestone Aug 6, 2022
@jorgegv jorgegv changed the title hero: allow different animation sequences for diagnal movements hero: allow different animation sequences for hero diagonal movements Aug 6, 2022
@jorgegv jorgegv modified the milestones: Release 0.6.0, Release 0.7.0 Apr 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant