Añadir código fuente del proyecto vibe1_delta
- Renombrar proyecto de demo5_sprites_bouncing a vibe1_delta - Actualizar CMakeLists.txt, Makefile y defines.h con nuevo nombre - Añadir código fuente C++ para simulación de sprites con física - Incluir recursos (texturas) y configuración de compilación - Crear .gitignore apropiado para proyectos C++ 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
17
source/defines.h
Normal file
17
source/defines.h
Normal file
@@ -0,0 +1,17 @@
|
||||
#pragma once
|
||||
|
||||
constexpr char WINDOW_CAPTION[] = "vibe1_delta";
|
||||
|
||||
constexpr int SCREEN_WIDTH = 320;
|
||||
constexpr int SCREEN_HEIGHT = 240;
|
||||
constexpr int WINDOW_SIZE = 3;
|
||||
constexpr int BALL_SIZE = 8;
|
||||
constexpr float GRAVITY_FORCE = 0.2f;
|
||||
|
||||
constexpr Uint64 DEMO_SPEED = 1000 / 60;
|
||||
constexpr Uint64 TEXT_DURATION = 2000;
|
||||
|
||||
struct Color
|
||||
{
|
||||
int r, g, b;
|
||||
};
|
||||
Reference in New Issue
Block a user