游戏邦在:
杂志专栏:
gamerboom.com订阅到鲜果订阅到抓虾google reader订阅到有道订阅到QQ邮箱订阅到帮看

以分子结构法解析游戏空间设计原理

发布时间:2013-02-11 09:21:35 Tags:,,,

作者:Luke McMillan, Nassib Azar

前言

游戏空间是游戏规则和系统运作的环境,是游戏媒介执行机制的空间。当我们谈到游戏空间的设计时,我们有时候会用纯空间的术语描述设计师在设计某种游戏空间时必须实现的东西。

在设计FPS的游戏空间时,你使用自己最喜欢的原型设计工具,画出走廊和房间,这是最糟糕的设计方法。当你用现实的规则设计游戏空间时,你会很难想出有趣的空间谜题。在写字楼似的空间里穿梭能有多少乐趣?

分子设计法是一种运用绘图理论来概念化和调整各种游戏空间类型的方法。这种理想的设计方法意味着在设计空间时,你不必思考空间本身的表现元素。本文仍然同意平面地图的重要性,但是,我们首先需要更好的工具帮我们创造这些平面空间。

本文的前半部分将介绍绘图理论中的一些实用的工具,设计师可以用于概念化各种游戏组件。本文的后半部分将检验这些工具的实际运用。借此,我们将了解到这种抽象的空间实现方法如何促进关卡的重复设计。

绘图基础

绘图理论是数学中一个宽泛而多变的领域;但是本文探讨的图形可以解释空间关系。在绘图理论中,用于解释空间关系核心概念是结点和边(图1)。结点可以表示游戏空间/房间、可拾取物品、重刷点和AI路径点。边可以定义结点之间的关系。

图1(from gamasutra)

图1(from gamasutra)

图2是一个分子结构,它是由若干个结点通过边连结起来的。在这个例子中,我们围绕玩家出现点确定了一系列标记。这就是用绘图的方法直接描述空间。结点通过边连结起来,这些边确定了玩家和其他结点之间的最短矩离。标记越大,边就应该越长。

这个方法对PVP游戏很管用。在这类游戏中,为了实现平衡,可拾取物品在空间的分布应该大致平均。重复并旋转分子结构就可以对称分布空间中的可拾取物品了。边除了确定结点之间的关系外,还可以表示关卡中的通道或其他路径。在进一步解释以前,我们先看看加粗和定向边。

图2(from gamasutra)

图2(from gamasutra)

我们可以修改边的外观以表示结点之间的不同关系。在图3中,介于A与C之间的边比其他边粗。如果我们使用绘图理论设计空间,那么结点就表示某个游戏空间,那么越粗的边就表示结点之间的关系越直接,而不是表示这两个结点之间的空间更大。

图3(from gamasutra)

图3(from gamasutra)

我们将图3的分子结构放到图4中,可以看出来,粗边表示的A与C之间的通道是直的,没有阻挡。相反地,A与B之间的细边表示的通道是曲折的,即更复杂。这个例子说明了,边不是描述空间的外观,而是结点之间的关系。

图4(from gamasutra)

图4(from gamasutra)

我们可以进一步丰富边所传达的信息。图5使用带箭头的边表示A与B之间的不同路径;边越粗,路径就越直接。连结B与C的是一个间接单向的出入口。连结A与C的是另一个单向的出入口。这条边更粗,表明这两个结点之间的关系更直接,曲折程度更低。

图5(from gamasutra)

图5(from gamasutra)

结点和边可以表示游戏关卡设计中的任何特征。例如,我们可以用边的粗细表示结点之间的通过难度。用边描述垂直空间,我们可以知道C是地图上的最高位置。还可以看出,只有通过B才能抵达C。介于B与C之间的定向边暗示,B处应该有一个“跳板”,且只能从B跳向C。对于定义特定的分子结构的关键,全凭设计师或团队的考虑。

为了进一步解释使用空间分子设计游戏空间,我们可以看以下例子。图6表示一个简单的空间分子,我们可以看出这是一个线性关卡,适用于单人游戏的地图。粗边没有出现在这个例子中,不过定向边的运用使这个空间谜题变得更有趣了。

图6(from gamasutra)

图6(from gamasutra)

图7告诉我们不能用空间分子做什么。使用分子的设计方法是为了将你的创意过程从纯空间理论的约束中解放出来,转而从空间关系的角度创造有趣的环境。尽管图7中的平面地图确实遵循了分子的空间关系,但它只是一个无聊的线性空间。

从空间的角度设计地图还存在其他缺陷。首先,你在平面空间中画地图,产生的一般是线性的、空间连空间的布局。当你的想象空间是二维的,你的地图也将是二维的。因此,你的地图不会产生有趣的垂直空间,更重要的是,从地图的起点看不到目标。

图7(from gamasutra)

图7(from gamasutra)

图8是相同的空间分子,但设计得更好。这个例子将各个结点作为“游戏空间”,并且用分子的边定义了这些游戏空间之间如何产生交互活动。以下是通关的假设:

在这个例子中,玩家从一个可以远眺山谷(结点A)的平台开始。除了山谷之外,还可以看到游戏区域F,一个高大的人工塔。这是最终目标,它的大小和规模立即让玩家好奇他们如何才能进入这个建筑的内部。玩家注意到,塔的入口是上锁的,但他们可以看到远处的另一个建筑,区域E中的一个大金字塔。这个金字塔有一个宏伟的入口,非常吸引玩家的注意力——它是地图上唯一让玩家有兴趣的另一个点,因此可以吸引玩家朝它走去。

在区域A的起点和金字塔之间,玩家遇到许多障碍:一堵大墙、一座大门关上的桥和一个深水峡谷。玩家有时间从他们的高台位置查看整个场景,对地形有个基本的了解。玩家从A开始计划路线。

玩家从A的高台跳下来——这是一个单向入口。在区域B,玩家必须想办法打开大门。一开始,他们会被跨越峡谷的桥所吸引,但他们很快发现桥被上锁了,并且只能从另一端打开。在桥的附近,玩家注意到有一片岩石区,他们可以从那里跳进河里,并且不会受伤。

玩家入水后,沿着河流达到一片开阔的水域。这里,玩家发现一段楼梯可以通向金字塔所在的高地。进入金字塔后,玩家看到一条地下通道连接着位于区域F的目的地。一旦玩家接近区域F,路就会从玩家身后开始崩塌,所以这是一条不归路。

隐藏的房间a将F与E连接起来,然而它也是一个单向入口,只能从E进入。一旦玩家进入房间,它就开始被大水淹没,阻断通向F的路。这样,玩家就不得不前往区域E。

区域F是目的地,玩家只有进入F才能继续前进。注意,因为区域A是单向入口,区域F被关闭,所以玩家不能返回刚才那片开阔的区域。

图8(from gamasutra)

图8(from gamasutra)

图9表现的是对相同分子结构图的另一个解释,这一次我们用更形像的房间来表示空间。

在这个游戏过程中,玩家从A开始,这是一个带两个门的房间,一个打开了一个关闭着。玩家从唯一打开的那个门进入另一个更大的房间B。这个房间有一个门,但是锁坏了打不开,所以玩家知道无法由此通过。在B内部有许多箱子,玩家跳上去才能离开这个房间。

在这个高大的房间上方是一个悬挂着的支架。玩家俯视这个区域可以看到一个房间E。玩家从一个箱子跳到另一个箱子,慢慢地探索垂直空间。当他达到最高位置时,就进入一个小隧道(C),然后逐渐下降。

