Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/itsyakub/golf-demo
Small golf demo created in c++ using raylib-cpp
https://github.com/itsyakub/golf-demo
cmake cpp demo demo-app demo-game game game-dev game-development gamedev makefile raylib raylib-cpp
Last synced: about 1 month ago
JSON representation
Small golf demo created in c++ using raylib-cpp
- Host: GitHub
- URL: https://github.com/itsyakub/golf-demo
- Owner: itsYakub
- License: mit
- Created: 2024-02-27T10:33:45.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-02-28T07:43:42.000Z (12 months ago)
- Last Synced: 2024-11-14T12:53:17.374Z (3 months ago)
- Topics: cmake, cpp, demo, demo-app, demo-game, game, game-dev, game-development, gamedev, makefile, raylib, raylib-cpp
- Language: C++
- Homepage:
- Size: 1.15 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Golf Demo ⛳
![]()
![]()
![]()
What's going on ❓
This project is a small golf demo created using raylib-cpp. It supports the basic collision detection and other pretty basic behaviours expected from the 2D golf game.
Prerequesites 📄
- raylib-cpp: https://github.com/RobLoach/raylib-cpp.
- CMake: https://cmake.org/.
- GNU Makefile: https://www.gnu.org/software/make/#download (it should come automatically if you're using GCC, so the donwload shouldn't be necessary in this case).
Instalation 🖥️
- Clone this repository:
```bash
https://github.com/itsYakub/golf-demo.git --depth=1
```
- Go to the main project's directory:
```bash
cd golf-demo
```
- Create new build directory:
```bash
mkdir build
```
- Go to the build direcotry:
```bash
cd build
```
- Run the CMake command:
```bash
cmake .. -G Unix Makefiles
```
- Compile the project using GNU Make:
```bash
make
```
- Run the generated executable:
```bash
./golf
```
LICENCE ❗
This project is under the MIT Licence