Summer Programming 2014 – Dev. Post 6

Well, I didn’t post anything yesterday but I didn’t really do any work then either so it’s not that big of a deal I guess. I did get some work done today but not much mainly because I’ve been busy packing my stuff for the trip tomorrow, so there’s probably not gonna be much more work this week apart from sunday.

Either way, today I started working on the oh so wonderful collision. Not on the act of two objects colliding, (at this point I could probably do that in my sleep) but rather how to organize these objects so that they work within this new system. The solution I came up with is the Collision Manager – a vector that stores all of the hitboxes on the scene and checks if they collide with each other and then activate the OnCollision methods of the GameObjects. So far I’ve pretty much just started building it but if everything goes as planned then this could prove to be a very useful tool that enables for some really easy modfiable code, provided that the game does not overload with having to check too many hitboxes at once. Looking at the theory of this item I can see one problem: There is only one vector of Hitboxes meaning that if I’d like to have two scenes I’d have to change some of the concept. Still, I don’t think that’s going to be a problem in this project but it is something to keep track of.

Anyway, I gotta pack the last stuff for the trip, from tomorrow onwards I’ll be out on the countryside which means a few changes in the I’ll be updating this blog and my Github but I’ll be giving out more information tomorrow.