Sample code: ‘Tilt Monster’ game now open source!

Share on Facebook0Share on Google+0Tweet about this on TwitterShare on LinkedIn0

By now, you probably know Jonathan Beebe quite well around these here parts. After all, he was our first-ever Corona wunderkind, selling over 300,000 copies of his Tilt Monster game on iPhone!

Now, Jon has decided to make that very same game open source to everyone — he’s either crazy, generous, or a little from Column A and a little from Column B.

Be sure to tell Jon how crazy and/or generous you think he is, and any other thoughts you might have about his game on Twitter or in the comments section after you read. 🙂

You may have already read my previous interview published here quite a while back, but in case you haven’t, I’ll give you a quick re-cap.

In the interview, I describe how I learned how to use Corona by creating a game (Doodle Dash!) in just 8 days, using Corona SDK and a fresh start at Lua (I never heard of it before Corona). Prior to discovering Corona, I was merely an aspiring iOS developer who was already frustrated with third-party tools and was ready to just buckle down and go the Xcode route.

Somehow (fate, perhaps?), I stumbled upon Corona and created Doodle Dash before my 30-day trial (it’s unlimited now!) expired was my personal test to see if this framework was worth it.

Long-story short: I recreated the game with weeks to spare and — thanks to Corona — performance was as good as I could have ever hoped for in an Xcode app made from scratch (but created in a mere fraction of the time it would have taken!).

From that point on, I was a permanent Corona “convert” — and I still haven’t touched Xcode since!

Worth it? I think so.

Shortly after going on sale in the App Store, Doodle Dash started to receive download after download, after download — the momentum was building. Then, it was approved to be promoted as OpenFeint’s Free Game of the Day and eventually reached the Top 25 Games in the App Store.

Plain and simple: I couldn’t have done it without the Corona SDK.

After several updates (it’s at version 2.0.1 now) and even some legal issues regarding its name (had to rename it to Tilt Monster), combined with the fact that this is the project I used to learn Lua and Corona with, it’s clear that there’s been a lot of personal energy invested in this game.

Today, I’m giving it to you (the Corona Community) to see the source, learn from it, and even use it as a framework for your own projects. Why? Because I love you. 😉

On a serious note, I’ve seen what you guys have done with the Ghosts vs. Monsters sample code (lots of awesome apps!), and I’m overwhelmed with the positive feedback I’ve received from those of you who have learned from it. I hope you’ll find just as much or — if I’m lucky — more value in the Tilt Monster source code that’s available now.

I’ve also learned A LOT myself from the community via the forums and the code that YOU have contributed to the Code Exchange, so this is also a way for me to give back some.

Tilt Monster is a complete, stable game that has been through several updates (it’s at version 2.0.1 now, as I said above about Doodle Dash), and is more than enough for you to see what a real game, that’s made real sales, looks like from the inside out. I encourage you to study it, learn what you can, and even contribute to the source! (it’s on GitHub)

Thanks again everyone, and I hope you enjoy the new sample code!

Download the Tilt Monster source code here.

Share on Facebook0Share on Google+0Tweet about this on TwitterShare on LinkedIn0

This entry has 10 replies

  1. Henry says:


    It really says a lot about a developer who contributes this much to a community. I’ve been really curious to see how the movement and randomization is handled. Thank you so much, you really are very inspiring!

  2. Benjamin says:

    This is simply awesome!

  3. JRQ says:

    Thanks Jonathan, you Rock!

  4. Harsh says:

    Thank you very much Jonathan. I always wished if I could look inside a real iPhone game and today my wish id fulfilled because of your kind gesture towards the developer community. Best Luck.

  5. sidje says:

    I’ve allways been pondering about the fact if I should be developing mobile games. But givven the fact that this game sold 300.000 copies…… I think i’m going to start tomorrow…. (what’s your publicity secret Jonathan?)

  6. Rob Miracle says:

    This is a very cool idea! You’re awesome!

  7. Jerry Pine says:

    So very nice of you. It lets a noob like me learn by deconstructing. Just on question: The “Help” screen html text is blank in the SDK simulator. Does the app need to be actually working on a device before the help text will pop up?

  8. vikas says:

    Nice game & good work thank’s for sharing

  9. Marc says:

    The source code is no longer available. =(