https://github.com/hopson97/enet-example
Minimal enet example thing
https://github.com/hopson97/enet-example
Last synced: 10 months ago
JSON representation
Minimal enet example thing
- Host: GitHub
- URL: https://github.com/hopson97/enet-example
- Owner: Hopson97
- Created: 2021-02-06T22:56:11.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-02-09T13:22:31.000Z (almost 5 years ago)
- Last Synced: 2025-01-17T13:48:30.181Z (12 months ago)
- Language: C++
- Homepage:
- Size: 817 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# enet experiments
Just playing around with enet.
Meant to be a reference project for other projects of mine to work from.
TODO:
* Lua stuff
* Render something
* more stuff
## Building and Running
### Libraries
SFML is required.
These can be installed from your project manager. For example, on Debian/ Ubuntu:
```sh
sudo apt install libsfml-dev
```
If this is not possible (eg windows), you can install these manually from their respective websites:
https://www.sfml-dev.org/download.php
### Linux
To build, at the root of the project:
```sh
sh scripts/build.sh
```
To run, at the root of the project:
```sh
sh scripts/run.sh
```
To build and run in release mode, simply add the `release` suffix:
```sh
sh scripts/build.sh release
sh scripts/run.sh release
```