Tutorial 101 bugs?

First post here. Trying to learn Babylon.js. Many thanks for Babylon.js and the excellent documentation.

On the excellent Tutorial 101 with the fabulous examples on the Playground, when downloading the source code, the source code gets an additional code line.

The code on all examples gets an additional line inserted:
scene = createScene();

On the cameras tutorial, at:

All the links point to the same playground example:
https://www.babylonjs-playground.com/#12WBC#702

And on the lights tutorial the Projection Texture example does not download all the files.

One goes to https://www.babylonjs-playground.com/#CQNGRK and downloading the co.png and the ground.jpg files are downloaded, but the heightMap.pngfile is missing…

My apologies if these are too many “complaints” for a first post, but I really like Babylon.js and the tutorial.

Best regards.

Hi @pdf and welcome to the forum. Glad you are enjoying learning Babylon.js. Would you please add a link to the page section where you found the problems.

OK have found what you mean about same PGs will find original links if possible.

Issue added for CreateGroundFromHeightMap

Sorry, but on a post, I can only place two links (forum rules)…
On the Tutorial 101 with the examples on the Playground, when downloading the source code, the source code gets an additional code line.

The code on all playground examples gets an additional line inserted:
scene = createScene();

Example the first playground: https://www.babylonjs-playground.com/#K6M44R#1

after download has an additional scene = createScene(); at line 65.
If one deletes that line, then the example “runs”. All the playground examples from the tutorial that I have seen, have this issue.

On the cameras tutorial, at:
https://doc.babylonjs.com/babylon101/cameras

All the playground example links point to the same playground example:
https://www.babylonjs-playground.com/#12WBC#702

And on the lights tutorial https://doc.babylonjs.com/babylon101/lights the Projection Texture example does not download all the files.

One goes to https://www.babylonjs-playground.com/#CQNGRK and downloading the example, the co.png and the ground.jpg files are downloaded, but the heightMap.png file is missing…

My apologies if these are too many “complaints” for a beginner,
but I really like Babylon.js and also the tutorial.

Not too many ‘complaints’ at all. They are not complaints they are indeed errors that need correcting.

I have submitted a PR for the ‘all links to PGs the same’ issue that should correct this the next time the docs are updated.

Will add the extra scene = createScene() as an issue.

Thank you for spotting these :slightly_smiling_face:

1 Like

issue fixed :wink:

2 Likes

Many, many thanks! I will now look into the remaining Tutorial!

:astonished::astonished::astonished::astonished::astonished::astonished::astonished::astonished::astonished:

Astonished by the support quality.

2 Likes