Monday, 25 May 2015

I Do Overcomplicate Things Sometimes...

I was watching some of Tom Francis's Make A Games With No Experience tutorials today, and I noticed something that made me facepalm.

Back in this post, I had a problem with randomly moving objects going offscreen. In order to try and solve this, I limited the distance that objects could choose to travel to and then, within that range, checked for problem locations such as screen edges. Once those problem locations were located, the object... actually, it's not worth going into - point is, it was a horribly convoluted method of doing things. Tom Francis used four lines of code that would have saved me a lot of time. Here's what he used:

Friday, 15 May 2015

Lines and Music, Mostly

It's been a little quiet on the blogging front lately, mainly because I've not really done too much on the game. Most of the basics have been in place for a while now, what's left is tweaking around the edges - prettying things up, making things more intuitive and so on. Yesterday, I added some lines connecting the player to any people they were influencing. God, was that a nightmare...

Sunday, 3 May 2015

I Think It's A Game

Looks like I ended up taking a bit of time away from GameMaker. No real reason apart from I'm a lazy bastard. Still, tonight, I got back into it for a bit and although I don't think I really added much, I think it's now at a stage where it can be called a "game". Basic, unbalanced, in need of tweaking, but still - just about - a game.