#125 //Create the shared data if necessary. #126 if ( !gdjs.PhysicsRuntimeAutomatism.scenesSharedData.containsKey#125(runtimeScene.getName()) ) { #127 var initialData = runtimeScene.getInitialSharedDataForAutomatism(automatismData.name); #128 var data = new gdjs.PhysicsSharedData(runtimeScene, initialData); #129 gdjs.PhysicsRuntimeAutomatism.scenesSharedData.put(runtimeScene.getName(), data); #130 } #131 this._sharedData = gdjs.PhysicsRuntimeAutomatism.scenesSharedData.get(runtimeScene.getName());
#141 gdjs.PhysicsRuntimeAutomatism.scenesSharedData = new Hashtable();
I already solved for those who have the same problem, you must remove the word “throw” in 1 line and of column 15 of box2d.js
Not if it is the right way, but it works perfectly without any problems.
Would be good in gdev updates make this change because they are not going to be able to play with physical as it hangs after several changes of scenes.