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

Mohamad tower #120

Merged
merged 20 commits into from
Sep 8, 2023
Merged

Mohamad tower #120

merged 20 commits into from
Sep 8, 2023

Conversation

Mohamad11Dab
Copy link
Contributor

Developed the Droid Tower entity, designed to identify nearby mobs and shoot at them using all required components. Also built DroidCombatTask to initiate animations based on specific in-game events. The droid can adjust its aim from high to low stances. Currently, it doesn't actually fire projectiles; that feature will be added later. Testing is scheduled to be completed by tomorrow.

…procedure for a certain duration in order to apply knock-back on moving entities
…ug at the moment where when one entity gets disposed, all other TNT_Towers lose their animation component
@@ -179,7 +179,7 @@ protected void draw(SpriteBatch batch) {

@Override
public void dispose() {
atlas.dispose();
// atlas.dispose(); // this has to be disabled to keep the atlas file for other entities that rely on it
Copy link
Contributor

Choose a reason for hiding this comment

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

Should probably just remove this line - since you've fixed this bug, there should be no reason to keep it

@The-AhmadAA The-AhmadAA merged commit 105f823 into Team-2--Towers Sep 8, 2023
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.

2 participants