LittleStain's Recent Forum Activity

  • System compare variable User is not ""

    You might want to look at some tutorials and read the manual..

  • Using the "Button set invisible" action?

    Actually if you want the button invisible on start you could choose to set it invisible in it's properties and only set it visible when needed, or create the button object when needed using a system create action.

    I'm not sure why you would want to use an external script for that..

  • I'm not sure why that is, but I always use the ViewportLeft(), ViewportRight(), ViewportTop() and ViewportBottom() expressions

    So instead of Window width/2

    I use

    0,5*(ViewportRight(0)-ViewportLeft(0))

  • Every x seconds counts from the moment you start your program..

    What you describe above is consistent with that..

    Instead you might consider using a timer-bevaviour, set it to 5 seconds

    on timer

    create

    set timer for five seconds

  • Regenerating the obstacle path every tick doesn't sound very usefull

    Add a trigger once condition

    crawl is false

    sytem trigger once

    • solid2 set y to 131
    • regenerate obstacle map
    • find path

    crawl is true

    -- systen trigger once

    solid2 set Y to -100

    regenerate obstacle map

    find path

    -- on path found

    ...etcetera....

    after regenerating the obstacle map, you will have to find the path again..

  • You can check if the animation is playing

    You can even check the frame of the animation

    Sprite - is playing animation

    Sprite - compare frame

  • I usually do it this way:

  • you have two events "on highscore get", one setting it to 0 and one setting it to localstorage.Itemvalue..

  • When not in touch the value of touch.x = 0 as is the value of touch.y..

    So you will have to create an action to set the touch.x and touch.y to the desired x and y when not touching.

  • It should be as easy as using the choose() expression at the right place, but without knowing how you have your events set up untill now telling you where the right place is is pretty hard..

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • If it doesn't work on phone it sure isn't the action that doesn't work..

    Probably your triggered event is wrong..

    What is your event for making the player jump and what is the event for changing the gravity?

  • Would adding a system trigger once condition to that event help?

LittleStain's avatar

LittleStain

Member since 26 Apr, 2011

Twitter
LittleStain has 4 followers

Trophy Case

  • 15-Year Club
  • Email Verified

Progress

16/44
How to earn trophies