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

Chapter 2. Building a Character

It's time to start putting in the building blocks that will make up your game, starting with the setting up the project and then on to main character. It's an important first step as most of your game's core logic and framework generally centers on the main protagonist and highlights exactly how the player will interact with the game.

Here, we are aiming to create a 2.5D style in-game world where the player can explore each town and have random encounter scenes to fight off those pesky bad guys. So, first we need to get our character in and moving.

The following is the list of topics that will be covered in this chapter:

  • Designing a good class structure
  • Planning and designing behaviors
  • Importing sprites
  • Setting up user control effectively

Note

For this game, we will use the excellent, free Unity games starter kit resources, which can be found at http://wootstudio.ca/win8platstarter (towards the bottom of the page).

There are several different themed sets of assets for use in any game (commercial or otherwise). For the purposes of this book, we will use the Fantasy pack and its associated Backgrounds.

Additional assets that I have created myself will be included with the associated code bundle of this title.

主站蜘蛛池模板: 休宁县| 绥中县| 临邑县| 应用必备| 开封市| 泽州县| 平果县| 运城市| 天祝| 桐柏县| 南投市| 南靖县| 镇坪县| 安泽县| 新安县| 武威市| 长垣县| 丹寨县| 久治县| 白水县| 客服| 平罗县| 体育| 灌云县| 建瓯市| 于都县| 万源市| 伊通| 青龙| 武威市| 洞口县| 清涧县| 石渠县| 安仁县| 苍南县| 苏尼特右旗| 瓦房店市| 繁峙县| 桂平市| 哈尔滨市| 屯门区|