PabloDev's Forum Posts

  • Well that does this?

    Check if the distance from the car to the center point of the yellow square is less than X pixels.

    If less than X pixels put the car's speed to 0.

    -----------------

    Bueno por que no hace esto?

    Compruebas si la distancia desde el auto al punto central del cuadrado amarillo es menor de X pixeles.

    Si es menor de X pixeles pones la velocidad del auto a 0.

    Tendrás que usar la función distance(cuadrado.x, cuadrado.y, auto.x, auto.y).

    Eso te da la distancia que hay entre dos puntos.

  • You can always climb a small capx (a file with the problem so that others can have a better view of what happens to you).

    ------------------------

    Siempre puedes subir un pequeño capx (un archivo con el problema para que los demás puedan tener una visión mejor de lo que te ocurre).

  • Pasted from Construct 2 Manual:

    Function conditions:

    Compare parameter

    Compare the value of one of the parameters to a function call. This condition should only be used in an On function event, since outside of function calls there are no parameters set.

    I think the bold text is the answer

    I understand, thanks for the help, it could also be solved with signal and wait for signal.

    In this way it does not work, why ?.

  • Hi, does anyone know why the text "yes 2" is not written?

    https://dl.dropboxusercontent.com/u/60803633/test11.capx

    > I was also testing a project but there was a problem with the multiplayer plugin, sprites flicker, after a month of tests for find the error I found nothing,several users report the same error, then I suspend my project.

    >

    Please report the bug as soon as possible then so Ashley can investigate it.

    I think this bug has already been reported by some user but Ashley said it was due to some aspect of the connection.

    For example, I remember that a user who tested in the institute and he had this error.

    I have wifi connection and also I have this error.

    https://www.scirra.com/forum/multiplayer-players-turning-invisible_t101268

    I was also testing a project but there was a problem with the multiplayer plugin, sprites flicker, after a month of tests for find the error I found nothing,several users report the same error, then I suspend my project.

  • Ok, use a timer using as reference WALLCLOCKTIME could be a solution.

    Thanks.

  • I'm not sure I follow.

    Look at this example, I use wait 1 second but spend 2 seconds until ending wait.

    https://dl.dropboxusercontent.com/u/60803633/test10.capx

    I just want to wait 1 second using "wait 1 second"

    regardless of the timescale.

  • Hi, about wait and timeScale, how I can make wait is not modified after changing timeScale?

    With timeScale = 1

    Wait 1 second = 1 second - ok

    But with timeScale = 0.5

    Wait 1 second = 2 seconds - ?

    "wait" depends on the time scale by what I see, is this correct ?.

  • > How load the array?

    >

    Thanks!, solved.

  • Closer to finishing my game!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi, please, I'm testing to load values using localStorage.

    I do not get what I want.

    I want to load the array and the value 20 is displayed but not loaded when I touch.

    The value shown is 0.

    How load the array?

    https://dl.dropboxusercontent.com/u/60803633/test9.capx

    I read this:

    https://www.scirra.com/tutorials/1461/how-to-use-the-localstorage-plugin

    I am doing other mode but should work ... no?

  • > You buy the plugin and then not supported.

    > This opinion is based on comments in the thread of the plugin.

    >

    What do you mean, I haven't heard of this? I think he made it free but accepts donation?

    I speak in reference to these plugins:

    The user seems not much frequents the forum.

    According to the comments, support leaves much to be desired.

    You say you did the free plugin ?, could you tell me the download link ?.

  • I have not tried the plugin but if I find that the support is grim , you buy the plugin and then not supported.

    This opinion is based on comments in the thread of the plugin.

  • Trigger conditions will be the next thing, stay tuned for more plugins and updates ^^

    Why not create a new thread for the plugin?