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

Challenges

For those of you who want to do more with this project, there are still plenty of things you can do, especially after finishing the rest of this book. Here are some ideas to get your mind thinking:

  • Add in feedback whenever the player hits an enemy—perhaps an animation or a change of sprites.
  • Give the player lives, and each time he is hit by an enemy, have him lose one life. Add a GUI Text to display lives as well.
  • Once you learn how to use a Game State Manager, create a main menu, pause screen, and restart button.
  • Add in Xbox control and mobile touch support.
  • As a learning experiment, convert the player shooting behaviour code to use co-routines to enable/disable being able to shoot. Discuss the advantages/disadvantages towards this method.
主站蜘蛛池模板: 和林格尔县| 沁阳市| 南充市| 龙岩市| 赤峰市| 定日县| 来安县| 汉沽区| 保山市| 萝北县| 巴中市| 海门市| 大名县| 湄潭县| 沈丘县| 绍兴市| 商洛市| 高碑店市| 云南省| 延津县| 蚌埠市| 宁德市| 仙桃市| 西昌市| 固镇县| 克什克腾旗| 翁牛特旗| 双鸭山市| 淮北市| 南京市| 普兰店市| 淳安县| 孟州市| 寻乌县| 湘乡市| 孝昌县| 沧源| 山丹县| 东丰县| 敦煌市| 惠水县|