Commit Graph

7 Commits

Author SHA1 Message Date
Rémi Verschelde
708a0caf4a Improve code formatting and update to 2.0
The scripts were streamlined using more or less the following conventions:
 - space after a comma in lists of arguments
 - space around weak operators (+, -), no space around strong operators (*, /)
 - space after a comment start (#)
 - removed trailing spaces or tabs, apart from those that delimit the function indentation level (those could be removed too but since they are added automatically by the editor when typing code, keeping them for now)
 - function blocks separate by two newlines

The scene files were resaved with the (current) 2.0 format, and some scenes that were in XML format were converted to SCN, to be consistent across all demos.
2015-12-09 08:38:23 +01:00
sanikoyes
865318334c 1.Change interpolate_callback:p_times_in_sec argument before p_callback argument(more readable)
2.NodePath replace to instance_ID(can control object doe's not in scene tree)
3.Change interpolate types from Node to Object, can control more types(etc script class object)
4.Add pending_update counter, avoid insert/remove interpolates-list while traversal it
2014-12-19 17:13:20 +08:00
sanikoyes
6d29298210 Update tween demo 2014-08-27 15:39:04 +08:00
sanikoyes
ad388c5c65 tween:
1、add follow/targeting support
2、update demo
2014-08-25 13:36:56 +08:00
sanikoyes
044145b135 Replace object to NodePath
Add time callback support
Update demo
2014-08-22 11:24:53 +08:00
sanikoyes
d064bdbec3 Add tween delay support
Add tween get_runtime function
Update demo for tween delay sample
2014-08-21 15:34:16 +08:00
sanikoyes
a8ff97e637 Add tween seek/repeat support
Add tween demo
2014-08-20 16:39:28 +08:00