Game Engine that is being developed by a computer science student using C and OpenGL

Related tags

Game Project-Logle
Overview

Project LOGLE

Contents

🔥 About

Game Engine that is being developed by a computer science student using C and OpenGL. The Goal of the engine is the write it as clean as possible to make manipulating, reworking and adding new components super easy. the name LOGL comes from when I was learning OpenGL as L: Learn, O: Open, GL: GL, I just stuck with it cause I thought it sounded funny, no other reason.

📚 Documentation

will come eventually, probably will work on this when the editor has usable GUI functionality

🔨 Project Status

The Engine is currently in a really early stage. Nothing really has been done yet, just the basic window stuff...

Whats Being Developed Now

For the editor, I am working on a easy to use GUI system for creating the interface of the program. For the engine, currently working on the basics of the graphics pipeline such as the shaders, textures, meshes and lighting. Will be working on a ecs library that I can use for the engine and the editor as well

🐜 Known Issues

really relevant right now...

📦 Build and Setup

API's Used

you will have to install all of these before compiling for yourself, unless you use the release version, which in that case, everything should be pre-compiled and include all the dependencies below

  • GLFW
    • was used for the window creation
  • GLEW
    • used to access OpenGL functions through macros/pointer functions
  • stb
    • used for image processing, example: getting the image for the texture
  • FreeType
    • used for converting .ttf files glyphs into a bitmap that while also providing matrixes that can be used to text formatting (spacing)
    • github page
  • cglm

How to setup

  • user32.lib
  • kernel32.lib
  • opengl32.lib
  • glfw3 .lib or .dll
  • glew3 .lib or .dll
  • gdi32.lib
  • freetype .lib or .dll

note: the following probably wont work for you, will have to adust for your development environnement

example: compiling logl editor using clang in debug mode dynamically:

