PabloDev's Forum Posts

  • Yes, I already know, but a function that does not receive any parameters has its parameters to 0 by default, so I'm checking that but it does not work.

    However, if I write the text indicating the value of the parameter (in the second image) this indicates that it is 0, as I said at the beginning in this same message.

    So.

    • A function has the default value 0 in its parameters.
    • If you check a parameter when the function does not receive any, the check does not work even though the parameter is 0 by default.
    • If you type the text to indicate the default value of a parameter, this indicates that it is 0.

    So, if the parameter is 0 by default, why does not the check work ?:

    Function.param (0) = 0

  • Hi, please, can anyone tell me why the text is not written ?.

    If you write the text this indicates that the parameter 0 is 0 but if you do the check, then it does not work.

  • If someone wants to report the error feel free to use my example capx file and my image.

  • I understand, thank you, although there is still something strange about the OR block in my example.

  • The variable is 1 in one object, in the other object it is 0. In the object that collides it is 1 so I do not understand why the collision does not occur.

    If you remove the "x > 500" and "x < 0" conditions then it works correctly.

    The problem is the block "OR", there is a failed there.

    If you disable the "x > 500" and "x < 0" conditions, it will not work, you need to delete them.

  • Hello here something strange happens, can anyone explain?

    In the project there are two tilemap objects, only one of them has the variable "var" with value 1.

    If the other tilemap object is deleted, then it works.

    It's no use uncommenting the second "pick" just after "every 0.1 seconds"

    https://www.dropbox.com/s/rdzewts23g750o8/testTilemap.capx?dl=0

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Well I think I understood.

    Thank you!.

  • Hi, does anyone know why the sprite does not move by tiles?

    That is, the sprite should be placed on the tile in which the mouse is located at each moment.

    I think I'm not wrong.

    https://www.dropbox.com/s/4itc14gqvidu8zc/testPositionToTile.capx?dl=0

  • It's like I'm telling you that to lower the window of your car you have to tighten a screw that is in the trunk. C2 should fix that.

  • From the Tilemap manual:

    [quote:19yikc6v]If you wish to have tiles that are visible but do not register a collision, use two Tilemap objects layered on top of each other.

    You probably read that as well. I am pretty sure that there is no other way of doing it apart from using a new tilemap on top of the other one.

    Okay, it's inevitable to have to use another object for this.

    Thank you.

  • Hello, is there any way to make a tile not detectable for collisions?

    I have a tilemap object with solid, I want to eliminate the collision of some tiles but it is not possible because you can not delete the collision Maya, you can only leave 3 points at least in a Maya.

    Even if you place the 3 points on the same pixel, for example at 0, 0, the collision will still be detected.

    I want to avoid using another tilemap object just for this, so I ask this question.

    Even if you put tile number 1000 there and your tileset does not have this tile, the collision will still be detected.

  • Thanks.

    To stop everything already exists "Stop all".

    "" I should stop sounds with no label, but I should not stop everything, I think it would be the right or the most understandable.

  • Hi, does anyone know why the sound "tormenta" does not play?

    https://www.dropbox.com/s/jlgzj2gl0tto616/testSound.capx?dl=0

  • There are no new webGL effects ... has this ever happened ?.

    Although the truth is that there are already many effects available, I know.

    Thanks fot this.

  • Hello, in the example that you offer on the first page now the blue path does not appear.

    This happens with the latest version 1.02