穿过隧道后,玩家来到户外区域D。在这里,他可以通过楼梯从D到达E。进入E后,玩家可以穿过之前看到的桥。在去F的路上,玩家发现一个可拾取物品,就位于他之前在B达不到的箱子上。如果他决定跳回那个箱子,那么他就必须依次返回B、C、和D。

图9(from gamasutra)

图9(from gamasutra)

图8和图9表明,利用分子设计一个平面地图是一个设计创意空间的好办法。这种概念化的方法迫使设计师在关卡设计的平面地图阶段时必须安排有趣的空间选项。根据我自己的经验,用平面地图设计出来的关卡通常是很无趣的、线性的——这是用纯2D空间创造法制作有趣的3D空间的结果。

更先进的工具

既然我们已经探讨了绘图理论的基本原理,现在就可以探讨一下设计师们设计游戏空间时使用的一些工具。注意,这些工具只是设计师可以使用的一些概念。因为本文挪用了一些想法,所以有些例子必须脱离对这些概念的纯数学解释。本文将探索的绘图概念如下:

*支配理论

*斯坦纳点

*生成树

领土/控制理论

领土理论可以帮助我们理解结点如何产生作用区域(AOE)和这个AOE如何覆盖其他结点。对于从玩家体验的角度解释现存的地图,这是一个特别实用的理论。在这种方法中,各个结点代表“游戏区域”和这个空间的游戏强度。

“游戏区域”这个概念,最初是在设计《半条命》时用于研究和指代“体验密度”的。体验密度是由Valve的设计师们在开发《半条命》时杜撰的。这个概念是指基于距离而非时间的游戏体验。这个基本概念是,玩家应该总是自主选择游戏体验的下一个区域。在玩家来到高密度的区域前,设计师应该给玩家足够多的时间收集掉落物品或单纯地探索地图。

图10(from gamasutra)

图10(from gamasutra)

图10是取自《半条命2》的一段地图,从中我们可以看出如何使用领土理论增加体验密度。在这张地图中,我们有三个明显的高密度区域,分别用A、B和C表示。各结点的AOE分别表示各区域的游戏密度。AOE越大,玩家面临的挑战就越大。

如果我们在设计时采用领土理论,那么我们就能使用领土来确保我们不会强迫玩家进入连续的、高密度的游戏区域。也就是说,我们希望用分子设计来确保在不同区域之间,玩家有足够的情绪“冷却”时间。我认为这些冷却区域类似于音乐的动态。在《The Clarinet and Clarinet Playing》一书中,音乐家和作者David Pino将这个概念总结如下:

这么思考:如果你站在海滨眺望一片宽广的大海,你可能会觉得无聊。但是,如果海面上漂着一支小船,你就会觉得大海很有生机,很迷人。类似地,如果你的视野突然被上百只船充满,没有哪一支船会让你留意很久。相同的原则也适用于音乐演出:如果听众体会不到旋律中的微秒变化,他们就会觉得沉闷;但如果除了微妙变化,他体会不到其他东西,他们也仍然觉得无趣……音乐中最重要的元素是它的韵律起伏流动。

为了更好地解释领土理论的作用方式,我们可以使用取自《半条命2》中的相同例子,但我要刻意破坏体验密度(图11)。在图11中,覆盖的游戏区域用重叠的红色AOE表示。从玩家体验的角度看,这就像阅读一本不带标点的书。游戏体验缺少情绪状态的混合,因为玩家“除了微妙变化,他体会不到其他东西了”——用Pino的话说。

图11(from gamasutra)

图11(from gamasutra)

为了解决体验密度的问题,我们可以在这张地图上运用领土理论。取决你希望玩家有多少冷却空间,你可以调整“支配重叠”来适应冷却空间。例如,你可以将分子中的重叠结点移除,这样就没有覆盖区域了(如图10)或者你可以修改游戏区域,这样游戏密度就会降低,但是更加频繁(如图12)

图12(from gamasutra)

图12(from gamasutra)

从关卡概念化的角度看,领土也可以用于定义“刷出排斥区域”或任何其他类型的“排斥区域”。所谓的排斥区域就是指,在某个区域内某物不允许出现——即另一个结点的领土区域内不允许与其他结点的领土区域重叠。在使用领土理论时,点可以表示可拾取物品或玩家刷出点。因此,红色的AOE就形象地表示事件刷出范围的最小距离。

图13是一个使用领土确定排斥区域的例子。结点代表一个玩家刷出位置,也可以表示其他物品刷出点。这个围绕在结点周围的红色AOE形像地代表另一个刷出可以出现的最小范围。例如,如果我们遵循虚幻开发工具包(UDK)的限制,那么我们可能说根据我们的地图大小,处在相同垂直空间的各个刷出点必须彼此相距至少1024UU。你的领土区域的规则是灵活的;然而,对于这个例子,这个规则是,在这个领土区域内不允许出现其他刷出活动——至少从平面的角度看。

图13(from gamasutra)

图13(from gamasutra)

图14是一个必须解决的领土问题。这个问题可能是因为重叠刷出或可拾取物品太接近。为了移除重叠部分,我们可以把这些结点分得更开一些,或者简单地使用关卡地形来缓和重叠问题,如图15所示。

但是,当运用领土理论时,你应该有一点常识。一旦你添加上关卡地形,你的设计就会更加复杂,这需要你修改某些规则。

图14(from gamasutra)

图14(from gamasutra)

图15(from gamasutra)

图15(from gamasutra)

图16(from gamasutra)

图16(from gamasutra)

在图16的例子中,我使用刷出的排斥系统在一个不对称环境中分布刷出位置。注意,我有意将刷出位置3远离刷出位置1和2。

这么做的原因是,刷出位置1和2的接近向量更少——即在玩家的视域内可以看到任何接近的敌人。而刷出点3的接近向量的弧度很大,玩家的视域不可能覆盖到整个范围,因此必须将这个点与其他点的距离拉大,以弥补这个劣势。

你可以将这个相同的排斥系统运用于其他可拾取物品——可拾取物品越强大,刷出排斥范围就越大。但正如前面提到的,关卡地形和其他因素如可拾取物品和玩家在游戏空间中移动的能力必然要求使用更复杂的分析工具——也就是生成树和斯坦纳点。

使用绘图理论理解玩家的选择和策略

所有游戏关卡都提供空间谜题。这些谜题的形式有很多,运用绘图理论可以改进某些与最佳行动策略有关的谜题,这类谜题经常出现在死斗模式的地图中。

玩家的游戏体验有赖于大量选择;但是,过多的选择与毫无选择一样糟糕。进一步说,玩家通过执行“好”策略选择而得到胜利时,会产生强烈的自豪感。到目前为止,我们已经使用绘图理论解释了游戏空间的结构,;但绘图理论的实用性不仅仅体现这一方面,还体现在考察以人为诡计和策略为主要关切点的关卡设计。我们将结合斯坦纳点和生成树,以及最大化和最小化通道的原理,来理解这些人为因素。

图17(from gamasutra)

图17(from gamasutra)

图17是一个假想关卡的例子。结点A-E分别表示不同类型的游戏空间,各条边表示玩家从一个空间移动到另一个空间的可用路线。注意,边并不表示通道,而是玩家的选择路径。边的长短是根据路线的复杂程度确定的——也就是,边越长,通过这条路线的时间就越长。在图17中,各个空间(结点)都给玩家提供3到5个不同的选择。从这张图还可以看出,玩家要穿过整个地图需要怎么走。

