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.

335 usages of this tag
  • 2 replies
  • 564 views
Not favoritedFavorited Favorited 0 favourites

I have an external JS script with some async funcstions and I want to call them in event sheets one after another and make sure each one finishes working before...

posted 1 years ago
  • 0 replies
  • 347 views
This content is deleted
Forum Topic
Any way to access html canvas context with javascript?
Not favoritedFavorited Favorited 0 favourites

Folks, thanks in advance for any contribution to this topic! We were trying to develop a plugin to take screenshot sequences and add effects . So first, we star...

  • 2 replies
  • 405 views
This content is deleted
Forum Topic
Write new JSON files within the gamefiles
Not favoritedFavorited Favorited 0 favourites

So I've tried Discord and the "how do I..." Forum, but can't find any help. Most likely because my problem isn't solvable with the basic Construct functions (?)...

  • 6 replies
  • 674 views
This content is deleted
Forum Topic
background color showing through alpha for renderer.Quad4
Not favoritedFavorited Favorited 1 favourites

I've been at this for many hours and I can't figure out why it is doing this. In the original plugin SDK, within Draw(renderer) , I have: Renderer.SetNoPremulti...

  • 6 replies
  • 790 views
This content is deleted
Forum Topic
Plugin SDK 2 Loop
Not favoritedFavorited Favorited 1 favourites

Is it possible to create loops in my Plugin SDK 2 ? In the old SDK 1 , loops work as expected and perform their function successfully. However, in SDK 2 , I can...

  • 6 replies
  • 707 views
This content is deleted
Forum Topic
How do I change a Sprite's color in Javascript?
Not favoritedFavorited Favorited 0 favourites

I have a project in which I am layering different types of Sprite instances in different colors. The function is in a separate Javascript file and then imported...

  • 3 replies
  • 294 views
This content is deleted
Forum Topic
how do i change the text of an object in javascript
Not favoritedFavorited Favorited 0 favourites

So I'm trying to make a text that will change depending on what the ammount of an object is but I cant get the text to change? Let score = plant.ItemCount. Cons...

posted 11 months ago
  • 3 replies
  • 280 views
This content is deleted
Forum Topic
How do I get access to AJAX.LastData via javascript?
Not favoritedFavorited Favorited 0 favourites

Runtime.GlobalVars.MyGlobalBoolVar = runtime.Objects.AJAX.LastData; The other thread said to save it to a global variable first, but that's not an option becaus...

  • 5 replies
  • 270 views
This content is deleted
Forum Topic
JS accessing game objects
Not favoritedFavorited Favorited 0 favourites

Console.Log(runtime.Objects.EmailBodyInput.Text); // Log the whole object to see what it contains. Var emailBody = runtime.Objects.EmailBodyInput.Text; If (emai...

posted 9 months ago
  • 4 replies
  • 287 views
This content is deleted
Forum Topic
How do I "pick" children in javascript?
Not favoritedFavorited Favorited 0 favourites

Const ObjectA = runtime.Objects.ObjectA.GetFirstInstance(); Const ObjectChildren = ObjectA.Children(); For (let j = 0; J < ObjectChildren.Length; J++) {. If (Ob...

Similar Tags