How is a game engine made?

Atreyo Bhattacharjee

Commendable
Feb 7, 2017
207
0
1,690
How does someones code do functions like render objects, create special effects, and other stuff. Where are the graphics being rendered? What i mean is, if code has a run time environment, do graphics have a rendering environment, or something to that effect?