Multiplayer - javascript errors

Discussion and feedback on Construct 2

Post » Tue Oct 21, 2014 12:27 pm

It should be fixed in the r185 beta. The support check broke on IE9.

Currently only Firefox and Chrome support WebRTC for multiplayer to work, but IE have shown interest in adding support.
Scirra Founder
B
399
S
236
G
89
Posts: 24,546
Reputation: 195,436

Post » Wed Oct 22, 2014 5:10 am

Thanks Ashley for answers.
B
4
S
1
Posts: 56
Reputation: 462

Post » Wed Oct 22, 2014 11:59 am

Can someone verify this situation?
1) Sprite as button with "Is touching" action placed into layout (into viewport) = all works good. Only mouse over + click will start action.
BUT!
2) Sprite as button with "Is touching" action placed into layout BUT half is out of screen. If I click on Sprite and scroll viewport to position that I see other half of the button (button is like transmit between left and right side of one layout) and back again, than everytime I move over that Sprite, an action "Is touching" start without click on it!

It looks like wrong to me. Code is so simple that i will not post it.
I tested that everytime I scroll with Viewport, "Is touching" action will broke. Even If I create two Sprites as buttons and places each to different place and clicking will scroll to each other.

Only click somewhere after Scroll operation end. Thank button lost "focus" maybe?... dunno.

Did I do something wrong?

Thanks!
B
4
S
1
Posts: 56
Reputation: 462

Post » Thu Oct 23, 2014 7:46 am

And another weird function:

Keyboard function "Key is down" will stuck ON while you click (with Touch object) onto (enabled) TextBox. Only solution is disable all TextBoxes while any of Key is down and reeneble while all keys are released!

Or ... did I misunderstood something?

Thanks!
B
4
S
1
Posts: 56
Reputation: 462

Post » Thu Oct 30, 2014 7:34 am

Is there a better solution for TextBox object?

When is TextBox focused, project starts ignoring some actions (sprite visibility, network communication, key actions etc.).

Thanks!
B
4
S
1
Posts: 56
Reputation: 462

Previous

Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 12 guests