Forum Topics tagged scripting

Report Tag

93 forum topics with this tag
  • 4 replies
  • 407 views
0 favourites

I would like to use rgbEx (mentioned here: In my Javascript scripting in Construct 3 project, but I can't find it anywhere (tried `globalThis`, `runtime` etc. B...

  • 8 replies
  • 436 views
0 favourites

I have searched a bit around but haven't found a solution for my problem. I am trying to open a window with window.Open() in my Plugin but still want to support...

  • 2 replies
  • 503 views
0 favourites

Is there a universal way to find the center of the screen, e.G. Horizontally to display a button? There's a button with options: Button.Width = 400; Button.Heig...

  • 3 replies
  • 626 views
This content is deleted
Forum Topic
How do I stop audiobuffers made with scripting?
0 favourites

I am using the Sound Synthesis scripting example. In the example, each buffer plays the sound for a fixed amount of time. I want the option to stop it early. Is...

posted 2 years ago
  • 5 replies
  • 450 views
This content is deleted
Forum Topic
How to change userAgent name when opening sites?
0 favourites

Tell me, how can I change the userAgent when opening a site in iframe? It is very necessary to add specialized information for processing on the server side. Pr...

  • 2 replies
  • 450 views
This content is deleted
Forum Topic
Creating and manipulating sprite instances
1 favourites

I'm just starting to learn Construct and using scripting. I want to make a 2d grid-based puzzle game. Can anyone show me how to create instances of a sprite and...

  • 3 replies
  • 286 views
This content is deleted
Forum Topic
Is Solid behavior API not supported in scripting?
0 favourites

I can't find a way to set a Sprite's Solid behavior state (enabled on/off) from scripts. I had to create a helper function in an Event Sheet to set the Solid be...

  • 0 replies
  • 187 views
This content is deleted
Forum Topic
Save/load object state to/from JSON using JS API
0 favourites

I know how to convert instances to/from JSON using event sheets - using the expression Object.AsJSON and the action Set from JSON string . Is there a way to do...

posted 2 years ago
  • 2 replies
  • 274 views
0 favourites

Hello guys I'm doing a project using script. Can you tell me how I can find the angle and distance between two objects by scripts? Thank you very much for your...

posted 2 years ago
  • 0 replies
  • 128 views
This content is deleted
Forum Topic
How to manipulate css stylesheet via script?
0 favourites

I'm doing a project using script, and I have a doubt. Can I manipulate css stylesheet via script? If yes how? Thank you very much for your attention.

posted 2 years ago