Skip to content

Andy16823/gfxlib-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gfxlib-rs

GFX-Lib is a lightweight library designed to simplify the creation of 2D and 3D games using OpenGL. Unlike a full-fledged game engine, GFX-Lib focuses on providing a set of functions and modules that allow developers to easily create graphics applications or games while still maintaining the freedom to implement their own abstractions. This makes GFX-Lib an ideal foundation for building custom game engines. It is comparable to other frameworks like Raylib, MonoGame, or LibGDX.

Features

GFX-Lib offers the following modules:

  • Graphics: Functions for rendering 2D graphics, including textures, shapes, and shader management.
  • Math: Mathematical utilities for vectors and matrices, facilitating transformations and calculations for graphics and physics.
  • Core: Basic utilities for creating windows, handling user input (keyboard, mouse), and managing events.
  • Shader: A collection of predefined shaders and the ability to create custom shaders.
  • Physics: Not implemented yet.
  • Audio: Not implemented yet.

Note: 3D rendering is currently under development and will be available in future versions.

Example

See the Github wiki for many examples of how you can use GFX-Lib. https://github.com/Andy16823/gfxlib-rs/wiki/Examples

Dependencies

The project uses the following dependencies:

Installation

To use GFX-Lib in your project, add it as a dependency in your Cargo.toml:

[dependencies]
gfx = { git = "https://github.com/Andy16823/gfxlib-rs" }

Contributing

Feel free to open issues or submit pull requests. Contributions are always welcome! Also make sure to join the gfx discord channel https://discord.com/invite/qZRgRKedBs

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages