My game does not work in the browser

I am building a game for web-desktop, but when I open it in a browser, then no actions are active. I’m new at this. It seems to me that the matter is in the game.run () function, but I can’t understand how to use it. I read about the object, I understand. But why is the game worth it? Thank you in advance.

Cocos Creator comes with some sample projects. Try those first and learn how they work. I do hope you have some background in JavaScript as well.

Maybe all this time I was looking there not there. Can you provide links to these examples?

1 Like