User Tools

Site Tools


position_tween

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
position_tween [2017/02/24 22:58]
maefloresta [Position Tween]
position_tween [2017/02/25 10:33]
maefloresta [Position Tween]
Line 4: Line 4:
  
 =====Position Tween===== =====Position Tween=====
-As its name implies, this tween is related to movement. Let's say you have an object in the frame #1 and you want to take it through the canvas area from the current position to another point following an specific path and using N frames, well this tween can help you to do the hard work creating N-1 frames for you and placing the object in the right place for every frame, generating the illusion of movement for that item.+As its name implies, this tween is related to movement. Let's say you have an object in the frame #1 and you want to take it through the canvas area from the current position to another point following an specific path and using **N** frames ​(where **N** is the frames total defined by yourself), well this tween can help you to do the hard work creating ​**N-1** frames for you and placing the object in the right place for every frame, generating the illusion of movement for that item.
  
-Ok, let's animate a bouncing ball to make things go easier. First at all, let's add a circle in some point of the top-left corner of the canvas in our first frame.+Ok, let's animate a bouncing ball to make things go easier. First at all, let's add a circle ​(our ball) in some point of the top-left corner of the canvas in our first frame.
  
 {{ wiki:​position_tween_circle.png }} {{ wiki:​position_tween_circle.png }}
Line 118: Line 118:
 ;#; ;#;
  
-Remember two things: 1. You can edit the parameters of every tween any time you need it, and 2. You can't add new tweens over the same object, just once. To release an object, you have to remove the tween related to that item.+Remember two things: 1. You can edit the parameters of every tween any time you need it, including to modify the path nodes and adding new subpaths as we did it at the first time, and 2. You can't add new tweens over the same object, just once. To release an object, you have to remove the tween related to that item.
  
 {{ wiki:​position_tween_close.png }} {{ wiki:​position_tween_close.png }}
 ;#; ;#;
 **Fig 19**. Tween manager ​ **Fig 19**. Tween manager ​
 +;#;
 +
 +**Note:** To delete a tween, select it from the tween manager panel and click on the **Remove Tween** button.
 +
 +{{ wiki:​position_tween_remove_button.png }}
 +;#;
 +**Fig 20**. Removing a tween from the tween manager ​
 ;#; ;#;
  
position_tween.txt ยท Last modified: 2019/07/16 20:31 (external edit)