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 more enemies #160

Merged
merged 2 commits into from
Jul 27, 2022
Merged

Add more enemies #160

merged 2 commits into from
Jul 27, 2022

Conversation

edgarssilva
Copy link
Collaborator

The image property, of the fighter yaml files, now receives an array of image paths that will be loaded and stored.
When adding the correct components for the enemy a random texture atlas is picked.

Copy link
Member

@zicklag zicklag left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome! I just had a couple of tiny suggestions.

assets/fighters/brute/brute.fighter.yaml Outdated Show resolved Hide resolved
src/loading.rs Show resolved Hide resolved
src/loading.rs Show resolved Hide resolved
@zicklag zicklag linked an issue Jul 27, 2022 that may be closed by this pull request
3 tasks
Change Bandit to Brute

Co-authored-by: Zicklag <zicklag@katharostech.com>
@edgarssilva edgarssilva requested a review from zicklag July 27, 2022 14:19
@zicklag
Copy link
Member

zicklag commented Jul 27, 2022

Sweet let's merge it!

bors merge

@bors
Copy link
Contributor

bors bot commented Jul 27, 2022

Build succeeded:

@bors bors bot merged commit 06864ad into fishfolk:master Jul 27, 2022
Comment on lines 35 to +37
repeat: false
attacking:
frames: [16, 23]
frames: [14, 16]
Copy link
Collaborator

@odecay odecay Jul 27, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The frame change in the actual spritesheet asset has broken hitbox despawn for bandit attacks. It will be a simple fix but I won't have time to do it till later today/tonight. Unfortunately 3 frames of animation is really not much to work with, and since I haven't implemented loading attack frame definitions from assets yet all the attacks use the same frame data right now.

edit: it looks like there is at least another frame we can use in the actual spritesheet so it can go up to 4 which gives a bit more space.

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 basic mob sprites
3 participants