niceplugin's Forum Posts

  • I can trigger a mobile back button in android studio.

    But I don't know how to trigger this with the construct3 game.

    I would like to control events such as switching to the main screen when the mobile back button is tapped.

    Does construct3 support mobile back button triggers?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I know that I can save / load to local storage.

    However, the built-in plugin doesn't seem to support the ability to save / load to the cloud yet.

    Is there no way?

    I would like to use firebase if possible.😉

  • You do not have permission to view this post

  • You do not have permission to view this post

  • Thank you. It was very helpful to me. It was a good example code.

  • I created a script.js file within the Project\Scripts path.

    And there I created a function like this:

    function test_func(a, b) {
     console.log(a, b);
    }
    

    Can I pass parameters when calling this function from the Events sheets?

    I know I can create a Javascript section within Events sheets and pass parameters when calling the function from there.

    If so, can I pass parameters to that JavaScript section? Or do I have to manually pass parameters by referring to like global variables?

    I'm a full stack developer. This is a question to see if there is a better way that I don't know. (Because I am not yet familiar with Construct3 system.)

  • I solved it myself.

    See the INSTANCE SCRIPT INTERFACE document.

    If you print INSTANCE.instVars to console.log, it will appear as an empty object {}, but here is the variable name and value that I set up in the form of key: value. (There was confusion because it was marked as an empty object.)

    I will not delete this articles for other developers.

  • I referenced the WORLDINSTANCE SCRIPT INTERFACE documentation.

    (Perhaps I referenced the wrong documentation.)

    But... I can't see what I want.

    I checked with the Developer Tools console.log, but I couldn't find it.

    How do i do?

  • Oh... I see.

    I didn't know I had to add a File Array, not an Object Array.

    Thanks.😀

  • Of course I did.

    Project_name

    â””Object types

    └▦Something_Array <- It's array object.

    But I can see Array editor. I can't open editor...

  • I have paid license.

    But I can't see Array Edior...

    Where is it?

    Tagged:

  • Can I diversion the control input of a platform object?

    If press left arrow key then platform move to left.

    Can I control this input to move to right?

    I know I can use Simulate control in key press event.

    But does this move the same distance for 1 second at 30fps and 60fps?

    Tagged:

  • OH thank you.

    I tested and WindowWidth was exactly the same as OriginalViewportWidth.

    I don't know construct2 but maybe WindowWidth was the property used there.

    Thank you.

  • I read the tutorial or CONSTRUCT 3 MANUAL.

    But I couldn't find basic properties like WindowWidth.

    Is there a document that I can refer to the information of the default property or method?

    CONSTRUCT 3 MANUAL is just like an introduction to learning concepts.😀