Babylon older version

Hi all,
Recently I facing the issue in my project while using the cdn and its current new changes.
my animation are not working properly means the alpha value increase whenever i uses the animation like spin.

In previous version i was not facing these type of issues.

For now can you please tell us how to use older version like 6.x not lateset???

There are 2 ways:

  1. Download any version which you need.
  2. Use CDN with needed version - babylonjs - Libraries - cdnjs - The #1 free and open source CDN built to make life easier for developers

Hello @labris,
basically i need these scripts.
For other scripts how can i download or the recent one will work just should i change the babylonjs??

<script src="https://cdn.babylonjs.com/babylon.js"></script>
<script src="https://cdn.babylonjs.com/materialsLibrary/babylonjs.materials.min.js"></script>
<script src="https://cdn.babylonjs.com/loaders/babylonjs.loaders.min.js"></script>
<script src="https://cdn.babylonjs.com/gui/babylon.gui.min.js"></script>

It is better to use all the same versions (especially for loaders).
Another CDN source:

3 Likes

You can select a specific version on jsDelivr by choosing on this dropdown menu:

1 Like

Thank you @labris now app is working.

Now i have a question previously i was using the cdn should i use cdn?? or download the files and upload it on our server then use?

For production use it is always better to use your hosted version for better reliability.

3 Likes

@Neeraj It would be good to figure out what broke. We strive for backwards compatibility around here. :slight_smile: Can you show an example PG that worked in the old version but not the new version?

I am pretty sure it is related to one animation change we did and it was reverted yesterday so you should be all good with latest :slight_smile:

2 Likes

yes @sebavan i checked with latest one also it was working :slight_smile: .

2 Likes