Content tagged javascript
JavaScript, often abbreviated as JS, is a high-level, interpreted programming language that conforms to the ECMAScript specification. It is a language that is also characterized as dynamic, weakly typed, prototype-based and multi-paradigm.
Is there any possible way how I can reference a previous sprite if there are a multiple number of them? Like picking the sprite by it's IID : Icon(icon.Count-1)...
I use the AJAX events to get this and similar Objects from a server: [. {. "id": "3510d1-43e-4c45-be00-156ffk6d5da", "name": "BWL", "description": "", "dateFrom...
I would like to use the Javascript filter() method. Is it possible with scripting in Construct 3? I tried it both in the editors script file and in the add scri...
Hi I am trying to learn basic JS with Construct - in the attached file, how'd I instance player1 100 times, and set each instance to a 10 x 10 grid? Thanks much...
Is there a way to write to one of the projects JSON files? I wanted to use it as kind of a database. If there's no way to do this, how much would be the perform...
I am trying to use scripting to create an object. RunOnStartup( async runtime => {. Runtime.AddEventListener('afterprojectstart', () => afterProjectStart(runtim...
C3 does Javascript in a bit of an odd way. Things don't exactly work the way you might expect them to work if you're used to regular Javascript in a browser. In...
Would it be possible to add an interface for the JSON plugin. Having the Json data exposed in JS would be very useful. Also being able to set JSON back into the...
So I am running into a issue with the syntax checker. The error message it's giving me is 'return outside of function'. Which is a bit of untrue. All inline blo...
About to start down the road of creating my own plugin/js library and just wondering if there are any gotchas to worry about if my goal platform is going to be...