图18(from gamasutra)

图18(from gamasutra)

生成树可以用来寻找结点之间的最佳连接点。我们还可以借助这个工具理解玩家在这个地图上的行为,以及寻找设计不公平或不平衡的方面。如图18所示,我们可以这样使用生成树分布可拾取物品、确定刷出点和放置关卡地形,以抵消任何明显过强的行为策略——可能出现在PVP地图中。

尽管制定关卡的最佳行动策略的确切排列是定义游戏空间的好办法,但我们必须进一步考虑玩家可能想到的诡计和突发事件。比如,玩家走捷径。捷径是指规则之外的一系列策略选择。玩家在任何游戏环境中都会寻找走捷径的机会,一旦他们发现到捷径就会感到非常满足。我们可以通过斯坦纳点理解这种行为。

寻找斯坦纳点就是寻找连接多个结点的最短边的连接点。Raph Koster在他的“游戏数学”的演讲上提到一个例子,可以帮助我们理解如何在游戏中运用斯坦纳点。在他的展示中,Koster表示“如果有三个结点,你要在它们之间创造尽可能最短的路线,那么你需要多少条最短路线?”Koster提出大多数人会做出类似图19的回答。

图19(from gamasutra)

图19(from gamasutra)

这个问题的答案有一点儿偏了,因为它需要另一个结点——斯坦纳点。我们在图20中加入斯坦纳点,这样就得到这个问题的最佳解决方案了。我们可以像看待其他图一样看待斯坦纳点及其所创造的边。在游戏中,我们可以用加粗的定向边帮助确定斯坦纳点如何成为地图上的一个高度元素或另一个单向入口,如传送门或起跳台。

图20(from gamasutra)

图20(from gamasutra)

斯坦纳点就是一种捷径。它是玩家在探索地图时会找到的一个关卡设计元素。关卡设计师的秘密就是让斯坦纳点在地图上表现得比生成树路线还隐蔽。游戏《边境之地》就是一个好例子。在下图的地图中,大部分的生成树路径是很明确的,表现为清楚的路径和跳台。

斯坦纳点以高度元素的形式存在于这款游戏中,当玩家跳到地图中的某个部分时,也就是跳过生成树的大部分路线,这样就省去了许多路程。《边境之地》的克罗姆峡谷就是这样一个例子:玩家可以从上升的平台跳下来,快速移动到地图上的另一个地方,从而创造一个斯坦纳点(如图21)。

图21(from gamasutra)

图21(from gamasutra)

图22(取自克罗姆峡谷)表现的是如何在关卡设计中运用生成树和斯坦纳点。在这个例子中,玩家为了从结点A到结点F,必须设计一个生成树方案。这种关系通过一系列渐渐上升的、与桥相连的平台体现在关卡设计中。在部分地图中,许多物品分布也使用了斯坦纳点。

图22(from gamasutra)

图22(from gamasutra)

我在图23中添加了两个斯坦纳点。不过,在这个空间分子中其实还有其他斯坦纳点,这些点表示放置在高台上的可拾取物品,只有通过物品上方的结点才能得到。所以,这些结点不仅作为捷径与斯坦纳点相连,还是玩家探索作为空间谜题的地图时的收益获得位置。

图23(from gamasutra)

图23(from gamasutra)

图24将这个部分拓展为一个更确切的分子,并添加了另外两个斯坦纳结点,以体现玩家在上升或下降时如何探索这个空间。

图24(from gamasutra)

图24(from gamasutra)

现在我们已经知道斯坦纳点如何从空间谜题的水平上发生作用,现在我们可以回顾一下在图17中引入的生成树分子。如果我们将斯坦纳点运用于连接就近范围的结点,那么我们就会得到类似图25的结果。

图25(from gamasutra)

图25(from gamasutra)

这些斯坦纳结点具有多种形式。它们可以作为传送门、关卡地形或甚至是允许快速探索路径的高度元素。图25显示了我们在这个空间设计时可能使用到多少斯坦纳点。根据Koster的说法,太多斯坦纳点对玩家是有害的,因为玩家的选择太多了;也意味着玩家无法执行我所谓的“技术性策略”。基本上,即使玩家能够在这种地图中发现捷径,他们也不会感到有趣,因为捷径太多了。

图26(from gamasutra)

图26(from gamasutra)

如果我们使用关卡地形减少可能的斯坦纳点,我们就对玩家的要求就更高了。通过给予他们更少的选择(如图26),我们要求玩家执行比地图上的其他玩家的更好的策略。这么做的优点是,能在这种环境下执行更好策略的玩家会得到更大的满足感,因为他们意识到缺少选择意味着他们解决了更复杂的问题。为了说明斯坦纳点的减少如何影响难度的增加,我们只要看看下面这个取自《辐射3》的例子——图27的右下角部分。

图27(from gamasutra)

图27(from gamasutra)

FO3_Metro_map(from gamasutra)

FO3_Metro_map(from gamasutra)

在《辐射3》中的前期部分,空间探索问题可以通过简单的生成树解决,即寻找其中的斯坦纳点。这在Vault的南部区域表显得最明显,因为这是地图的第一部分(最东的),也是玩家最想探索的部分。不过,随着难度增加,这些斯坦纳点就大大减少了;这可以从DC地铁系统中看出来,《辐射3》的主线任务的玩家遭遇战就发生在这里。

实际运用

到现在为止,我们已经了解了绘图理论的基本原理和分析了在许多商业案例中的运用,但绘图理论到底如何作为工具用于概念化游戏空间?以下是由Nassib Azar提供的分子设计法的实际运用的案例。

在这个案例中,Nassib测试、执行和提炼了分子概念,以便创造一个平衡的、多人空间,这个空间尽管简单,但玩家能探索到足够多的有趣策略。

Nassib的目的是设计一个有三层体验的地图,这三层体验以三个同心圆表示。游戏空间是死斗模式地图,使用UDK默认游戏类型。外层是由低密度区域组成的,作用是“引诱”玩家进入游戏空间的最内层。

出于这个设计的目的,Nassib用玩家积极尝试杀死对方的次数衡量“密度”。图28是这个地图的草图。这张图显示了瓶颈点、交集点、刷出点和可拾取武器点,当玩家接近地图的中心时,这些点可以用来增加游戏体验的密度。

图28(from gamasutra)

图28(from gamasutra)

经过一些初期纸上原型和反馈后,三个不同密度的中心游戏空间的核心想法最终变成一个更具体的分子结构,从而确定空间。图29是早期概念的重制图。在这张图中,我们仍然有相同的一组同心圆表示游戏的密度,但是添加了边,以体现外层如何引导玩家进入中层。

为了达到这个目标,Nassib运用了“浓缩和漏斗”的概念,这种工具可以说明如何迫使游戏空间中的玩家使用各种可以提升情绪状态的游戏元素。在图29中,各个边代表示导向结点的额外的压迫向量。在这个例子中,结点表示用于战斗的空间;导向结点的边越多,这个结点的压迫程度就越高(结果是,游戏体验的密度也更高)。结点大小表示压迫程度的增加,进而增加游戏的密度。

图29(from gamasutra)

图29(from gamasutra)