clang -g -GLFW_DLL -_DEBUG -UNICODE -_UNICODE 
./main.c ./logle_editor/src/*.c ./logle_engine/src/*.c 
-I./ ./dependencies/include -L./dependencies/lib 
-luser32 -lkernel32 -lopengl32 -lglew32 -lglfw3 -lgdi32 -lfreetype 
-o ./build/windows/LogleEngine.exe

example: compiling logl editor using clang in release mode dynamically

clang -O2 -s -DNDEBUG -GLFW_DLL -UNICODE 
./main.c ./logle_editor/src/*.c ./logle_engine/src/*.c 
-I./ ./dependencies/include/ -L./dependencies/lib/ 
-luser32 -lkernel32 -lopengl32 -lglew32 -lglfw3 -lgdi32 -lfreetype 
-o ./build/windows/LogleEngine.exe

example: compiling the logl engine into a dll file using clang

  • create the object files that will be needed for the .dll
  • compile using the .o files into the dll and make sure to put the -fPIC so that it is position independent code
  • link the dll to the project that you are working on
clang -c ./logle_engine/src/*.c
clang -shared (all the .o that were just compiled) -o logl_engine.dll -fPIC

License

I haven't been bothered to write a license yet, but in short, you can do whatever you want with it, however if you do use it, make sure to reference me by mentioning somewhere or by providing a link to the original source (this git repo).That is all :D

Owner
Ewan
A student that has a massive interest in computer science, especially game engine development and computer graphics. Best at C/C++
Ewan
Recreation of the MineStorm game for a student programming project.

MineStorm General information This project is a student project done for ISART Digital by Rémi SERRA and Alexandre PERCHÉ. The goal was to recreate th

Rémi Serra 2 Nov 14, 2021
Engine being created for homeworks in UPC Master's Degree in Advanced Programming for AAA Video Games.

Strawhat Engine Strawhat Engine is a game engine under construction that has model loading and camera movement features along with an editor. Reposito

I. Baran Surucu 12 May 18, 2022
Improved version of the X-Ray Engine, the game engine used in the world-famous S.T.A.L.K.E.R. game series by GSC Game World.

OpenXRay OpenXRay is an improved version of the X-Ray Engine, the game engine used in the world-famous S.T.A.L.K.E.R. game series by GSC Game World. S

null 2k Jul 30, 2022
Data Structures concepts being implemented to build the Game of Life

The Game of Life Data Structures concepts being implemented to build the Game of Life which is a cellular automation devised by the mathematician Jame

Aleezeh Usman 3 Sep 5, 2021
Powerful, mature open-source cross-platform game engine for Python and C++, developed by Disney and CMU

Panda3D Panda3D is a game engine, a framework for 3D rendering and game development for Python and C++ programs. Panda3D is open-source and free for a

Panda3D 3.4k Aug 3, 2022
This is a game I developed using Cinder on C++.

This is a game I developed using Cinder on C++. Please check out the ReadMe to learn more and on how to run the game. Thank you!

Donovan Kitten 1 Oct 15, 2021
CLUSEK-RT is a complex game engine written in C++ and the successor of the CLUSEK game engine

CLUSEK-RT is a complex game engine written in C++ and the successor of the CLUSEK game engine. This engine has been designed with a cross-platform design in mind. Thanks to Vulkan API it delivers a next-gen experience with ray tracing to both Linux and Windows platforms

Jakub Biliński 33 Jul 28, 2022
A Tiny 2D OpenGL based C++ Game Engine that is fast, lightweight and comes with a level editor.

A Tiny 2D OpenGL based C++ Game Engine that is fast, lightweight and comes with a level editor.

Samuel Rasquinha 48 Jul 13, 2022
Ground Engine is an easy to use Game Engine for 3D Game Development written in C++

Ground Engine is an easy to use Game Engine Framework for 3D Game Development written in C++. It's currently under development and its creation will b

 PardCode 52 Jul 31, 2022
FPS Game built from scratch using C++ and Legacy OpenGL.

A small game made by a couple of students as a university project. Built from scratch using C++ and Legacy OpenGL, hence the name.

Yaman Qassas 57 Jun 27, 2022
An OpenGL Engine Written In C Using A Very OOP-Like Way Of Programming

A Simple Engine in its very first stages of becoming a, Game Engine or just a framework for making games using OpenGL. Here are the features of the Op

DevHedron 26 Jul 9, 2022
A simple 2d snake game made using opengl in c++

opengl-snakegame A simple 2d snake game made using opengl in c++ Demo Keyboard Controls P - To resume/start or pause the game R - To restart the game

Dhruv Sawarkar 2 Dec 8, 2021
A text-based space adventure role-playing game developed by a team of 5.

SpaceAdventureRPG - Text-Based Game A text-based space adventure role-playing game developed by a team of 5. Module: 4007CEM, Class: B, Group: 3 Contr

Jonas Djondo 1 Nov 18, 2021
The Atomic Game Engine is a multi-platform 2D and 3D engine with a consistent API in C++, C#, JavaScript, and TypeScript

The Atomic Game Engine is a multi-platform 2D and 3D engine with a consistent API in C++, C#, JavaScript, and TypeScript

null 2.7k Aug 6, 2022
Godot Engine – Multi-platform 2D and 3D game engine

Godot Engine 2D and 3D cross-platform game engine Godot Engine is a feature-packed, cross-platform game engine to create 2D and 3D games from a unifie

Godot Engine 51.6k Aug 3, 2022
Minetest is an open source voxel game engine with easy modding and game creation

Minetest is an open source voxel game engine with easy modding and game creation

Minetest 7.7k Aug 3, 2022
Care race game built in c++ with sfml. this project is done in 3rd semester of csit for demonstration of computer graphics.

Car Race Car race is simple game which has been built by using SFML in c++ implementing concepts of Computer Graphics for project Work of 3rd semester

subash kc 4 Dec 18, 2021
Magarena is a single-player fantasy card game played against a computer opponent.

Magarena is a single-player fantasy card game played against a computer opponent.

MagArena 351 Jul 20, 2022
Flax Engine – multi-platform 3D game engine

Flax Engine – multi-platform 3D game engine

Flax Engine 3.4k Jul 31, 2022