Feilexter's Forum Posts

  • 2 posts
  • basically, I have gone through the SDK document and there is no example code for sdk.

    I am stuck at:

    Acts.prototype.custom_plugin = function (text_object_name)

    {

    };

    with no idea how to directly access the core code of construct 2.

    Namely the object array where they are store.

    Anything like:

    this.object.(text_object_name).settext("Something");

    example would be welcome!

    In php it would be like:

    function something($object_name)

    {

    $$object_name = "something";

    }

    Any help appreciated!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I do not wish to get the parameter from a url as describe in the document.

    I want to access a variable like the following:

    <script>

    var something;

    something = "SALT";

    </script>

    I do not wish to use QueryParam as it became impossible.

    ...Or do I need to use ExecJS?

    If so, is there a code example for it?

  • 2 posts