查看: 420|回复: 8

[游戏性指南] 【Unreal Projects and Gameplay | Unreal Engine】

[复制链接]

1

主题

342

帖子

7万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
75866
发表于 2016-6-27 16:32:03 | 显示全部楼层 |阅读模式



Everything for your project is contained within the project directory.  You can create as many projects as you would like, but each one is self-contained. Using Unreal Engine's Project Browserto create new projects will set up the necessary project framework such as the directory structure and the Unreal Project File ([ProjectName].uproject) that you can open in Unreal Editor.



Your project contains assets, stored as .uasset files in the Content folder. These assets can include Materials, Static and Skeletal Meshes, Blueprints, Sound Cues, and Textures, and are reusable reference materialsand templates that can be called upon by objects in your project.

Projects also contain levels. Levels are also often referred to as maps, and are stored as .umap files within the Content folder. Within Unreal Editor, you work on one level at a time, and the level is displayed in the Viewport.

< src="./images/Gameplay/UnrealTerminology/map_viewport.jpg[/img]


At the most fundamental level, an Actor is a gameplay entity that (usually) contains one or more components, can be placed in a Level or Spawned in during gameplay, and support network replication for multiplayer games. In the above level, the ground platform, the blocks in the center of the level, and the PlayerStart visible at the bottom of the image are all Actors. All Actors extend from the AActor class, which is the base class of spawnable gameplay Objects.

Actors can be thought of, in one sense, as containers that hold special types of Objects called components. For instance, a CameraActor contains a CameraComponent.

<src="./images/Gameplay/UnrealTerminology/camera_actor.jpg[/img]


The functionality of a camera, like the field of view, is all contained within the CameraComponent.  That means that the CameraComponent can be included in other Actors, like a Character, to give the same camera functionality to those Objects.

<src="./images/Gameplay/UnrealTerminology/pawn_actor.jpg[/img]


Different types of components can be used to control how Actors move, how they are rendered, and many other parts of their functionality. All Objects, including Components, extend from the UObject class, which is the base class of all gameplay Objects.  This means they cannot be directly instanced into the world; they must belong to an Actor.

Each Actor or Object is a single instance of a class.  The class sets up the template for the Actor or Object. It defines the variables that can be set for that Actor or Object, and the functions thatcan be carried out within that Actor or Object.  You can create new classes, or types of Objects and Actors, with C++ code. Blueprint Classes primarily allow you to create classes that set up new Actors, although you can extend a few Objects with Blueprint Classes as well. You can also combine the two, by creating a new C++ class and then making a Blueprint Class derived from that C++ class. To learn more about creating classes so you can make new kinds of Actors and Objects, see the Class Creation Basics page.
回复

使用道具 举报

独自飘零 该用户已被删除
发表于 2016-7-2 20:03:30 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
回复 支持 反对

使用道具 举报

0

主题

1260

帖子

4007

积分

vip会员

Rank: 1

积分
4007
发表于 2016-7-4 02:47:45 来自手机 | 显示全部楼层
这个支持了呀,不错,顶顶帖拿拿钱
回复 支持 反对

使用道具 举报

0

主题

925

帖子

2975

积分

vip会员

Rank: 1

积分
2975
发表于 2016-7-4 12:23:36 来自手机 | 显示全部楼层
看看价格支持下
回复 支持 反对

使用道具 举报

0

主题

884

帖子

2975

积分

vip会员

Rank: 1

积分
2975
发表于 2016-7-15 02:49:56 来自手机 | 显示全部楼层
支持一下,3q
回复 支持 反对

使用道具 举报

0

主题

866

帖子

2911

积分

vip会员

Rank: 1

积分
2911
发表于 2016-7-20 04:50:28 | 显示全部楼层
什么鬼???看着很不错的样子啊!
回复 支持 反对

使用道具 举报

0

主题

847

帖子

2783

积分

vip会员

Rank: 1

积分
2783
发表于 2016-7-20 15:48:36 来自手机 | 显示全部楼层
看看效果,谢谢分享
回复 支持 反对

使用道具 举报

0

主题

861

帖子

2903

积分

vip会员

Rank: 1

积分
2903
发表于 2016-7-21 17:53:15 来自手机 | 显示全部楼层
楼主真是好人吖~~非常感谢
回复 支持 反对

使用道具 举报

0

主题

850

帖子

2784

积分

vip会员

Rank: 1

积分
2784
发表于 2016-7-26 20:33:09 | 显示全部楼层
谢谢 分享 这个我还记得 不错
回复 支持 反对

使用道具 举报

*滑块验证:
您需要登录后才可以回帖 登录 | enginedx注册

本版积分规则

 
 



邮件留言:


 
返回顶部