This commit is contained in:
2021-07-07 15:00:47 +03:00
parent 243f37c99e
commit 34ddba866d
2 changed files with 4 additions and 3 deletions

View File

@@ -73,5 +73,5 @@ function задатьИгрокуМаскуСтолкновения()
var прыжок = тело.velocity.y < -1;
var маска = прыжок ? 1 : (1 | 2);
тело.collisionFilter.mask = маска;
document.getElementById("отладка").innerHTML = тело.velocity.y;
//document.getElementById("отладка").innerHTML = тело.velocity.y;
}