• Content count

  • Joined

  • Last visited

  1. Hey guys, still after having read quite a lot on the boards here and having worked through the book "Learning Babylonjs" by Julian Chenard Im always feeling like hacking away on projects and building crappy architecture. I feel the Documentation should provide best Practices and Examples on: Manage your Renderloop When to apply Logic on objects and when globally or inside the Renderloop When to use Actionmanager, when Animations and when to hardcode Animations in the renderloop Switch in Between Scenes, Serialize and Load them including their and their objects logic Are there any good resources on this? Especially considering building bigger games and doing things in a proper and non-hacky but more sophisticated OOP way? Will Julien Moreau-Mathis' Book help me? I guess a lot of confusion on the messageboards could be avoided if well documented examples were given. Or if we could fund someone to provide them for the docs.. Best Regards
  2. Angular2 + BabylonJS Debug Layer

    Thanks for trying to help. They are generated by NG2, its like 10 forms the user can customize their game experience on.
  3. Angular2 + BabylonJS Debug Layer

    Well, I want to have quite a lot of user Interface Pages that load once the User enters the page. I don't want any content to be downloaded after Page init except for a little bit of REST.
  4. Hey there, I finally got BabylonJS to work within Angular2 but I cannot manage the DebugLayer to work with the solution offered here. this._scene.debugLayer.show(); will always result in babylon.inspector.bundle.js:408 Uncaught ReferenceError: BABYLON is not defined at INSPECTOR (babylon.inspector.bundle.js:408) at Object.<anonymous> (babylon.inspector.bundle.js:408) at __webpack_require__ (babylon.inspector.bundle.js:21) at Object.<anonymous> (babylon.inspector.bundle.js:49) at __webpack_require__ (babylon.inspector.bundle.js:21) at babylon.inspector.bundle.js:41 at babylon.inspector.bundle.js:44 core.es5.js:1084 ERROR TypeError: Cannot read property 'Inspector' of undefined at t._createInspector (babylon.js:36) at HTMLScriptElement.n.onload (babylon.js:3) at HTMLScriptElement.wrapFn [as __zone_symbol___onload] (zone.js:1199) at ZoneDelegate.invokeTask (zone.js:398) at Object.onInvokeTask (core.es5.js:4116) at ZoneDelegate.invokeTask (zone.js:397) at Zone.runTask (zone.js:165) at HTMLScriptElement.ZoneTask.invoke (zone.js:460) Any Angular2 nerds around? Side-Question: The fancy DebugLayer we got in the Playground is only available in the newest Version but not in 2.5, is it? Best Regards
  5. Precompiling Shaders

    So far I worked around using multiple Materials and Shaders and Z-Stacking them.
  6. Thanks @mattstyles, I will have Research about REST. I got 40-90kb sized JSON files that are recordings of the player input for playback. Vector3 x 10 Objects x 60fps x 60 seconds x 3minutes a game ==> ~40kb JSON file. Where would you store those? Which Database for storing and accessing them? Would a Database even be the right tool for the storage of those?
  7. Hey, im new to Webdevelopment with JS. Im almost done coding a little game with the 3D-Engine Babylon.js. Now I want to add Functionionality to for User Accounts and Scoreboards. Replays should also be stored in JSON files and uploaded somewhere. Which Serverside and Database Framework would you suggest? Is nodeJS good to go for, I tend to use it because its so popular and demanded today. Depending on the Framework you suggest, how would local/clientside JS communicate with the Serverside? Best Greetings, Leander
  8. Quaternion Rotation

    This Article got some nice Examples and Playgrounds for you http://babylonjsguide.github.io/advanced/Euler_Angles.html
  9. "I want to attach a standard material and a reflective texture on the same surface." (Original Question) And Second I want to blend the Grid Material and a Standard Material with a certain Ratio / Alpha / Alphamap (from Grid). Here are my Attempts so far. http://babylonjs-playground.com/#5S6MD#11
  10. http://babylonjs-playground.com/#5S6MD#11 Still couldn't make it work. Can you provide an Example? Maybe fix the Playground? Can anyone mix the Grid with a Standard Material Diffuse?
  11. It didn't work for me, I made a playground and tried both ways, even with Alphablending it wont work. Is Z-Indexing the way to go? http://babylonjs-playground.com/#5S6MD#10
  12. doc.babylonjs.com down?

    The Page is back up and running, please excuse my impatience.
  13. doc.babylonjs.com down?

    Hey guys, new Babylon Dev here, I saw the documentation and the whole page is in a struggle. Is there any offline Version of the Documentation available that doesnt require local node.js? best Regards, keep up the great work!