即使运用分子设计意味着区别游戏体验和关卡地形,Nassib还是选择研究纯地形的空间表现法是否具有内在的玩家体验价值。Nassib的分子原型的六边型属性值得进一步探究。问题是:分子结构转变成真实的关卡地形后仍然保有原来的设计意图吗?

这个用于定义整个游戏空间的原型分子以灰盒关卡的形式用UDK反复重制。显然,经过原型制作,这个尝试确实有优点;玩家体验的密度随着玩家逼近地图的中心而增加。结点变成通用的游戏空间,而边变成引导玩家进入这些空间的通道。

图30是灰盒的改良版本。从图上可以看出来,原始分子转变成可游戏的空间。在测试时发现,空间大小必须增加,才能适应游戏密度的增加。

空间大小是根据理想的游戏密度的最佳空间大小而确定的。原始分子设计在这方面转换得很好。游戏空间随着玩家向地图中心移动而渐渐增大,然而这个区域又很小,足以迫使玩家采取近战策略,从而增加游戏密度。

图30(from gamasutra)

图30(from gamasutra)

为了增加地图中心对玩家的吸引力,必须合理分布各种可拾取武器。用于确定可拾取物品位置的分子主要有两种:可拾取武器可以让玩家更快向地图的中心移动。可拾取的药水会吸引玩家探索各个游戏区域的周边环境。设置这两种性质不同的不仅增加了进攻和防御玩法的不同行动策略,而且有助于将游戏活动平均地分配到整个地图中,而不只是集中在最中心的地区。

图31(from gamasutra)

图31(from gamasutra)

图31进一步分解了图30。在中间结点(上左边)的附近,区分了导向它的两类不同的边。边1和边2来自刷出点,而边3和边4来自其他中间结点。这意味着不同的危险程度,因此要由不同的边表示。尽管最初设计假想表明,边1、边2和边3、边4之间存在某类可识别的差异,灰盒几经修改才观察到这个假想的真实样貌,见图32。

图32(from gamasutra)

图32(from gamasutra)

从这个灰盒的早期重制版可以看出设计存在根本的缺陷。尽管随着玩家逼近地图中心,游戏密度增加了,并且第二层机制也出现了,但玩家越来越觉得自己只要在地图外圈就能得到很多好处,打到无数刷出的敌人。测试的结果表明,边1和边2上升成为单向入口,可以吸引玩家进入地图,同时防止已经在地图内的玩家进入刷出点。升高的走廊被重新概念化为物理空间,如图33所示。

图33(from gamasutra)

图33(from gamasutra)

分子设计法还有利于可拾取物品的分布,物品放置遵循类似关卡地形的对称分布。尽管对称分布减少了地图设计的工作量,但过多的对称通常是很无聊的,甚至让玩家感到困惑。

为了解决这个问题,应该用不对称作为玩家探索、分布着不同类型武器的房间和游戏机制的标志。使各个房间的布局不同有两个目的:一是帮助玩家探索各个房间,并“感知”各个房间的优势。如果玩家感到不公平,那么无论系统本身多么公平和平衡,玩家也会被他们认为有漏洞的元素所吸引,即使实际上这些元素并没有漏洞。

事实上,第二圈的房间各自包含不同类型的空间分子。这些分子的差异通过不同的阻塞点和掩蔽元素体现出来。从图34和图35中的对比中可以看出这种结果;两张图的房间都在第二圈,各自提供不同类型的游戏体验。

图34(from gamasutra)

图34(from gamasutra)

再次重制和测试后,发现玩家更可能进入主要的房间,而不是第二圈/中间房间,但没有达到预期的比例。在中心房间的游戏体验的密度必须非常高,但是要达到理想的体验,玩家流量还不够。当然,这可以通过缩小空间来解决,然而因为关卡美术的大部分已经进入制作阶段,所以有必要寻找替代选择。

为了最大化体验,使玩家刷出点的第二圈出现在第二圈的夹层中。从更上面的刷出点走到中心房间的距离比从地面层的更短,因此会大大增加中心房间的流量,从而达到理想的效果。

图35(from gamasutra)

图35(from gamasutra)

与中间房间相比,图36中的两个重叠的刷出点没有相同的“从刷出到沉浸”的时间。换句话说,上面的边与下面的边并不相等,而其实它们应该相等。修改分子设计来改变刷出点的位置,“从刷出到沉浸”的时间差异与之前的刷出点的相比,就可以忽略不计了。

图36(from gamasutra)

图36(from gamasutra)

对称分子使地图上的楼梯和电梯分布更公平;然而,在实际设计中,三个电梯的分布被有意区别开来(图37)。这个方法的基本原理是,突出感知不公平的心理状态。测试表明,大多数玩家认为靠近刷出点的楼梯更有优势,这种优势不会被用来反对他们。梯楼本身的设计是不对称的,这么做的作用有两个:一是帮助玩家探索,二是丰富中间房间的游戏体验。

图37(from gamasutra)

图37(from gamasutra)

另一个用于实现平衡的策略并非出自绘图理论本身,但突出了绘图理论如何帮助解读玩家行为。Kismet脚本会使游戏每过三分钟比较一次分别经过这六个中间房间的玩家的数量,然后确定哪个房间的流量最少。活动量最少的房间就要增加一个触发器。

当玩家激活触发器时,它就会将另一个玩家放入这个空间,玩家互杀完毕后计算击杀数目。(图38是这张地图的俯视图,也就是玩家死前看到的最后一个场景)这有助于增加流量最少的房间的游戏密度,从而通过机制而不是静态绘图创造一个动态平衡的系统。当出现这个场景时,玩家可以选择使用斯坦纳点的方案来解决空间问题——也就是达到目标的最短路线。

图38(from gamasutra)

图38(from gamasutra)

一旦脚本确定最少流量的房间,这个地图上的所有玩家就会收到声音和文字通告,让人们知道哪一个中间房间的触发器可以使用了。取决于玩家的当前位置,他们面临两个选择。他们可以通过最短最危险的路径达到中心房间,或者,他们也可以选择通过中间房间的更长但更安全的路径,从而避开中心的冲突区域。

这么做,我们就为玩家创造了两种不同的策略;他们可以使用中间房间作为斯坦纳点或使用外层房间作为生成树(图39)。这些策略性的选项是为了激发玩家的成就感。玩家会感到骄傲是因为他们觉得走捷径达到合适的房间,这是以智取胜的表现。填充在各个房间的关卡资源也起到减少斯坦纳点总数的作用,从而提高找到有限的解决方案的内在价值。

图39(from gamasutra)

图39(from gamasutra)

最后一张地图经过了8次大修改,既升级了灰盒,也调整了分子结构才变成现在这个样子。每一次修改都以修正后的分子概念为基础,之后才转变成灰盒。所以,各次修改都有明确的目标,这极大地增强了最终成果的效果,特别是考虑到时间非常有限。

结论

Dan Cook和Chris Crawford等人研究了人们玩游戏的动机,启发我们产生学习和改进这些新技术的想法。Raph Koster进一步细化这个概念;人类是寻找模式的机器,当我们在游戏中识别并学会它的模式时,我们就能从游戏中收获快乐。因此,基于模式的分子设计法来定义游戏空间直接迎合了人类天性,的确有实用价值。

另外要记住的一点是,玩家不会把游戏当作平面地图,他们是在自己的视域中感知地图。因此,你希望执行的分子的规模和“可识别度”受制于玩家在任何时候可以感知到的游戏世界。

