LittleStain's Forum Posts

  • I set the sprites to use the boundingbox instead of polygon.

    Added friction and elasticity.

    set the force to apply every tick.

    https://dl.dropboxusercontent.com/u/485 ... ction.capx

  • Using the search isn't that hard, you just type in the word(s) you are looking for in the textbox and press enter or the button with the word search on it..

    Then you get a list with many posts/ topics with the word(s) you are looking for and you can choose which one you want to take a closer look at..

    Here's another topic i found that way, with two examples:

    It uses the canvas plugin from the plugin section of this forum.

    You might want to try using the search function to find it, so you can get accustomed to it.

  • I can think of 3 solutions:

    1 - using fullscreen in browser crop -setting.

    2 - Creating an onscreen keyboard or something similar.

    3 - when the textbox is selected, on browser resize, scale the layer/layout and scrollto the textbox if needed

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

  • 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

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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