brugo's Forum Posts

  • One way to do it is to just put those control circles around the sprite. You can do it with some math. Then when dragging one of them you can update the other ones, and the size of the sprite.

    Anyways, here is a way to do it in a fairly compact amount of events:

    https://www.construct.net/en/forum/construct-2/how-do-i-18/resize-handles-example-48892?kws=Resize

    That is exacly what a need, friend.

    Tnk you very much. Works perfect for my needs.

  • I hate to be the bearer of bad news, but networking is the issue (99.9999% sure). (the c3 multi works fine inside a firewall, past that it must have a cross-origin problem of some sort and it does not handle what you want. See: construct.net/en/forum/construct-2/beginners-questions-19/multiplayer-works-lan-only-100219 I've used the photon plugin for a couple little real-time racing games. It works pretty well and is very similar to c3 multiplayer and works across all the platforms I've tested.)

    https://www.construct.net/en/make-games/addons/534/photon-engine-c3

    Tnk you very much for all the help and tips you give me in this thread.

    Im gona look into this photon plugin. Maybe it is the solution i need.

  • Things I'd check:

    The images that are not showing up for peers are showing on the host.

    Everyone is on the same network (if not, the photon plugin can go outside the network).

    Past that, I'm a bust on helping.

    The images is showing fine to host, yes. Just the peer cant see it.

    Same network you mean Lan? Its not. Patients are sometime in other country, state.

    The appointment is over internet. Never in same network.

  • The multiplayer gets kinda confusing is why I asked.

    It took me a long time to figure out that the host creates all of the sprites and it moves all of the sprites (which is why I asked the previous question).

    When a player joins, the player says hello to the host, host creates that players sprite. When player moves, player doesn't really move. Player sends a request to the host, the host moves for the player, and it syncs back to the player screen.

    If you have it all coded that way, it's probably something minor.

    Just wanted to check that (it's about 90% of questions in the forum).

    Yep. It is coded that way, sending messages to host and doing things when the message is received.

    Sometimes it work just fine.

    Sometimes when it not load, I ask to the pacient to turn off anti-virus, and it star work great, but sometimes, even when they turn off anti-virus (like in yesterday pacient, was AVG antivirus), even turned off, images dont show.

    I dont know how can this be fixed. It happens alot.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi,

    Is there a way to make a sprite resizable inGame?

    I´d like the player to adjust a image with that litle dots in corners. Just drag a dot on one of the corners and the image adjust size in that specific direction.

    Is this possible?

    Tagged:

  • Dumb question, but you have the host creating all of the images?

    You got me. I dont know. You mean, in code? I create all sprites in layout editor, not in event-sheet. Is it Wrong?

    But, sometimes (2 out of 5 times, more or less), it work nice. Host and peer moving images around like charm.

    If was something wrong in the code, Is it not going to work never, am i right?

    Tnks for all the help im getting

  • Dont think server has anything to do with it, depends on image sizes, are you using big images? if so what dimensions?

    Seems more like a loading error.

    All other images are loading fine, like backgrounds and statics images. Just the ones that has some code, movments, drag´ndrop things that both users are going too see. This is just the assets that wont load.

    In fact, they load for a tiny second and than, desapear.

  • I have a simple multiplayer app, just me as host and 1 person as peer. The system is just a bunch of images that we can drag´n drop. Its for clinical purposes.

    But 3 out of 4 peers connect to the room but the images dont load.

    Can it be a Anti-Virus problem ? A firewall problem ? But no firewall pop up in windows of the peers. Either no anti-virus alert.

    Is there a way to prevent this kind of conections error? Maybe using another paid server instead of scirra.com?

    Im kind lost.

  • Is there a way to use the object Drawing Canvas in multiplayer game?

    I need the other player to see my drawing in real time, is it possible?

  • I have a multiplayer app (drag n drop stuf for classes online)

    What i need, and totaly lost, is how to show to the peer (I´m always Host) my mouse position, like a laser pointer in a presentation.

    I tried so far, events to "key press move a red sprite dot to my mouse.X and mouse.Y, and the object red dot is synced with multiplayer, but not working.

    Is there a easy way to show my mouse position to a peer?

    Tagged:

  • When peer is draging a sprite with mouse and sending the message to host to move it, the sprite cant keep up with the mouse movment, if i move the mouse a lil bit fast, it lose the ˆmouse over˜ and stop moving.

    How can i reduce this latency when peer is moving a object?

    Tagged:

  • I test here using remote preview and I open two anonymous tab from browser.

    use the same link in the 2 tabs.

    works fine here.

  • I´m creating a multiplayer game with several images.

    Both players (host and peer) can move a image (sprite) when mouse over and clickig (holding)

    host using drag´n drop behavior, no problem at all.

    But the peer, I´m passing throug message for the host the mouse coordinates. Work fine too.

    Problem is, when the peer is draging some image and overlap another one, these two images start to move.

    Of course becouse the condition is (mouse over a sprite and holding down mouse button).

    How can this drag´n drop from the peer ignore others sprites and passing through theres (overlaping)?

    I need just the 1st one clicked to move.

  • I need 2 mediaObjects in my game. Its gona have a video chat between host and peer.

    How can i choose who´s gona activate the webcam?

    I alread try : Condition: Is not Host = resquest user webcam.

    but allways go to host webcam anyway.

  • Tnk you very much. That tip teach me alot.

    Tnk you good friend.