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

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.
主站蜘蛛池模板: 哈密市| 秦皇岛市| 河曲县| 扬州市| 灵石县| 佛山市| 彝良县| 尚义县| 郸城县| 汨罗市| 和田市| 大洼县| 钟山县| 台山市| 易门县| 丹凤县| 军事| 南阳市| 江口县| 山阳县| 巧家县| 新绛县| 同德县| 永福县| 灵璧县| 山西省| 旅游| 阜宁县| 肃宁县| 陇西县| 东光县| 杭锦旗| 江油市| 望城县| 禹城市| 泾阳县| 恩施市| 上栗县| 安国市| 丹凤县| 丰都县|