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.

336 usages of this tag
  • 4 replies
  • 2K views
This content is deleted
Forum Topic
Pick Object by IID / manipulate previous object instance?
Not favoritedFavorited Favorited 0 favourites

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)...

  • 6 replies
  • 4.22K views
This content is deleted
Forum Topic
How do I parse JSON Objects and return its values?
Not favoritedFavorited Favorited 1 favourites

I use the AJAX events to get this and similar Objects from a server: [. {. "id": "3510d1-43e-4c45-be00-156ffk6d5da", "name": "BWL", "description": "", "dateFrom...

posted 5 years ago
  • 5 replies
  • 1.33K views
This content is deleted
Forum Topic
Filter is not a Function
Not favoritedFavorited Favorited 0 favourites

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...

  • 5 replies
  • 834 views
This content is deleted
Forum Topic
JS Basics - Instance and set position (with linked file)
Not favoritedFavorited Favorited 0 favourites

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...

posted 5 years ago
  • 4 replies
  • 2.78K views
This content is deleted
Forum Topic
Is there a way to write to the JSON file?
Not favoritedFavorited Favorited 0 favourites

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...

  • 1 replies
  • 2.98K views
This content is deleted
Forum Topic
How do I create an instance of an object using JS?
Not favoritedFavorited Favorited 0 favourites

I am trying to use scripting to create an object. RunOnStartup( async runtime => {. Runtime.AddEventListener('afterprojectstart', () => afterProjectStart(runtim...

UpvoteUpvote 6 DownvoteDownvote
This content is deleted
Tutorial
[JS] Writing javascript modules for C3
Not favoritedFavorited Favorited 5 favourites

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...

  • 7 replies
  • 918 views
This content is deleted
Forum Topic
JSON interface?
Not favoritedFavorited Favorited 0 favourites

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...

posted 5 years ago
  • 6 replies
  • 1K views
This content is deleted
Forum Topic
Return outside of function
Not favoritedFavorited Favorited 0 favourites

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...

posted 5 years ago
  • 0 replies
  • 326 views
Not favoritedFavorited Favorited 0 favourites

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...

Similar Tags