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

Team 1 Quality of Life changes to mobs #285

Merged
merged 14 commits into from
Oct 16, 2023

Conversation

MiniSoda17
Copy link
Contributor

@MiniSoda17 MiniSoda17 commented Oct 16, 2023

Updates

  • Mobs will now be disposed of once they reach the end of their path
  • Arcane Archer will now have a rolling animation when dodging projectiles
  • Mobs with dodging components will now randomly move up and down instead of always going up or always going down
  • Fixing more collider/hitbox issues.
  • Cleaned up forest game area

@@ -30,6 +32,7 @@ public class DodgingComponent extends Component {
private float dodgeSpeed = 1.75f;
private float originalSpeed; // Original entity vertical speed
private PhysicsEngine physics;
private Random random = new Random();
Copy link
Contributor

Choose a reason for hiding this comment

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

Random keeps popping up as an issue on SonarCloud, is there anything else that could be used instead?

Copy link
Contributor

Choose a reason for hiding this comment

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

@MiniSoda17 You can use RandUtils to generate random numbers

Copy link
Contributor

@The-AhmadAA The-AhmadAA left a comment

Choose a reason for hiding this comment

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

Looks good, thanks for doing some cleanup of FGA!

Copy link
Contributor

@BlairCannon97 BlairCannon97 left a comment

Choose a reason for hiding this comment

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

Changes look good to me!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request sprint 4 team 1
Projects
Development

Successfully merging this pull request may close these issues.

[Team 1] Mob components and task bug fixes [Team 1] Implement singular mob task that controls all mobs
7 participants