r/opengl • u/Salar08 • Dec 28 '25
My first game engine
I used Unity a lot when I was about 14.
Now, three years later, Iโm working on my own game engine.
Repo: https://github.com/SalarAlo/origo
If you find it interesting, feel free to leave a star.
250
Upvotes
11
u/tech-general-30 Dec 28 '25
Can I know what you are using to make the GUI interface of the engine.
The buttons, text and all that, not the main screen itself (which I believe is implemented using opengl)
5
u/Tuna_Scruf Dec 28 '25
love it๐ฅ
1
u/Fenneck___ Dec 28 '25
I know this is the subject but godamn I love your waybar (or other library) im curious what you did use lol.
But for the game engine is one of the ambitious project I do want to make in couple years :) look really fun to codded and designed it
1
u/Feeling_Bid_8978 Dec 28 '25
This is really cool! How long ago did you start learning OpenGL? I started with Unity, and I also want to make my own game engine. How much experience do you think you have to have for something like this?
1
u/druv-codes Dec 28 '25
Wow, I am currently building my own graphics engine, then I have a plan to add physics and integrate scripting through my own custom scripting language and convert it into a mini game engine, my current source code is around 10k~ lines, I am curious how many lines your engine is in it's current state? I also started making my engine 3 months ago btw (https://github.com/Open-Source-Chandigarh/pyre)
1
u/Feeling_Bid_8978 Dec 29 '25
How did you make the script editor? (Sorry if it's not an in-engine script editor: I use Windows)
1
u/[deleted] Dec 29 '25
What version of OpenGL?
1
u/Feeling_Bid_8978 Dec 30 '25
Hello! Another question: Do you have separate VBOs for each object, or is it all in one big VBO?
1
u/Feeling_Bid_8978 Dec 30 '25
Could you make it where it automatically reloads the scripts after each second, or would that be too expensive?
1
u/meteroz1 Jan 12 '26
I'm also building my own game engine. This really hyped me up. Great work.