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: about 1 year 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 (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-02-16T10:58:03.000Z (over 4 years ago)
- Last Synced: 2023-03-05T08:50:19.235Z (over 3 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://github.com/Blackoutburst/Bogel2D/releases)
[](https://www.codacy.com/gh/Blackoutburst/Bogel2D/dashboard?utm_source=github.com&utm_medium=referral&utm_content=Blackoutburst/Bogel2D&utm_campaign=Badge_Grade)

# 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\
