二维游戏开发教程
使用Unity开发二维游戏
作者: Graveck Interactive
Contents
1. Introduction
Why 2D is the Bees Knees 4
Prerequisites 6
2. Setting The Scene
Getting in the 2D MindSet
7
A Closer Look 9
Setting the Level Attributes 10
Object Profile: Level Attributes 12
Object Profile: Death Zone 13
Setting Up the Platforms 13
Object Profile: Platform (Prefabs) 15
Object Profile: PreAssembled
Platform 16
Introducing Lerpz, Our Lovely Character 17
Placing Lerpz 18
Directing the Camera 19
Object Profile: Character (Lerpz) 20
Lighting our Scene 22
Spicing up the Character 24
The Camera 26
Object Profile: Main Camera 27
Continuing our Level 28
Script Profile: CameraTargetAttributes 28
Handling Rigidbodies 29
Object Profile: Crate 30
Exercise 31
Moving Platforms 32
Object Profile: Moving Platform 33
The Spaceship 34
Object Profile: Spaceship 35
Well Done! 36
3. Delving Deeper: Scripting Examples
Studying the Scripts 38
Moving Platform Particle Effects 38
The Camera Scrolling Script 40
Streamline Your Workflow 41
Spaceship Script Part 1: Defining Helper Classes 43
Spaceship Script Part 2: Controlling the Spaceship 44
Spaceship Script Part 3: Special Effects 47
Finished! 47
4. Whats Next?
Your Turn 48
简介
有时二维游戏会有你无法抗拒的诱惑力!Unity能做
它.
这几个教程将一步步的指导你创建一个基
本的二维类型的游戏.
为什么二维游戏这么重要?
Unity能帮助你方便的创建伟大的三维游戏已不是什么秘密.
其易学和灵活性,即使是初学者也可以很容易的创建经常的游戏.Unity无疑是一个伟大的三维
原创力文档

文档评论(0)