Commit Graph

12 Commits

Author SHA1 Message Date
Rémi Verschelde b6be2f503d Rotation APIs: Better exposure for degrees methods
Made public the various set/getters for rotations in degrees.
For consistency, renamed the exposed method names to remove the leading
underscore, and kept the old names with a deprecation warning.

Fixes #4511.

(cherry picked from commit 4eab767a6f)
2016-05-12 08:55:14 +02:00
Rémi Verschelde 8c4f19e79d Use upper-cased first letter at the start of comment sentences 2015-12-09 08:39:12 +01:00
Rémi Verschelde 8639cecf4c 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
Rémi Verschelde 9d22501630 Add icons to all demos that can have a meaningful one 2015-11-19 23:45:37 +01:00
firefly2442 580a88c3ce fix icon locations in demo projects 2015-10-21 14:29:52 -05:00
sanikoyes 64f77aa8f3 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
marynate 45c9e169d9 Add missing icon.png to tween demo 2014-12-08 13:21:05 +08:00
sanikoyes 5bddfa201e Update tween demo 2014-08-27 15:39:04 +08:00
sanikoyes 64413191a9 tween:
1、add follow/targeting support
2、update demo
2014-08-25 13:36:56 +08:00
sanikoyes 344420f67c Replace object to NodePath
Add time callback support
Update demo
2014-08-22 11:24:53 +08:00
sanikoyes 5668cec030 Add tween delay support
Add tween get_runtime function
Update demo for tween delay sample
2014-08-21 15:34:16 +08:00
sanikoyes 87faf1c046 Add tween seek/repeat support
Add tween demo
2014-08-20 16:39:28 +08:00