00:00
00:00
KadeDevl
I maka the music and sometimes I make games :)

Kade @KadeDevl

Male

Game Developer

Joined on 1/18/21

Level:
8
Exp Points:
570 / 710
Exp Rank:
> 100,000
Vote Power:
4.99 votes
Audio Scouts
1
Rank:
Civilian
Global Rank:
> 100,000
Blams:
0
Saves:
6
B/P Bonus:
0%
Whistle:
Normal
Medals:
12
Supporter:
1y 4m 30d

Comments

Hey--would love to see a post talking about what's happening behind the scenes (rendering, textures, memory management, etc.)!
Nice job!

Hmm there's really not that much too it. The game is pretty simple, using a main game class that has a subclass called a "Menu" which are basically just game states. Those are like the Main Menu, the main Gameplay Loop, and the Editor. Those states also have the ability to contain objects as children, and when the state changes it automatically cleans up everything in that state by deleting all of its children. And objects can also have children, so they clean up too once they are deleted. For rendering we just use OpenGL, it's pretty bog standard. For textures I use stbi_image as I love that header so much.

It's all pretty simple, but kind of built with sticks and stones. I have to eventually go through it all and build a proper foundation around it so it is more stable.