Moving Caption

I was playing Diablo 3 these days and I found it's hard to read the name of the objects on the ground 'cause they are moving as I moving, so I wrote this small program to test my idea. (BTW, Diablo 3 sucks, not that big different from Diablo 2 and I'm wondering what is Blizzard doing in so many years...)

这两天我在玩暗黑3,然后我发现很难看清楚地上物品的名字因为他们跟着我一起在走,所以我写了这个小程序来验证一下我的想法(顺便说一句,暗黑3比暗黑2可能好一点点,但是花了那么多年啊,暴雪你在干什么。。。)


Here it is (it's using Java so you might need to allow it to run):

小程序在这里(Java程序,可能会弹窗要求你同意运行):

[applet code="MovingCaption" file="http://www.zhujunsan.net/wp-content/uploads/2012/06/MovingCaption.jar" width="480" height="640"]

The switch controls the refresh rate of the text.
When it's white, text refresh every frame; when it's black, text refreshes only if the next position is more than 30 pixels away. From my point of view, the "black" one might be seems a little lagging (actually not), but I can read the text faster than the "white" one. I think human can not focus on moving object, but only follow the object step by step, and that's why the lagging one is easier for human to read.

那个开关(switch)控制字幕的刷新率。
当它是白色的时候,字幕每帧都刷新;当它是黑色的时候,只有在下一个字幕显示位置远离当前字幕超过30个像素的时候才会刷新。就我来看,黑色的时候看起来虽然感觉上有点延迟(其实不是的),但是比白色的来说更容易阅读。我认为人眼不能对移动的物体对焦,只能一格一格地去跟着被看物体,所以这就是为什么黑的那个更适合阅读。

Well it's just my point of view, hope you have fun.
好吧这只是我的想法,希望你觉得好玩。

Here's the source code (using processing):
源码在这里(用的是 processing):

MovingCaption.pde

3 thoughts on “Moving Caption”

Leave a Reply

Your email address will not be published.