Create a script Game.ts, and then in your node tree select the “Canvas” element and add the Game.ts script to it (you should be able to do this on your own by now).
Sorry if you guys feel that the question is overused but I did not find any answer here on this sub. If my goal is to create a basic incremental with not a lot of graphics (more like Idling to Rule the Gods), is it wrong to feel like it is not okay to use libGdx? I am thinking of learning unity for this but is it also overkill? What framework or engine should I use?
Tutorial How To Make A Cocos2dx Simple Game Online
EDIT: I have little programming know-how under my belt. I've published 2 clones using libGdx and an original simple game using the engine. I've made a game using native android and a few simple apps in native. No unity knowledge but willing to learn.