Hundreds of features to explore
Games made in Construct
Your questions answered
Trusted by schools and universities worldwide
Free education resources to use in the classroom
Students do not need accounts with us
What we believe
We are in this together
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
I have a sprite called "Tank" on "Layer 0"
Do these elements have ID's like <div id="Layer 0"> or <img id="Tank" scr......>
First time delving into SDK so go easy on me
Take a look at the sdk section of the manual. Specifacally the runtime reference. You can get a layer by name so that helps, but you can't get a type by name. The usual method is to use a object type parameter for an action or something. Then you can get a reference to that object like that.
Develop games in your browser. Powerful, performant & highly capable.
Type name will be minify after exported.
Thanks, I obviously need to do some major reading on this.
The only thing in the engine that are DOM elements are the form controls. Everything else is pure JS rendering to a canvas. So there are no div, img or any other kind of elements at all for those things.