ソースを参照

[example] Update textures_sprite_explosion

pull/1269/head
raysan5 5年前
コミット
6b9e49e965
2個のファイルの変更2行の追加2行の削除
  1. +2
    -2
      examples/textures/textures_sprite_explosion.c
  2. バイナリ
      examples/textures/textures_sprite_explosion.png

+ 2
- 2
examples/textures/textures_sprite_explosion.c ファイルの表示

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

バイナリ
examples/textures/textures_sprite_explosion.png ファイルの表示

変更前 変更後
幅: 800  |  高さ: 450  |  サイズ: 47 KiB 幅: 800  |  高さ: 450  |  サイズ: 62 KiB

読み込み中…
キャンセル
保存