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

enemy: allow non-harmful enemies #112

Open
4 tasks
jorgegv opened this issue Oct 28, 2022 · 0 comments
Open
4 tasks

enemy: allow non-harmful enemies #112

jorgegv opened this issue Oct 28, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@jorgegv
Copy link
Owner

jorgegv commented Oct 28, 2022

Allow some enemies that move around exactly as real enemies but do not kill or harm the hero (i.e. decorative moving sprites)

Tasks:

  • Add a flag to the enemy data struct: F_ENEMY_IS_HARMFUL
  • DATAGEN: add support for setting initial state for an enemy, default HARMFUL
  • collision: only do harm to the hero if F_ENEMY_IS_HARMFUL is set
  • FLOW: add functions to set/reset an enemy flag
@jorgegv jorgegv added the enhancement New feature or request label Oct 28, 2022
@jorgegv jorgegv added this to the Release 0.6.0 milestone Oct 28, 2022
@jorgegv jorgegv self-assigned this Oct 28, 2022
@jorgegv jorgegv changed the title enemy: allow non-lethal enemies enemy: allow non-harmful enemies Oct 28, 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