oosyrag's Recent Forum Activity

  • 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.

  • 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.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Array for each x/y

    Array.at(currentx,currenty)/=0

    Increment count variable by one.

oosyrag's avatar

oosyrag

Member since 20 Feb, 2013

Twitter
oosyrag has 38 followers

Trophy Case

  • 11-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • Enduring Visitor Visited Construct.net 90 days in a row
  • Unrelenting Visitor Visited Construct.net 180 days in a row
  • Continuous Visitor Visited Construct.net 365 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

21/44
How to earn trophies