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 Sprite and SpriteAnimator component #5

Merged
merged 7 commits into from
Nov 15, 2023
Merged

Conversation

Alvarwow69
Copy link
Member

Add two new Component: Sprite and SpriteAnimation

Sprite

Sprite is a little component that allow you to display a texture, many function are provided to manipulate your Sprite

SpriteAnimator

A SpriteAnimator is a component designed to work only with a Sprite. You can animate your spritesheet with two type:

  • LINE: one animation per line on your texture
  • FULL: one animation for the whole Sprite

Add Shader, Color, Rect, Vertex, VertexArray
Add Chronos utils
Fix glad import
Fix getComponent
Improve SpriteAnimator
@Alvarwow69 Alvarwow69 added documentation Improvements or additions to documentation enhancement New feature or request labels Nov 15, 2023
@Alvarwow69 Alvarwow69 self-assigned this Nov 15, 2023
@Alvarwow69 Alvarwow69 merged commit 104c743 into develop Nov 15, 2023
1 check passed
@Alvarwow69 Alvarwow69 deleted the feature/sprite branch November 15, 2023 21:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant