oosyrag's Forum Posts

  • + TextInput1: On text changed

    + OR TextInput2: On text changed

    -> Text: Set text to (float(TextInput1.Text)+float(TextInput2.Text))÷2

  • I haven't tried this, but I believe you can try AJAX object's Request URL action to download a file into the binary data object, then binarydata.GetURL for the downloaded data. I do not actually know if the binary data object actually works with audio files though.

  • What don't you understand? Assuming you are starting here construct.net/en/tutorials/platformer-game-2329

  • This isn't recommended... there are going to be issues.

    First off, your peers don't contain the game state data by default, when they reconnect to a second "backup" room they won't have all of the game state information. They would need to get it from the host... which disconnected unexpectedly in the first place.

    There isn't a way to redirect new joining players to a second room from the first.

    If you manage to preserve the game state data on each peer client side, then it would make more sense for everyone to rejoin the same room with a new host, and try to match up the player aliases with their new peerids and reassign objects (this is going to be a major headache).

    Again, while it is possible to do some sort of host migration, it is going to have problems and probably end up being way more effort than it is worth. It makes much more sense to use a proper dedicated host or use a third party backend service.

  • In settings, you can turn on notifications for betas.

    You can also launch the beta directly here by clicking the link for the latest beta: construct.net/en/make-games/releases

  • Do you have an example of what you want it to look like? There are many ways to create a "bursting" type visual effect.

  • Try using the timer behavior.

    Add a condition to check if the timer is running and add an action to start the timer for .4 seconds in the shooting event.

  • Check out the latest beta, this has been fixed!

  • Leave room is a signaling action, which will leave the signaling room. This does NOT disconnect the peer from the host in the current connected session.

    Use the disconnect action instead, which will disconnect from the current session, AND leave the signaling room.

  • Hi, i tried to adapt the multiplayer demo for my game.

    Essentialy is a turn based game like Monopoly, the main issue is that the host see all others players moves, but the peers see no other peers.

    I attach the c3p file.

    Can you help me?

    Thanks in advance

    Your peer objects are likely not synced properly.

  • Generally speaking you can use the lerp, qarp, or cubic expressions (or some combination) with your ease formula to get the value at any point within an ease. Easing formulas can be found online easings.net

    Note that you'll want one for each the x and y axes.

    For example, for a quadratic ease in/out

    lerp(startpositiony,endpositiony,x<0.5?2*x^2:1-((-2*x+2)^2/2))

    Would give you the y value between start and end positions when inputting an x value between 0-1.

  • Just create a static variable and copy it over.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Use an array to store sets of coordinates, which you can modify as you want.

    The built in behavior will not be able to do what you are describing.

  • There are multiple examples and demos included with Construct 3. Search "Space" on the start page, as well as the "Glokar" game demo.

  • Array for each x/y

    Array.at(currentx,currenty)/=0

    Increment count variable by one.