https://github.com/celsojr/opengl-cpp-breakout-game
Just the game part of the tutorial found at the website https://learnopengl.com
https://github.com/celsojr/opengl-cpp-breakout-game
cpp game-development low-level opengl
Last synced: 8 days ago
JSON representation
Just the game part of the tutorial found at the website https://learnopengl.com
- Host: GitHub
- URL: https://github.com/celsojr/opengl-cpp-breakout-game
- Owner: celsojr
- Created: 2024-11-06T11:33:47.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-11-07T14:50:51.000Z (7 months ago)
- Last Synced: 2025-05-08T03:53:55.654Z (14 days ago)
- Topics: cpp, game-development, low-level, opengl
- Language: C
- Homepage:
- Size: 7.06 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# OpenGL Breakout
![]()
## Installation Requirements
- **Windows**: Install [Scoop](https://scoop.sh/) for managing dependencies
- **Linux**: Not supported at the moment
- **macOS**: Not supported at the moment## Installing dependencies
```powershell
scoop install gcc cmake make
```## Build Instructions
1. Create and enter the `build` directory:
```bash
mkdir build && cd build
```2. Generate the build files:
```bash
cmake ..
```3. Build the project:
```bash
cmake --build . --config Release
```4. Run the executable:
```powershell
start .\Release\OpenGLProject.exe
```5. (Optional) Open the Visual Studio solution if desired:
```powershell
start .\OpenGLProject.sln
```## Gameplay Instructions
- **Level Selection**:
- Use `Up` or `Down` arrows to navigate levels
- Press `Enter` to confirm your selection- **Start the Game**:
- Press `SPACE` to release the ball- **In-Game Controls**:
- Use `Left` or `Right` arrows to move the paddle
- Hold the left `CTRL` key for a speed boost## Acknowledgments
This project was built by following the **[LearnOpenGL](https://learnopengl.com)** tutorial by Joey de Vries. It provided invaluable guidance on setting up an OpenGL environment and implementing core game mechanics, shaders, and rendering techniques.
For those interested in learning OpenGL from scratch, this tutorial offers a comprehensive introduction and is highly recommended.