Make a game in 8 minutes with Corona?

Posted by

After posting our Quick Start Guide to Corona a couple days ago, we thought we’d demonstrate just how easy it is to get started from Square One with Corona to create your first mobile game.

We’ve already shown you real-life cases in which Corona users have created a game in eight days. Now, Ansca Mobile engineer Tim Statler shows you how you can make one in eight minutes! Download the source files for this video.

Be sure to check back for more videos by Tim as he adds onto his “Balloon Game.”

*UPDATE – 10/19/2010 @ 3:24pm PST* Background music has now been turned down. :-)

Ready to get started?

Create amazing games and apps for iOS & Android

32 Comments

J. A. WhyeOctober 18th, 2010 at 1:03 pm

Simply awesome!

You guys should find someone well-versed in Xcode to create this example in Obj-C and do a side-by-side comparison of the code. That would probably be a real eye-opener for some folks.

BramOctober 18th, 2010 at 4:31 pm

Thanks for the awesome tutorial. Im new here so it really helps!

BramOctober 18th, 2010 at 4:32 pm

I noticed u used textmate. Would u say thats the best text editor?

timOctober 18th, 2010 at 7:20 pm

Thanks, J.A.! And great idea on the Obj-C comparison.

timOctober 18th, 2010 at 7:25 pm

Thanks for the feedback, Bram! As far as text editors go, I am quite happy with TextMate and the variety of extension “bundles” available for it, like this one. That said, there are many worthy code editors out there. TextWrangler might be the best free option. We list some other choices here:

http://developer.anscamobile.com/content/getting-started-guide#Configuring_Text_Editors

Michael HartlefOctober 19th, 2010 at 5:59 am

Great tutorial for the newcomers. Which screenrecording software do you use for it?

P.S.: I use Textwrangler for editing my scripts.

Tim StatlerOctober 19th, 2010 at 9:59 am

Michael, I used ScreenFlow for this recording and can highly recommend it. Easy to use, nice post-production features like zooming and cropping. This was my first screen cast, however, so I can’t compare it to other products.

Matthew WallaceOctober 19th, 2010 at 10:28 am

awesome example … background music not so good. :P Keep up the good work.

[...] out blogs and “quick start” video tutorials on how to get started, including “Make a Game in 8 Minutes with Corona?” A company that’s responsive to its customers, engineers that speak to their users? [...]

BeyondtheTechOctober 19th, 2010 at 12:09 pm

Love the tutorial (music a little too loud?). Hope you guys make more, this is great stuff for newbies and switchers!

GamingHorrorOctober 19th, 2010 at 2:53 pm

Great tutorial but music is definitely too loud and unnerving. It makes it very hard to concentrate.

HetalOctober 19th, 2010 at 3:03 pm

^ I am uploading a “turned down music” version of the video now.
Nevertheless, it’s great to hear that you all still enjoyed Tim’s stellar tutorial!

Ryan HOctober 19th, 2010 at 3:14 pm

Questions:

1. Is this the Game Edition?
2. Is this the only single edition offered now?

MarkOctober 19th, 2010 at 3:27 pm

Nice Jazz.

BenOctober 19th, 2010 at 4:56 pm

Looks like a tutorial on how to make my TumbleBee app. Makes me feel a little embarrassed :) . Wish I’d had these features available when I made it though. Took me a bit longer than 8 mins.

MirkoOctober 19th, 2010 at 8:42 pm

Great tutorial, looking forward to continuing this series.

I agree with previous comments about the background music. It’s way too loud and distracting.

TimOctober 19th, 2010 at 10:24 pm

Ben, thanks for the comments. This tutorial is hardly a finished game, so there’s no comparison to your polished (and published!) creation.

TimOctober 19th, 2010 at 10:34 pm

Ryan, to answer your questions:

1) Yes, this tutorial featured the latest release of Game Edition.
2) We do still offer both Game Edition and the less feature-rich Corona SDK on our “Get Corona” page. But Game Edition has always been the best value, and we are currently offering 50% off Game Edition to new users! Check out our recent blog post:

http://blog.anscamobile.com/2010/10/new-visitor-here-we-have-corona-4-you-at-50-off/

TimOctober 19th, 2010 at 10:48 pm

Glad you enjoyed the music, Mark. ;-)

[...] This time, he takes about 10 minutes (I know, I know…) to add more balloons, better physical reactions, and even multi-touch to the simple game he created in part 1. [...]

[...] with Corona to now having countless ones; from having hardly any comments on our blogposts to now barely being able to keep up with them! (again, in a good [...]

Aous KhaldiNovember 13th, 2010 at 5:42 am

It’s really fantastic idea to make a game by yourself. But you cant bring the best moments of games by yourself. Just play the amazing “Devil Killer” and you’ll understand what i mean. http://www.picogame.com/mobilegames/devilkiller/devilkiller.html

Bill D.January 21st, 2011 at 2:20 pm

Hello, I just downloaded the sample app. and it crashed. The console says it was missing “gameUI” which is required. I deleted that line “local gameUI = require(“gameUI”)” in the main.lua file and the game ran. However, there is a red box around the balloon – looks like a bounding box of some sort?

TimJanuary 21st, 2011 at 2:33 pm

Thanks for the report, Bill. I just updated the download package without the gameUI reference, which was there in error.

The bounding box you see is part of the physics engine’s “hybrid” drawing mode, which lets you “see” the physics bodies in the simulation super-imposed over the actual display objects (the video demonstrates this feature, as well). To disable this mode, comment out the following line in main.lua:

– physics.setDrawMode(“hybrid”)

The other drawing modes are “debug” (in which you only see the physics bodies, no display objects) and “normal”, which is the default mode.

Tim

Bill D.January 21st, 2011 at 2:40 pm

@Tim – Thanks for the quick reply. Everything work fine now.

The ComplicationJanuary 21st, 2011 at 3:44 pm

Great video, thanks so much for posting. But, the background music is really annoying. I feel like I should be drinking at the same time.

deastruacsionJanuary 25th, 2011 at 4:48 pm

this is awesome i downloaded everything i need and im working on many little projects i hope to release some awesome app in the future thanks to corona nd great tutorials, are there any tutorials on adventure gammes, like stick figure side scrollers, it would be a long tutorial but i would greatly appreciate it!

BayaniJanuary 30th, 2011 at 2:11 am

Great Tutorial!

I especially like when the finer details are explained about the commands.

kageFebruary 13th, 2011 at 6:41 pm

Hi Tim,

What kind of text editor can you use for windows?

TimFebruary 14th, 2011 at 11:10 am

@Bayani, thanks for the feedback! @kage, for Windows text editor suggestions, check out this thread on the Corona for Windows forum:

http://developer.anscamobile.com/forum/2011/01/26/lua-editor-windows

Tim

kageFebruary 15th, 2011 at 7:35 pm

Tim,

thanks so much for that info. Um, are there any tutorials for beginners with ZERO experience like me for windows? its a bit overwhelming and I just get lost in the loop. I try to look in the blogs but I cant find any or maybe i just didnt see it, just like that link you put for the text editor. Thanks so much for the help.

Leave a comment

Your comment