allevlativ's Recent Forum Activity

  • I make loops for the x row from 0 - 90

    And on each row cointains value of string that i load from file.txt using ajax and tokenat to seperate them. How do i compare each element current value is equal to my text input then do such things?

    Here my capx drive.google.com/file/d/1AeUEKYGCLedlp9wfeU8cbqoACxRvTKVj/view

  • When the sprite is not mirrored the angle of the sprite will follow my touch.x and my touch.y just fine like when i touch up right conner thect sprite will face up right conner

    But when the sprite is mirrored the sprite angle is not exactly the same as when its not mirrored. How do i set the angle still remain the same like when its not mirrored even when it is mirrored? Like when it is mirrored and when i touch on up right conner it will face top left conner?

    This my capx

    Pls help

    dropbox.com/s/p7url8cc69i4dce/reverse%20angle.capx

  • So i have sprite name finger that follow my mouse cursor using drag and drop behavior

    I have 3 sprite which is

    point1 , point2 , point3

    Point1 with inst variable = 0 <--- this is where the sprite finger stay after overlap with other point

    Point2 with inst variable = 1

    Point3 with inst variable = 2

    And another 2 sprite which is attack1 and attack2 that set to invisible

    And my global variable name counting = 0

    And when finger overlap with point 2 set global variable to 1

    And when global viariable equal to 1 : set sprite attack1 to visible

    wait 0.2 sec set it back to invisible and set globa var to 0

    And set drop where finger go back to point1

    And when finger overlap with point 3 (it has to go through point 2) add 2 to global variable so it will be 3 right?

    And when global var equal to 3 : set sprite attack2 to visible and wait 0.2 sec set it back to invisible and set drop.

    My problem is how do i make if the finger go through point 2 and 3 WITHIN 0.5 sec it will not set the attack1 to visible and it only set attack2 to visible?

    I already make wait 0.5sec action when finger overlap with point 2 and after that set attack 1 to visible

    And somehow even if i go to point 3 under 0.5sec it will set attack1 to visible and after that attack2 to visible.

    Can someone help me how to do it? If global var = to 3 within 0.5sec set attack2 to visible only instead of attack1 also

  • My event sheet is like this

    www(dot)dropbox(dot)com/s/k3j1l3115fnqgpb/Photo%2028-01-2017%2C%203%2015%2048%20PM.jpg?dl=0

    I want to spawn the sprite aka hitbox when my player play the attack animation on frame 2

    And i already make an image point at frame 2 in my attack1 animation like this

    www(dot)dropbox(dot)com/s/rjmrn7iamfm7fx4/Photo%2028-01-2017%2C%203%2014%2007%20PM.jpg?dl=0

    The problem is i dont really get used to expression can someone help me?

    What i write on the image point colum is

    Player.AnimationFrameCount=2 <-- i know this is wrong and please teach me to correct this

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • jeffige done like what you post

    now when i run the game my player not play idle animation, it stuck on combo1 animation and when i press the A key its only play the combo1 animation

  • To use the dt, i showed you how to try, just copy what i wrote.

    I have something a little like what you are trying to do. It may work. It may not. Won't know till you try.

    If you need help with my example, me.

    what you mean me ? cant you give me your example here? i cant pm you

  • Already use the timer but it stop when attack1 animation is finish

    and using the dt i just dont know where to start

    ive read tons of combo forum and video tutorial nothing solve my problem but i think the timer method is how it works

    its like when combo1 is finish and the key is not press under 0.25sec, player play idle animation, but if the key is press under 0.25sec after combo1 is finish, player play attack1 animation back and this process will repeat over and over again until i stop spamming.

    this is the capx www(dot)dropbox(dot)com/s/qi51yuvcpg0rtgi/IworryabouttheWarrior.capx?dl=0

  • i have 2 animation

    attack1 and combo1

    on A key press my player will play attack1 animation and if the key is press again with under 0.25sec my player will play combo1 animation.

    The problem is on the 3rd key press and so on it keep play the combo1 animation until the key is release then it will stop, how do i make my player keep repeating the animation to attack1 animation back after the animation combo1 is done even if i spam the the key?

    see my event sheet here https://www(dot)dropbox(dot)com/s/58yjzoz5e8864bs/Untitled.png?dl=0

  • about cropping the transparent edges i just follow from tutuorial lot of em doing that , im still in learning how frame size and the origin point of each frame effect the animation, like on my attack animation u put the origin point on the worrior back leg on each frame it looks perfect now but on tutorial that i've learn they used to put the origin point in between the leg, tqsm it fix i cant believe it just that simple actually.

  • This the capx file

    www(dot)dropbox(dot)com/s/sxnzpfy6ybzqelg/testingworrior.jpg?dl=0

    This the img

    www(dot)dropbox(dot)com/s/9nqwggings058kx/worrior%20testing.capx?dl=0

    Sorry for the wrong link just now

  • this is my capx

    www(dot)dropbox(dot)com/home?preview=worrior+testing.capx

    this is the image of my event sheet unless you cannot open my capx

    www(dot)dropbox(dot)com/home?preview=testingworrior.jpg

  • I make a variable to my playermask "normalattack" to false

    And then when A key is down set playermask "normalattack" to true

    When "normalattack" is true > play realplayersprite animation to Punch which is only have 1 frame

    The problem is as long as the A key is down it freeze the animation and when i release the key it goes back to idle

    How can i make the animation just play once after the A key is press and not freeze the animation if i hold the key down? Like street fighter game kinda thing. Can someone help ?

allevlativ's avatar

allevlativ

Member since 15 Nov, 2016

None one is following allevlativ yet!

Trophy Case

  • 8-Year Club
  • Email Verified

Progress

9/44
How to earn trophies