FermiumBooter 是一个必需的依赖项!
Bounceable 可使任何定义的方块状态(默认为巨型蘑菇的顶部)像蹦床一样,当你按住跳跃键时,会将你逐渐弹得更高。
具体行为如下:
- 按住跳跃键在方块上弹跳:根据设定的增益系数和限制系数,逐渐增加或减少动量直至达到平衡
- 不按任何按键在方块上弹跳:像史莱姆一样弹跳,每次弹跳高度递减直至停止
- 按住 Shift 键在方块上弹跳:像史莱姆一样,绕过弹跳效果并视为实心方块(注意摔落伤害)
对于配置文件中定义的方块,你可以调整“加速度”和“最大高度”,但你必须通过实验这些值来达到想要的效果,它们相当敏感。
从技术角度来看,这些值的计算公式为:
a=1.2
b=2
y=x+\frac{xa\left(b-x\right)}{b+x}
其中 a 是 gainFactor(增益系数),b 是 limitFactor(限制系数)。你可以在配置文件中查看更多详细信息。
本模组由 Fonnymunkey 制作,用于 Rebirth of the Night
Logo 和创意来自 Foreck
尽情弹跳吧!
FermiumBooter is a required dependency!
Bounceable makes any defined block state (by default, the top of giant mushrooms) act like a trampoline that propels you progressively higher as you hold jump.
The specific behavior is as follows:
- Bouncing on a block holding jump: gradually increases/decreases momentum to an equilibrium determined by the set gain/limit factors
- Bouncing on a block without pressing anything: bounce like slime, reducing each time down to nothing
- Bouncing on a block holding shift: like slime, bypasses the bouncing and treats it like a solid block (careful with falling damage)
For blocks defined in the config file, you can adjust the "acceleration" and "max altitude" but you have to experiment with those values to achieve the results you want, they are quite sensitive.
On a more technical note, the formula for those values is:
a=1.2
b=2
y=x+\frac{xa\left(b-x\right)}{b+x}
Where a is the gainFactor and b is the limitFactor. You can check the config for more info.
This mod was made by Fonnymunkey for its use in Rebirth of the Night
Logo and idea by Foreck
Happy bouncing!
评论 0
登录后参与评分
还没有评论,来抢沙发吧