-
Content Count
8 -
Joined
-
Last visited
About Kaushik
-
Rank
Newbie
-
How about search playground assisted with visuals (video)?
Kaushik replied to Kaushik's topic in Questions & Answers
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 -
How about search playground assisted with visuals (video)?
Kaushik replied to Kaushik's topic in Questions & Answers
Is Playground open source? Meaning, someone can contribute? -
How about search playground assisted with visuals (video)?
Kaushik replied to Kaushik's topic in Questions & Answers
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. -
How about search playground assisted with visuals (video)?
Kaushik replied to Kaushik's topic in Questions & Answers
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. -
If you create a Playground and then forget to keep the URL? Is there a way to get back? http://www.babylonjs-playground.com/
-
Kaushik reacted to a post in a topic: How to find which cube face my object is hitting?
-
Kaushik reacted to a post in a topic: How to find which cube face my object is hitting?
-
How to find which cube face my object is hitting?
Kaushik replied to Kaushik's topic in Questions & Answers
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 -
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