Skip to content

An open source game engine with simple object oriented implementation and powerful OpenGL rendering

License

Notifications You must be signed in to change notification settings

molor824/MeteoriteEngine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Meteorite

An open source game engine with simple object oriented implementation and powerful OpenGL rendering

Ongoing Plan

  • 2D/3D physics engine implementation
  • Easy to use resource management system

Libraries used

  • OpenTK
  • GlmSharp
  • SixLabors.ImageSharp

Example

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();
    }
}

About

An open source game engine with simple object oriented implementation and powerful OpenGL rendering

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published