C A W T H O N's Recent Forum Activity

  • If there's no such source or nobody knows, it's okay. I just vaguely remember something like that, so I asked in case someone knows.

  • Hello, how to create text construction from blocks like in Scratch, for example? No matter how hard I try to come up with how to do it, nothing works. So that text blocks could be inserted into each other, and it would be clear what was inserted into what. I think I once saw the source code with something similar, but now I can't find it anywhere.

  • Sorry if this is a little late, but Target Actor references the Actor Number of the user. Each connected user is assigned an Actor Number, with the first player being "1" second being "2" etc.

    Out of curiosity, what are you using Target Actor for?

    Thank you

    Sorry if it's a little late

    I was thinking of using this so as not to send it to every player, but to send the event to one player at once who needs it

  • how to use parameter "target actor" in Photon? This is parameter in event "raise event"

    How to set an identifier for an actor?

    and is it possible to install several?

  • The 3D Camera object provides expressions that can convert from layer to canvas (and back) with a Z co-ordinate.

    but I don't use it

    Is this also possible without it?

  • drive.google.com/file/d/1AZoitSFubfEYTzAd-UQYi1QRXOhufmM4/view

    Hello

    I have tried many projects that use Layertocanvas-canvastolayer

    but they all break when the player changes the Z elevation

    in this case, the point should be moved not to a layer with parallax 0, 0 but with parallax 100, 100

  • You mean at runtime? Maybe with the browser object I guess?

    https://www.construct.net/en/make-games/manuals/construct-3/plugin-reference/browser#internalH1Link0

    I don’t understand what the browser has to do with it

    I explained my thoughts in more detail in a previous post.

  • There's eval(), but it's generally regarded as unsafe and sometimes security measures block it from working.

    You can also load a new script file with dynamic content. As Construct uses modules, you can dynamic import a custom script like this:

    > const scriptContent = `console.log("Hello world!");`;
    const scriptUrl = URL.createObjectURL(new Blob([scriptContent], { type: "text/javascript" }));
    await import(scriptUrl);
    

    I'm interested in this "eval()"

    Is it possible to make the command "eval(TextInput.Text)" in the game?

    I need to write text (code) in the game itself using TextInput and then when an event occurs, for example, “when a button is pressed,” perform a script action (eval(TextInput.Text))

    for example in the game there is sprite 1

    and in TextInput write script(sprite1.setOpacity(0.5))

    will it work?

    is there any source?

  • how to create a Java script code in the game itself and use it?

    That is, write it directly in the game itself and use it?

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • You do not have permission to view this post

  • You do not have permission to view this post

  • You do not have permission to view this post

C A W T H O N's avatar

C A W T H O N

Online Now

Member since 5 Aug, 2021
Last online 23 Jan, 2025

Twitter
C A W T H O N has 1 followers

Trophy Case

  • 3-Year Club
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

6/44
How to earn trophies