Tweak: books levitating too often
This commit is contained in:
parent
e5e6312f0d
commit
65ddd80f1d
@ -89,7 +89,7 @@ function updateVcr() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function updateBooks() {
|
function updateBooks() {
|
||||||
const LEVITATE_CHANCE = 0.001; // Chance for a resting book to start levitating per frame
|
const LEVITATE_CHANCE = 0.0003; // Chance for a resting book to start levitating per frame
|
||||||
const LEVITATE_DURATION_MIN = 100; // frames
|
const LEVITATE_DURATION_MIN = 100; // frames
|
||||||
const LEVITATE_DURATION_MAX = 300; // frames
|
const LEVITATE_DURATION_MAX = 300; // frames
|
||||||
const LEVITATE_AMPLITUDE = 0.02; // Max vertical displacement
|
const LEVITATE_AMPLITUDE = 0.02; // Max vertical displacement
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user