Unity 3 Game Development ppt

380 2.2K 3
Unity 3 Game Development ppt

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

[...]... Reference 34 5 34 6 34 7 34 8 34 8 34 9 Appendix D: Shaders and Cg/HLSL Programming 35 1 Index 36 1 ShaderLab properties Surface shaders Cg/HLSL programming Reference iv 35 2 35 3 35 8 36 0 Preface Only Unity fits the bill of being a game engine that allows you to create a full 3D game for free, and with phenomenal community support This book will equip you with the skills to create professional looking games at... so on, sourced from Unity scripting reference and NVIDIA website What you need for this book You will need Unity 3. x that you can download from http://www .unity3 d.com/ download/ and 3D Studio Max (Optional), which can be downloaded from http://usa.autodesk.com/3ds-max/trial/ Who this book is for This book is for users who already have some basic knowledge of how to use the Unity game engine and intermediate... professional looking games at no cost Unity 3 Game Development Hotshot will teach you how to exploit the full array of Unity 3D's technology in order to create an advanced gaming experience for the user, with eight exciting and challenging projects that provide a step-by-step explanation, diagrams, and screenshots to help you achieve that goal Every project is designed to push your Unity skills to the very limits... object: Position: x: -49, y: 17, z: 0 Scale: x: 36 , y: 40, z: 1 ff 2nd Wall object: Position: x: 42, y: 17, z: 0 Scale: x: 38 , y: 39 , z: 1 ff 18 2nd Floor object: Position: x: -6, y: 5, z: 0 Scale: x: 32 , y: 1, z: 1 ff ‰‰ 1st Floor object: Position: x: -4, y: -9, z: 0 Scale: x: 125, y: 15, z: 1 3rd Wall object: Position: x: -7, y: 23, z: 0 Scale: x: 1, y: 36 , z: 1 Finally, we will save the scene by pressing... will create it by using a Unity built-in cube and give it a collision which will react with the character by using a Unity built-in physics To end the game, we will create a trigger event by creating a door and a key The player needs to collect the key to open the door and end the game We will also add sound to make our game seem alive, but we are not finishing it yet The game needs to be replayable... Replay or Play again button to replay our game by using destroy and instantiate to reset our character position and key item 10 Project 1 Why Is It Awesome? When we are done with this chapter, we will get a good understanding of how to create a sprite and 2D platform game by using a 3D game engine such as Unity Also, we will be able to create our own 2D platform style game like Sonic, Mario, Mega Man, and... and choose the items and skills Project 3, Model and Shade your Hero/Heroine: We will start by exporting the 3D character model from 3D Studio MAX with the right unit scale and rotation by using the FBX exporter from 3D Studio Max and import it to Unity Then, we will write a custom shader by using the new surface shader, which will be available from version 3. 0 Project 4, Add Character Control and... This appendix includes the explanation of Coroutines/Yield and how to use them, sourced from Unity scripting reference Appendix C, Major Differences between C# and Unity JavaScript: This appendix shows the differences between C# and Unity JavaScript by using examples sourced from the Unity answer website and Unity scripting reference Appendix D, Shaders and Cg/HLSL Programming: This appendix explains... platform game because there are some basic tricks for a 2D platform game, which will help you—those who haven't got into the 3D world yet—to understand more before jumping into the 3D world for the project in later chapters Mission briefing We'll be creating a 2D platform or side-scrolling game, which is similar to Mario or other games that we have mentioned previously; it will have a simple character... object, and drag it into the Hierarchy view 13 Develop a Sprite and Platform Game There is also the Unity built-in Plane object that you can use, but you don't really want to use it, because the Unity built-in Plane object will have way too many triangles for our 2D objects As we can see from the following screenshot, our prefab Plane only has two triangles, but the Unity built-in Plane object will have around . 32 9 WaitForSeconds 33 0 WaitForFixedUpdate 33 1 Coroune 33 2 StartCoroune 33 3 StopCoroune 33 5 StopAllCorounes 33 6 Appendix C: Major Dierences between C# and Unity. Funcons 32 3 Awake 32 3 Start 32 4 Update 32 4 FixedUpdate 32 4 LateUpdate 32 5 OnGUI 32 5 OnDrawGizmos 32 6 Appendix B: Corounes and Yield 32 9 YieldInstrucon 32 9 WaitForSeconds

Ngày đăng: 15/03/2014, 22:20

Từ khóa liên quan

Mục lục

  • Cover

  • Copyright

  • Credits

  • About the Author

  • About the Reviewers

  • www.PacktPub.com

  • Table of Contents

  • Preface

  • Project 1: Develop a Sprite and Platform Game

    • Mission Briefing

    • Creating a camera and a level

    • Creating a 2D character

    • Creating CharacterControl class and

    • SpriteManager class

    • Jumping and physics

    • Creating key and door

    • Adding a sound and replay button

    • Mission Accomplished

    • Hotshot Challenge

    • Project 2: Create a Menu for an RPG Game—Add Powerups, Weapons and Armor

      • Mission Briefing

      • Custom skin with GUI Skin

Tài liệu cùng người dùng

Tài liệu liên quan