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.
Develop games in your browser. Powerful, performant & highly capable.
Is it possible to
runtime.objects.Sprite.getAllInstances();
and then do collision detection in the script rather than using events?
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.
Member since 24 Jan, 2012