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

Projectile Enemy Tweaks #241

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Projectile Enemy Tweaks #241

wants to merge 5 commits into from

Conversation

KaratePikachu
Copy link
Contributor

@KaratePikachu KaratePikachu commented Dec 31, 2024

This PR adds all of the the new animations (shoot up, walk left, walk right), and makes the enemy pause when shooting to match the GDD.

Note: This branch was extended off of the branch used to resolve avoidance issues

fixes #227

- Calculations now use global position
- Deleted some code I wrote earlier in the year since it did not match the GDD for projectile enemy
Approach was being called even if they enemy had no reason to move (ex, they were in their desired range away from the player)

approach is only called if the enemy is outside their desired range
Added the left and right walking sprites, and made the enemy stop moving to shoot to match the expectations of the GDD.
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.

Add upward facing projectile enemy sprite
1 participant