设计师经常制作迷宫类地图,尽管这种地图从平面角度很容易理解,但通过玩家有限的视角,是绝对无法全整探索的。所以,为了让玩家觉得地图有趣,分子和模式不一定要非常复杂。

相反地,设计良好的游戏空间往往有许多嵌套分子,而不是一个分子就定义了整个游戏空间。从绘图理论的角度看,Nassib Azar制作的实例是比较简单的,但动态游戏元素产生的分子排列的数量为玩家提供了一系列多样而可控制的策略。

值得一提的是,使用绘图理论概念化和分析游戏空间并不是什么新思路,事实上很多人都以各种形式讨论了这个想法。这个研究的灵感最初来源于Raph Koster和他的“游戏数学”展示。我向所有对设计感兴趣的人推荐他的工作。Joris Dormans也写了一些与绘图理论相关的文章,关卡设计师可以当作参考。Dormans的《Adventures in Level Design》和《Level Design as Model Transformation》都很不错,清楚地说明了这个工具的广泛用途。(本文为游戏邦/gamerboom.com编译,拒绝任何不保留版权的转载,如需转载请联系:游戏邦

The Metrics of Space: Molecule Design

by Luke McMillan, Nassib Azar

Introduction

Game spaces provide a context for the game’s rules and systems, and a space for the game agents to perform mechanics. When we go about designing game spaces, sometimes thinking in pure spatial terms clouds what a designer needs to achieve with a certain game space.

For FPS games, sitting yourself down with your favorite prototyping tool kit and drawing corridors and rooms is a recipe for disaster. It is difficult to design interesting spatial puzzles when you are creating game spaces using the rules of reality. How many office blocks are fun to navigate?

Molecule design is a way of applying graphing theory for concepting and fine-tuning of various types of game spaces. This rational approach to design is a means to design spaces without thinking about the representational elements of space itself. This article still accepts the importance of planar maps; however, we need better tools to help us create these first.

This article will examine some useful tools gathered from the field of graphing theory that designers can use to conceptualize various game components. The latter half of this article will examine a real-world application of these tools. By doing so, we will examine how iterations of a level design benefited from this abstracted means of realizing space.

The Basics of Graphing

Graphing theory is a broad and diverse field of mathematics; however, this article discusses graphs that can explain spatial relationships. Core to graphs that explain spatial relationships are nodes and edges (Figure 1). Nodes can represent game spaces / rooms, pickups, spawn points and AI pathing nodes. Edges define relationships between nodes.

Figure 1

Figure 2 is a simple molecule consisting of several nodes, linked by edges. In this example, we have defined a set of tokens around the players spawn point. This is a literal depiction of space using a graphing approach. Nodes become linked by edges, and these define the shortest possible distance between the player and other node. The more powerful a token is, the longer the edge should become.

This approach works well for PvP games — to create a game space with roughly similar distributions of pickups, to achieve game balance. Repeating and rotating a molecule leads to symmetrical distributions throughout the game space. Edges are abstract ways of defining relationships but not necessarily hallways or any other level geometry. To explain this further, we need to look at weighted and directed graphs.

Figure 2

We can manipulate the physical appearance of our edges to help communicate different types of relationships between the nodes. In Figure 3, the edge between nodes A and C is thicker than the rest. If we are using graphing theory to create spaces, and the nodes represent particular game spaces, then the larger edge does not imply a bigger space between the two nodes, but rather a more direct route.

Figure 3

Figure 4 takes our molecule from Figure 3 and uses weighted edges as a guideline to place out level geometry. In this example, heavy weighted edges create a path between nodes A and C that is direct and unimpeded. Alternatively, the thin edge connecting nodes A and B results in a meandering pathway that is complex in nature. This example shows that edges do not depict geometry, but rather the relationship between nodes.

Figure 4

We can further increase the information that an edge communications by adding direction. Figure 5 is an example of a graph that has directed and weighted edges. Figure 5 uses directed and weighted edges to communicate two different ways to get between node A and node B. The thicker edge is more direct than the other. Linking nodes B and C is an indirect one-way gate. The thick edge linking nodes A and C is another one-way gate. The thickness of this edge shows a direct and unimpeded relationship between the nodes.

Figure 5

Nodes and edges can represent nearly any feature of game level design. For example, we could use a system whereby the weight of the lines also tells us about the difficulty of getting between nodes. By using edges to depict vertical space, we could say that node C is the highest point of the map. Node C is then transitive in the sense that it can only be accessed from node B. The one-way direction between nodes B and C might be achieved by having a “jump pad” at node B, pointing towards node C, but not in the opposite direction. It is really at the discretion of the designer and their team to define a key for their particular molecule system.

To further explain the concept of using spatial molecules to create play spaces, let us consider one example molecule and how it should and should not be implemented. The molecule represented in Figure 6 is a simple spatial molecule that defines a linear level progression, suitable for single player type maps. Weighted edges have not been used in this example; however directed edges have been used to create interesting spatial puzzles.

Figure 6

Figure 7 is an example of what not to do with a spatial molecule. The reason to use a molecule-based approach is to free your creative process from thinking in purely spatial terms, and instead think about creating interesting spatial relationships. Although the planar map in Figure 7 does follow the spatial relationships of the molecule, it is a boring, linear space.

There are also a number of other flaws that demonstrate why designing maps from a planar perspective is problematic. First, the linear, room-by-room layout of the map is a direct product of drawing maps out in planar space. When your imaginative space is two-dimensional, your maps will be two-dimensional also. As such, there are no interesting vertical spaces and, more importantly, the objective is not clearly visible from the beginning of the map.

Figure 8 is a better implementation of the same spatial molecule. This example treats each node as a “play space” and uses the edges of the molecule to define how these play spaces can interact with each other. Below is a hypothetical playthrough:

In this example, the player starts on a ledge overlooking a valley (node A). Beside them they can see play area F, a large manmade structure towering over the environment. This is the final objective and its size and scale immediately compels the player to wonder how they can get inside the structure. The player notices that the entry to the tower is locked, but they can see another structure in the distance, a large pyramid in section E of the map. The pyramid has a grand entryway that draws the player’s attention — it is the only other major point of interest in the landscape and as such acts to draw the player towards it.

Between their starting point at section A and the pyramid, the player sees a number of obstacles that they need to overcome: a large wall, a bridge with a closed gate and a canyon filled with water. The player has time to survey the landscape from their elevated position and gain situational awareness. From node A the player begins to plan their route.

The player jumps down from the elevated platform of node A — this is a one way gate. In section B, they need to make their way to the open gate. Initially they will be drawn to the bridge that crosses the canyon, but they soon realize that it is blocked off and can only be open from the other side. Close to the bridge, the player notices that there is a section of rocks which they can use to jump into the river below without taking damage.

Once in the river, they follow it downstream towards a large open section. Here the player finds a set of stairs that will take them up to the plateau containing the pyramid. Once inside the pyramid, there is an underground road which links back to the objective at section F. This road will collapse behind them once they get close to section F so it acts as a one-way gate.

The hidden room, “a”, is connected to F and to E, however it is also a one-way gate and can only be accessed from F. The room will flood once entered, causing it to be blocked off from F, and forcing the player back up into section E.

Section F is the objective, and once inside, the player can continue onwards. Note that because section A is a one-way gate and section F is closed off, the player should not be allowed to return back into the open-area space.

Figure 8

Figure 9 is another interpretation of the same molecule, this time using a more traditional room-based approach.

In this playthrough, the player starts in section A, a large room with two doors, one open and one closed. The player goes through the only open door into a large arena section — B. There is a door in this room, but it is blocked in such a way that the player knows that it is broken and they cannot get through it. Inside B are a number of containers that the player needs to jump between in order to get out of the room.

Above this tall room is a gantry, suspended high above the floor. The player can also see a room overlooking the arena — section E. The player jumps from container to container, slowly exploring the vertical space. Once they are in the highest position they enter a network of small service tunnels (section C) that gradually descend.

After navigating the tunnels, the player drops down into an outdoor section — section D. From here, they can go between D and E via the stair. Once inside E, they can cross the suspended bridge that they saw earlier to their objective. On the way to F, they notice a pickup, situated on a container that they previously could not access via section B. If they player decided to jump down onto this container, then they need to backtrack via, B, C, and D.

Figure 9

Figure 8 and Figure 9 demonstrate how creating a planar map based on a molecule can be an excellent way to creatively problem-solve spatial design. This method of concepting forces the designer to create interesting spatial options at the planar map stage of level design. From my own experiences, designing levels starting at the planar stage more often than not leads to boring, linear progressions which are a consequence of trying to create interesting 3D spaces in a purely 2D creative space.

More Advanced Toolsets

Now that the basics of graphing theory have been discussed, it is time to move on examine some of the tools that designers have at fingertips when going about designing game spaces. It is important to note that these are just some of the concepts available for designers. As this article is appropriating some of these ideas, there are instances where it is necessary to deviate from some of the pure mathematical interpretations of these concepts. This article will explore the following graphing concepts:

Dominion Theory

Steiner Points

Spanning Trees

Dominion / Domination Theory

Domination Theory is a way to understand how nodes can have an area of effect (AOE) and how this AOE might overlap with other nodes. This tool is especially useful to analyze your existing maps from the perspective of player experience. Using this method, each node represents “zones of play” and the intensity of play that happens within each space.

This notion of “zones of play” is something that was originally explored during the design of Half-Life and is referred to as “Experiential Density”. Experiential Density is a term coined by Valve’s designers during the creation of Half-Life. The concept refers to play experience being distance-based, rather than time-based. The basic concept is that a player should always opt-in to the next section of the play experience. They should be given as much time as they need in order to accumulate loot or simply explore before being placed in a situation of high intensity.

Figure 10

Figure 10 is an example taken from Half-Life 2 that demonstrates how dominion theory can be used to promote Experiential Density. In this map, we have three distinct section of high-intensity play represented by nodes, A, B, and C. The area of effect around the nodes is meant to represent the intensity of play in each of these sections. The greater the AOE, the greater the challenge posed to the player.

If we are designing with Experiential Density in mind, then we can use Dominion to ensure that we are not forcing the player into consecutive, high intensity play zones. Quite literally we are looking at molecule design to ensure that we have enough emotional “cool-down” time for the player between zones. I like to think of these cool-down zones as being similar to dynamics in music. In his book The Clarinet and Clarinet Playing, musician and author David Pino sums this notion up well:

Think of it this way: If you look out from the shore upon a great expanse of ocean, you may become very quickly bored. If however the ocean is enlivened by the sudden appearance of an interesting ship, the view is more likely to hold your attention. Similarly, if your view is suddenly filled with hundreds of ships, not any single one of them will hold interest for very long. The same principle holds for the performance of music: If the listener perceives no subtleties he becomes bored; if he detects nothing but subtleties he becomes disorientated and bored… the most important element in any piece of music is its rhythmic flow.

To better demonstrate how Dominion Theory works, let us use the same example from Half-Life 2, but let’s intentionally break the Experiential Density (Figure 11). In Figure 11, the overlapping play sections are represented by the overlapping, red AOEs. From a player experience perspective, this is like trying to read a book with no punctuation. The game experience lacks a satisfactory blend of emotional states as the player “detects nothing but subtleties,” in Pino’s words.

Figure 11

This map, therefore, is a prime candidate to apply dominion theory to in order to solve the problem of Experiential Density. Depending on the amount of cool-down space you wish the player to have you can adjust your rules for “dominion-overlap” to suit. For example, you could remove overlapping nodes from your molecule so there was no-overlap (as per Figure 10) or you could revise your zones of play so that the play intensity is lower, yet more frequent (as in Figure 12).

Figure 12

From a level concepting perspective, Dominion can also be used to define a “spawn exclusion zone” or any other type of “exclusion zone.” An exclusion zone can define an area in which something should not happen — i.e., there should not be an overlap with the dominion of another node. In this application of Dominion Theory, a node can represent a pickup or a player spawn point. The red AOE is therefore a visual representation of the spatial metric that you have decided to use to represent minimum distances to a spawn event.

Figure 13 is an example of using Dominion to define an exclusion zone. The node represents an actual player spawn point, but could be any game token. The red AOE around the node is a visual representation of the minimum distance that another spawn can occur. For example, if we are working within the confines of UDK, then we might say that based on the size of our map, each spawn point must be at least 1024UU away from another if it occupies the same vertical space. The rules of your dominion zones are flexible; however, for this example, the rule is that no other spawns are to happen within the Dominion Zone — at least from a planar perspective.

Figure 13

Figure 14 is a dominion problem that needs to be resolved. The problem may be a result of overlapping spawns or pickups that are too close. We can remove the overlap in dominion by placing these nodes further apart or by simply using level geometry to mitigate overlap, as in Figure 15.

Figure 14

Figure 15

It is important though to use common sense when implementing Domination Theory. Once you start to add in level geometry, you are adding another layer of complexity to your designs that will call for revising some of your rules.

Figure 16

In this example, Figure 16, I have used the spawn exclusion system to spread spawn locations in an asymmetric environment. One thing to note is that spawn point 3 has been intentionally moved further away from spawns 1 and 2.

The reason for this is due to the fact that spawns 1 and 2 have fewer approach vectors — i.e. the player can see any oncoming enemy in their view frustum upon spawn. Spawn point 3, on the other hand, has a wide arc of approach vectors which the player cannot possibly cover within the same view frustum, hence the need to compensate by moving it further away from the other spawn points.

You can apply this same spawn exclusion system to other pickups — the more powerful the pickup, the larger the spawn exclusion should be. As mentioned earlier though, level geometry and other factors such as pickups and the player’s ability to move within the game space will necessitate the use of more sophisticated analytical tools — namely Spanning Trees and Steiner Points.

Using Graphing Theory to Understand Player Choice and Strategy

All game levels provide some type of spatial problem-solving puzzle. These puzzles take a number of forms, but one type of puzzle which can be improved via the application of graphing theory are puzzles relating to optimum movement strategies seen in all well-designed deathmatch style maps.

Players thrive on choice; however, too much choice can be just as bad as too little choice. Further to this, players take great pride in achieving victories via the execution of “good” strategic choices. So far we have used graphing theory to examine the construction of play spaces; however, graphing theory is especially useful when we examine our level designs with human cunning and strategy as our primary concern. The principles of Steiner trees, spanning trees, and maximum and minimum cutting are integral to understanding these human factors.

Figure 17

Figure 17 is an example of a hypothetical level. Each node, designated A-H, represents a different type of play space, and each edge represents how many different ways a player can move from space to space. Note that each edge does not represent a corridor, but rather the player’s options. The length of the edge is short or long based on how complex that particular route is — i.e., the longer an edge, the more time it should take to use that option. In the case of Figure 17, each space (node) has between three to five different options for the player to consider when exploring the space. The graph also communicates how the player needs to move through spaces in order to traverse the map.

Figure 18

Spanning trees can be used to define the most optimal connection of nodes in a graph. This tool can also be useful when we are trying to understand player behavior in a map and look for aspects of the design that may be unfair or unbalanced. We can use spanning trees such as those seen in Figure 18 to help disperse item pickups, define spawn points, and place level geometry to help counteract any significantly overpowered (OP) movement strategies that might emerge in a PvP map.

Although mapping out specific permutations of the optimal movement strategy for a level is a good way to start defining your play spaces, it is essential that we give further consideration for players’ desire to exercise cunning and emergence. A good example of this point is considering the pride that people (not just players) take in identifying shortcuts. A shortcut is a set of strategic choices that sit outside of the norm. Players will look for opportunities like this in any game environment and their discovery and exploitation of this can be very satisfying on an emotional level. A great way of planning for an understanding this behavior comes from the theory of Steiner trees.

A Steiner tree is a type of spatial problem that looks for the shortest interconnection between a number of nodes. The example that Raph Koster gives in his “Games are Math” presentation is a good way to understand the application of Steiner trees in games. In his presentation, Koster states “If you have three nodes and you need to create the shortest possible route between them, what is the shortest amount of edges required?” Koster states that most people will answer something similar to Figure 19.

Figure 19

The answer to this problem is slightly more devious, as it requires adding another node in the puzzle — a Steiner point. Via introducing the Steiner point in Figure 20, we have created the most optimal solution to this puzzle. Steiner points and the edges that they create can be treated just like any other type of graph. In the context of games, we can use weighted and directed edges to help define how a Steiner point might be a height element of a map or may be another one-way gate, like a teleporter or jump pad.

Figure 20

A Steiner Point is a shortcut. It is that element of a level’s design that players will seek out in order to exploit. The secret for level designers is to make the Steiner points in your map seem less obvious than the spanning tree routes. Borderlands is a good example of this. Within the maps, spanning tree paths are clearly defined and for the most part, appear as clearly defined paths and gantries.

Steiner points exist within the game in the form of height elements which allow the player to skip large sections of the spanning trees by jumping down to certain parts of the map, therefore avoiding large path traversal. Krom’s Canyon in Borderlands is just one example where the player can jump down from raised platforms to quickly move to another point in the map, therefore creating a Steiner point (see Figure 21).

Figure 21

Figure 22 (taken from Krom’s Canyon above) is an example of how spanning trees and Steiner points work from a level design perspective. In this example, in order for the player to get from node A to node F, they must enact a spanning tree solution. This relationship is represented in the level design by a set of gradually ascending platforms which are interconnected via bridges. A number of bonus items are implemented in this section of the map via Steiner points.

Figure 22

In Figure 23, two Steiner points have been added. Although there are actually several other Steiner points in this spatial molecule, these nodes are pickups placed on high platforms, only accessible from the nodes above them. As such, not only are these considered to be Steiner points as they offer the player a shortcut, but they are important points of interest for the player that allow them to explore the environment as a spatial puzzle.

Figure 23

Figure 24 expands this particular section of play into an even more defined molecule and adds two other major Steiner nodes that show how the player can traverse the space when they are either ascending or descending.

Figure 24

Now that we have taken a look at how Steiner points operate from a spatial puzzle perspective, lets revisit our spanning tree molecule originally introduced in Figure 17. If we applied Steiner points to link nodes in close proximity, then we would have something similar to what is seen in Figure 25.

Figure 25

These Steiner nodes could take many forms. They could be teleporters, actual level geometry, or even height elements that allow for faster path traversal. Figure 25 shows how many Steiner points we could possibly have in this spatial design. According to Koster, too many Steiner points are bad for human players, because you have provided so much opportunity; there really isn’t much scope to exercise what I like to call “skillful strategy.” Basically, there is no pleasure to be derived from creating shortcuts in this environment because there are so many of them.

Figure 26

If we begin to use level geometry to reduce the amount of possible Steiner points, we are beginning to ask much more of the player. By giving them fewer options (Figure 26), we are asking the player to exercise better strategy than the other players on the map. The upside to this is that players who do well in this environment will take much more satisfaction from its successful completion, as they perceive the lack of options to be indicative of a more complex problem. To demonstrate how a reduction in Steiner points relates to increased difficulty, we need look no further than the Steiner tree problem that we see in the lower, east quadrant of the Fallout 3 overworld (see Figure 27.)

Figure 27 (Click for larger version.)

Spatial navigation problems in the early parts of Fallout 3 are negotiated via simple spanning trees where you have many possible Steiner points. This is most noticeable in the areas to the south of main Vault as this is the first (and easiest) part of the map that the player is expected to explore. As difficulty increases, though, these Steiner points are vastly reduced; this can be seen in the subway system of DC, which the player encounters later in the main quest of Fallout 3.

A Practical Implementation
So far we have examined the basic principles of graphing theory and applied this to the analysis of a number of commercial examples, but how does graphing theory stack up as a tool to concept game spaces? The following is an example of a practical implementation of the theory of molecule design created by Nassib Azar.

In this example, a molecule concept is tested, implemented, and refined in order to create a balanced, multiplayer space, which despite its simplicity, offers players with a significant amount of interesting strategic possibilities to explore.

The core idea Nassib decided to explore was a map design which had three layers of experience, represented as three concentric circles. The game space is a deathmatch style map within the default game type of Unreal Development Kit. The outer layer comprises low intensity zones designed to “feed” players into the innermost section of the game space.

For the purposes of this design, “intensity” is measured by the amount of players actively trying to kill each other within each zone. Figure 28 is one of the preproduction sketches of the map. This diagram explores how choke points, intersections, spawn points and weapon pickups could be used to increase the intensity of the play experience as the player nears the center of the map.

Figure 28

After some initial paper prototypes and feedback, the core idea of three concentric play spaces of varying intensity eventually developed into a more concrete molecule which defines the space as a whole. Figure 29 is an iteration of the early concept. In this iteration, we still have the same set of concentric circles representing intensity of play; however, edges have been added to describe how the outer sections feed into the middle.

To achieve this goal, Nassib applied the notion of Compression and Funnelling, a simple tool which looks at how forcing the player around a game space using various game elements can create heightened emotional states. In Figure 29, each edge represented additional vectors of compression on the nodes they led to. In the case of this example, the nodes represented spaces for conflict; the more the edges leading into a node the higher the compression on that node (and as a result, the higher the intensity of game experience). In this application, node size was used to represent increased compression, and subsequently, intensity of play.

Figure 29 (Click for larger version.)

Although the application of molecule design is meant to create a distinction between play experience and level geometry, Nassib chose to explore whether pure geometrical representations of space have inherent player experience value. The hexagonal attributes of Nassib’s molecule prototypes were worthy of further investigation. The question was: Would the molecule translate to actual level geometry and still retain the original design intent?

The prototype molecule used to define the overall game space went through a number of iterations in the form of grey box levels developed within UDK. It was clear through prototyping that the experiment had merit; the intensity of the player’s experience increases as they work their way towards the center of the map. Nodes became generic play spaces (rooms) and edges became corridors that would feed into these spaces.

Figure 30 is one of the more advanced iterations of the grey box. It shows the implementation of the original molecule into a playable space. During testing, it was found that for intensity of play to increase, the room sizes needed to increase in order to accommodate the increased play intensity.

Room sizes are designed to create the most optimal zone sizes for the desired amount of play intensity. The original molecule design translated well in this regard. Play zones became progressively larger as they player moves towards the center of the map, yet the zones are also small enough to force the players into close proximity combat, hence increasing play intensity.

Figure 30

In order to create a syphoning of players towards the center of the map, a molecule was designed to aid in the placement of various weapon pickups. There are two main molecules used to define token placement. Weapon pickups were embedded in a molecule that forced the player to move quickly towards the center of the map. Health pickups were embedded in a molecule that forced the player to explore the circular boundaries of each play zone. The differing nature of these two molecules not only adds to creating clearly defined and different movement tactics for offensive and defensive play, but also aids spreading play over the entirety of the map rather than the central most zones.

Figure 31 (Click for larger version.)

Figure 31 breaks down the graphing further. In the close up of the medium node (upper left), a differentiation is made between two different edge types leading into it. Edges 1 and 2 come from the spawn point while 3 and 4 are fed from other medium nodes. This suggests a difference in danger level and is therefore represented by expressing the edges differently. Although the initial design hypothesis suggested that there would be some type of discernable difference between edges one and two AND three and four, it took several revisions of the grey box to observe this hypothesis the real world, seen in Figure 32.

Figure 32

Early iterations of the grey box demonstrated a fundamental flaw in the design. Although play was becoming intensified as it reached the center of the map, a secondary mechanic was emerging; players became aware that it was possible to farm the outer ring of the map and rack up numerous spawn kills. As a result of testing, edges [corridors] 1 and 2 were raised to create one-way gates, allowing them to feed players into the map but not allowing players already within the map to access the spawn points. The elevated corridors were re-conceptualized in the physical space as maintenance shafts, as can be seen below in Figure 33.

Figure 33

The placement of pickups also benefited from the molecule design approach and followed a similar symmetrical layout to the level geometry. Although the use of symmetrical molecules creates an easy workflow for designing the map, too much symmetry is often boring and even confusing for players.

To address this issue, asymmetry was used to create navigation landmarks for the players as well rooms that highlighted different types of weapons and game mechanics. Differences in each room’s layout served two purposes: to aid with player navigation and to create “perceived” advantages to each room. Perceived unfairness suggests no matter how fair or balanced a system is, players will be drawn to elements of the game that they believe are broken, even if they are not.

In essence, each room in the second ring contained a different type of spatial molecule. The molecules differed by varying choke points and cover elements. The result of this can be seen in the comparison between Figure 34 and Figure 35; both are rooms in the second ring and both offer different types of play experience within them.

Figure 34

After further iteration and testing, it was found that players were entering the primary room more than the second ring / medium rooms, but not at the expected proportion. The intensity of the play experience needed to be very high in the center room and there simply was not enough player traffic to achieve the desired experience. Of course, this could have been addressed with revising the space to make it smaller, however as much of the level art had already gone into production, it became necessary to look at alternative option.

To amplify this experience, a second ring of player spawn points where created on the mezzanine floor of the secondary ring. The walking distance to the center room from the upper spawns was shorter than the ground floor and therefore encouraged far more traffic to the central room and as such created the desired effect.

Figure 35

The two stacked spawns in Figure 36 did not have the same spawn-to-engagement times to the mid rooms. In other words, the edges above were not equal to those below when they should have been. By changing the position of the spawns in line with the revised molecule design, time to engagement was negligible when compared with the existing spawn points.

Figure 36

Symmetrical molecules create fair distribution of stairs and elevators in the map; however, the actual design of each of these three elevators is varied intentionally (Figure 37). The rationale for this approach was to highlight the psychology of perceived unfairness. Via testing, it was shown that most players thought that the stairs near their spawn point gave them the advantage, and that this advantage was not used against them. Asymmetry was also used in the design of stairs themselves, again this served two functions: to assist with navigation and vary the play experience in the medium rooms.

Figure 37

Another strategy that was used for balancing was not in the graphing theory itself, but highlights how graphing theory can help read player behavior. A Kismet script was created where every three minutes the game would compare the number of players that have passed through each of the six medium rooms and determine which one had the least traffic. The room with the least activity would then spawn a trigger.

When pressed by a player, this trigger would vent every other player into space, killing them and scoring multiple kills for the instigator. (Figure 38 is a view from above the map, and the last thing a player would see before dying.) This encourages “heat” where there is least, therefore creating a dynamic balancing system through mechanics rather than the static graphing. When presented with this scenario, players are given a choice to exercise Steiner point solutions to resolve the spatial problem — what is the shortest route to the target.

Figure 38

Once the script had identified the room with the least traffic, all players in the map receive both an auditory and a console announcement letting them know which medium room the trigger is available in. Depending on the player’s current location, they are presented with two main choices. They can use the risky, but shortest path through the center OR they can navigate the longer, but safer path through the medium rooms, avoiding the central conflict area.

By doing so, we have created two different strategies for players; they can use the middle room as a Steiner node or use the outer rooms as a spanning tree solution (Figure 39). These strategic options play to a player’s sense of accomplishment. The player feels a sense of pride, as they feel they are outwitting the rest by taking a shortcut to the proper room. Level assets used to populate the various rooms also served to reduce the total amount of possible Steiner points, creating higher intrinsic value for finding one of the limited solutions.

Figure 39

The final published map went through eight major revisions, resulting in updates to either the grey box or the molecules themselves to achieve the final product. Underpinning each revision was a revised molecule concept that would then be converted into a grey box. As such, each revision had clear objectives and goals and the final product benefited greatly from this, as time was extremely limited.

Conclusion

People like Dan Cook and Chris Crawford look at how people’s motivation to play games stems from our need to learn and prove these new gained skills. Raph Koster takes this notion further by being even more specific; people are pattern-finding machines and we take pleasure from games when we identify patterns and pre-empt them. It therefore stands to reason that using the pattern-based approach of molecule design to define play spaces immediately plays to this desire.

There is one main consideration to keep in mind; the player doesn’t perceive the game as a planar map; they sense it from their own camera frustum. As such, the scale and “identifiability” of the molecules you want to implement is very much limited by how much of the game world the player can perceive at any one point in the game.

Too often designers create labyrinth type maps, which — although being easily understand from a planar perspective — are absolutely impossible to traverse when viewed through the limited perspective of the player. As such, molecules and the patterns that they create need not necessarily be complex in order for them to be “fun” for the player.

Instead, well designed game spaces tend to have a number of nested molecules, rather than a molecule that defines the space as a whole. The practical example created by Nassib Azar is relatively simple from a graphing perspective, however the amount of molecule permutations created by the dynamic game elements create a diverse, yet manageable set of strategies for the players to explore.

It is important to point out the use of graphing theory to conceptualize and analyze game spaces is not a new idea, but rather one that has been discussed in various forms by different authors. The original inspiration for this research came from Raph Koster and his Games are Math presentation, and I would recommend Koster’s work to anyone interested in rational approaches to design. Joris Dormans also has a few informative articles that deal with how graphing theory can be a powerful tool for level designers. Dormans’ Adventures in Level Design and Level Design as Model Transformation [pdf links] are excellent and display the malleability of this toolset.(source:gamasutra)


上一篇:

下一篇: