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

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.
主站蜘蛛池模板: 延川县| 林州市| 马关县| 邢台县| 工布江达县| 密山市| 大安市| 喀喇| 西昌市| 高州市| 大田县| 沁源县| 泸西县| 齐齐哈尔市| 霍林郭勒市| 万全县| 黄大仙区| 玛多县| 鱼台县| 保山市| 古田县| 富民县| 广平县| 蕲春县| 宁武县| 黎川县| 宝鸡市| 汉阴县| 朔州市| 阿城市| 昌乐县| 东阿县| 上林县| 遵义县| 微山县| 鱼台县| 密山市| 华池县| 贺兰县| 浦北县| 泉州市|