LittleStain's Recent Forum Activity

  • You could slow the enemies down and/or stop them from moving, depending on their distance from the ship..

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Yes..

  • Changing animation doesn't mean you have to hide them, you just change animation..

    If the actions are different with the other animation you either add the condition - is playing animation, or put all events in a group and activate deactivate them depending on the animation.

    Now you have seperated the arms, the next step is pinning them to the body using the pin behaviour.

    Then you add an action of rotating the arms.. either you rotate them towards position mouse.x,mouse.y , or rotate toward angle(sprite.x,sprite.y,mouse.x,mouse.y)

    Then you add a condition to limit the rotation of the sprite , probably using either "is between angles" or "is within angle"

  • Should be something like this in pseudo code:

    if selected = 3

    -- operator = +

    -- system compare two values : block1.value+block2.value = answer

    ----- pick all blocks selected

    destroy blocks

    -- operator = -

    -- system compare two values : block1.value-block2.value = answer

    ----- pick all blocks selected

    destroy blocks

    -- operator = *

    -- system compare two values : block1.value*block2.value = answer

    ----- pick all blocks selected

    destroy blocks

    -- operator = /

    -- system compare two values : block1.value/block2.value = answer

    ----- pick all blocks selected

    destroy blocks

  • Construct2 gets the geolocation information from the device..

  • Have you tried the tilemap object?

  • sorry.. misread..

  • Add a second condition..

    right click event - add another condition

    on down pressed

    on shift pressed

    do stuff

  • if it's in a container, it will automatically go to the sprite in the same container, right?

  • So what part of this are you not sure about how to create?

  • why are you setting the attack box to humans.x,humans.y?

    As far as I understand the attack box isn't in a container with the family, but with the sprite..

    Would setting it's position to sprite.x,sprite.y and pinning it to the sprite work?

  • Yeah, a pill- shape could be done..

    It would consist of checking the x coordinate of the touch and using an angle of 90/270 degrees when in the straight part and the angle towards touch from the circle center when in the half circle part..

    Even nicer would be to give the pil harmonica-movement, so it goes from pill-shaped to circle and back.. :p

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