Posts Tagged ‘Solid’

Ludum Dare Principle

Wednesday, April 26th, 2017 5:30 pm

Game jams is not a best place to show your OOP patterns knowledge. And well, code written on LD has no chance to win «Best Architecture Ever» award. Just look at this God-object class of our Protolife game:

God object class on Ludum Dare

Class with ~1K lines and 26 dependencies? I would have a serious talk with myself about this code.

But good practices still make life easier even if they take longer. This is how we decided to define our micro-buildings. Here is a simple turret:

Protolife small turret

More powerful turret:

Protolife t3 turret

«d» means «blue block», «e» means «yellow block», capitalized letter means «anchor point», e.g. turret muzzle.

Yeah, hardcoding all the coords would be much simpler, but this pattern system allowed us to quickly add new buildings – as fast as we invented them. This part would be first candidate for DRYing – so we DRYed it.

Do you guys use the best practices in your code? SOLID? GRASP? Unit tests?

Platonic Dot Solid – Submission

Posted by (twitter: @Prelucid)
Monday, April 29th, 2013 2:40 pm

View entry here


Wow, so I think I’m really happy with my submission. I wasn’t even planning on taking part my second time around, but having the JAM really allowed me to relax more compared to my first LD48. The result is a gem which I’m always going to be proud of. The character I ended up going with is Dot Solid. I originally designed him long ago, but his name was Sucre and he was going to go on an adventure through the kitchen as a sugar cube, but this theme really made it possible for me to do more than just sit on the idea. It was a match made in heaven.

The funny and coincidental thing about the game being affectionately titled after Metal Gear is that when I needed an end boss battle, I just ended up combining all the platforming obstacles into a creature that resembles Metal Gear Rex. Serendipity?! I think so.


Platonic Dot Solid – Entry 4

Posted by (twitter: @Prelucid)
Sunday, April 28th, 2013 7:41 pm

<-Previously on Platonic Dot Solid


Potato achieved! Game is nearing completion. All that’s really left is a boss battle and some menu building. I’m glad I decided to take part in this. I was really not feeling it before, but this was fun and I’m pretty proud of the game so far. Props to Unity for making an engine that makes it really easy for FPS and Platformers to be made.






Platonic Dot Solid – Entry 3

Posted by (twitter: @Prelucid)
Sunday, April 28th, 2013 1:53 pm

Previously on Platonic Dot Solid


Have my first Enemy AI. The game is a little over half complete. Still have 29 hours to go. A lot of fun. I have yet to put music on the game, but I think that would be anti-minimalist if I put it in for no reason. The in-game sounds are good already.

Platonic Dot Solid – Entry 2

Posted by (twitter: @Prelucid)
Saturday, April 27th, 2013 11:46 pm

previously on Platonic Dot Solid


Been going really well so far. Making this game without a main delegate state machine. I’m glad I put a lot of hours into the main character. It is really making at least the beginning part of level design easy.

[cache: storing page]