Skip to main content
gamedev.net
Dirty code

Dirty code

puz
puz
Robot University -- a 2D DirectX Puzzle · · 1 min read
820 0

PRO Tired of ads? Read GameDev.net ad-free and help keep the community independent with GameDev Pro — $3/month.

V 1.07 moved level 7.6 to 8.1 and added 3 more levels.
I wrote the 3 new game levels by doing a cut-n-paste of functions and editing parts of the function that make them behave differently. Perhaps this is considered a bad programming practice compared to say, writing a common function and passing different parameters or make everything table-driven. But my primary objective at this stage is to get an overall feeling of the game so that I can start to fine-tune, add, or subtract levels. That's why I've been programming as if an artist scribbles outlines on a canvas.

Discussion

Loading comments...