AndyBeaulieu Posted October 17, 2014 Share Posted October 17, 2014 Hi Guys, It's been awhile, and my includes for debugging BabylonJS are no longer up to date. Can anyone point me to the appropriate list *.js includes for debugging? So instead of: <script src="Babylon.js"></script> ... I need the full list of includes in proper order so I can debug some issues. Thanks! Quote Link to comment Share on other sites More sharing options...
Samuel Girardin Posted October 17, 2014 Share Posted October 17, 2014 Hi Andy <script src="Babylon/Math/babylon.math.js"></script> <script src="Babylon/Tools/babylon.database.js"></script> <script src="Babylon/Tools/babylon.tools.tga.js"></script> <script src="Babylon/Tools/babylon.tools.dds.js"></script> <script src="Babylon/Tools/babylon.smartArray.js"></script> <script src="Babylon/Tools/babylon.tools.js"></script> <script src="Babylon/babylon.engine.js"></script> <script src="Babylon/babylon.node.js"></script> <script src="Babylon/Tools/babylon.filesInput.js"></script> <script src="Babylon/Collisions/babylon.pickingInfo.js"></script> <script src="Babylon/Culling/babylon.boundingSphere.js"></script> <script src="Babylon/Culling/babylon.boundingBox.js"></script> <script src="Babylon/Culling/babylon.boundingInfo.js"></script> <script src="Babylon/Mesh/babylon.abstractMesh.js"></script> <script src="Babylon/Lights/babylon.light.js"></script> <script src="Babylon/Lights/babylon.pointLight.js"></script> <script src="Babylon/Lights/babylon.spotLight.js"></script> <script src="Babylon/Lights/babylon.hemisphericLight.js"></script> <script src="Babylon/Lights/babylon.directionalLight.js"></script> <script src="Babylon/Lights/Shadows/babylon.shadowGenerator.js"></script> <script src="Babylon/Collisions/babylon.collider.js"></script> <script src="Babylon/Cameras/babylon.camera.js"></script> <script src="Babylon/Cameras/babylon.targetCamera.js"></script> <script src="Babylon/Cameras/babylon.followCamera.js"></script> <script src="Babylon/Cameras/babylon.freeCamera.js"></script> <script src="Babylon/Cameras/babylon.touchCamera.js"></script> <script src="Babylon/Cameras/babylon.arcRotateCamera.js"></script> <script src="Babylon/Cameras/babylon.deviceOrientationCamera.js"></script> <script src="Babylon/Cameras/babylon.oculusCamera.js"></script> <script src="Babylon/Rendering/babylon.renderingManager.js"></script> <script src="Babylon/Rendering/babylon.renderingGroup.js"></script> <script src="Babylon/babylon.scene.js"></script> <script src="Babylon/Mesh/babylon.vertexBuffer.js"></script> <script src="Babylon/Mesh/babylon.InstancedMesh.js"></script> <script src="Babylon/Mesh/babylon.mesh.js"></script> <script src="Babylon/Mesh/babylon.groundMesh.js"></script> <script src="Babylon/Mesh/babylon.subMesh.js"></script> <script src="Babylon/Materials/textures/babylon.baseTexture.js"></script> <script src="Babylon/Materials/textures/babylon.texture.js"></script> <script src="Babylon/Materials/textures/babylon.cubeTexture.js"></script> <script src="Babylon/Materials/textures/babylon.renderTargetTexture.js"></script> <script src="Babylon/Materials/textures/babylon.mirrorTexture.js"></script> <script src="Babylon/Materials/textures/babylon.dynamicTexture.js"></script> <script src="Babylon/Materials/textures/babylon.videoTexture.js"></script> <script src="Babylon/Materials/babylon.effect.js"></script> <script src="Babylon/Materials/babylon.material.js"></script> <script src="Babylon/Materials/babylon.standardMaterial.js"></script> <script src="Babylon/Materials/babylon.multiMaterial.js"></script> <script src="Babylon/Loading/babylon.sceneLoader.js"></script> <script src="Babylon/Loading/Plugins/babylon.babylonFileLoader.js"></script> <script src="Babylon/Sprites/babylon.spriteManager.js"></script> <script src="Babylon/Sprites/babylon.sprite.js"></script> <script src="Babylon/Layer/babylon.layer.js"></script> <script src="Babylon/Particles/babylon.particle.js"></script> <script src="Babylon/Particles/babylon.particleSystem.js"></script> <script src="Babylon/Animations/babylon.animation.js"></script> <script src="Babylon/Animations/babylon.animatable.js"></script> <script src="Babylon/Culling/Octrees/babylon.octree.js"></script> <script src="Babylon/Culling/Octrees/babylon.octreeBlock.js"></script> <script src="Babylon/Bones/babylon.bone.js"></script> <script src="Babylon/Bones/babylon.skeleton.js"></script> <script src="Babylon/PostProcess/babylon.postProcess.js"></script> <script src="Babylon/PostProcess/babylon.postProcessManager.js"></script> <script src="Babylon/PostProcess/babylon.passPostProcess.js"></script> <script src="Babylon/PostProcess/babylon.blurPostProcess.js"></script> <script src="Babylon/PostProcess/babylon.refractionPostProcess.js"></script> <script src="Babylon/PostProcess/babylon.blackAndWhitePostProcess.js"></script> <script src="Babylon/PostProcess/babylon.convolutionPostProcess.js"></script> <script src="Babylon/PostProcess/babylon.filterPostProcess.js"></script> <script src="Babylon/PostProcess/babylon.fxaaPostProcess.js"></script> <script src="Babylon/LensFlare/babylon.lensFlare.js"></script> <script src="Babylon/LensFlare/babylon.lensFlareSystem.js"></script> <script src="Babylon/Physics/Plugins/babylon.cannonJSPlugin.js"></script> <script src="Babylon/Physics/Plugins/babylon.oimoJSPlugin.js"></script> <script src="Babylon/Physics/babylon.physicsEngine.js"></script> <script src="Babylon/Tools/babylon.sceneSerializer.js"></script> <script src="Babylon/Mesh/babylon.csg.js"></script> <script src="Babylon/PostProcess/babylon.oculusDistortionCorrectionPostProcess.js"></script> <script src="Babylon/Tools/babylon.virtualJoystick.js"></script> <script src="Babylon/Cameras/babylon.virtualJoysticksCamera.js"></script> <script src="Babylon/Materials/babylon.shaderMaterial.js"></script> <script src="Babylon/Mesh/babylon.mesh.vertexData.js"></script> <script src="Babylon/Cameras/babylon.anaglyphCamera.js"></script> <script src="Babylon/PostProcess/babylon.anaglyphPostProcess.js"></script> <script src="Babylon/Tools/babylon.tags.js"></script> <script src="Babylon/Tools/babylon.andOrNotEvaluator.js"></script> <script src="Babylon/PostProcess/RenderPipeline/babylon.postProcessRenderPass.js"></script> <script src="Babylon/PostProcess/RenderPipeline/babylon.postProcessRenderEffect.js"></script> <script src="Babylon/PostProcess/RenderPipeline/babylon.postProcessRenderPipeline.js"></script> <script src="Babylon/PostProcess/RenderPipeline/babylon.postProcessRenderPipelineManager.js"></script> <script src="Babylon/PostProcess/babylon.displayPassPostProcess.js"></script> <script src="Babylon/Rendering/babylon.boundingBoxRenderer.js"></script> <script src="Babylon/Actions/babylon.condition.js"></script> <script src="Babylon/Actions/babylon.action.js"></script> <script src="Babylon/Actions/babylon.actionManager.js"></script> <script src="Babylon/Actions/babylon.interpolateValueAction.js"></script> <script src="Babylon/Actions/babylon.directActions.js"></script> <script src="Babylon/Mesh/babylon.geometry.js"></script> <script src="Babylon/Tools/babylon.gamepads.js"></script> <script src="Babylon/Cameras/babylon.gamepadCamera.js"></script> <script src="Babylon/Mesh/babylon.linesMesh.js"></script> <script src="Babylon/Rendering/babylon.outlineRenderer.js"></script> <script src="Babylon/Tools/babylon.assetsManager.js"></script> Quote Link to comment Share on other sites More sharing options...
AndyBeaulieu Posted October 17, 2014 Author Share Posted October 17, 2014 Thanks Samuel !! I must still have something missing or out of order I am getting: 0x800a01b6 - JavaScript runtime error: Object doesn't support property or method 'call' On the last line (_super.call) line below... It looks like it might be a TypeScript wrapper thing.(function (BABYLON) { var AbstractMesh = (function (_super) { __extends(AbstractMesh, _super); function AbstractMesh(name, scene) { _super.call(this, name, scene); Quote Link to comment Share on other sites More sharing options...
Samuel Girardin Posted October 17, 2014 Share Posted October 17, 2014 Not sure for JS, but it works for me but I use the typescript version of bjs. Quote Link to comment Share on other sites More sharing options...
AndyBeaulieu Posted October 17, 2014 Author Share Posted October 17, 2014 Ok, I am good to go now, thanks again. A couple of notes if anyone else has issues: - make sure you include _all_ of the *.ts files as well as all of the *.js files - make sure you place your Babylon files in a subfolder /Babylon (I had mine in /Scripts/Babylon, and it can't find fx files when you are using source ref's) Quote Link to comment Share on other sites More sharing options...
JCPalmer Posted October 17, 2014 Share Posted October 17, 2014 I would recommend using the -debug build from the repository. There is no debug build for current production , 1.13, but 1.14 is a release candidate. It is basically all the files with no comments / line terminators removed. Why this is an advantage is: As Babylon.JS adds new class files, YOU DO NOT CARE. The current answer DOES. For typescript, there is a babylon.version.d.ts in the repository. Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted October 17, 2014 Share Posted October 17, 2014 You can also reference www.babylonjs.com/babylon.max.js which is an unified non minified version Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.