《鬼妇》开发者日志No.7 - 统一的物品交互系统优化

精华2018/12/20362 浏览综合
文章翻译:Vickie
TapTap
Hello there! Andre’s here. In this devlog I want to talk about another enhancement that we have made to our object interaction system which I personally love :D
各位好! 我是Andre. 在这篇《开发者日志》中,我想讨论一下关于物品交互系统的优化,我个人非常喜爱这个系统:D
On our demo we created two features that allow players to view certain objects in more detail.
在demo中,我们呈现了两种特色以便玩家可以细细查看某个特定物品。
1. Read: 阅读:
TapTap
2. Grab: 抓取
TapTap
I feel that UX-wise this not very good because we have showed that the player has the ability to grab objects so why won’t they grab the ‘read’-able objects as well; It’s not in unison.
我认为UX-wise并不是很好因为玩家既然有能力自己抓取某样物品,他们为什么不能抓取“可读”对象呢。这两者并不同。
Other than that, from various feedbacks that the writings on our read-able objects are often too small and not legible on some screens. And we realize that there’s no way we could create an image that is perfect for all screens and so rise the need to create a way or feature that can adjust the size of the texts on demand. From the reasons above, it seems merging the reading with the grab system into a unified system is the best solution.
除此之外,从各种反馈来看,我们的可读对象上的文字往往太小,在某些屏幕上显示后玩家看得并不清楚。另外我们意识到,我们不可能创造出适合所有屏幕的图像,所以我们需要创造一种新的方式或功能,可以根据需要调整文本的大小。综上所述,将读取与抓取系统合并成一个统一的系统似乎是最佳解决方案。

TapTap
The unified system has other benefits too:
1.Less effort in creating the text texture/image.
Initially; with the two seperate features, we need to create 2 different textures for readable objects. For example, for a letter, we need to create a texture for the 3d mesh (based on the letter’s mesh UV) and also another image that will be shown on the screen when player ‘reads’ the letter.
统一系统还有其他好处:
1. 减少创建文本纹理/图像的工作量。
有了这两个独立的特性,我们需要为可读对象创建两个不同的纹理。例如,对于一封信,我们需要为其3D网格创建一个纹理(基于字母的网格UV),以及当玩家“读取”信时将显示在屏幕上的另一个图像。
2. Less game size.
Now all the letter, books, and other read-able objects has one less texture file, thus less size. Moreover, the on-screen textures for ‘readable’ objects requires an alpha (transparent) channel which increases the size of the image file, removing these images reduces the size of the game build tremendously.
2. 比游戏屏幕尺寸稍小。
现在所有的信件、书籍和其他可读对象都少了一个纹理文件,因此也就尺寸也相应变小。此外,“可读”对象的屏幕纹理需要alpha(透明)通道,这将增加图像文件的大小,删除这些图像将极大地减少游戏版本的大小。
3. More contents.
The unified system allow players to investigate the objects further. For example, by rotating or zooming in on a letter, player could find hidden texts or images. This allow us to put more narrative contents.
3. 更多的内容。
统一的系统允许玩家进一步调查对象。例如,通过旋转或放大信件,玩家可以找到隐藏的文本或图像。这让我们可以放入更多的叙事内容。
We also add other enhancements too! Now players could play with interactions within the unified system itself. This allow players to comment on certain parts of the objects, as well as initiating animations such as opening and closing a book.
我们还添加了其他增强功能! 现在玩家可以在这个统一的系统内部进行交互。这能允许玩家对目标的某个部分进行评论,并且启动动画,如打开和关闭一本书。
TapTap
Applying this new feature is actually a great hassle because we need to reimplement it to all the grab able objects one by one as well creating mesh and textures that are detailed enough to be grabbed and seen in a close distance. But despite it, we feel that the value it creates is worth the effort. We’ll be applying this feature on our other folklores as well. Can’t wait for you to test it yourself! That’s it for now, feel free to comment or personally discuss with me about this new system.
Thank you for reading and have a nice day! :D
应用这个新特性实际上是一个很大的麻烦,因为我们需要一个接一个地将它重新实现到所有可抓取的对象上,同时创建足够详细的网格和纹理,以便在近距离内抓取和查看。但尽管如此,我们觉得原来它创造的价值付出努力是非常值得的。我们还将在该系列的其它游戏中应用这个特性。
祝您愉快!:D
7