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

Isometric Collision and Hitbox Shapes (Team 3) #103

Open
9 tasks done
E-Roderick opened this issue Oct 4, 2021 · 5 comments
Open
9 tasks done

Isometric Collision and Hitbox Shapes (Team 3) #103

E-Roderick opened this issue Oct 4, 2021 · 5 comments
Assignees
Labels
Isometric View View of the Game Sprint 3 Sprint 4 Exhausted from all these sprints, man... Task Team 3 The besterest team

Comments

@E-Roderick
Copy link
Contributor

E-Roderick commented Oct 4, 2021

Description

Task: Isometric Collision and Boundary Boxes

Sprint 3

Fixing of the orthogonal grid collision and boundary boxes. This is post-completion documentation of the task.

At sprint start, collision and boundary boxes were based on the orthogonal grid, rather than isometric. The first step to temporarily resolve was rotation of these square boxes, however this implementation had misaligned overlap (as the pieces were placed on an isometric grid).

The next iteration involved using tangent and the isometric angles to calculate vector points for an isometric grid. This was misaligned by just a few pixels around corners.

Finally, as the game engine emulates an isometric view using a 1:2 ratio, this was used to calculate near perfect isometric vector positions.

Sprint 4

After the finish of Sprint 3, the usage of the borders was extended to situations that were not originally planned for, particularly regarding entities with hitboxes that should be non-square. To account for this, the collider shape system will need another rework to allow for rectangular isometric shapes. This will be done by specifying the shape through the lengths of each side. Additionally, to allow for more precise hitbox placement in unorthodox entities, some form of offset method will also be added.

As work thus far has only focused on collider components, equivalents will likely be needed for the hitbox components too.

Dependencies

None.

Milestones

  • Get isometric vector points
  • Implement isometric boxes
  • Proper implementation of isometric collision and hitbox bounds (centred)
  • Allow for generic isometric shapes
  • Add better usage for the isometric shape collider methods
  • Add equivalent methods for hitboxes
  • Code documentation
  • Wiki documentation
  • Functional testing

Documentation

Members

@E-Roderick E-Roderick added Team 3 The besterest team Isometric View View of the Game Task Sprint 3 labels Oct 4, 2021
@E-Roderick E-Roderick self-assigned this Oct 4, 2021
@E-Roderick E-Roderick added this to To do in Sprint 3 via automation Oct 4, 2021
@E-Roderick E-Roderick moved this from To do to Review in Sprint 3 Oct 4, 2021
@E-Roderick
Copy link
Contributor Author

@s4594749 I think this was commented on the wrong ticket

@s4594749
Copy link
Contributor

s4594749 commented Oct 6, 2021

ohhhh shit

@s4594749
Copy link
Contributor

s4594749 commented Oct 6, 2021

@s4594749 I think this was commented on the wrong ticket

sorry dude

@wenqi6
Copy link
Contributor

wenqi6 commented Oct 7, 2021

I created the UML diagrams about animations for our group. If you have any questions, you can ask me.

@E-Roderick E-Roderick added the Sprint 4 Exhausted from all these sprints, man... label Oct 16, 2021
@E-Roderick
Copy link
Contributor Author

E-Roderick commented Oct 16, 2021

Likely best practice update: This task has been carried over into Sprint 4

@E-Roderick E-Roderick added this to To do in Sprint 4 via automation Oct 18, 2021
@E-Roderick E-Roderick moved this from To do to In progress in Sprint 4 Oct 18, 2021
@E-Roderick E-Roderick moved this from In progress to In Review in Sprint 4 Oct 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Isometric View View of the Game Sprint 3 Sprint 4 Exhausted from all these sprints, man... Task Team 3 The besterest team
Projects
Sprint 3
Review
Sprint 4
In Review
Development

No branches or pull requests

3 participants