GameMonetize Posted September 20, 2015 Author Share Posted September 20, 2015 Hello you just need to update to Typescript 1.6 Quote Link to comment Share on other sites More sharing options...
Alvaro Posted September 20, 2015 Share Posted September 20, 2015 I have updated the typescript to 1.6 in Visual Studio 2013. I have the babylon.2.1.ts plus the typing downloaded from the git repository but I am still getting some errors. I guess I am missing some js or ts file but I don't know which one. Also, the babylon.2.1.d.ts file clash with the lib.d.ts. Is there a recommended configuration for this? Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted September 21, 2015 Author Share Posted September 21, 2015 you need to use babylon 2.2 to work with TS 1.6 Quote Link to comment Share on other sites More sharing options...
Alvaro Posted September 21, 2015 Share Posted September 21, 2015 Ok, 2.2 typing file and javascript file. That solve duplicate issues. But I am still having the same problem with the Audio... objects. Where are supposed to be defined? Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted September 21, 2015 Author Share Posted September 21, 2015 this is defined by TS 1.6. Can you confirm you are using this one? Quote Link to comment Share on other sites More sharing options...
Alvaro Posted September 22, 2015 Share Posted September 22, 2015 I have verified that I was using 1.6 The problem was that I had a local version of the lib.d.ts in my project. I have delete that and I still have some issues, but not related with the audio thing: Error 3533 Build: Duplicate identifier 'URL'. C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.6\lib.d.ts 16032 5 TerrainGenerator.WebClientError 3531 Duplicate identifier 'URL'. C:\Personal\TerrainGeneratorTS\TerrainGenerator.WebClient\Scripts\typings\babylon.2.2.d.ts 307 5 TerrainGenerator.WebClient That I don't know why is happening but is maybe something where you could help me. Could you? Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted September 22, 2015 Author Share Posted September 22, 2015 If you are using the very latest of 2.2.d.ts this should be fixed Jaskar 1 Quote Link to comment Share on other sites More sharing options...
Alvaro Posted September 23, 2015 Share Posted September 23, 2015 It works now! I can see that the very last version from 3 hours ago has no problems Thank you Deltakosh! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.