An open source game engine with simple object oriented implementation and powerful OpenGL rendering
- 2D/3D physics engine implementation
- Easy to use resource management system
- OpenTK
- GlmSharp
- SixLabors.ImageSharp
Here is how to create basic triangle with colored vertices
using Meteorite;
using GlmSharp;
static class Program
{
static void Main()
{
Game.New("Hello Triangle!");
var mesh = new Mesh(new vec3[]
{
new(-0.5f, -0.5f, 0),
new(0, 0.5f, 0),
new(0.5f, -0.5f, 0)
}, new ushort[] { 2, 1, 0 }, new Color[] { Color.Red, Color.Green, Color.Blue });
Game.MainCamera.Size = 2;
Game.AddNode(new MeshRenderer(mesh));
Game.Run();
}
}