Jump to content

Playground Github


Recommended Posts

So i read it somewhere a few days ago the playground were open sourced by some individuals.

I take a closer look at the code, i found at github.
Now the question: So the half of it is missing. The Paths to the single source files needed are changed

I think it is a good idea to make pull a requst first were all paths pointing again to https://github.com/BabylonJS/Babylon.js ???

and the do the hard stuff like, change buttons, ui, add new presets... textures.


i think this is a difficult question. becourse the playground is running on a different server for now. and when i start to remap the paths back to babylonjs, its kind of counterproductive. 

Link to comment
Share on other sites

Hello I'm not sure to understand what you mean.

The repo for the playground is here: https://github.com/BabylonJS/Babylon.js/tree/master/Playground

Just pull the entire repo, launch your webserver to serve the root of the folder, navigate to /playground/index - local.html and you are good to go

If you are using VS, just open the Babylon.sln at the root of the repo

Link to comment
Share on other sites



Open VSCode on the newly created BabylonJS folder and launch the test task. To do so, 3 solutions:

  1. Use the shortcut to run a task (Ctrl+Shift+p) and begin to type test. You should be on run test task, so hit enter.
  2. Use the shortcut you previously bind to the command in your keyboard bindings (default is Ctrl+Alf+Shift+t)
  3. Open a terminal on Tools/Gulp and run gulp run

So i set up everything - running. What do you mean with "newly created BabylonJS folder" - a folder created from git, i assume. Okay.

  • What is a test task ?
  • I navigate the VSCode to the LocalDev Folder and copy pase the Playground Code their, than i can simple make changes, right ?


Link to comment
Share on other sites


Yes, you have the good folder open (the git cloned BJS folder).

The test task is a VSCode notion:


The points 1, 2, 3 are 3 ways to launch it. I guess for you it is running from the python command line as I can see the url on port 1338 working and some off the logs in this command line.

Your playground code has to be copied in LocalDev/src inside of the index.js file (this folder is gitignore so your changes won t impact the repo)


Once done, got in the debug tab of VS Code and launch the localdev in debug. That is it you breakpoint should work:


If the doc is not clear enough, please feel free to make a pull request.


Link to comment
Share on other sites

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.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...