add collisionTypes

This commit is contained in:
2026-04-03 13:47:30 +03:00
parent 031bca9613
commit f9a249adb7
8 changed files with 58 additions and 27 deletions
+1 -1
View File
@@ -258,7 +258,7 @@ class GameEngine extends EventManager{
event.preventDefault();
if (this.hero){
if (!this.pointerControls.isLocked){
this.hero.cameraZ += event.deltaY / 100;
this.hero.cameraZ += event.deltaY * 0.005;
}
}else{
this.camera.zoom -= event.deltaY / (1000 / this.camera.zoom);