Posted on by

Corona GeekDuring this week’s Corona Geek, it almost literally rained cats and dogs during the rain and lightning code snippet walkthroughs. We walked through a great piece of code by Corona Ambassador Volodymr Sergeyev, that showed how to create and recycle objects to simulate rain. Ed Maurina modified that code on the fly and the results will make you laugh out loud. Then Dr. Brian Burton walked us through a code snippet that simulates different types of lightning. The results were very shocking and might even knock you out of you seat, especially if you’re wearing headphones. 

Next week, we’ll be looking at code to make objects float in water. In the meantime, check out Dr. Burton’s brand new book, Learning Mobile App & Game Dev with Corona for more tips on how to use Corona’s physics engine in your games.

Also, download the Corona SDK source code from today’s Hangout to see the code in action.

Congratulations to Tony Morelli for winning this week’s Corona Labs’ t-shirt. For your chance to win, follow Corona Geek on Twitter and Facebook, and complete the Corona Geek giveaway form.

Thank you for watching, we’ll see you on next week’s Corona Geek!

Remember To Subscribe


Posted by . Thanks for reading...

3 Responses to “Corona Geek #53 – Make Rain and Lightning in Corona SDK”

  1. Alex

    Did you updated the rain library to be compatible with Graphics 2.0? The current one does not work fine (positioning of the drops do not fill the entire screen – and get even worse when you change the drop angle).

    Reply

Leave a Reply

  • (Will Not Be Published)