First troubles, Hardcoded object limits


First things first. After creating a game controller with 8 objects (see plan post) my engine is crashing.

Being a basic game engine it looks like I had hard-coded the maximum number of objects to 2.... Setting this to 10 solves the problem. A better generic solution that doesn't have this issue is worth investigating in the future.

First milestone done. Dividing line!


Get GameJam > Pong gone wrong

Leave a comment

Log in with itch.io to leave a comment.