mirror of
https://github.com/raysan5/raylib.git
synced 2025-12-25 10:22:33 -05:00
[example] Update textures_sprite_explosion
This commit is contained in:
@ -32,8 +32,8 @@ int main(void)
|
||||
Texture2D explosion = LoadTexture("resources/explosion.png");
|
||||
|
||||
// Init variables for animation
|
||||
int frameWidth = explosion.width/NUM_FRAMES_PER_LINE; // Sprite one frame rectangle width
|
||||
int frameHeight = explosion.height/NUM_LINES; // Sprite one frame rectangle height
|
||||
int frameWidth = explosion.width/NUM_FRAMES_PER_LINE; // Sprite one frame rectangle width
|
||||
int frameHeight = explosion.height/NUM_LINES; // Sprite one frame rectangle height
|
||||
int currentFrame = 0;
|
||||
int currentLine = 0;
|
||||
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 47 KiB After Width: | Height: | Size: 62 KiB |
Reference in New Issue
Block a user