Tag Archives: cog
So last couple of days I’ve been stuck indoors with my foot up resting after a little opp. This has given me a chance to crack on with COG and I’m slowly but surely getting closer to the end… But still have some major hurdles to jump over
The problem I was having that was when the gems were generated at the bottom of the grid, if they matched up they would destroy. Because of this, after a very short period of time all blocks would be destroyed leaving only one row of gems.
Alistar suggested that I put a boolean in place that sets the gems to ‘false’ if they have risen from the bottom and match. This worked a treat, as you can see in the video, gems move upwards and don’t smash if they match.
The problem now is I need a trigger that say’s if a block has been released from the crane set it to ‘true’ so that when it hits an object it destroys matching gems.
This isn’t as easy as it sounds because of the way Stenclyworks handles collisions. It seems it doesn’t actually care about which object collided first or second and so I have to find a way to tell it that. My head is muffled to be honest, been spending too long at it in one go on it.
Anyway I know I’ll have it sorted soon, here’s a clip of progress:
Yesterday turned out to be a pretty productive day in terms of Cog. I decided I wanted to “mature” the graphics a little to take away the child like feel it had.
I’ve got ‘World of Goo’ on my phone and I always liked the art style of it. So, using this as my inspiration I sat out to create some new graphics.
image source http://2dboy.com/page/3/
Its the curvature in the in the graphics that I like, it adds a smooth quality to the design.
I knocked up three screens for my game, the loading, title and main game graphic. Each will change a little as I progress.
With the graphics out of the way (for now) I was able to move on.
- I got the “test blocks” to fall from the sky and bounce when they hit the bottom of the screen. I need to test out physics (which will be my unique angle) hence the blocks fall and bounce.
- I got the crane to slide left and right following the cursor.
Here’s a quick demo video of the physics in play, oh and it is work in progress