Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/blackoutburst/bogel2d
I really simple abstraction of LWJGL 3, used to create small 2D game and other fast 2D prototype, UNDER HEAVY DEVELOPMENT
https://github.com/blackoutburst/bogel2d
game-library graphics-library java library lwjgl opengl opengl-library
Last synced: 3 months ago
JSON representation
I really simple abstraction of LWJGL 3, used to create small 2D game and other fast 2D prototype, UNDER HEAVY DEVELOPMENT
- Host: GitHub
- URL: https://github.com/blackoutburst/bogel2d
- Owner: Blackoutburst
- License: wtfpl
- Created: 2019-01-22T19:00:38.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2022-02-16T10:58:03.000Z (almost 3 years ago)
- Last Synced: 2023-03-05T08:50:19.235Z (almost 2 years ago)
- Topics: game-library, graphics-library, java, library, lwjgl, opengl, opengl-library
- Language: Java
- Homepage:
- Size: 40.1 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![License](https://img.shields.io/github/license/Blackoutburst/Bogel2D.svg)](LICENSE)
[![Release](https://img.shields.io/github/release/Blackoutburst/Bogel2D.svg)](https://github.com/Blackoutburst/Bogel2D/releases)
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/37239b44052b4e448a2e75de9b3684f4)](https://www.codacy.com/gh/Blackoutburst/Bogel2D/dashboard?utm_source=github.com&utm_medium=referral&utm_content=Blackoutburst/Bogel2D&utm_campaign=Badge_Grade)
![Size](https://github-size-badge.herokuapp.com/Blackoutburst/Bogel2D.svg)# Bogel2D
I really simple abstraction of LWJGL 3, used to create small 2D game and other fast 2D prototype## Get started
Link [Bogel2D](https://github.com/Blackoutburst/Bogel2D/releases) to your project and Bogel2D dependencies which can be found [here](libs/) and don't forget to link your system [natives](natives/)Minimal code
```java
import com.blackoutburst.bogel.core.Display;
import com.blackoutburst.bogel.graphics.Color;
import com.blackoutburst.bogel.graphics.Shape;
import com.blackoutburst.bogel.graphics.Shape.ShapeType;
import com.blackoutburst.bogel.maths.Vector2f;public class HelloWorld {
public static void main(String[] args) {
Display display = new Display().setSize(600, 600).create();Shape shape = new Shape(Shape.ShapeType.QUAD, new Vector2f(300), new Vector2f(400), 0, false)
.setColor(Color.BOGEL);
while (display.isOpen()) {
display.clear();
shape.draw();
display.update();
}
shape.clean();
display.destroy();
}
}
```
This code should provide the following output\
![image](https://user-images.githubusercontent.com/30992311/144860034-9cdd057c-7aaf-44ef-9328-68923d384167.png)