プロジェクト
概要
VS Code向けRaylib C++スターターテンプレート V2
その他のプロジェクト計測したスター増加
- 24時間
- +1
- 7日間
- +10
- 15日間
- +16
- 1か月
- +29
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナルRaylib-CPP Starter Template for VS Code
A minimal C++ project scaffold for Visual Studio Code on Windows — includes a bouncing ball demo and zero boilerplate friction.
Get started in 3 steps
1. Double-click main.code-workspace to open the project in VS Code.
2. In the Explorer panel, navigate to the src/ folder and open main.cpp.
3. Press F5 to compile and run.
What's inside
| Feature | Details | |
|---|---|---|
| 📁 | Clean folder structure | All source code lives in src/ for clear organisation |
| 🎱 | Bouncing ball demo | Ready-to-run example using raylib's core 2D drawing API |
| ⚙️ | VS Code tasks | Pre-configured build tasks — no manual setup required |
| ✅ | Tested on Win 10/11 | Works with raylib 6.0 on both platforms out of the box |
Quick look
#include <raylib.h>
#include "ball.h"
int main()
{
const Color darkGreen = {20, 160, 133, 255};
constexpr int screenWidth = 800;
constexpr int screenHeight = 600;
Ball ball;
InitWindow(screenWidth, screenHeight, "My first RAYLIB program!");
SetTargetFPS(60);
while (!WindowShouldClose())
{
ball.Update();
BeginDrawing();
ClearBackground(darkGreen);
ball.Draw();
EndDrawing();
}
CloseWindow();
}
What's changed
The template now uses folders for better organisation. All source code lives in the src/ folder.
Resources
関連プロジェクトを探す
読み込み中…