anthonydsf's Recent Forum Activity

  • EgoAnt ! thanks , so to answer to your question,

    the attack action in my case should only take place "from" and "on" the ground , which mean, i should not see the player jump and attack at any moment in the air. so i guess the answer is a long touch to trigger the attack

  • Guys !

    i have set a capx sample, to allow you to check what is wrong in my code.

    my problem it's simple :

    as designed for mobile and touch input, my game is an auto runner, and i need to set two actions with the touch

    by defaut my player run then,

    if i tap , the player should jump on landing back to run

    if i touch and hold "mean in touch" i need to have the player who attack, then back to run"

    for a reason i ignore even if i use the else function , i can't have something robust who work every time

    i would really appreciate if an advanced construct users could check my capx to fix my wrong code

    my capx is commented and very explicit with debug function , but the shorter as possible

    thanks really to anyone who will fix my problem

  • PixelRebirth, thanks for the time too you've took to trying to help me ! i'm currently trying also what you've mentioned ! and i would say at least you remind me that yes we can compare the Vector Y ! also yes i'm using the Platform Behavior, i will keep you updated soon , but thanks again too !

  • RamPackWobble, first at all thanks for your time, it's funny but sometime simple thing are always the best, so even if it's not 100% accurate with what i have in mind when i said a natural Vector Y curved line, at least , if i'm not in position to do what i wish , i will use this technic, so one more time thanks for your time and you're help ! Today i will post some others question maybe you will be able to help me too

    see you !

  • Guys !

    seriously, thanks in advance for your help and your time on this case !

    my need is simple,

    1 - When i touch or left click, i want the player jump with a maximum jumpstrenght value "done, easy"

    2 - Now the question is , i want on "any touch end" to stop the jump and keep a natural Vector Y curved line.

    i don't want to set the vector Y to 0 as it's look not natural.

    Any one Constructor have an idea ?

    onedrive.live.com/redir

  • Hi everyone quick question and thanks in advance for your time,

    how could i during a platform Jump stop the vector Y at its current value and then having a smooth falling mean ie ;

    i jump vector y = -300, when i release my touch during the fall the vector Y decrese from -300 to 0

    Actually i have set this

    On anytouch start , platform jump

    On anytouch end , set vector Y to 0 -------here the problem------------

    the problem is with my method as the vectory Y switch from a current value to 0 , and it make the jump not natural at all :'(

  • Firs tat all Thanks RamPackWobble for your time,

    The things is with your solution even if it work nicely, it's not the kind of behavior i was expected.

    after some test, i need to make in sort to stop the Vector Y on any touch end after a jump.

    do you have any idea ?

    thanks again for your help

  • i'm working/thinking on it, Maybe if i could be able to stop the vector Y "on any touch end" during a jump it could be a good alternative, like that i set a higher jumpstrenght value (the max), but i don't know if it's possible

  • Hi everyone !

    i'm currently trying to finish my character gameplay ! but i've got some problem, due also i guess to the touch configuration

    1 - My character should Jump with a variable jumpstrenght depending of how many time, you stay holding intouch.

    The thing is, as i have set on "on any touch start" -> character Jump,

    i don't know how having a robust system who calculate the correct jumpstrenght in real time during the same time i touch the screen. However there i have also seen something who stop the vector Y on anytouch end, but the problem is , in this case, the jump not look smooth during the fall it's not a natural curved line.

    thanks for your help

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hey gars second post

    2 - i have in my projet, few backgrounds who need to auto scroll, so i've added for each one a tiled background and i have specified their original size. for a reason i ignore , when i run the game, i have some black line who appear at the top of almost each one, and i figure out why as in photoshop those lines not appear.

    3 - Also on the scrolling side there is something i don't understand (maybe linked to the problem of black line), all my background have a size of 2048w by 512 and need to auto scroll (ie : forest.X -(SCROLLSPEED+75) * dt ), as the game canvas is 1280w i have specified the size of each texture to 3328 and i have the command line who mention when (ie : forest.x value = or less 2048 , set x to 0), normally the auto scrolling should be perfect, but i can see a light anormal move of few pixel at the end. So if anyone have the answer it will be amazing,

    i have specified this command line : forest.X -(SCROLLSPEED+75) * dt

  • Hey everyone !

    Nice to meet you and the Construct community and thanks in advance for your help !

    So i have few problems currently, i've tried to find here & here the answer before post but i'm not Lucky ! and so let's see what you can do for me

    1 - i want to display all my character (let say a bird) all its different Platform physics parameter in real time!

    ie : max fall speed, gravity etc : actually i have set up a text on "everytick" with the following value

    : "bird.Platform.MaxFallSpeed" but i don't have the value ;' ( , what is the command line to say for display the value please.

    I already do this for many of variable but i don't know why for this one it' s like i have missing something

anthonydsf's avatar

anthonydsf

Member since 5 May, 2011

None one is following anthonydsf yet!

Trophy Case

  • 13-Year Club
  • Email Verified

Progress

14/44
How to earn trophies