Corona SDK Mobile Game Development:Beginner's Guide(Second Edition)
上QQ阅读APP看书,第一时间看更新

Summary

This chapter discussed parts of Lua programming that will send you on your way to start creating your own apps in Corona. As you continue working with Lua, you'll start understanding the terminology better. Eventually, you'll find new programming solutions that will benefit your development process.

Some skills you learned so far include the following:

  • Creating variables and assigning values to them
  • Establishing expressions using operators
  • Using the Corona terminal to output or print results
  • Using tables to structure lists, arrays, sets, and so on
  • Adding display objects in the simulator
  • Configuring your application build to work on different mobile devices
  • Implementing dynamic resolution images
  • Creating functions to run a block of code

This section was definitely a lot to take in. There is still a lot of information on Lua that we didn't get to touch base on, but you have learned enough to get you started. For more information on programming in Lua, you can refer to http://www.lua.org/pil/index.html or the resources section on the Corona website at http://www.coronalabs.com/resources/.

In the next chapter, we'll start making our very first game called Breakout! You will get some hands-on experience creating a game framework in Corona and applying all the necessary assets to develop a mobile game. You'll be surprised how fast and simple it is to create one.