RetroSpock's Forum Posts

  • I think I've sussed it, thanks guys <3

  • It affects every player, rather than just the one that died. I've tried comparing ActorNr's but that doesn't work either.

  • Hey guys,

    After many headaches I have managed to successfully have players, turrets and bullets in real time. I can successfully shoot at player 2 (on player 1) and subtract player 2's health. The problem I have now is, when player x's health reaches 0, I need it to destroy that player, and respawn somewhere else.

    Here's what I have:

    i.imgur.com/SsigOOr.png

    I just can't figure out the logic.

    Thanks!

  • Thank you ThePhotons!

  • Using the methods I've used, it destroys both players, or it destroys 1 player, but attaches their weapon to the remaining player.

    How can I remove player 2 but not player 1?

  • I'm using Photon since I heard that the built in Multiplayer was buggy and it was a peer-to-peer model. I wanted an always-on solution. The problem I have with Photon is the lack of support/documentation on using it. The two tutorials provided aren't very clear to me. Let me know how you get on!

  • Hey man I couldn't message you since my reputation is low, but how did you learn Photon?

    I'm trying to add a turret to another project based on the example you gave me but I can't figure out how to have unique turrets (i.e. if I move my turret, yours doesn't move on my screen, and vice versa).

    I wish I understood the process so I can build without bothering people lol

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hey guys, what's the best place to better understand the Photon plugin?

    I spent days trying to figure out how to have multiple players on screen and have each player move across all screens in real time only to have another Construct user show me how it's done in a few lines.

    Also, I've noticed that after a few minutes, a player would randomly stop dead and their position won't be updated further. How can this be fixed?

    CapX here: http ://s000.tinyupload.com/?file_id=02802319115309673895

    I'm trying to figure out how to attach a turret to the vehicle and fire a bullet, again in sync with all players not just locally. I honestly have no idea what I'm doing and would love to better understand the photon process. Thanks!

  • So I have a dummy project set up, and I finally got the cars to display on both screens (thanks to ) but the problem I have now is displaying the user's name above their head. I can display it locally, but the other players don't appear to me and vice versa.

    I'm still trying to wrap my head around events and stuff.

    Thanks

    Sorry for posting it here but I don't know where else to post. I am getting the following:

    I received that on both a test project I threw together, and a sample project from YouTube.

    Is it something I've done or something wrong with the plugin?

    I'm using the Auth, FireBaseAPIv3 and leaderboards.

  • Thanks for the reply man.

    That worked great, but whilst playing about say, on player 2, on player 1's screen, player 2 will stop dead and wont update again. Do you know what causes that and if there's a solution to it?

    I really appreciate your help dude, it has taken me 4 days of banging my head against the wall prior to you helping

  • Thanks man, it's essentially what I wanted, but when I tried to trace your steps and rebuild it from scratch to understand it, and for some reason when a second player joins, it can't see player 1. Could you take a look, please?

    Capx: https://

  • Hey man, try this,

    http://s000.tinyupload.com/?file_id=028 ... 5309673895

    You'll have to put your own photon app id in before it will work <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile" />

    This looks great, did you make it?

  • Hey man, try this,

    http://s000.tinyupload.com/?file_id=028 ... 5309673895

    You'll have to put your own photon app id in before it will work <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile" />

    Thanks dude I shall take a look now!

  • have you tried setting an instance variable rather than a global?