02 September 2013
Corona Geek #53 – Make Rain and Lightning in Corona SDK
During 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
RichieLoco
Posted at 11:58h, 03 SeptemberEnjoyed this!
Keep it up dude 🙂
Rich
Alex
Posted at 07:55h, 16 JanuaryDid 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).
Alex
Posted at 08:15h, 16 JanuaryFound the answer with the updated library (from its author) at https://github.com/vsergeyev/Rain/tree/master/Rain