Skip to content
Snippets Groups Projects

Update README.md

Merged Jonas Johan Solsvik requested to merge patch-1 into master
1 file
+ 29
9
Compare changes
  • Side-by-side
  • Inline
+ 29
9
@@ -2,23 +2,43 @@
A IMT3601 Games Programming project by Jonas and Viktor
## Getting started
## Getting started Visual Studio
**1. Download SFML submodule**
```
git submodule update --init
```
**2. Build**
```
mkdir build/
cmake -S . -B build/
```
To build all:
**3. Open the generated .sln file in Visual Studio**
```
make
# Open this file
build/double-trouble.sln
```
To build and run a specific game:
## Getting started Unix makefiles
**1. Download SFML submodule**
```
make 01 # To run 01-red-circle
make 02 # To run 02-jumping-boxes
git submodule update --init
```
_See `Makefile` for complete list of commands_
**2. Build**
```
mkdir build/
cmake -S . -B build/
make -C build/
```
## System requirements
**3. Run**
```
./build/01-jumping-boxes
```
### Ubuntu and Pop!\_OS 20.04
## System requirements - Ubuntu and Pop!\_OS 20.04
- See requirements in the [./Dockerfile](./Dockerfile)
Loading