万本电子书0元读

万本电子书0元读

顶部广告

Unity 3 Game Development Hotshot电子书

售       价:¥

37人正在读 | 0人评论 9.8

作       者:Jate Wittayabundit

出  版  社:Packt Publishing

出版时间:2011-08-26

字       数:182.8万

所属分类: 进口书 > 外文原版书 > 电脑/网络

温馨提示:此类商品不支持退换货,不支持下载打印

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
Using a projects based approach you will learn the coolest aspects of Unity3D game development. With each project you will be able to show off a creation that shows only the best of Unity 3D. This book is for users who already have some basic knowledge of how to use the Unity3D game engine and intermediate users who want to explore Unity 3D above and beyond the basic techniques.
目录展开

Unity 3 Game Development HOTSHT

Table of Contents

Unity 3 Game Development HOTSHT

Credits

About the Author

About the Reviewers

www.PacktPub.com

Support files, eBooks, discount offers, and more

Why Subscribe?

Free Access for Packt account holders

Preface

What this book covers

What you need for this book

Who this book is for

Conventions

Mission briefing

Why Is It Awesome?

Your Hotshot Objectives

Mission Checklist

Task 1

Prepare for Lift Off

Engage Thrusters

Objective Complete - Mini Debriefing

Classified Intel

Reader feedback

Customer support

Downloading the example code

Downloading the color images of this book

Errata

Piracy

Questions

1. Develop a Sprite and Platform Game

Mission briefing

What does it do?

Why Is It Awesome?

Your Hotshot Objectives

Mission Checklist

Creating a camera and a level

Prepare for Lift Off

Engage Thrusters

Objective Complete - Mini Debriefing

Classified Intel

Creating a 2D character

Prepare for Lift Off

Engage Thrusters

Objective Complete - Mini Debriefing

Classified Intel

Box Collider and Mesh Collider

Creating CharacterControl class and SpriteManager class

Prepare for Lift Off

Engage Thrusters

Objective Complete - Mini Debriefing

Classified Intel

Input Manager

Jumping and physics

Engage Thrusters

Objective Complete - Mini Debriefing

Classified Intel

Physics.Raycast

Creating a key and door

Prepare for Lift Off

Engage Thrusters

Objective Complete - Mini Debriefing

Classified Intel

Coroutines

Adding a sound and replay button

Prepare for Lift Off

Engage Thrusters

Objective Complete - Mini Debriefing

Classified Intel

Game over-Wrapping it up

Are you ready to go gung ho? A Hotshot challenge

2. Create a Menu for an RPG Game—Add Powerups, Weapons, and Armor

Mission briefing

What does it do?

Why Is It Awesome?

Your Hotshot Objectives

Mission Checklist

Custom skin with GUI Skin

Prepare for Lift Off

Engage Thrusters

Objective Complete - Mini Debriefing

Classified Intel

Creating a menu object

Prepare for Lift Off

Engage Thrusters

Objective Complete - Mini Debriefing

Classified Intel

Creating a status tab

Engage Thrusters

Objective Complete - Mini Debriefing

Classified Intel

Creating an inventory tab

Engage Thrusters

Objective Complete - Mini Debriefing

Classified Intel

Creating an equipment tab

Engage Thrusters

Objective Complete - Mini Debriefing

Classified Intel

Game over-Wrapping it up

Are you ready to go gung ho? A Hotshot challenge

3. Model and Shade your Hero/Heroine

Mission briefing

What does it do?

Why Is It Awesome?

Your Hotshot Objectives

Mission Checklist

Exporting from 3D Studio Max

Prepare for Lift Off

Engage Thrusters

Objective Complete - Mini Debriefing

Classified Intel

Shader programming—Diffuse and bump (normal) map

Prepare for Lift Off

Engage Thrusters

Objective Complete - Mini Debriefing

Classified Intel

Shader programming—Ambient and specular light

Engage Thrusters

Objective Complete - Mini Debriefing

Classified Intel

Shader programming—Rim light and toon ramp

Engage Thrusters

Objective Complete - Mini Debriefing

Game over-Wrapping it up

Are you ready to go gung ho? A Hotshot challenge

4. Add Character Control and Animation to our Hero/Heroine

Mission briefing

What does it do?

Why Is It Awesome?

Your Hotshot Objectives

Mission Checklist

Setting up character animation and level

Prepare for Lift Off

Engage Thrusters

Objective Complete - Mini Debriefing

Classified Intel

Creating the character controller and built-in script

Prepare for Lift Off

Engage Thrusters

Objective Complete - Mini Debriefing

Classified Intel

Creating a custom character control script

Prepare for Lift Off

Engage Thrusters

Objective Complete - Mini Debriefing

Classified Intel

Creating CrossFade animation

Engage Thrusters

Objective Complete - Mini Debriefing

Classified Intel

