7. Now make it yours

That was easy, wasn’t it? So much fun, so little code.

Now our game project is begging you to customize it. Here are a few ideas:

  • Instead of destroying rocks on impact, split them into two smaller rocks. Make sure the little ones can still be destroyed.
  • Regenerate ships and rocks after they are destroyed.
  • Add a second simultaneous player. Decide what should happen when one player’s missiles hit the other player’s ship.
  • Animate the destruction of ships and rocks.

There is a vast amount of information available online and in print for aspiring game software developers.

  • iDevGames is a news and forum site devoted to Macintosh game development.
  • There aren’t any books on game development in Ruby yet that I’d recommend, but for inspiration you might want to look at Sean Riley’s Game Programming with Python.

Please send me your comments and corrections. Happy programming!

Tim

Did you find an error? Is something missing? Post your comment or suggestion below!

Comments (4) post
  1. Steven Holloway Wed Nov 01 18:28:33 +0000 2006

    Hi Tim, Just wanted to give you a virutal pat on the back for some great tutorials. I was fortunate enough to be at WWDC this year and was most impressed with rubycoca demo. At that stage I had only toyed with Rails. I have since digested a few books and built several apps. I am now a Rails and Ruby convert. Cocoa has been an interest of mine for some time and I am very excited by the ability to write everyting in pretty much one language. Much Respect – Steven

  2. Dusan Mon Nov 06 13:34:27 +0000 2006

    Tank’s (Merci) Du bon boulot!

  3. gb Mon Sep 17 08:33:45 +0000 2007

    Excellent. How smooth is the animation? Is double buffering used automatically?

  4. Matthias Sun Apr 20 12:34:17 +0000 2008

    Many thanks for this great tutorial. I have done some work in Java, so Ruby and Cocoa (and particularly Objective-C) is quite new to me. This is the first hands-on, non scary tutorial I have found on how to integrate Ruby code in a Cocoa/InterfaceBuilder setup.