Przeglądaj źródła

Basketball game: adjustments

customisations
alemart 8 miesięcy temu
rodzic
commit
f14465dfef
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2
    2
      demos/basketball/src/entities/ball.js

+ 2
- 2
demos/basketball/src/entities/ball.js Wyświetl plik

20
 const SHOOT_ANGLE = Math.PI / 4;
20
 const SHOOT_ANGLE = Math.PI / 4;
21
 
21
 
22
 /** Shoot sensitivity multiplier (y and z axes) */
22
 /** Shoot sensitivity multiplier (y and z axes) */
23
-const SHOOT_SENSITIVITY = 1.5;
23
+const SHOOT_SENSITIVITY = 1.35;
24
 
24
 
25
 /** Shoot sensitivity multiplier (x-axis) */
25
 /** Shoot sensitivity multiplier (x-axis) */
26
 const SHOOT_HORIZONTAL_SENSITIVITY = 0.5;
26
 const SHOOT_HORIZONTAL_SENSITIVITY = 0.5;
44
 const SHINE_MAX_BRIGHTNESS = 0.25;
44
 const SHINE_MAX_BRIGHTNESS = 0.25;
45
 
45
 
46
 /** Duration of fading of the shining effect, in seconds */
46
 /** Duration of fading of the shining effect, in seconds */
47
-const SHINE_FADE_DURATION = 0.5;
47
+const SHINE_FADE_DURATION = 0.25;
48
 
48
 
49
 /** Collision flag for the backboard */
49
 /** Collision flag for the backboard */
50
 const FLAG_BACKBOARD = 1;
50
 const FLAG_BACKBOARD = 1;

Ładowanie…
Anuluj
Zapisz