[SOLVED] Engine source entry point

Hello, everyone

I am looking at engine source as first time
I just checked core.js and application.js files

But, I can’t find entry point… where is entry point? and how to know entry point of engine source
As beginner of javascript, I just curious…

Hi @velbi,

That’s a valid question, the entry point of any Playcanvas app is the constructor of the pc.Application class. When a new instance of that class is being instantiated that’s where the code starts executing:

For Playcanvas editor projects there is a launcher app in addition, spawning an instance of that class together with a loader. You can check that code that by downloading a build of any Playcanvas project.

Thank you @Leonidas !

1 Like