File tree Expand file tree Collapse file tree 2 files changed +17
-1
lines changed
Expand file tree Collapse file tree 2 files changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ export class Entity {
2424 @GameCoreService ( EventSystem )
2525 private eventSystem ! : EventSystem ;
2626
27- @GameCoreService ( World )
27+ @GameCoreService ( " World" )
2828 private world ! : World ;
2929
3030 constructor ( private readonly id : string = randomUUID ( ) ) {
Original file line number Diff line number Diff line change @@ -9,6 +9,22 @@ const gameConfiguration: GameConfiguration = {
99 state : "StartScreen" ,
1010 bundle : "StartScreen"
1111 } ,
12+ eventSystem : {
13+ history : {
14+ enabled : true ,
15+ maxSize : 100
16+ }
17+ } ,
18+ inputDevice : {
19+ gamepad : {
20+ axisThreshold : 0.5 ,
21+ deadZone : 0.1
22+ } ,
23+ buffer : {
24+ bufferFrames : 5 ,
25+ bufferTime : 200
26+ }
27+ } ,
1228 assetLoader : {
1329 manifest : assetManifest ,
1430 useCache : true
You can’t perform that action at this time.
0 commit comments