Beginning 3D Game Development with Unity

Beginning 3D Game Development with Unity 992 pages Publisher: Apress; 1 edition (May 25, 2011) Language: English ISBN-10: 1430234229 ISBN-13: 978-1430234227 What you’ll learn How to build interactive games that work on a variety of platforms Take the tour around Unity user interface fundamentals, scripting and more Create a test environment and gain control over functionality, cursor control, action objects, state management, object metadata, message text and more What is inventory logic and how to manage it How to handle 3D object visibility, effects and other special cases How to handle variety of menus and levels in your games development How to handle characters, scrollers, and more How to create or integrate a story/walkthrough Real time 3D games have been around for well over ten years now. We’ve played them, created assets in the style of our favorites, and maybe even “mod”ed a few of them. But until recently, the cost of licensing one of the premier game engines has ranged from several hundred thousand to several million dollars per title (!), relegating the dream of creating your own 3D game to an unattainable fantasy. Times have changed. 3D has become affordable not only in the movie industry, as seen by the number of titles featuring CG (computer graphics), but also in the game industry where we’ve seen a shift in casual games from 2D to a 3D format. With Unity’s bold move to offer a robustly featured free version of their engine, a radical change in the pricing models of the high-end engines has rocked the industry. The cost of the engine is no longer a barrier to taking your game from a nebulous idea to a working prototype and even on to a marketable product. Whether your interest is in casual games or you have more ambitious aims, if you have no previous scripting experience but are eager to bring your art assets and story to life, this may be just the book to get you underway. In today’s modern game engines, the heavy programming is handled by the engine itself, so the logic and game play can be scripted by those with more creativity than traditional programming knowledge. In this book, I will approach game creation and design decisions from a 3D artist’s view, taking the logic and scripting in small pieces, while introducing artists, budding game designers, and novice programmers to real-time game engine concepts at the same time. This book is written in a project-based format so you will not only end up with a playable game and scripting resources you can reuse for other games, but you will experience typical design decisions that need to be addressed throughout the process. You will create your game by starting with the basics and refining it as you add functionality; I will explain the logic behind certain choices and real-time game concepts as you go along. The project for this book is based on a first person point and click adventure game, complete with inventory, state management, load/save functionality, and a strong emphasis on the visual aspects of game creation. Even if you are more of a first person shooter-type game enthusiast, you will be able to see how including entertaining or interesting tasks and features can enhance your favorite genre. The aim of this project is to introduce you to a logical progression of design decisions and problem solving that will be of value well beyond the scope of the adventure game genre. It provides a framework and a methodology for creating and, more importantly, finishing your own game. You will be going beyond the basic Unity functionality and use of standard assets to investigate topics rarely covered in online tutorials or books. All of the necessary art assets to complete the project are provided. ### 3D游戏开发入门与Unity应用详解 #### 一、引言:为什么选择Unity进行3D游戏开发? 随着技术的发展,实时3D游戏已经普及超过十年。在过去的日子里,高昂的游戏引擎授权费用(从数十万到数百万美元不等)让许多独立开发者望而却步。然而,随着Unity推出其免费版本的强大引擎,这一现状发生了翻天覆地的变化。Unity不仅降低了门槛,还极大地推动了3D游戏开发的普及。 #### 二、Unity概述与基础界面介绍 Unity是一款功能强大的跨平台游戏开发引擎,支持多种操作系统和设备。通过本书第二章《Unity UI 基础——入门指南》,读者将学习到Unity的基本用户界面操作,包括项目设置、场景视图、游戏对象层次结构等核心概念。这些基础知识对于初学者来说至关重要,为后续的开发工作打下坚实的基础。 #### 三、Unity脚本编写入门 在第三章《脚本编写:初试身手》中,作者将引导读者了解Unity中的脚本编写过程。这部分内容覆盖了基本的C#编程知识,以及如何使用Unity的API来控制游戏对象的行为。对于没有编程经验的读者来说,这是一次友好的编程体验,帮助他们在游戏开发过程中逐步掌握逻辑和游戏玩法的实现方法。 #### 四、创建测试环境:地形生成 第四章《地形生成:创建测试环境》重点介绍了如何在Unity中构建一个可用于测试的3D环境。通过学习如何创建和编辑地形,读者可以为游戏的角色和交互元素提供一个逼真的背景。这部分内容还包括光照设置和材质应用等方面的知识,这些都是提高游戏真实感的关键要素。 #### 五、导航与功能性控制 第五章《导航与功能性控制》进一步探讨了玩家角色的移动方式以及如何实现与游戏世界的互动。这包括第一人称视角下的移动控制、碰撞检测等高级主题。此外,章节还介绍了如何处理玩家输入,使游戏更加直观易用。 #### 六、光标控制 第六章《光标控制》深入讲解了如何在Unity中实现精确的光标操作。这对于创建基于点击的冒险游戏至关重要。通过学习如何处理光标事件,开发者能够为玩家提供更加流畅的游戏体验。 #### 七、动作对象 第七章《动作对象》专注于如何创建和管理游戏中各种可交互的对象。这包括道具、敌人和其他非玩家角色。通过本章的学习,读者将了解到如何为这些对象添加动画效果和响应行为,从而增强游戏的真实性和趣味性。 #### 八、状态管理 第八章《状态管理》讲述了如何管理和跟踪游戏中各种对象的状态变化。状态管理是游戏设计中的一个重要方面,它确保了游戏逻辑的一致性和完整性。例如,物品是否已被拾取、角色的生命值等都是需要考虑的状态因素。 #### 九、对象元数据 第九章《对象元数据》探讨了如何为游戏中的每个对象添加额外的信息或属性,如名称、类型、权重等。这些元数据有助于开发者更好地组织和检索游戏资源,同时也为实现复杂的逻辑提供了便利。 #### 十、消息文本 第十章《消息文本》介绍了如何在游戏中显示文本信息,如对话框、提示信息等。这部分内容对游戏的故事叙述和玩家指引非常重要。 #### 十一、库存逻辑 第十一章《库存逻辑》讨论了如何实现游戏中的物品管理系统。这包括如何存储、检索和管理玩家的物品清单。通过有效的库存管理,开发者可以增加游戏的复杂度和深度。 #### 十二、库存管理 第十二章《管理库存》进一步扩展了库存逻辑的概念,探讨了更高级的库存管理技术,如物品分类、堆叠限制等。这些功能增强了游戏的策略性和玩家的沉浸感。 #### 十三、完成基本功能 第十三章《完成基本功能》总结了前面章节的内容,并引导读者完成游戏的基本架构。这包括游戏的核心机制、用户界面设计以及初步的游戏流程。 #### 十四、深入游戏开发 第十四章《深入游戏开发》介绍了如何在现有基础上进一步完善游戏,包括添加更多的关卡、挑战等。此外,还会涉及游戏性能优化、多人游戏支持等方面的知识。 #### 十五、迷宫与最终关卡 第十五章《迷宫与最终关卡》提供了创建迷宫和设计最终关卡的具体指导。这部分内容对于打造游戏高潮和结局至关重要。 #### 十六、菜单与关卡设计 第十六章《菜单与关卡设计》涵盖了游戏菜单系统的设计与实现,以及如何组织多个关卡之间的过渡。这有助于提升玩家的游戏体验。 #### 十七、超越基础 第十七章《超越基础》探讨了一些高级话题,如高级物理模拟、高级图形效果等。这些内容旨在帮助开发者突破创意和技术上的限制,创造出更加独特和吸引人的游戏作品。 #### 结语 通过本书的学习,读者不仅能够掌握Unity的基础知识,还能深入了解3D游戏开发的各种高级技巧。无论你是艺术家、设计师还是程序员,本书都能为你提供宝贵的指导和支持,帮助你将创意转化为现实。随着Unity不断更新和完善,未来的3D游戏开发将变得更加简单和有趣。




















