How do I animate then stop animation?

0 favourites
  • 8 posts
From the Asset Store
3 pixel charaters with over 8 animations each + animations with a gun
  • I think I screwed up.

    I set this up so whenever the jet-packed turtle hits an object 2 points are subtracted from the seconds. It works great!

    Then I had this great idea. When the jet-packed turtle subtracts 2 it should also switch animation to the same image, but outlined in Red! And then back to the original image. Every time the image is hit it should go to Red and switch back. I made all the images, uploaded all the images to the corresponding images, designated all the animations 'hit'.

    Now I'm stuck. I need something to set the animation, but I'm not sure how. I know creating a family won't do it.

    Hints? Thoughts?

  • You do want a family. Put all collision objects in the family and then on collision with the family, change the animation to "hit".

  • I think I screwed up.

    I set this up so whenever the jet-packed turtle hits an object 2 points are subtracted from the seconds. It works great!

    Then I had this great idea. When the jet-packed turtle subtracts 2 it should also switch animation to the same image, but outlined in Red! And then back to the original image. Every time the image is hit it should go to Red and switch back. I made all the images, uploaded all the images to the corresponding images, designated all the animations 'hit'.

    Now I'm stuck. I need something to set the animation, but I'm not sure how. I know creating a family won't do it.

    Hints? Thoughts?

    This is just a question from me. How did you manage to put all the triggered conditions into one event. I have tried but it said due to restrictions it didnt work

  • applern

    By default, event blocks are "AND" blocks, which cannot have two collision detections happen in the same block.

    The Event block must be an "OR" block. (right click block and select "OR")

  • applern,

    I have No Idea. I get the same error as you when I try to do it.

    However I found that I can copy and paste it as many times as I like. Then change whatever I want within the event, even add more OR statements.

    What I do is, I open the project with the 'OR' statement in the desktop version of C3. Then I open the current project I'm working on in my web browser. (You can have more than one C3 project open at one time) Then I copy the entire 'OR' event from the project I have open on the desktop version of C3 and paste it into the project I have open in the Browser version of C3.

    I don't know why it works, but it does.

    Here's the statement for you. You can copy and paste it into any project and it works.

    drive.google.com/file/d/1fe6Uthj9ui9MVqSzW8QTok9ZDpRcV8ko/view

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • applern,

    I have No Idea. I get the same error as you when I try to do it.

    However I found that I can copy and paste it as many times as I like. Then change whatever I want within the event, even add more OR statements.

    What I do is, I open the project with the 'OR' statement in the desktop version of C3. Then I open the current project I'm working on in my web browser. (You can have more than one C3 project open at one time) Then I copy the entire 'OR' event from the project I have open on the desktop version of C3 and paste it into the project I have open in the Browser version of C3.

    I don't know why it works, but it does.

    Here's the statement for you. You can copy and paste it into any project and it works.

    https://drive.google.com/file/d/1fe6Uthj9ui9MVqSzW8QTok9ZDpRcV8ko/view?usp=sharing

    It must be a glitch. A very useful glitch though :P Edit: Nevermind. It isn't a glitch. ( I don't think so)

  • rjamesuk

    I can't get that to work. When I create a condition for the event, I then click on the sprite, but it doesn't give me the option 'on collision with another object' so I can't go any further to create the 'OR' statement.

    If I click on the original block and c/p, I get an error. (And you can't make the first block an 'OR'statement.)

    If you can do it, would it be possible to make a 10 second video of your screen showing us how you do it?

  • This is not a glitch, but a feature. Create a triggered event, for example "On collision", then right-click and change it to OR-block. After that you can add more triggered events to the same block.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)