Schoening's Forum Posts

  • I could do that, but then I miss out on the "on message" event sheet hehe. But yeah I guess that is the way I have to go!

  • Hi,

    is it possible to access websocket send method from JS?

    I see nothing when I log the runtime unfortunately... just the name property of the WebSocket object.

    Would like to send JSON and binary without having to deal with the JSON plugin.

  • Ahh!

    Thanks for the tip!

  • Thanks a lot :)

  • I am having difficulty understanding the problem here. I am passing an UID that exists (checked multiple times) and then try to check if that particular instance is overlapping another object. It does not detect collision when i use the pick by UID.

  • Is it possible to

    runtime.objects.Sprite.getAllInstances();
    

    and then do collision detection in the script rather than using events?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Why all these steps? Why not just build it and release a downloader to us?

  • Looks like the release today solved my problem :D

    Now I can pin to an axis hehe

  • I would like to move everything downwards on the Y axis. But keep them aligned on the x axis. Except the yellow one which I want to let bounce back and forth between the two pink ones.

    But yeah, looks like the way to go is to use an event to keep it aligned with the others.

  • I have a yellow rectangle that has bullet behavior and bounces back and forth between the pink ones.

    Now I would like to move everything on the Y axis. Is it possible to somehow pin the Y position to the turquoise background so that the yellow piece keeps bouncing? Or do I need to use some events for this?

  • I ended up solving it mixing scripting and events. So nice that is possible now :)

  • Use the object itself, compare variable.

    Could you elaborate?

    Just using the Spawner variable comparison is gonna do a comparison for every Spawner, not one. So I don't think I understood what u had in mind.

  • Hi,

    I have a bunch of potential spawn locations. They have a "isOccupied" variable, and I wish to pick one that is not occupied.

    I tried using the pick by evaluation, but that seems to pick multiple. "Trigger once" didn't help. It's been years since I have used Construct. Would like some tips here please.

  • As far as I understand it the WebSocket plugin only support Strings. However has anyone been able to send Binary data (for example Float32Array) using a custom plugin?

    Ashley you should be "self hosting" it - make c3 with c2 - that would have been meta