• Content Count

  • Joined

  • Last visited

Everything posted by BitwiseCreative

  1. Ahh, thank you! NormalMaterial is working now [sOLVED] Thanks everyone for your help. For others: The solution was simply that the materialLibrary extensions weren't compatible with 2.2, but 2.3 was available in the dist/preview release folder.
  2. Gotcha. Thank you for the info and for the time, I appreciate it. Is 2.3 available now? If so, I can't seem to find it.
  3. Not sure why you linked me to the doc page considering I posted a link to it in my previous post, and am using the proper code in my original post code example (aren't I?). Am I doing something wrong? Also, are you saying that the NormalMaterial extension that was included in the 2.2 release won't work with 2.2? Sorry, just a bit confused about your response...
  4. I'm trying to load the Normal extension material (located in materialLibrary, e.g., There seems to be an error with the plugin/extension management? The related code is confusing to me, and it doesn't seem to work out of the box, so instead of figuring it out and hacking it to work, I'm posting my issue here to get more eyes on my issue so someone can tell me what I'm doing wrong, and/or to inform the development team in case something got overlooked with the materialLibrary inclusion.
  5. Hello, Just started with Babylon.js this morning (I downloaded the files today). I want to use the normalMaterial from the materialsLibrary but I can't seem to get it to work. Here's my code: <!doctype html><html><head><meta charset="utf-8"><title>Babylon Learning</title><style> html, body { overflow: hidden; width: 100%; height: 100%; margin: 0; padding: 0; } #renderCanvas { width: 100%; height: 100%; touch-action: none; }</style><script src="../lib/hand/bin/hand.js"></script><script src="../lib/oimo/build/oimo.js"></script><script src="../lib/babylon/dist/babylon.2.2.max.js"></script><script src="../lib/babylon/materialsLibrary/dist/babylon.normalMaterial.js"></script></head><body><canvas id="renderCanvas"></canvas><script type="text/javascript">var canvas = document.querySelector("#renderCanvas");var engine = new BABYLON.Engine(canvas, true);var scene, camera;var lights = {};var materials = {};var ground, sphere;var createScene = function () { // Scene scene = new BABYLON.Scene(engine); scene.clearColor = new BABYLON.Color3(.1, .1, .1); // Camera camera = new BABYLON.FreeCamera("camera1", new BABYLON.Vector3(0, 5, -10), scene); camera.setTarget(BABYLON.Vector3.Zero()); camera.attachControl(canvas, false); // Lights lights.hemi = new BABYLON.HemisphericLight("hemi", new BABYLON.Vector3(0, 1, 0), scene); lights.hemi.intensity = .5; // Materials materials.normal = new BABYLON.NormalMaterial("normal", scene); // Init Objects sphere = BABYLON.Mesh.CreateSphere("sphere1", 16, 2, scene); sphere.material = materials.normal; sphere.position.y = 1; ground = BABYLON.Mesh.CreateGround("ground1", 6, 6, 2, scene); ground.material = materials.normal; // return scene;};var scene = createScene();engine.runRenderLoop(function () { scene.render();});window.addEventListener("resize", function () { engine.resize();});</script></body></html>And the console error: Uncaught TypeError: Cannot read property 'prototype' of undefined__extends @ babylon.2.2.max.js:4(anonymous function) @ babylon.normalMaterial.js:7BABYLON @ babylon.normalMaterial.js:60(anonymous function) @ babylon.normalMaterial.js:455Thanks in advance
  6. ... And one more Four Letter Words - HTML5 Word Game
  7. My newest game: Deuces Wild Slot Machine - HTML5 Game
  8. Thank you for the list update, Mike!
  9. Yeah I was bummed about the game contest. Worked really hard on 5 entries. One of which was an obvious winner for the category, since the only other game in the category (that won) looks like it was cooked up in 2 hours with Construct 2, and doesn't work on touch screens...
  10. There's a royalty free Game Graphics Contest going on you might be interested in.
  11. I kicked out five (short) Phaser games in a month for the CodeCanyon HTML5 Games Contest (whew!) World Defender Mini Golf Word Up Math Pop Alien Invaders (Already submitted to the list)