Vixeliz / VinoxLibOld

A simple 2d framework for rendering graphics in a GLESv2 context.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Vinox

Very bad code no longer maintained

A simple 2d framework for rendering graphics in a GLESv2 context.

Heavily inspired by raylib

Note: If you use glfw on wayland you must call glfwWindowHint(GLFW_ALPHA_BITS, 0) before creating a window to prevent any transparency showing the window behind it.

What are the goals/Ideas?

  • Try to keep a small managable base that is flexible but not lacking in features.
  • Try to minimize external library dependencies if possible use single header file libraries
  • 2D Only(This is just my personal preference I have no need for 3d and if I do I can just directly call opengl)
  • Minimize reliance on dynamic memory allocation
  • Be able to use in any GLES2 context.

Thanks

Thank you to the following sources for either inspiration or an amazing header that is used in this project!

  • Raylib(inspired by and uses raymath)
  • stb_headers(image loading)
  • miniaudio(audio)
  • cute_c2(collision)

Why GLES2?

It is portable and specifically for my use case I wanted a library that worked with xorg libs on wayland.

Dependencies

  • GLES2(With vao extension support; however, always willing to have it be optional if I get around to it)
  • EGL
  • glfw(optional for examples)

Plans

  • Golang support
  • Audio
  • Collision
  • Having an optional single file header library for window/input related things with glfw
  • More types of shapes

Notes

The examples are coded very poorly. I plan on going back through and cleaning them up but currently I just want to get features in.

Raymath is slightly modified currently just a Vector2Transform

About

A simple 2d framework for rendering graphics in a GLESv2 context.

License:Other


Languages

Language:C 96.5%Language:Makefile 3.5%