Forum Topics tagged scripting

Report Tag

95 forum topics with this tag
  • 3 replies
  • 1.5K views
This content is deleted
Forum Topic
Error runtime.callFunction
0 favourites

I'm trying to call an event sheet function via scripting but it returns error. Am I doing something wrong?

  • 4 replies
  • 1.1K views
This content is deleted
Forum Topic
teach scripting with construct
1 favourites

Remark: I initially wrote this from the perspective of a teacher however, it might be interesting for all users who want to learn scripting in Construct 3. As a...

posted 5 years ago
  • 3 replies
  • 826 views
This content is deleted
Forum Topic
How to access UserMedia
0 favourites

Is there a way to access the camera through scripting? Either using Construct's UserMedia or by HTML5 (creating a element and using WebRTC ..etc). Thank you.

posted 5 years ago
  • 7 replies
  • 1.2K views
This content is deleted
Forum Topic
How to access reliable screen size via scripting?
0 favourites

I want to resize the main layouts to take up the entire screen, and respond to the screen size changing. I've not found any documentation on the matter Is `scre...

  • 5 replies
  • 1.4K views
This content is deleted
Forum Topic
Generating a random number with scripting
0 favourites

How do I generate a random whole number via scripting? I tried using math.RandomInt(100), math.Random(100) and more. But it keeps telling me that math or random...

  • 1 replies
  • 426 views

I was doing an overview of the primitives documentation and the Events section is out of date. The bottom of the docs explicitly mentions that Construct doesn't...

  • 5 replies
  • 649 views
This content is deleted
Forum Topic
JS Basics - Instance and set position (with linked file)
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 4 years ago
  • 4 replies
  • 2.1K views
This content is deleted
Forum Topic
Is there a way to write to the JSON file?
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...

  • 15 replies
  • 1.2K views

The addition is Javascript is awesome and opens the door partially for some advanced coding options. But the one boost Unity has over Construct is the ability t...

  • 9 replies
  • 886 views
This content is deleted
Forum Topic
Object effects JavaScript API
0 favourites

I'm trying to toggle two effects on an SVG Picture through scripting and can't find any references in the documentation. As an example, if I have an SVG Picture...