https://github.com/dfranx/portal2d
Prototype
https://github.com/dfranx/portal2d
Last synced: 9 months ago
JSON representation
Prototype
- Host: GitHub
- URL: https://github.com/dfranx/portal2d
- Owner: dfranx
- License: mit
- Created: 2017-08-21T19:03:26.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2019-06-28T00:23:36.000Z (almost 7 years ago)
- Last Synced: 2025-01-21T08:44:49.098Z (over 1 year ago)
- Language: C++
- Homepage:
- Size: 26.4 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Portal2D
Portal2D is a simple game prototype. The main mechanic of the game is to bounce off of the obstacles.
Your goal is to get to the green platform.
Various things could be added to this game in future. For example: moving platforms, spikes, more complex shapes, etc...
The graphics are simple and it is just a placeholder. Also, quad tree could be implemented so that the line-line collision
isn't checked with every obstacle.

## Building
This project uses [SFML](https://www.sfml-dev.org) *v2.5*.
### Installing
First, you need the source code:
```
git clone https://github.com/GeneralNote/Portal2D.git Portal2D
cd Portal2D
```
To build it on **Linux** run these commands:
```
cmake .
make
./Portal2D
```
To build it on **Windows** open the *.vcxproj* file then link SFML and build the project.
## License
This project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details