Jump to content

Kaushik

Members
  • Content Count

    8
  • Joined

  • Last visited

  1. Small size gifs does not take much space. There are many Gif size reducers available: https://www.google.com/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=gif%20size%20reducer
  2. It does search what you ask for. However navigating the results is challenging because you have to click through each link. There are not tagging, titles, etc. to give user clues about which one is the right one. User has to click and open each one by one.
  3. There are several strategy to build such GIFs. Playground server will run the code in headless mode and record canvas and then convert to small GIF and store on file system. Whenever any user run any playground, check if the server has GIF, if not, record the canvas (running on client browser) and then send that data to the server. Next time any user need the GIF, server has it! Basically these GIFs can be the recordings of first 5 seconds and then it gets compressed - so it will not be huge size. I do not think it would cost much to develop these feature and run it.
  4. Give me feedback if it would be helpful feature for playground search to be assisted with a very short small video clip of the running canvas? If there are enough response, then we can find out how to implement it.
  5. If you create a Playground and then forget to keep the URL? Is there a way to get back? http://www.babylonjs-playground.com/
  6. Than you for reply. However I am still lost. Once I call pickWithRay, how I do I find out which side (face) of the mainCube it hit? var rayPick = new BABYLON.Ray(slabObj.slab.position, mainBox.position); var pickInfo = scene.pickWithRay(rayPick, function (item) { console.log("Found hit", item); }); console.log("PickInfo", pickInfo); Callback function does find mainCube. But the pickInfo.hit is false! Side question: Why the 2 callbacks are fired by pickWithRay? Is it for each side of the cube? Check line 92 on http://www.baby
  7. Question is about my half complete game. Here is my game: http://www.babylonjs-playground.com/#KBHU0#12 Use Arrow Keys to turn the cube. Game objective is to align the cube to catch the same color slab. Question: When the slab hit the cube (function checkHit()), how do I decide if the color of slab and the that side of the cube is the same? I am new to game development. Any suggestions on my code is very welcome. Another question: Press Up (watch direction of turn), then press Left, now again Up - notice that direction is reversed. How to correct this (to keep the same dire
×
×
  • Create New...