官术网_书友最值得收藏!

Chapter 3. Building our First Game: Breakout

Up until now, we have gone through some important basics of programming in Lua and applying some code to run in the Corona simulator. Knowing the terminology is a small part of learning how to make an application. We'll need to take a step further and get some hands on experience on what it's like to structure a project from beginning to finish. We're going to accomplish this by creating our first game from scratch. This will push you further into understanding larger chunks of code and applying some game logic to make a functional game.

By the end of this chapter, you will understand the following:

  • Structuring game files in a Corona project
  • Creating variables for the game
  • Adding game objects to the screen
  • Making an alert message
  • Displaying score and level number

Let the fun begin!

主站蜘蛛池模板: 兴文县| 武清区| 泰安市| 米泉市| 南京市| 凤庆县| 青阳县| 镇雄县| 藁城市| 荣昌县| 辉南县| 广州市| 华容县| 枣阳市| 江津市| 西丰县| 桦甸市| 稷山县| 巢湖市| 新巴尔虎左旗| 信阳市| 扶绥县| 雷波县| 迭部县| 汉沽区| 宣汉县| 安吉县| 阳曲县| 柞水县| 江陵县| 凌海市| 阳西县| 永新县| 陈巴尔虎旗| 营山县| 玛曲县| 江门市| 中山市| 特克斯县| 鹤壁市| 阜阳市|