https://github.com/theypsilon/flatscene-layer
High abstraction layer designed to create 2D Apps in C++.
https://github.com/theypsilon/flatscene-layer
Last synced: over 1 year ago
JSON representation
High abstraction layer designed to create 2D Apps in C++.
- Host: GitHub
- URL: https://github.com/theypsilon/flatscene-layer
- Owner: theypsilon
- Created: 2011-06-15T17:14:01.000Z (about 15 years ago)
- Default Branch: PFC-demoark-version
- Last Pushed: 2018-09-01T01:10:55.000Z (almost 8 years ago)
- Last Synced: 2025-02-01T11:30:20.006Z (over 1 year ago)
- Language: C++
- Homepage:
- Size: 15.1 MB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# FlatScene
**FlatScene** is a high abstraction layer designed to create *2D interactive applications* in a rapid and easy way. This library uses **OpenGL** to render 2D graphics supporting *hardware acceleration*, and **SDL** to manipulate I/O events.
Actually, the library is ready for use in **C++**. It benefits from the *portability* inherited from **SDL** and **OpenGL**, thus allowing to the user the managing of *multiplattform projects* without so much concerns.
# DemoArk
This is a **test application** created to show the features of **FlatScene**.
In this demo, input keys are :
* **ESC** : Simple option *menu*. You got here an option for leaving the demo.
* **F1** : Swap between *tests*.
* **F2** : *Restart* current test.
* **F3** : Swap *fullscreen mode* - *window mode*.
* **SPACE** : *Pause*.
* **Arrow keys** : *Walking*.
* Into first test, press **u** to stress *change map* test.
* Into double cam test, press **a** to kill the grey enemies.
# Compilation
First, install gcc, cmake, and the dev libraries for opengl, sdl1.2 and boost (maybe boost is not really needed).
Then type on console:
```bash
./run.sh
```