eli5 They say that in programming a game, removing some arbitrary asset will inexplicably cause random bugs to pop up. Why?

316 views

Is it that during compilation, the compiler tries to compress and optimize the code in such a way that it “grows roots” into the assets (or vice versa) that if the asset is removed without proper care, the whole thing will collapse into itself? Like, the compiler realized that part of the binary code in one part of the program coincidentally is the same as a snippet of binary code in a nearby asset, so it chops code out to save space?

In: 0

7 Answers

Anonymous 0 Comments

OK so say some person designs a drainpipe in a game and then works the code allowing for the drain pipe to be climbed, the drain pipe is used in several locations and then someone else decides to use the base drainpipe code and adapt it for a wooden ladder which is now used in a great many places and is essential to get to some key locations. If at a later date someone dislikes the drainpipes and wants to delete them they have to do it in such a way as the ladders aren’t impacted or you have ruined the game.

You are viewing 1 out of 7 answers, click here to view all answers.