skelooth's Forum Posts

  • Thank you so much. I am much more comfortable with how to navigate the different parts of c2 now.

    What is the preferred method of having a global data structure? In HTML5 I'd use window as the global namespace, but am I allowed to be sure the window object will be the root when exporting?

  • I want to say thank you for that. Those examples taught me a lot about how to go about writing a C2 plugin. In the example of calling an action, is there an easier way of finding the parent instance instead of traversing the plugins array? In this example, a behavior that on create sets the width of the sprite it's attached to.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • These might be painfully obvious and I'm not just seeing them. I might also be trying to make the plugin system do what it isn't intended to do.

    Is there a way, for example, to access a list/object/array/whatever of all of the sprite instances on a layout and act on them?

    Can I reference a behavior from my custom behavior? For example, could I set path targets and initiate movement programmatically?

    Thirdly, is there a way to access a "global" variable that is persistent? Does runtime.extra function that way?

    Thanks for any/all help! Actually, is there a more "informal" api reference? I feel like there's a lot more available than what is in the SDK reference? Am I wrong?