frame to another

0 favourites
  • 9 posts
From the Asset Store
Selection frame like in RTS games, works both on mobile and desktop devices.
  • have not been able to switch from one frame to another when he collided with another element.

  • frame or animation

  • please read manual,beginner tutorials , http://www.scirra.com/forum/how-do-ifrequently-asked-questions_topic45416.html

    about changing frame you need to click on animation and change speed to 0 in properties tab..

    then do this:

    event1

       condition:player:collision with enemy or (the thing you want)

       action: enemy or (...):change frame to --> the frame you want.

    *remember frames start from 0 so focus on it ^^ if you put a number more than the max number on the animation it will choose the max number for example you used frame = 5 and you animation has only 3 frames so it will = frame 3

    (rule: keep learn )

  • please read manual,beginner tutorials , http://www.scirra.com/forum/how-do-ifrequently-asked-questions_topic45416.html

    about changing frame you need to click on animation and change speed to 0 in properties tab..

    then do this:

    event1

       condition:player:collision with enemy or (the thing you want)

       action: enemy or (...):change frame to --> the frame you want.

    *remember frames start from 0 so focus on it ^^ if you put a number more than the max number on the animation it will choose the max number for example you used frame = 5 and you animation has only 3 frames so it will = frame 3

    (rule: keep learn )

    m sure you Understand I do not have time to make your game for you.

    you're right, sometimes I can not understand the manual.

    pean think it's better to ask you, as I guided by their examples.

    I think for Latinos are better if the examples before explaining something to follow:

    condition: -> quiestion

    action: ---> anything having to do the player

    I think you can follow a good algorithm, if we follow these steps <img src="smileys/smiley1.gif" border="0" align="middle"> <img src="smileys/smiley1.gif" border="0" align="middle"> <img src="smileys/smiley1.gif" border="0" align="middle">

  • ok do this : first of all you have, lets say a button object with 20 frames you can change the frames from the properties and put the speed of animation to 0

    and event will be like this :

    event

          condition1:mouse : clicked on object --> button

          condition2:button object: compare frame = 0

          action1:button frame = 1

    in this one you will only change to 1 frame for example if player collision with door it open like this or press button and so on..

    or

    event

          condition1:mouse : clicked on object --> button

          action1:button:set frame --> self.animationframe +1

    in this one everytime you click on the object it will change to the next frame

  • ok do this : first of all you have, lets say a button object with 20 frames you can change the frames from the properties and put the speed of animation to 0

    and event will be like this :

    event

          condition1:mouse : clicked on object --> button

          condition2:button object: compare frame = 0

          action1:button frame = 1

    in this one you will only change to 1 frame for example if player collision with door it open like this or press button and so on..

    or

    event

          condition1:mouse : clicked on object --> button

          action1:button:set frame --> self.animationframe +1

    in this one everytime you click on the object it will change to the next frame

         

    yesss!!! <img src="smileys/smiley32.gif" border="0" align="middle" /> <img src="smileys/smiley32.gif" border="0" align="middle" /> <img src="smileys/smiley32.gif" border="0" align="middle" />

    event

         

    condition1:mouse : clicked on object --> butto     action1:button:set frame --> self.animationframe +1

    in this one everytime you click on the object it will change to the next frame

    works!!!!

          <img src="smileys/smiley32.gif" border="0" align="middle" /> <img src="smileys/smiley32.gif" border="0" align="middle" /> <img src="smileys/smiley32.gif" border="0" align="middle" />

  • Try Construct 3

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

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

    your guide always solve the problems ^ ^

    what happens is you know teach

  • o.o i'm just a person who can organize the words to fit the words in construct2.

    also i can't answer alot of question because i'm not fully pro in construct2 yet ^^

  • Good Answer.

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