-
Notifications
You must be signed in to change notification settings - Fork 173
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
Adding gif and sprite animation examples. #396
Adding gif and sprite animation examples. #396
Conversation
-Added new UpdateTextureUnsafe method to support it.
There is no need for a new custom function, just use |
Btw. there is already https://github.com/gen2brain/raylib-go/tree/master/examples/textures/rectangle example, looks the same, maybe just it was renamed? |
…or.RGBA instead of the unsafe.Pointer
oh! then i'll remove mine and rename existing one as per original example name in raylib |
(using git mv to preserve git history)
done |
Is texScarfyAnimSize only width*height, looks like it is missing * 4? |
Yeah, it actually should be like that, divided by 4, or not multiplied. |
Merged, thanks! |
This was my first open source contribution! |
-Added new UpdateTextureUnsafe method to support it.