LittleStain's Forum Posts

  • Best way would be to use families, but those are only available in the paid version.

    Why would you need 80/90 sprites when you all want them to do the same thing?

    Wouldn't it be easier to use animationframes if they look different and if they look the same, just use instances?

  • Basically you'd have to do something like this:

    give the sprite a boolean variable "selected"

    on touched sprite - toggle boolean

    get the starting distance and the starting angle between the first and second touch.

    then change the scale of the sprite according to the change in distance and set the angle of the sprite according to the change in angle.

  • I believe you could compare platform.vectorY for that.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • are you using any behaviours for movement?

  • somthing like this should work for single touches.

    on any touch start - start animation.

    on any touch end - stop animation.

  • Like everything else in programming it's all if then.

    if global variable is 1 set level1 button to animationframe 1 (not greyed)

    on levelbutton touched - levelbutton is animationframe1 - goto level1.

    etcetera..

  • Please share your capx, because your explanation is hard to follow without it.

    Having two groups with exactly the same events seems like a waste of space.

  • Would something like this work?

    for each box

    box has line of sight

    box is not moving along path

    • find path

    For each box

    on path found

    • move along path
    • set animation to walk
  • Shouldn't they only play the walk animation while walking?

    So wouldn't it be easier to start moving on los and set animation walk when moving?

    I'm under the impression the problem is not where you think it is. This sounds more like a conflicting event issue. Are you setting the animations anywhere else in your event sheet too and are the conditions for that event true aswell?

  • why not use an else condition instead of the has not los?

    or am I missing the point?

  • Would it work if you make an event

    player is not overlapping small sprite

    trigger once

    • set bullet speed to 130

    You could do this with switching a variable too, which would probably make the events easier to read.

  • Ok so when collided if distance is greater than a certain amount apply force?

  • so the action should be:

    sprite5 set animation.

    and not

    playerobject set animation, right?

  • Are the animations on the playerobject or on sprite5?

  • If you want someone's attention put in front of their name in your post..

    I just happened to see this by accident..

    Like I said my example had and has flaws, but I'll look if I still have the capx.

    De