M4dM4tt's Recent Forum Activity

  • well as i feared, it happened. it works half the way 5 out of 20 times.

    but even then the tank is almost out of the crater and it still takes the same time for the respawn button to appear, the tank to disappear and the wreck is still just created as the player respawns.

    the only beneft so far is knowing that disable car actually exists and that the tank sometimes at least stops.

    but i figure i've gotta go for some screenshots or a replica(which is gonna be very hard because there are soo many objects synced and depending on each other already.)

  • now all i can say is... am i really that blind that i didnt see the "disable"? cause i was looking for it. because it made sense.

    still... if set car max speed to 0 and stop car didnt work i dont have much hope for disable...

    but i will try .

    thank you!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hey dear constructers!,

    i'm working on an topdown tank shooter/mining game.

    now, when a player dies, i want to just have the tank stopped, create a crater and wreck, and display a respawn button which, once clicked starts the respawn countdown. after the countdown reaches zero the player is respawned at his base.

    what happens:

    when i have no timer it all goes fine, BUT!, it seems that the player isn't actually destroyed but just moved across the map (which results in him being stuck if there's a mountain on the way) except from that all is fine. the player and all of its parts are destroyed instantly on server an clients the crater and wrecks are built instantly as well.

    as soon as i have the respawn button in it (or a wait x seconds action), the player doesnt disappear instantly. merely it's car behaviour, rolls him out of the crater and is still steerable. it then takes about 1.5 seconds for the servers destroy signal to take action. after that the respawn button appears, the player disappears and spawning works fine. the wreck though is built just at the time the player respawns and not the moment he dies or the moment his visuals disappear.

    oh yeah, on the server everythings fine! this just happens on the client!

    does anyone know about such issues? are objects somehow kept alive for a short time to save the engine from unnecessary destroy/spawn actions?

    what can be done about it?

    for the moment i don't have a simple capx to post, but i no one has a fast idea on what might be going on i might be forced to replicate it, or at least cut some screenshots of the actions together.

    thank you all for taking the time,

    Matt

M4dM4tt's avatar

M4dM4tt

Member since 13 Jan, 2015

None one is following M4dM4tt yet!

Trophy Case

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

Progress

11/44
How to earn trophies