-
Notifications
You must be signed in to change notification settings - Fork 43
Sprite offset and texture mapping #154
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
Conversation
tutorial with sprite offset, sprite sheet and texture filtering
Hello! Thank you so much for contributing. |
|
||
namespace Tyra { | ||
|
||
const int Font::chars[FONT_CHAR_SIZE]{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's fine, no problem
XD I was just trying to make a commit, I just found out what the clang format is, I had some problems but don't worry I already fixed it. |
I'm quoting this right now XD, sorry, I'm new to contributing projects. |
Ok, at least you can learn here. |
yeah, i hope i can contribute more to tyra. |
Lgtm commit. |
Be welcome. |
Allows you to create an offset in the sprite and show only a part of the original image, useful for sprite sheets.
Allows you to select the texture mapping (Nearest or Linear) for renderer 2D.
Includes a tutorial.