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

Improve engine extensions #475

Open
wants to merge 71 commits into
base: master
Choose a base branch
from
Open

Improve engine extensions #475

wants to merge 71 commits into from

Conversation

Reco1I
Copy link
Contributor

@Reco1I Reco1I commented Dec 24, 2024

Relevant changes

  • Implemented relativeSizeAxes to ExtendedEntity which allows to set relative values w.r.t its parent for width and height in a range of [0, 1].
  • Implemented relativePositionAxes to ExtendedEntity which accomplish the same behavior than relativeSizeAxes but for position coordinates.
  • ExtendedEntity now handles properly input and collision when origin is not at 0,0.
  • Added ability to clip children entities on a ExtendedEntity.
  • Introduced Triangle shape.
  • Introduced ExtendedText and TextSprite (both are different, TextSprite has more advanced capabilities compared to ExtendedText but it is less efficient)
  • Vertex buffers now updates in the draw thread rather than the update thread, this lead to concurrency issue in some edge cases so it is safer to change the vertex buffers in draw thread.
  • ExtendedEntity's Origin and anchor properties now uses Vector2 class (Rian's package).
  • rotationCenter and scaleCenter are now back customizable.

Reco1I and others added 30 commits December 25, 2024 23:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants