Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tuupola/hagl_sdl2
SDL2 abstraction layer for the HAGL graphics library
https://github.com/tuupola/hagl_sdl2
hagl
Last synced: about 2 months ago
JSON representation
SDL2 abstraction layer for the HAGL graphics library
- Host: GitHub
- URL: https://github.com/tuupola/hagl_sdl2
- Owner: tuupola
- License: mit
- Created: 2019-04-14T08:56:22.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-09-08T12:42:01.000Z (4 months ago)
- Last Synced: 2024-10-11T22:43:55.038Z (2 months ago)
- Topics: hagl
- Language: C
- Homepage:
- Size: 34.2 KB
- Stars: 9
- Watchers: 5
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SDL2 Abstraction Layer for HAGL
This is an [SDL2](https://www.libsdl.org/) abstraction layer for the [Hardware Agnostic Graphics Library (HAGL)](https://github.com/tuupola/hagl
). This repository serves as an example on how to create a simple HAL.[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE)
# Demo
Simple demonstration displaying different graphics primitives.
```
$ git clone https://github.com/tuupola/hagl.git
$ git clone https://github.com/tuupola/hagl_sdl2.git
$ cd hagl_sdl2
$ make clean && make && ./demo
```Slightly more interesting demo displaying old school [demo effects](https://github.com/tuupola/sdl2_effects).
```
$ git clone --recursive https://github.com/tuupola/sdl2_effects.git
$ cd sdl2_effects
$ make clean && make && ./demo
```## License
The MIT License (MIT). Please see [License File](LICENSE) for more information.