Dark Forest Energy Sending Mechanism
In Dark Forest, energy sending is a very important part, through the energy sending between planets that the dazzling attack and defense battles are formed, and energy sending can also carry silver and artifacts, it is energy sending that makes the universe come alive. But we don't know much about the mechanism of energy sending. First of all, when sending energy, the energy that eventually arrives will decay as the distance increases, and when we select a planet in the universe, several...
Dark Forest Energy Sending Mechanism
In Dark Forest, energy sending is a very important part, through the energy sending between planets that the dazzling attack and defense battles are formed, and energy sending can also carry silver and artifacts, it is energy sending that makes the universe come alive. But we don't know much about the mechanism of energy sending. First of all, when sending energy, the energy that eventually arrives will decay as the distance increases, and when we select a planet in the universe, several...
Dark Forest 能量发送机制
Dark Forest中,能量发送是很重要的一环,正是通过星球间的能量发送才形成了炫丽的攻防战,同时能量发送还可以携带银子和神器,正是能量发送才让宇宙变得鲜活起来。但是对于能量发送的机制我们了解的却并不多。 首先发送能量时,最终到达的能量会随着距离的增加而衰减,当我们在宇宙中选定一颗星球时,会出现几道圆圈,Energy CycleDark Forest中计算到达能量的代码如下:Energy Arriving Calculating Code转换一下,基本是下面这个公式:Energy Arriving Calculating Formula可以看到最终到达的能量跟四个因素有关,发送的能量大小、距离、Range和星球的能量上限。 假设我们给定发送的能量,那么随着距离的增加,最终到达能量的变化曲线如下:Energy Arriving从图中我们可以看出,随着距离的增加,能量的下降趋势变得更加平缓,更重要的是两次50%能量发送,最后到达的能量小于100%发送,也就是说应当尽量避免小额的能量发送。如同我们上一篇文章提到的,发送能量的最佳比例是80%左右,这时候最终到达的能量与100%相去不远...
Dark Forest 能量发送机制
Dark Forest中,能量发送是很重要的一环,正是通过星球间的能量发送才形成了炫丽的攻防战,同时能量发送还可以携带银子和神器,正是能量发送才让宇宙变得鲜活起来。但是对于能量发送的机制我们了解的却并不多。 首先发送能量时,最终到达的能量会随着距离的增加而衰减,当我们在宇宙中选定一颗星球时,会出现几道圆圈,Energy CycleDark Forest中计算到达能量的代码如下:Energy Arriving Calculating Code转换一下,基本是下面这个公式:Energy Arriving Calculating Formula可以看到最终到达的能量跟四个因素有关,发送的能量大小、距离、Range和星球的能量上限。 假设我们给定发送的能量,那么随着距离的增加,最终到达能量的变化曲线如下:Energy Arriving从图中我们可以看出,随着距离的增加,能量的下降趋势变得更加平缓,更重要的是两次50%能量发送,最后到达的能量小于100%发送,也就是说应当尽量避免小额的能量发送。如同我们上一篇文章提到的,发送能量的最佳比例是80%左右,这时候最终到达的能量与100%相去不远...
Dark Forest Planet Energy Growth Mechanism
A very important concept in Dark Forest is "Energy", which represents the planet's energy, the planet's energy will increase over time until it reaches the planet's energy limit, by sending energy can attack to occupy other planets or enhance their own planets, around the core concept of energy, you can start a very exciting interstellar battle. In fact, in Dark Forest's underlying contract, Energy is actually represented by Population, but in the UI, Energy is used instea...
Dark Forest Planet Energy Growth Mechanism
A very important concept in Dark Forest is "Energy", which represents the planet's energy, the planet's energy will increase over time until it reaches the planet's energy limit, by sending energy can attack to occupy other planets or enhance their own planets, around the core concept of energy, you can start a very exciting interstellar battle. In fact, in Dark Forest's underlying contract, Energy is actually represented by Population, but in the UI, Energy is used instea...

Dark Forest Birth Point and Map Randomness
The fun of Dark Forest mostly comes from randomness, and the randomness built into the game mainly comes from the following areas:The player's birth pointThe random distribution of the in-game mapUnpredictable interaction between multiple playersThe random opening of artifacts with different effectsIn the previous article, we discussed examples of artifact mining randomness being hacked by players, and this time we'll discuss the first two randomness: player birth points and the ran...

Dark Forest Birth Point and Map Randomness
The fun of Dark Forest mostly comes from randomness, and the randomness built into the game mainly comes from the following areas:The player's birth pointThe random distribution of the in-game mapUnpredictable interaction between multiple playersThe random opening of artifacts with different effectsIn the previous article, we discussed examples of artifact mining randomness being hacked by players, and this time we'll discuss the first two randomness: player birth points and the ran...
Dark Forest 星球能量增长机制
Dark Forest中一个很重要的概念是”Energy“,它代表了星球的能量,星球的能量会随着时间的推移不断增加,直到到达星球的能量上限,通过发送能量可以攻击占领其他星球或增强己方星球,围绕能量这一核心概念,可以展开极为精彩的星际战役。事实上在Dark Forest底层合约中,Energy其实是用Population来代表的,但在UI中,使用了Energy进行代替,这样一来是不是好理解一点了? Dark Forest老手玩家们很快就会发现星球能量的增长似乎不是线性的,而是与星球发送能量后所剩余的能量相关,事实上的确如此,Dark Forest中的星球能量增长使用了一种Lazy Update的机制。 首先Dark Forest是一款Crypto-Native的游戏,所有的数据都在链上,没错,又是Crypto-Native,因此Dark Forest中的星球能量状态是不可能实时更新的,这样的Gas花费太高了,同时也会带来不必要的通讯花销。因此Dark Forest中的星球能量状态只在进行交互时更新,发送能量时,Dark Forest会计算星球的剩余能量,并记录一个时间戳,等到再次发...
Dark Forest 星球能量增长机制
Dark Forest中一个很重要的概念是”Energy“,它代表了星球的能量,星球的能量会随着时间的推移不断增加,直到到达星球的能量上限,通过发送能量可以攻击占领其他星球或增强己方星球,围绕能量这一核心概念,可以展开极为精彩的星际战役。事实上在Dark Forest底层合约中,Energy其实是用Population来代表的,但在UI中,使用了Energy进行代替,这样一来是不是好理解一点了? Dark Forest老手玩家们很快就会发现星球能量的增长似乎不是线性的,而是与星球发送能量后所剩余的能量相关,事实上的确如此,Dark Forest中的星球能量增长使用了一种Lazy Update的机制。 首先Dark Forest是一款Crypto-Native的游戏,所有的数据都在链上,没错,又是Crypto-Native,因此Dark Forest中的星球能量状态是不可能实时更新的,这样的Gas花费太高了,同时也会带来不必要的通讯花销。因此Dark Forest中的星球能量状态只在进行交互时更新,发送能量时,Dark Forest会计算星球的剩余能量,并记录一个时间戳,等到再次发...