剩余985页未读,继续阅读

- 粉丝: 22
我的内容管理 展开
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助


最新资源
- 2023年电大数控专业数控编程作业形成册答案.doc
- 2023年电大信息化管理与运作模拟考试材料.doc
- 2023年广播电视大学(电大)计算机网络模拟题参考答案.doc
- 2023年电大专科计算机应用基础形考册答案作业.doc
- 2023年电商大数据行业市场突围建议及需求分析报告.docx
- 2023年电力GIS行业市场需求分析报告及未来五至十年行业预测报告.docx
- 2023年广播电视大学(电大)数据库应用模拟卷答案.doc
- 2023年广播电视大学(电大)土木工程CAD模拟试卷.doc
- 2023年广播电视大学(电大)计算机组网技术模拟题.doc
- 2023年广播电视大学(电大)网络规划与设计考核说明.doc
- 2023年广播电视大学电大电子商务案例分析模拟试卷.doc
- 2023年广播电视大学电大C语言程序设计A.doc
- 2023年广播电视大学电大网络营销与策划.doc
- 2023年广播电视大学电大数控编程技术.doc
- 2023年广播电视大学网上电子商务作业四.doc
- 2023年广技师C语言复习题练习循环结构有答案.doc



- 1
- 2
- 3
- 4
- 5
- 6
前往页