From 4621cbd2d3435406c82e962e893dcc573827a475 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Sat, 15 Jul 2017 12:33:34 +0200 Subject: [PATCH] Tween Demo: Fix sprite and color pickers display --- misc/tween/engine.cfg | 4 +- misc/tween/godot.png | Bin 0 -> 2736 bytes misc/tween/main.gd | 12 +- misc/tween/main.scn | Bin 5216 -> 0 bytes misc/tween/main.tscn | 591 ++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 600 insertions(+), 7 deletions(-) create mode 100644 misc/tween/godot.png delete mode 100644 misc/tween/main.scn create mode 100644 misc/tween/main.tscn diff --git a/misc/tween/engine.cfg b/misc/tween/engine.cfg index 1d873030..8191c784 100644 --- a/misc/tween/engine.cfg +++ b/misc/tween/engine.cfg @@ -1,11 +1,13 @@ [application] name="Tween Demo" -main_scene="res://main.scn" +main_scene="res://main.tscn" icon="res://icon.png" target_fps=60 [display] +height=800 +width=1024 stretch_mode="2d" stretch_aspect="keep_width" diff --git a/misc/tween/godot.png b/misc/tween/godot.png new file mode 100644 index 0000000000000000000000000000000000000000..c019ef64a1516db91617204000feb3987f764c9d GIT binary patch literal 2736 zcmV;h3QzTkP)9$Z4T1t+ceIh^4LA7L`I>F(b^(Mgy)NSx47NW+qwOS)ELr8E3sRldM^@ zZsNK(WZat_++@{^dSRToSakrIb&O!pP*4=;C=^5r#a3I|()JWs_M)_K=sBgOrG8|8 zSEuiL`kd!|&U4<+=Scwr>(pg60Cob<1IPoA!E`Sj)6>(m% zUMyAPvtg2%eE2;sO!<8Y(Zxslz#`b?Vxcr=)Hd=1FyjF; zZhs~bjZe!UAXF4XsMJEFEDn`-T&}~Ixj!lyCA$wmkgo{+_B!pb^>xA0W5Br061R>s zp0Kae*nT!>fPRP5E{{hj!R13a7B4YOJ7D?zl>nRJ7&kYZ6u=-zurpbmo_yn$i1lK18Q1~$j7TH{MaxW^ccvmR z&L;&nPXMvHjIlnybW^fa38GI&V3LzGG*x?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% zRZl+Faq+;S7k*ac-mL6l?N@(cYZl*a?Y%Xr_Rzrg&TMvaCtEpa{q|38-1y;8Qdj@> zsg*Y$rGH-k?)4K&XZK(1o7jZ8vHG>oUH<5`_VV`)>dN~)B`dzGySvIfws6yHI3w*h z_P6s%_iwC9zA)p$^gDk%`ptP{M^toWTxi+O)&tECme%~iM!X!JxXKOf!!0ixXFtE; z+$wf!&f^v9#>Y(wiT3Yn{hUqQI-qC1^+vxq&|qy(#evux`oxki92br*`k$ZYu6-5Q zE#D>YF>06I+gJ77U-m^rMpl}8C&%Vyy~FL?cX{t9=)>M~9$Yv3;}7;j+rybCY^Yw8 ze?8>+dzST|mwNxs<)ek2Xa2J9QLB7n-mf2&HjEiJ>A{7>Jw3PB zJGc8SUy`w^`@`H`?88eI9*qoq^Y6Wr(uS=2b>WC43b7wOSf%gy=C^-*7_+^nB4*0c zx8sZY8vPxdW9_9oadRjY`%Zg|FaP-P=2Xp2&ve!KOIR9 zzjsgHlJJkAZ-)8smYAaQl=G3(vxPoIUtYYtg1xL8+}Lxlw0ZjLy|Yhce|P)&6tngP p=L-+ie=tg>{nqa))tup(gCd}`Xp(7{QCJKxb=p*ZD*0{ke*tZv)SUnT diff --git a/misc/tween/main.tscn b/misc/tween/main.tscn new file mode 100644 index 00000000..b4387b88 --- /dev/null +++ b/misc/tween/main.tscn @@ -0,0 +1,591 @@ +[gd_scene load_steps=3 format=1] + +[ext_resource path="res://main.gd" type="Script" id=1] +[ext_resource path="res://godot.png" type="Texture" id=2] + +[node name="main" type="Control"] + +focus/ignore_mouse = false +focus/stop_mouse = true +size_flags/horizontal = 2 +size_flags/vertical = 2 +margin/left = 0.0 +margin/top = 0.0 +margin/right = 800.0 +margin/bottom = 600.0 +script/script = ExtResource( 1 ) +__meta__ = { +"__editor_plugin_screen__": "2D" +} + +[node name="trans" type="VBoxContainer" parent="."] + +editor/display_folded = true +focus/ignore_mouse = false +focus/stop_mouse = false +size_flags/horizontal = 2 +size_flags/vertical = 2 +margin/left = 56.0 +margin/top = 288.0 +margin/right = 129.0 +margin/bottom = 614.0 +alignment = 0 + +[node name="linear" type="Button" parent="trans"] + +focus/ignore_mouse = false +focus/stop_mouse = true +size_flags/horizontal = 2 +size_flags/vertical = 2 +margin/left = 0.0 +margin/top = 0.0 +margin/right = 73.0 +margin/bottom = 20.0 +toggle_mode = true +enabled_focus_mode = 2 +shortcut = null +text = "linear" +flat = false + +[node name="sine" type="Button" parent="trans"] + +focus/ignore_mouse = false +focus/stop_mouse = true +size_flags/horizontal = 2 +size_flags/vertical = 2 +margin/left = 0.0 +margin/top = 24.0 +margin/right = 73.0 +margin/bottom = 44.0 +toggle_mode = true +enabled_focus_mode = 2 +shortcut = null +text = "sine" +flat = false + +[node name="quint" type="Button" parent="trans"] + +focus/ignore_mouse = false +focus/stop_mouse = true +size_flags/horizontal = 2 +size_flags/vertical = 2 +margin/left = 0.0 +margin/top = 48.0 +margin/right = 73.0 +margin/bottom = 68.0 +toggle_mode = true +enabled_focus_mode = 2 +shortcut = null +text = "quint" +flat = false + +[node name="quart" type="Button" parent="trans"] + +focus/ignore_mouse = false +focus/stop_mouse = true +size_flags/horizontal = 2 +size_flags/vertical = 2 +margin/left = 0.0 +margin/top = 72.0 +margin/right = 73.0 +margin/bottom = 92.0 +toggle_mode = true +enabled_focus_mode = 2 +shortcut = null +text = "quart" +flat = false + +[node name="quad" type="Button" parent="trans"] + +focus/ignore_mouse = false +focus/stop_mouse = true +size_flags/horizontal = 2 +size_flags/vertical = 2 +margin/left = 0.0 +margin/top = 96.0 +margin/right = 73.0 +margin/bottom = 116.0 +toggle_mode = true +enabled_focus_mode = 2 +shortcut = null +text = "quad" +flat = false + +[node name="expo" type="Button" parent="trans"] + +focus/ignore_mouse = false +focus/stop_mouse = true +size_flags/horizontal = 2 +size_flags/vertical = 2 +margin/left = 0.0 +margin/top = 120.0 +margin/right = 73.0 +margin/bottom = 140.0 +toggle_mode = true +enabled_focus_mode = 2 +shortcut = null +text = "expo" +flat = false + +[node name="elastic" type="Button" parent="trans"] + +focus/ignore_mouse = false +focus/stop_mouse = true +size_flags/horizontal = 2 +size_flags/vertical = 2 +margin/left = 0.0 +margin/top = 144.0 +margin/right = 73.0 +margin/bottom = 164.0 +toggle_mode = true +enabled_focus_mode = 2 +shortcut = null +text = "elastic" +flat = false + +[node name="cubic" type="Button" parent="trans"] + +focus/ignore_mouse = false +focus/stop_mouse = true +size_flags/horizontal = 2 +size_flags/vertical = 2 +margin/left = 0.0 +margin/top = 168.0 +margin/right = 73.0 +margin/bottom = 188.0 +toggle_mode = true +enabled_focus_mode = 2 +shortcut = null +text = "cubic" +flat = false + +[node name="circ" type="Button" parent="trans"] + +focus/ignore_mouse = false +focus/stop_mouse = true +size_flags/horizontal = 2 +size_flags/vertical = 2 +margin/left = 0.0 +margin/top = 192.0 +margin/right = 73.0 +margin/bottom = 212.0 +toggle_mode = true +enabled_focus_mode = 2 +shortcut = null +text = "circ" +flat = false + +[node name="bounce" type="Button" parent="trans"] + +focus/ignore_mouse = false +focus/stop_mouse = true +size_flags/horizontal = 2 +size_flags/vertical = 2 +margin/left = 0.0 +margin/top = 216.0 +margin/right = 73.0 +margin/bottom = 236.0 +toggle_mode = true +enabled_focus_mode = 2 +shortcut = null +text = "bounce" +flat = false + +[node name="back" type="Button" parent="trans"] + +focus/ignore_mouse = false +focus/stop_mouse = true +size_flags/horizontal = 2 +size_flags/vertical = 2 +margin/left = 0.0 +margin/top = 240.0 +margin/right = 73.0 +margin/bottom = 260.0 +toggle_mode = true +enabled_focus_mode = 2 +shortcut = null +text = "back" +flat = false + +[node name="eases" type="VBoxContainer" parent="."] + +editor/display_folded = true +focus/ignore_mouse = false +focus/stop_mouse = false +size_flags/horizontal = 2 +size_flags/vertical = 2 +margin/left = 152.0 +margin/top = 288.0 +margin/right = 215.0 +margin/bottom = 404.0 +alignment = 0 + +[node name="in" type="Button" parent="eases"] + +focus/ignore_mouse = false +focus/stop_mouse = true +size_flags/horizontal = 2 +size_flags/vertical = 2 +margin/left = 0.0 +margin/top = 0.0 +margin/right = 63.0 +margin/bottom = 20.0 +toggle_mode = true +enabled_focus_mode = 2 +shortcut = null +text = "in" +flat = false + +[node name="out" type="Button" parent="eases"] + +focus/ignore_mouse = false +focus/stop_mouse = true +size_flags/horizontal = 2 +size_flags/vertical = 2 +margin/left = 0.0 +margin/top = 24.0 +margin/right = 63.0 +margin/bottom = 44.0 +toggle_mode = true +enabled_focus_mode = 2 +shortcut = null +text = "out" +flat = false + +[node name="in_out" type="Button" parent="eases"] + +focus/ignore_mouse = false +focus/stop_mouse = true +size_flags/horizontal = 2 +size_flags/vertical = 2 +margin/left = 0.0 +margin/top = 48.0 +margin/right = 63.0 +margin/bottom = 68.0 +toggle_mode = true +enabled_focus_mode = 2 +shortcut = null +text = "in_out" +flat = false + +[node name="out_in" type="Button" parent="eases"] + +focus/ignore_mouse = false +focus/stop_mouse = true +size_flags/horizontal = 2 +size_flags/vertical = 2 +margin/left = 0.0 +margin/top = 72.0 +margin/right = 63.0 +margin/bottom = 92.0 +toggle_mode = true +enabled_focus_mode = 2 +shortcut = null +text = "out_in" +flat = false + +[node name="modes" type="VBoxContainer" parent="."] + +editor/display_folded = true +focus/ignore_mouse = false +focus/stop_mouse = false +size_flags/horizontal = 2 +size_flags/vertical = 2 +margin/left = 240.0 +margin/top = 288.0 +margin/right = 317.0 +margin/bottom = 524.0 +alignment = 0 + +[node name="move" type="Button" parent="modes"] + +focus/ignore_mouse = false +focus/stop_mouse = true +size_flags/horizontal = 2 +size_flags/vertical = 2 +margin/left = 0.0 +margin/top = 0.0 +margin/right = 77.0 +margin/bottom = 20.0 +toggle_mode = true +enabled_focus_mode = 2 +shortcut = null +text = "move" +flat = false + +[node name="color" type="Button" parent="modes"] + +focus/ignore_mouse = false +focus/stop_mouse = true +size_flags/horizontal = 2 +size_flags/vertical = 2 +margin/left = 0.0 +margin/top = 24.0 +margin/right = 77.0 +margin/bottom = 44.0 +toggle_mode = true +enabled_focus_mode = 2 +shortcut = null +text = "color" +flat = false + +[node name="scale" type="Button" parent="modes"] + +focus/ignore_mouse = false +focus/stop_mouse = true +size_flags/horizontal = 2 +size_flags/vertical = 2 +margin/left = 0.0 +margin/top = 48.0 +margin/right = 77.0 +margin/bottom = 68.0 +toggle_mode = true +enabled_focus_mode = 2 +shortcut = null +text = "scale" +flat = false + +[node name="rotate" type="Button" parent="modes"] + +focus/ignore_mouse = false +focus/stop_mouse = true +size_flags/horizontal = 2 +size_flags/vertical = 2 +margin/left = 0.0 +margin/top = 72.0 +margin/right = 77.0 +margin/bottom = 92.0 +toggle_mode = true +enabled_focus_mode = 2 +shortcut = null +text = "rotate" +flat = false + +[node name="callback" type="Button" parent="modes"] + +focus/ignore_mouse = false +focus/stop_mouse = true +size_flags/horizontal = 2 +size_flags/vertical = 2 +margin/left = 0.0 +margin/top = 96.0 +margin/right = 77.0 +margin/bottom = 116.0 +toggle_mode = true +enabled_focus_mode = 2 +shortcut = null +text = "callback" +flat = false + +[node name="follow" type="Button" parent="modes"] + +focus/ignore_mouse = false +focus/stop_mouse = true +size_flags/horizontal = 2 +size_flags/vertical = 2 +margin/left = 0.0 +margin/top = 120.0 +margin/right = 77.0 +margin/bottom = 140.0 +toggle_mode = true +enabled_focus_mode = 2 +shortcut = null +text = "follow" +flat = false + +[node name="repeat" type="Button" parent="modes"] + +focus/ignore_mouse = false +focus/stop_mouse = true +size_flags/horizontal = 2 +size_flags/vertical = 2 +margin/left = 0.0 +margin/top = 144.0 +margin/right = 77.0 +margin/bottom = 164.0 +toggle_mode = true +enabled_focus_mode = 2 +shortcut = null +text = "repeat" +flat = false + +[node name="pause" type="Button" parent="modes"] + +focus/ignore_mouse = false +focus/stop_mouse = true +size_flags/horizontal = 2 +size_flags/vertical = 2 +margin/left = 0.0 +margin/top = 168.0 +margin/right = 77.0 +margin/bottom = 188.0 +toggle_mode = true +enabled_focus_mode = 2 +shortcut = null +text = "pause" +flat = false + +[node name="colors" type="HBoxContainer" parent="."] + +focus/ignore_mouse = false +focus/stop_mouse = false +size_flags/horizontal = 2 +size_flags/vertical = 2 +margin/left = 384.0 +margin/top = 288.0 +margin/right = 424.0 +margin/bottom = 328.0 +custom_constants/separation = 40 +alignment = 0 + +[node name="color_from" type="VBoxContainer" parent="colors"] + +focus/ignore_mouse = false +focus/stop_mouse = false +size_flags/horizontal = 2 +size_flags/vertical = 2 +margin/left = 0.0 +margin/top = 0.0 +margin/right = 288.0 +margin/bottom = 459.0 +alignment = 0 + +[node name="label" type="Label" parent="colors/color_from"] + +focus/ignore_mouse = true +focus/stop_mouse = true +size_flags/horizontal = 2 +size_flags/vertical = 0 +margin/left = 0.0 +margin/top = 0.0 +margin/right = 288.0 +margin/bottom = 14.0 +text = "Color From:" +percent_visible = 1.0 +lines_skipped = 0 +max_lines_visible = -1 + +[node name="picker" type="ColorPicker" parent="colors/color_from"] + +focus/ignore_mouse = false +focus/stop_mouse = false +size_flags/horizontal = 2 +size_flags/vertical = 2 +margin/left = 0.0 +margin/top = 18.0 +margin/right = 288.0 +margin/bottom = 459.0 +alignment = 0 + +[node name="color_to" type="VBoxContainer" parent="colors"] + +focus/ignore_mouse = false +focus/stop_mouse = false +size_flags/horizontal = 2 +size_flags/vertical = 2 +margin/left = 328.0 +margin/top = 0.0 +margin/right = 616.0 +margin/bottom = 459.0 +alignment = 0 + +[node name="label" type="Label" parent="colors/color_to"] + +focus/ignore_mouse = true +focus/stop_mouse = true +size_flags/horizontal = 2 +size_flags/vertical = 0 +margin/left = 0.0 +margin/top = 0.0 +margin/right = 288.0 +margin/bottom = 14.0 +text = "Color To:" +percent_visible = 1.0 +lines_skipped = 0 +max_lines_visible = -1 + +[node name="picker" type="ColorPicker" parent="colors/color_to"] + +focus/ignore_mouse = false +focus/stop_mouse = false +size_flags/horizontal = 2 +size_flags/vertical = 2 +margin/left = 0.0 +margin/top = 18.0 +margin/right = 288.0 +margin/bottom = 459.0 +alignment = 0 + +[node name="tween" type="Tween" parent="."] + +playback/process_mode = 1 +playback/active = true +playback/repeat = true +playback/speed = 1.0 + +[node name="area" type="Panel" parent="tween"] + +focus/ignore_mouse = false +focus/stop_mouse = true +size_flags/horizontal = 2 +size_flags/vertical = 2 +margin/left = 32.0 +margin/top = 32.0 +margin/right = 768.0 +margin/bottom = 216.0 + +[node name="label" type="RichTextLabel" parent="tween/area"] + +focus/ignore_mouse = false +focus/stop_mouse = true +size_flags/horizontal = 2 +size_flags/vertical = 2 +margin/left = 176.0 +margin/top = 24.0 +margin/right = 552.0 +margin/bottom = 160.0 +bbcode/enabled = false +bbcode/bbcode = "" +visible_characters = -1 +percent_visible = 1.0 + +[node name="sprite" type="Sprite" parent="tween/area"] + +texture = ExtResource( 2 ) + +[node name="follow" type="Sprite" parent="tween/area"] + +transform/pos = Vector2( 0, 184 ) +texture = ExtResource( 2 ) + +[node name="follow_2" type="Sprite" parent="tween/area"] + +transform/pos = Vector2( 736, 0 ) +texture = ExtResource( 2 ) + +[node name="timeline" type="HSlider" parent="."] + +focus/ignore_mouse = false +focus/stop_mouse = true +size_flags/horizontal = 2 +size_flags/vertical = 0 +margin/left = 40.0 +margin/top = 224.0 +margin/right = 760.0 +margin/bottom = 240.0 +range/min = 0.0 +range/max = 100.0 +range/step = 1.0 +range/page = 0.0 +range/value = 1.0 +range/exp_edit = false +range/rounded = false +tick_count = 0 +ticks_on_borders = false +focus_mode = 2 + +[connection signal="tween_step" from="tween" to="." method="_on_tween_step"] + +[connection signal="value_changed" from="timeline" to="." method="_on_timeline_value_changed"] + +