Commit Graph

18 Commits

Author SHA1 Message Date
Aaron Franke e5ee4a5971
Improve the tween demo
Significant style changes.
2020-02-02 04:53:12 -05:00
Rémi Verschelde cfcc0f3964 Port misc and plugin demos to Godot 3.1 2019-02-26 15:13:08 +01:00
Chris Bradfield 9d66e8f2ef Code cleanup 2018-03-13 22:35:55 -07:00
Bojidar Marinov 03ba4fc1df
Make some demos work again, reimport 2018-01-16 17:46:10 +02:00
TwistedTwigleg 2e368a87c4 Fix for tween:
Fixed the rotation property (was set_rotation_in_degress, now it's set_rotation_degress)
2018-01-06 17:57:22 -05:00
Kyle Howard cec3be23e9 Fixed remaining occurances of rotation_deg
Fixed remaining files to change rotation_deg to rotation_degrees.
2017-12-06 12:04:55 -06:00
Rémi Verschelde 058f050b80 Tween Demo: Some more fixes to property accessors 2017-07-15 12:59:33 +02:00
Rémi Verschelde 8919981a59 Port remaining misc demos to 3.0
android_iap, threads, tween, window_management
2017-06-30 22:29:13 +02:00
Juan Linietsky 6ef185c192 begun porting demos, platformer is working (mostly) 2017-06-23 07:44:27 -03:00
Rémi Verschelde 1a36c3bb92 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.
2016-05-06 23:38:08 +02:00
Rémi Verschelde f76b29f30d Use upper-cased first letter at the start of comment sentences 2015-12-09 08:39:12 +01:00
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