IndieGroup's Recent Forum Activity

  • Thanks, interesting.

    The peer is started at the beginning of the grid (I also changed the variables to 1.1 ❌). I adjusted the maze. But the peer is no longer moving when pressing keys. I tried to change some actions, but it still doesn't move, I'll keep trying. Why -9999?

  • Thanks for the way, but I still have no idea how to do this. In the image I sent above, I should separate the submit buttons and try something with some variable that would store the previous one. I really don't know what to imagine and what actions to use.

  • In fact, when you press the key once, the action is executed several times. I tested this with a click counter.

    I also tried to limit it in some way,

    using activate only once when true ❌

    set time ❌

    what do you suggest?

  • Multiplayer doesn’t care which movement behavior you’re using — it simply transmits data between two computers. The issue is likely that you’re sending Player.controle continuously. Instead, you should send it once per tile movement.

    For example, when the D key is down and the player moves from tile 1 to tile 2, you should send a single 'move right' command. If you send it multiple times, network latency might cause the peer to move more than one tile unintentionally.

    Another option is to send the target position. So when the player moves from tile (0,1) to (0,2), you transmit the coordinates of the target tile - (0,2)

    Hello, thanks for the reply!

    Is what you say an assumption or have you seen my project?

    I don't think I'm doing this, but I could be wrong. Please point out where this is happening

    drive.google.com/file/d/11jWl4KGl1z3BS_b2t1h52e9xxYwByFsu/view

    Thx

  • Hello

  • I'm doing some tests with the multiplayer behavior of construct 3, in this test I have a maze made with the tilemap and a simple square sprite being my player, this player has tile-movement with W, D, S and A.

    I built my code as in the example of multiplayer of construct 3 the one that has two players with lasers.

    you can see in the gif below the delay mentioned, I don’t know it can be tested with several friends but this lag is always seen no matter the host, my grid is 32x32!

    What can it be? maybe the size of the sprites?

    Gif

    i.imgur.com/1aQ7tpo.gifv

    in case you want to explore my project below the link

    drive.google.com/file/d/11jWl4KGl1z3BS_b2t1h52e9xxYwByFsu/view

  • As the title suggests, I believe we have a bug when using tile-movement and multiplayer.

    I followed both the multiplayer tutorial using the 8-way behavior and the car behavior to the letter. But I can't get the same behavior when moving on the grid.

    This project is from 2020 when I faced the bug and abandoned construct 3 exactly because of that.

    Now 5 years later I've come back and I still encounter the same problem. Check out c3p and also the example video in my other post. Do we have a known limitation here or am I just doing things wrong?

    construct.net/en/forum/construct-3/general-discussion-7/multiplayer-lot-delay-151017

  • try this setting, except the resolution you have already set.

    in my games I always use this I have no loss of image quality, the game is lighter and the components are always on the screen

  • I have a progress bar for the construct itself and I would like to change the progress color from blue to red, but whenever I try to move the css the bar turns green, probably because I'm doing something wrong.

    as in the button I tried the command background-color: red but it didn't work for me, does anyone know the css commands that I can use on this bar?

    and what is the best way to inject the css file via the browser component or AJAX?

    Tagged:

  • Thanks to everyone, everything works like a charm

  • I'm trying to generate random numbers that don't repeat, after some searches I found a tutorial that taught this, but in the video it uses construct 2. I tried to replicate the same code in construct 3 following the video and it didn't work, I was curious about it so I tried do in construct 2 and everything works

    construct code sample 3

    construct code sample 2

    debug construct 3

    debug construct 2

    capx construct 3

    drive.google.com/file/d/1XdMbN2TM1OTghg67JcIZM1P4xEY_Sxwl/view

    capx construct 2

    drive.google.com/file/d/1I6ZOqhMWjJyGg43afGKee0p5p-VURU5W/view

    if anyone knows why this is happening, or who knows a functional way to do this please let me know

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I made a quick sample...

    you need to push a new row into the array, and then access the proper Y element for each piece of information.

    it starts off blank because there is nothing in the array. I call a function at the start and after you click the add button. At the start it shows all elements in the array, after the add button is clicked it just adds the last row in the array. If you double tap then it restarts the layout but that happens so fast you can't see it...

    I use % (modulo) to wrap the objects to the screen.

    https://www.rieperts.com/games/forum/CreateObjects.c3p

    this is really amazing, thank you very much for this demonstration it will definitely help me, and help many other people.

IndieGroup's avatar

IndieGroup

Member since 3 Jan, 2020

None one is following IndieGroup yet!

Trophy Case

  • 5-Year Club
  • RTFM Read the fabulous manual
  • Email Verified

Progress

7/44
How to earn trophies