LittleStain's Recent Forum Activity

  • Are you using pin or set position now?

    system every tick: set arm: shoulder.imagepointX(1), shoulder.imagepointy(1)

    This should work.

    The lagging could come from the shoulder changing position in the eventsheet after the arm is set into position. The order of events could be your issue.

  • I don't know how you have your events and conditions set up, but I do have some questions.

    Why use the null animation instead of setting the sprite invisible?

    Have you tried the, system wait : 0, anywhere to wait 1 tick before progressing?

    Is it possible to set the imagepoint for the null animation on the spot you need for the shooting?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • you should just import the actions in the function.

    and use.

    on collision - call function.

  • Make a global variable 'score' and every time seven or more balls are destroyed -

    system add to variable 'score' - whatever the points you want to give.

    to display the score in a text

    set text to : "score: "&score

  • I'm still not quite sure what the benefit would be of being able to do this.

    Construct2 has containers, grouped events, families, instance, local and global variables, which could all be put to use to create the desired conditions.

  • To play random sounds you can use the choose command. In these examples I'll asume you have 3 sounds.

    On object touched - play sound: choose("sound1","sound2","sound3")

    For the sounds in order give the object an instance variable sound

    on object touched - object add 1 to variable sound.

    (subevents)

    -object compare instance variable = 4 - object set variable soundd to 1

    (subevents)

    -object compare instance variable = 1 - play sound: "sound1"

    -object compare instance variable = 2 - play sound: "sound2"

    -object compare instance variable = 3 - play sound: "sound3"

  • remove the system every tick condition.

    move the system set acorncount to above the set text field.

    The order of events and actions can influence everything.

  • That's only setting the text, not the variable itself.

    use a system trigger once

    add a line system set value Acornreturned to AcornReturned+Acorncount.

    You could just set the text to "Acorn: "&Acornreturned

  • I don't see where you change the AcornReturned variable?

    So it seems that stays at 0.

  • I can't open the capx, because it has a third party plugin time manager istalled, I'm sorry.

  • You can create sprites during runtime. What is the added benefit of cloning?

    If you'd just like to name the sprite, give it an instance variable name and set it to the name you want so you can call it directly from your eventsheet.

  • set text: "AcornTotal: "&(acorncount+acornreturned)

LittleStain's avatar

LittleStain

Member since 26 Apr, 2011

Twitter
LittleStain has 4 followers

Trophy Case

  • 13-Year Club
  • Email Verified

Progress

14/44
How to earn trophies