PabloDev's Forum Posts

  • > Hello, please, could you help me with these questions?:

    Hi

    >

    > 1- How do I choose the region of the photon server I want to connect to?

    Set "Region" option in Photon object properties or call "Set region" action if you need to change region in runtime.

    >

    > 2 - Does Photon do this automatically and connect to the most convenient region ?.

    No, best region selection is not supported currently in Photon js sdk and construct plugins

    >

    > 3 - When I use "Connect to the name server", am I connecting to a master server or a name server?

    Client connects to name server first, then automatically to master server of region you specified.

    > I'm confused with this, what condition should I use to know if I'm connected to the photon server ?:

    >

    > Is connected to master server

    > OR

    > Is connected to name server

    >

    > It seems that neither works, even though I am connected to the server.

    > Although I am connected in a room, these conditions are always true and the text is written.

    >

    >

    >

    > Then, how do I check if I am connected to the photon server?

    What exactly you need to know? You are connected to a server (name, master or game) while one of "Is connected to Nameserver", "Is connected to Master server", "Is connected to a lobby", "Is joined to a room" conditions is true. You may find more convenient to handle "On" events like "On join room".

    "On state change event" is useful for client state tracing.

    >

    > -------------------------------

    >

    > Final note.

    >

    > I received this error:

    >

    >

    >

    > When I added this condition:

    >

    >

    >

    > Can I give you some information to solve this?

    You use "Is connected to a lobby" as an event but it's simple condition which called on each frame. Use "On join lobby" event instead. See samples bundled with plugins for details.

    Thanks, I'll need to do some tests on that.

    Now I am dealing with graphic material, I hope to soon return to the connection issue.

  • It means that number is repeated x amount of times.

    So 44x5 is the same as 44,44,44,44,44. It makes the json file smaller.

    I understand, thanks :)

  • Hello, a question about the JSON content of a tilemap.

    What do these numbers that use the "x" mean?

    It is assumed that each value indicates the tile number but here the "x" is used, what does it mean?

    https://i.imgur.com/w5aj8qG.png

  • Hello, in the "manage what notifications you receive." I can not stop receiving notifications from C3.

    I do not want to receive notifications from C3, how do I deactivate them?

    Thanks.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • accessible to me right now

  • Hi, the bug section of C2 is not working, you can not create a new bug.

    Just for warning.

  • If you save the state of an object that is being used in a layout with several layers, then you change to another layout with the same number and name in the layers and create the same object and restore its status with JSON.

    The layer is not restored, the object is positioned in layer 0, although you saved its state in JSON when the object was in layer 3.

    It only works in the same layout, if you change the layout the error occurs with the layers.

    Capx - Just observe what happens and you will see that when you switch to layout number 2 and the state of the tilemap object is restored using JSON, the tilemap object is created and it is positioned in layer 0 but it saved its state when it was in layer 2.

    https://www.dropbox.com/s/ln8f6a2gm17f5jm/bugJSON.capx?dl=0

    GIF in:

    https://imgur.com/a/WaNHupf

  • Hi, saving the state of a tilemap object in JSON does not save the layer in which the object is hosted.

    When you restore the state of the object using "Set from JSON", the tilemap object will go to layer number 0 automatically, it does not matter if you saved its state when it had it in layer number> 0.

    The tilemap object will go to layer number 0.

  • Ok, here's the link to the manual.

    Thank you that my ideas were wrong.

    scirra.com/manual/1/construct-2

  • This thread is important, I hope you solve it because it is destroyed.

    construct.net/en/forum/construct-2/construct-2-general-17/-updated-15-05-2018-the-big-nw-119428

    I do not want to think that they are destroying C2 to "force" users to use C3, that would not work with me, then I would run scared of scirra.

    PD Tom has said that the threads will be arranged

  • Hi, where can I find the C2 manual ?.

    And the download section of C2 ?.

    Edit: scirra.com/manual/1/construct-2

  • In my opinion it is a flaw in the design.

    The speed should be permanently changed but I understand that it can not be modified because it affects other projects.

  • https://www.scirra.com/forum/moving-solids-against-platformers_t201387

    https://www.scirra.com/forum/platform-behavior-making-it-play-nice-with-customs_t53779

    Thanks but that does not help me, I think the platform behavior must respond correctly to the solids, because that's what they are for.

    And that must be its function.

    The platform behavior should have a perfect integration with the solids.

    That is what I think.

  • The behavior could check:

    Am I on the ground?

        Can I escape horizontally?

           - Yes, then I look for horizontal output and I only move on X axis

           towards the area free of objects.

    If you are on the ground you should check if you can escape on the X axis only.

    He currently seems to want to escape in X and Y.

    This is just an idea.