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

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.
主站蜘蛛池模板: 盘山县| 舒城县| 保靖县| 元阳县| 濉溪县| 新竹县| 嘉禾县| 揭阳市| 清河县| 郁南县| 伊宁市| 新干县| 武城县| 石泉县| 铁岭县| 洞头县| 恩平市| 贵德县| 民和| 民权县| 凤山县| 萨嘎县| 阿拉善右旗| 温宿县| 马边| 郎溪县| 弋阳县| 磐石市| 东宁县| 驻马店市| 东源县| 安福县| 蛟河市| 临泽县| 花莲县| 九龙县| 瓮安县| 马山县| 安溪县| 浙江省| 永兴县|