Vanelloppe18's Forum Posts

  • Hey,

    again a question, sorry im newbie in construct, i tried to move a platform for up to down and form down to up and i used the sine behavior, it's ok but it doesn't do exatly what i want.

    I just want the platform go slowly down for example and stop and i want to, bur i think the sine behavior is not the best way to do that cause it does a cycle and i just want the platform go down, stop when i want, and if the player go again on it, she go up and stop when i want to.

    Here a screenshot of my code but i know it's bad:

    Thanks for help.

  • > You mean the UID can change? I thought the UID was the unic ID of each instance, it's not supposed to change.

    UIDs wont change but they can be assigned by the engine during run-time in different ways,

    during runtime, you can retrieve and use the UID of an object

    but you should never assume that a UID will be a specific value.

    Thank you for the advice, il will remember that :)

  • "I think you cannot depend on UID to always be the same. So you should not use it like that.

    You can select a specific object by Instance variable that you have previously assigned in your code.

    eg on Platform created set instance variable "MyNum" = 7

    then later...

    Pick Platform with instance variable "MyNum" = 7"

    You mean the UID can change? I thought the UID was the unic ID of each instance, it's not supposed to change.

  • i just figured out why, i just forgot to include my event sheet in the main event sheet...Sorry i sucked :D

  • I don't have pin behavior, i see it in a post but i don't know really what is the point of this behavior,

    here two screenshot with uid of selected obj, i think my UID is good right?

  • Sorry, it didnt uploaded the screenshot, here the code:

  • Hey,

    im trying to set position to a collision object that i created with solid's behavior on a sprite of my layout, i don't know why but the object doesn't change of position and stay where i put on the layout at the beginning, screenshot below :

    [img=

    ]

    Thanks for help

  • You do not have permission to view this post

  • Hey guys,

    all is in the title, im looking for somoene who can fix and review my code (not all of it, just some part), i can pay, depends of the price, let me know if you are interested.

    Paul.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • mail sent

  • Finally i found the solution by myself, here the screnshot for ppl interested:

  • Sorry man, i didnt have time to answer you, i send you a mail soon

  • Here the project with only the event sheet open you need to see, can maybe help you to help me :).

    https://www.dropbox.com/home

  • "On attack 0, you set the boolean "Attacking" to true

    When attack 0 is done, you change the comboAttackState back to 0"

    the comboAttackState is back to 0 when the timer of 1.5 sec is finished, the idea is to let 1.5 seconds to the player to trigger the three attack combo.

    "So in your attack 1 conditions, you can never have comboAttackState to 1 AND not being Attacking"

    it is triggerring cause you have 1.5 secondes to do it, (i tested)

    "And same for Attack 2."

    Same that the attack 1 if u do all in 1.5 sec, its works.

    "I'm afraid I'm not sure what exactly you are willing to achieve."

    what i want to do is pretty simple:

    in a time of 1 second more or less:

    press X : first animation attack

    press second time X: second animation attack

    press third time X: second animation attack

    I will do a c3p file yes focus only on this animations and system, then you can try by yourself

  • I got a problem with the algorythm, its a three row combo attack screenshot below :

    I tried a lot of things but my problem is when the player hit the button very fast, it cut the second animation combo to go to the third so i tried to put a boolean with invert to say "if you are doing the first attack you cant do the second etc." but it make a new problem that if the player hit two times too fast the button and the first animation is not finished, it trigger only the first attack but not the second.

    I can't figured out this issue alone i guess, can somoene help me?

    I put below the event sheet of each attack if you nedd too :

    First:

    Second:

    Third:

    Thanks.