Nevesbr's Recent Forum Activity

  • What is your movement system? Pathfinder?

    Because a quick reaction would be to continue using 8 directions via the set and get bit method.

  • I made a game where peers can move objects... I used it as you thought... Send X and y and id.

    Using tokenat you can handle this.

  • Now if what you want is to tell the host what "your local UID" is, even if other objects other than the host are created, just send a message with the UID in string form.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hello, explain your needs better...

    Do you want to know the UID of a peer?

    If so, just create a variable for example "UID_PEER"

    and on the host screen you put the peer's uid in this variable...

  • Firstly, we know that treating shots in the C3 is proving to be a challenge and I deeply believe that there is a way to get around this problem below... I have some ideas but I haven't been able to re-sign the C3 yet.

    I think that with detection rays and letting the bullets be local solves this... However, some players can see the bullet catching while others won't... Generating the assumption of using a hack.

    I'm sure I'll overcome this challenge... But I still can't think of a way...

  • Guys, I face problems when the host blurs the game window... Peers lose access...

    I had to for a while to detect the afk host to then give victory to the peer... Like an end to game time... Loco this works if it's a 2vs2 game but if it's something like realtime shooter it's still a problem...

    Even with the box checked "Continue running in the background" the host does not play the role of transmission.

  • You do not have permission to view this post

  • Hello, now i show my Rts Multiplayer template in development...

    construct.net/en/free-online-games/war-command-online-68275/play

    The mechanics are functional.

  • I think I managed to solve it and I share the tip here for anyone looking for the same thing.

    We know that peerid always changes in each connection, so I created a synchronized numeric variable and asked the player for a password that will be the identification of that object.

    Then we have:

    Player > peerid = c4g8

    Owner= 9876

    So everything that belongs to the peer will be named with this password "9876"...

    On the client side, it is now easier when he connects everything that has this password to the map and copies his peerid. He now has possession of the objects.

    My game in progress. Multiplayer online strategy game.

  • This is my last project working on.

    It's under development so a lot will change but the game already works:

    When you enter the map you get a HAB in a random location, from there you can place divisions on the battlefield.

    These divisions can be moved with taps.

    Infantries can attack and take resource and manufacturing points.

    Once you control at least one factory, you are able to manufacture armored vehicles, which can then be placed in the field.

    Resources have to be earned and collected.

    Divisions enter combat if an enemy is within range.

    All multiplayer.

    Well, I've explored the multiplayer potential in depth and I'm pretty excited.

    construct.net/en/free-online-games/nevess-military-c3-58939/play

    Subscribe to Construct videos now
  • Speaking of multiplayer.

    Let's assume that the host is online 24 hours a day, if the player leaves he doesn't delete the object...

    How do I get back into the game and everything that had my peerid becomes mine again?

    I know that the peerid changes with each reconnection... Should I then have a peerALIAS variable and relog with the same alias as before?

  • Hello community, the question seems simple, especially for those who already have multiplayer games and are creating a very complex one. But I can't find a way to get what I need...

    The necessity. When an instance (infantry) comes close to the factory its variable changes to... (owner=infantaria.peerid)

    So far so good but see that I have 2 factories...

    In fact, manufacturing is only being released when I acquire the 2 factories on the map. I want just 1 to give me the right to manufacture...

    I tried this and it's not going...

    For each factory

    Factory(owner) = multiplayer.myid

    But it only becomes TRUE when I collect both.

Nevesbr's avatar

Nevesbr

Member since 7 May, 2011

Twitter
Nevesbr has 21 followers

Trophy Case

  • 13-Year Club
  • Entrepreneur Sold something in the asset store
  • Forum Contributor Made 100 posts in the forums
  • x6
    Popular Game One of your games has over 1,000 players
  • Famous Game One of your games has over 10,000 players
  • Coach One of your tutorials has over 1,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

22/44
How to earn trophies