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

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.

主站蜘蛛池模板: 昭通市| 湘西| 建始县| 襄垣县| 宁强县| 孝义市| 泸西县| 彰武县| 西乌| 绥滨县| 大冶市| 阜康市| 遵义县| 康保县| 福建省| 青浦区| 公安县| 山东省| 安泽县| 拜泉县| 长岭县| 大宁县| 塘沽区| 西乌珠穆沁旗| 山阳县| 荔波县| 琼海市| 荔浦县| 太保市| 鹤峰县| 苗栗市| 九寨沟县| 玉屏| 县级市| 雅安市| 横山县| 莲花县| 佳木斯市| 岳西县| 杂多县| 桐城市|