I took a break from working on another side project to devote my Sunday and part of my Monday to playing more with Corona. Specifically, I wanted to:
- Learn how to do better OOP in Lua
- Learn how to extend the base Corona GUI classes like Group
- Learn about collision detection via their Box2D implementation
I set out to re-build 1942. It’s the perfect Corona game in that it has a lot collisions, sprites, and simple bitmap animations. I want to talk about what I learned in my 2 days. If you’re not familiar with Lua and know some ActionScript, hit my Lua for ActionScript Programmers Crash Course and check out a more simple example first. Here’s a quick sample video. You can download/follow the code on Github.
Continue reading “Corona Game Example: OOP, Scope, and Box2D Collisions – Part 1”