fingerskier's Forum Posts

  • That's very helpful...thanks.

  • If I have a script `c3runtime/lib.js` which has stuff I want to use in my action(s) - how I inject that functionality into my action functions?

    Maybe related: how do I access plugin properties from an action function?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Very good, thank you.

  • Thank you...I got the update and I see the header is set (in dev-tools) but I seem to be in the same spot.

    For instance: I open localhost/mod/addon.json in a browser; then bump the version number; then reload - it does not show the new version number.

    If I just hit Stop then Start it doesn't update either. However, if I hit Stop then "Test C3 Addon" then I get the new version number...

    On the Construct side: is there a way to reload add-ons with restarting the app?

  • Currently I am using C3IDE. I create a special, lightweight C3 project per plugin.

    After I make a change to the plugin I save/close Construct. Then I save & stop/start C3IDE web server. Then, continue.

    That seems to be there only way to make changes propagate throughout. Is this the general expectation or is there a better way?

  • I really like being able to have HTML elements separated per layer. Would an "HTML Elements" mean all my form elements were glommed together? Then you'd have to have separate, concurrent controls for showing/hiding/etc HTML elements that logically coincide with other objects...? Or is there a better pattern you're prescribing?

    My use case is a settings screen: one sub-layer for server settings, one for UI settings, etc...

  • Anyone have any experience using multiple BLE devices in Construct?

  • Hello...I have one button that is on a disabled, non-interactive sub-layer to toggle fullscreen. I can click this button at any time no matter whether that sub-layer is visible/interactive or not.

    Other buttons are not clickable when the layer(s) are invisible/non-interactive. Is this a browser "feature"? Does it have to do with full-screen or some setting on the button itself???

  • Anyone have experience connecting multiple bluetooth devices?

    I have 2 custom devices that I want to connect at the same time. They both work fine individually, but when I connect the 2nd one it doesn't work - only the 1st one works.

    It does pull the device_id from each, I have a separate button to initiate the connection to each...but after connecting the first one I get a warning saying this device does not have characteristic ...

    Is this a bug or am I missing some setupy thing?

  • Very nice, thank you!

    "-> On touch object" does exactly that and responds to mouse as well.

  • This is what I want to do:

    let profiles_data = await API.profile.list() // returns JSON let ProfilesArray = runtime.objects.ProfilesArray.getFirstInstance() ProfilesArray.load(profiles_data)

    The API parts works fine - is the Load fx exposed in script?

    TLDR;

    The reason I'm asking is because the script-block doesn't wait for the await; even with the System "Wait for previous actions" it continues on to non-script actions. My currently hackaround is using a setTimeout to call the C3 fx...?

  • I have an event that is a "Mouse-click OR Touch-tap" condition. When I click on the widget it often registers twice: i.e. on, off in quick succession.

    When I remove the touch condition it function fine...how do add back the Touch handler in such that it doesn't double-trigger like that?

  • I had a developer test add-on running at http://localhost:8080; Everything worked as expected. However, after uninstalling the add-on, Construct no longer loads unless that web-server is running. If clear the browser cache it'll run.

    Am I forever beholden to running that web-server just to open Construct - even if I'm not using that plugin?

  • It doesn't make a difference.

    I don't have a problem loading an add-on; the problem seems to be that once a url gets associated with a plugin-id you can't load another addon from that url [without clearing the browser cache].

  • I downloaded and installed the MyDOM sample plugin successfully via "Add dev addon" `http://localhost:8080/addon.json`.

    Afters I copied that to another directory, did a global search/replace of the "MyCompany_MyPlugin" to start customizing...then uninstalled the MyDOM addon and restarted Construct.

    Then, when running my local http-server in the new directory, it still loads the old addon.json. If I load `http://localhost:8080/addon.json` in the browser it brings up the correct/newer file but Construct does not.

    If I change the port number then it worked (but uninstalling the MyDOM plugin crashed and necessitated clearing the cache): it appears that each time I want to change the ID or add another custom plugin I have to increment the port number.

    Is there something I'm missing in the process? Thank you!