Content tagged scripting

115 usages of this tag
UpvoteUpvote 18 DownvoteDownvote
Not favoritedFavorited Favorited 22 favourites

Construct supports writing Javascript code in both script files and event sheets. If you're new to the Javascript programming language, consider taking the Lear...

  • 2 replies
  • 682 views
Not favoritedFavorited Favorited 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
  • 942 views
This content is deleted
Forum Topic
How do I stop audiobuffers made with scripting?
Not favoritedFavorited Favorited 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 3 years ago
  • 5 replies
  • 899 views
This content is deleted
Forum Topic
How to change userAgent name when opening sites?
Not favoritedFavorited Favorited 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
  • 689 views
This content is deleted
Forum Topic
Creating and manipulating sprite instances
Not favoritedFavorited Favorited 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
  • 574 views
This content is deleted
Forum Topic
Is Solid behavior API not supported in scripting?
Not favoritedFavorited Favorited 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...

UpvoteUpvote 1 DownvoteDownvote

Let's see how to add background image to a video in camera with Mediapipe and Construct 3 scripting. By the end of this video, you will be able to. 1. Integrate...

UpvoteUpvote 1 DownvoteDownvote

By the end of this video, you will be able to. 1. Train and create image models in Teachable Machine. 2. Integrate Teachable Machine into Construct 3. 3. Create...

UpvoteUpvote 1 DownvoteDownvote
Not favoritedFavorited Favorited 2 favourites

Let's see how to setup charts in Construct 3 with Chartjs. Setting up leaderboards table is a common thing in the games but do you ever try representing the dat...

  • 0 replies
  • 264 views
This content is deleted
Forum Topic
Save/load object state to/from JSON using JS API
Not favoritedFavorited Favorited 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 3 years ago