更新时间:2021-04-02 18:35:04
封面
版权信息
Credits
About the Author
About the Reviewer
www.PacktPub.com
Support files eBooks discount offers and more
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Time for action – heading
Reader feedback
Customer support
Chapter 1. That's One Fancy Hammer!
Introducing Unity 3D
Unity takes over the world
Browser-based 3D? Welcome to the future
Time for action – Install the Unity Web Player
Welcome to Unity 3D!
Walk before you can run (or double jump)
There's no such thing as "finished"
Stop! Hammer time
The wonders of technology!
The Scene window
Don't stop there—live a little!
Summary
Chapter 2. Let's Start with the Sky
That little lightbulb
The siren song of 3D
Features versus content
A game with no features
Mechanic versus skin
Trapped in your own skin
That singular piece of joy
One percent inspiration
Motherload
Heads up!
Artillery Live!
Pong
The mechanic that launched a thousand games
Toy or story
Redefining the sky
Chapter 3. Game 1: Ticker Taker
Kick up a new Unity project
'Tis volley
Keep the dream alive
Slash and burn!
The many faces of keep-up
Creating the ball and the hitter
Time for action – Creating the ball
A ball by any other name
Time for action – Renaming the ball
Origin story
Time for action – Moving the ball Into the "sky"
Time for action – Shrinking the ball
Time for action – Saving your scene
Time for action – Adding the paddle
Keeping yourself in the dark
Time for action – Adding a light
Time for action – Moving and rotating the light
Are you a luminary?
Time for action – Camera mania
Time for action – Test your game
Let's get physical
Time for action – Adding physics to your game
Understanding the gravity of the situation
More bounce to the ounce
Time for action – Make the ball bouncy
Chapter 4. Code Comfort
What is code?
Time for action – Writing your first Unity script
A leap of faith
Lick it and stick it
It's all Greek to me
You'll never go hungry again
With great sandwich comes great responsibility
Examining the code
Time for action – Find the Mesh Renderer component
Time for action – Make the ball re-appear
Ding!
Time for action – Journey to the Unity Script Reference
The Renderer class
What's another word for "huh"?
It's been fun
Time for action – Unstick the script
Gone but not forgotten
Why code?
Equip your baby bird
Time for action – Creating a new MouseFollow script
A capital idea
Animating with code
Time for action – Animating the paddle
Pick a word—(almost) any word
Screen coordinates versus world coordinates
Move the paddle
Worst. Game. Ever.