Creating a third-person camera to follow our character

Prepare for Lift Off

Engage Thrusters

Objective Complete - Mini Debriefing

Classified Intel

Game over-Wrapping it up

Are you ready to go gung ho? A Hotshot challenge

5. Build a Rocket Launcher!

Mission briefing

What does it do?

Why Is It Awesome?

Your Hotshot Objectives

Mission Checklist

Setting up the character with the first-person controller prefab

Prepare for Lift Off

Engage Thrusters

Objective Complete - Mini Debriefing

Classified Intel

Creating the New3PSController and MouseLook_JS scripts

Prepare for Lift Off

Engage Thrusters

Objective Complete - Mini Debriefing

Classified Intel

Creating the rocket launcher and scope target

Engage Thrusters

Objective Complete - Mini Debriefing

Classified Intel

Creating the rockets and particles

Engage Thrusters

Objective Complete - Mini Debriefing

Classified Intel

Creating the rocket bullet UI

Engage Thrusters

Objective Complete - Mini Debriefing

Classified Intel

Game over-Wrapping it up

Are you ready to go gung ho? A Hotshot challenge

6. Create Smart AI

Mission briefing

What does it do?

Why Is It Awesome?

Your Hotshot Objectives

Mission Checklist

Creating the waypoint and gizmos

Prepare for Lift Off

Engage Thrusters

Objective Complete - Mini Debriefing

Classified Intel

Creating an enemy AI

Engage thrusters

Objective Complete - Mini Debriefing

Creating the enemy movement with AIController script

Engage Thrusters

Objective Complete - Mini Debriefing

Classified Intel

Creating a hit-point UI

Engage Thrusters

Objective Complete - Mini Debriefing

Classified Intel

Game over-Wrapping it up

Are you ready to go gung ho? A Hotshot challenge

7. Forge a Destructible and Interactive Virtual World

Mission briefing

What does it do?

Why Is It Awesome?

Your Hotshot Objectives

Mission Checklist

Optimizing the AIController script

Prepare for Lift Off

Engage Thrusters

Objective Complete - Mini Debriefing

Classified Intel

Creating a ragdoll

Prepare for Lift Off

Engage Thrusters

Objective Complete - Mini Debriefing

Classified Intel

Creating a destructible wall

Prepare for Lift Off

Engage Thrusters

Objective Complete - Mini Debriefing

Classified Intel

Creating a rockslide and trigger area

Prepare for Lift Off

Engage Thrusters

Objective Complete - Mini Debriefing

Classified Intel

Game over-Wrapping it up

Are you ready to go gung ho? A Hotshot challenge

8. Let the World See the Carnage! Save, Load, and Post High Scores

Mission briefing

What Does It Do?

Why Is It Awesome?

Your Hotshot Objectives

Mission Checklist

Creating a high score menu

Prepare for Lift Off

Engage Thrusters

Objective Complete - Mini Debriefing

Classified Intel

Saving and loading the local high score

Prepare for Lift Off

Engage Thrusters

Objective Complete - Mini Debriefing

Classified Intel

Getting XML data from the server

Prepare for Lift Off

Engage Thrusters

Objective Complete - Mini Debriefing

Classified Intel

Posting and loading high scores to the server

Prepare for Lift Off

Engage Thrusters

Objective Complete - Mini Debriefing

Classified Intel

Game over-Wrapping it up

Are you ready to go gung ho? A Hotshot challenge

A. Important Functions

Awake

Example

Start

Example

Update

Example

FixedUpdate

Example

LateUpdate

Example

OnGUI

Example

OnDrawGizmos

Example

Reference

B. Coroutines and Yield

YieldInstruction

Example

Example

WaitForSeconds

Example

WaitForFixedUpdate

Example

Coroutine

Example

StartCoroutine

Using StartCoroutine with method name (string)

StopCoroutine

Example

StopAllCoroutines

Example

Reference

More details

C. Major Differences between C# and Unity JavaScript

Unity Script Directives

Type names

Variable declaration

Variable with Dynamic Type Resolution

Multi-dimensional array declaration

Character literals not supported

Class declarations

Limited interface support

Generics

The foreach keyword

The new keyword

YieldInstruction and coroutine

Casting

Properties with getters/setters

Changing Struct properties by value VS by reference

Function/method definitions

Reference

D. Shaders and Cg/HLSL Programming

ShaderLab properties

Example

Surface shaders

#pragma surface

Required parameters

Surface shaders input structure

Example:

SurfaceOutput structure

Cg/HLSL programming

Accessing shader properties in Cg/HLSL

Example:

Data type

Common methods to create shaders

Reference

Index

累计评论(0条) 0个书友正在讨论这本书 发表评论

发表评论

发表评论,分享你的想法吧!

买过这本书的人还买过

读了这本书的人还在读

回顶部