Procházet zdrojové kódy

[example] Update textures_sprite_explosion

pull/1269/head
raysan5 před 5 roky
rodič
revize
6b9e49e965
2 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. +2
    -2
      examples/textures/textures_sprite_explosion.c
  2. binární
      examples/textures/textures_sprite_explosion.png

+ 2
- 2
examples/textures/textures_sprite_explosion.c Zobrazit soubor

@ -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;

binární
examples/textures/textures_sprite_explosion.png Zobrazit soubor

Před Za
Šířka: 800  |  Výška: 450  |  Velikost: 47 KiB Šířka: 800  |  Výška: 450  |  Velikost: 62 KiB

Načítá se…
Zrušit
Uložit