Content tagged scripting

Report Tag

107 usages of this tag
  • 11 replies
  • 368 views
This content is deleted
Forum Topic
How can I make my Up special work?
0 favourites

I have this script for a fighting game (like smash) and I have a working up special but the problem is I dont know how to make this work mid air since it is jus...

  • 3 replies
  • 281 views
This content is deleted
Forum Topic
How do I loop an event until x condition is met?
0 favourites

Hey experts. In the game I'm building, you can build a mine or oil pump. Currently if the block already has a mine or oil pump built (instance variable = 1), th...

  • 1 replies
  • 653 views
This content is deleted
Forum Topic
Importing JS scripts from project subfolders?
0 favourites

Let's say I have the following project structure: -- /Scripts. -- main.Js. ---- /common. ---- utils.Js. If I try to import common.Js from main.Js like this: Imp...

  • 4 replies
  • 412 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
  • 440 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
  • 506 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
  • 630 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
  • 456 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
  • 453 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
  • 289 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...