☑ Playcanvas script is not native JS. What is it?

I started learning playcanvas, Playcanvas script is not native javascript, what is it?
刚开始接触学习playcanvas,里面的script很多属性和方法都不是原生的javascript,请问它是哪个库吗?

Yes, PlayCanvas is pure javascript. There is no compilation step and it runs in the directly in the browser.

Thank you for your answer. but a lot of properties and methods are not javascript, How to learn the script.

Perhaps you are confusing Javascript (the programming language that runs in browsers) with an API (a set of functions that you can use to communicate with a program).

Everything in PlayCanvas is written in Javascript. We provide a runtime engine and you can use Javascript to talk to our API.

To learn how to use PlayCanvas take a look at our documentation: http://developer.playcanvas.com

The tutorials are a good place to start: http://developer.playcanvas.com/en/tutorials/

Hi, yangch. I highly recommend you to enjoy this tutorials video first. Then go to http://developer.playcanvas.com/en/tutorials/ and http://developer.playcanvas.com/en/user-manual/.

Welcome to PlayCanvas! 中国朋友:grinning:

Thank you very much. I’m trying to on the way

Well, that’s the English version. You might prefer the Chinese translation:

http://developer.playcanvas.com/zh/

We’re keen to get feedback about our Chinese documentation - a lot of hard work has been done to translate it. :slight_smile: