瀏覽代碼

Fix examples/shapes/shapes_collision_area.c help instructions (#3279)

pull/3283/head
Asdqwe 2 年之前
committed by GitHub
父節點
當前提交
927a030bbf
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: 4AEE18F83AFDEB23
共有 2 個檔案被更改,包括 4 行新增1 行删除
  1. +4
    -1
      examples/shapes/shapes_collision_area.c
  2. 二進制
      examples/shapes/shapes_collision_area.png

+ 4
- 1
examples/shapes/shapes_collision_area.c 查看文件

@ -99,6 +99,9 @@ int main(void)
DrawText(TextFormat("Collision Area: %i", (int)boxCollision.width*(int)boxCollision.height), GetScreenWidth()/2 - 100, screenUpperLimit + 10, 20, BLACK);
}
// Draw help instructions
DrawText("Press SPACE to PAUSE/RESUME", 20, screenHeight - 35, 20, LIGHTGRAY);
DrawFPS(10, 10);
EndDrawing();
@ -111,4 +114,4 @@ int main(void)
//----------------------------------------------------------
return 0;
}
}

二進制
examples/shapes/shapes_collision_area.png 查看文件

Before After
Width: 800  |  Height: 450  |  Size: 15 KiB Width: 800  |  Height: 450  |  Size: 15 KiB

Loading…
取消
儲存