ramones's Forum Posts

  • Haha nice <img src="smileys/smiley36.gif" border="0" align="middle" />

  • How about this?

    conduction5.capx (r110.2)

  • You've only added image point 1 to the first frame of the animation so it only works if the tank's animation is on frame 0 when you spawn the bullet. On frames 1 and 2 it's going to spawn at the origin which is the only image point on those frames. You can right-click image point 1 on the first frame and select 'apply to whole animation'.

  • You're spawning 2 bullets at a time. One for mouse and one for touch (with mouse input on).

  • It happens when you're editing expressions, the first time you double-click. When you open the expression window it's all selected by default:

    <img src="https://dl.dropbox.com/u/8367729/construct/pics/selectExpression1.png" border="0" />

    and you double click on the word 'mangle':

    <img src="https://dl.dropbox.com/u/8367729/construct/pics/selectExpression2.png" border="0" />

    it selects from the beginning.

    This happens all the time for me when editing text objects. I double-click the word to select everything between quotes but it selects the first quotes too.

    <img src="https://dl.dropbox.com/u/8367729/construct/pics/selectExpression3.png" border="0" />

  • Local variables are reset every tick. You'd need to set it to static for it to keep it's value.

  • I think you'd have to implement your own scrolling events. Or destroy the first object and create the second so only one of them exists at a time. Or... put the scrollTo on an invisible sprite that's pinned to object 1 and then when you press 'e' move it and pin it to object 2.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Here's two possible solutions:

    One using families... conduction1.capx (r110.2)

    and the other using an extra hidden sprite to check for overlaps... conduction2.capx (r110.2)

  • Click on that green arrow:

    <img src="https://dl.dropbox.com/u/8367729/construct/pics/postorder.png" border="0" />

  • It's not supposed to. It was one of the bugs fixed in r110 :)

    Bug Fix

    Function: in some cases the called function would still reference objects picked from the event calling the function. This was not intended; now function events start picking instances from scratch again.

  • Yeah that's the way it works. You might think it should check the condition alongside the mouse trigger at the moment you click; but it just checks for mouse clicks and then goes through each mouse click event one at a time checking the other conditions. So whether a later event runs depends on what happens in a previous event.

    What you have there is the equivalent of:

    <img src="https://dl.dropbox.com/u/8367729/construct/pics/onclicked1.png" border="0" />

    And the solution like superkew says is:

    <img src="https://dl.dropbox.com/u/8367729/construct/pics/onclicked2.png" border="0" />

  • You just need to set the object's position to the image point before you pin it.

  • The layer does show but Sprite4 is off-screen. You need to move it up above the dotted line.

  • Destroy just the one you click on if it doesn't match any other. Is that right? destroyNotMatching.capx (r109)

  • Nice! This is weird, I was wondering if it would be possible to implement the boids algorithm in C2 just this morning when I was feeding the fish. And here it is.