LittleStain's Forum Posts

  • you can select the brush-object in the editor and in it's properties set the initial frame..

  • I'm not sure I understand?

    What do you mean by property?

    You can compare the text, you can compare variables, you can compare UID, you can compare width, actually you can compare almost anything..

    If there isn't any object on the layout which fit's those conditions actions will not be executed..

    you could also use pickedcount to see how many objects fit your conditions..

  • You mean text compare text is not "" ?

  • Does this help?

    Ofcourse this is just one way..

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Searching the forum for typewriter effect and or dialogue should turn up numerous results..

  • Nevermind, but thanks for trying to help me once again littlestain

    If you could share a capx to show your issue, it would be much easier to help..

    Could be you are misunderstanding my answer, could be I'm misunderstanding your question, could be you are asking the wrong question, I'm not sure..

  • If you change the animation in the creation event (so before the event is called to destroy when overlapping/colliding) there shouldn't be an issue..

    But I might still not understand?

  • I don't understand..

    You want the black ball to spawn little black balls, where did the white one come from?

  • You've probably already noticed the admob plugin?

  • Simply attach an action to the event where you create the object:

    event with conditions

    create object ball

    ball set animation

  • Seems like you are drawing with black every tick and only create 1 point at mouse.x,mouse.y while clicking the green sprite..

    If you could remove the green sprite during the program, you'd see the green point you drew below it..

    I guess you'd want a global variable (text) set it to the colour-name you want on clicked sprite and draw with the colour Variable every tick instead of black..

    Both "every tick" conditions in event 1 and event 2 are useless by the way..

    Event 1 is a triggered event so it will only run once when true..

    Event 2 will run every tick its conditions are true, regardless of the every tick condition you added..

  • Have you tried searching the forum?

    I'm sure I've heard this question before..

    You can probably even find it in the FAQ-thread..

  • I guess what I would do is have the sprite spawn another (similar looking) one on touch..

    The second one would have collisions with sprite1 enabled..

    That way you could always leave the sprite1 collisions with sprite1 disabled..

    It would also help getting around the picking nth instance stuff..

  • Dunno if you'll see this LittleStain but here's a tool I found invaluable for testing these values

    quirktools.com/screenfly

    Thanks, I'll have a look..

    When you put in front of the name, in my case LittleStain the user gets a notification..

  • Well, I figured out the issue with it not working past 4, instead of up to 8 you need to go 0-4 then -1 through -4. However, can you still explain to me the most efficient way at layer these events? Be is per tick, or... How?

    Thank you by the way guys for the help so far

    Sorry for that, I wasn't aware the angle(x1,y1,x2,y2) gave negative values..

    If you have more than 1 enemy, I guess this would do:

    for each enemy

    distance(enemy.x,enemy.y,player.x,player.y) < 100

    -- instance variable = 0

    set animation ...

    --instance variable = 1

    set animation ...

    where -- are subevents..