Make some demos work again, reimport

This commit is contained in:
Bojidar Marinov
2018-01-16 17:45:36 +02:00
parent dabd28cc92
commit 03ba4fc1df
34 changed files with 823 additions and 494 deletions

View File

@@ -2,20 +2,20 @@
[ext_resource path="res://scene_a.gd" type="Script" id=1]
[node name="scene_a" type="Panel"]
[node name="scene_a" type="Panel" index="0"]
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 1.0
anchor_bottom = 1.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
mouse_filter = 0
mouse_default_cursor_shape = 0
size_flags_horizontal = 2
size_flags_vertical = 2
script = ExtResource( 1 )
[node name="label" type="Label" parent="."]
[node name="label" type="Label" parent="." index="0"]
anchor_left = 0.0
anchor_top = 0.0
@@ -26,8 +26,8 @@ margin_top = 48.0
margin_right = 104.0
margin_bottom = 62.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
mouse_filter = 2
mouse_default_cursor_shape = 0
size_flags_horizontal = 1
size_flags_vertical = 0
text = "This is scene A."
@@ -35,7 +35,7 @@ percent_visible = 1.0
lines_skipped = 0
max_lines_visible = -1
[node name="goto_scene" type="Button" parent="."]
[node name="goto_scene" type="Button" parent="." index="1"]
anchor_left = 0.0
anchor_top = 0.0
@@ -46,8 +46,9 @@ margin_top = 128.0
margin_right = 192.0
margin_bottom = 160.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
focus_mode = 2
mouse_filter = 0
mouse_default_cursor_shape = 0
size_flags_horizontal = 2
size_flags_vertical = 2
toggle_mode = false
@@ -56,6 +57,7 @@ shortcut = null
group = null
text = "Go to Scene B"
flat = false
align = 1
[connection signal="pressed" from="goto_scene" to="." method="_on_goto_scene_pressed"]

View File

@@ -35,7 +35,9 @@ func _physics_process(delta):
get_node("diagram/axes/" + str(axis) + "-").hide()
elif (axis_value > 0):
get_node("diagram/axes/" + str(axis) + "+").show()
get_node("diagram/axes/" + str(axis) + "-").hide()
else:
get_node("diagram/axes/" + str(axis) + "+").hide()
get_node("diagram/axes/" + str(axis) + "-").show()
# Loop through the buttons and highlight the ones that are pressed

File diff suppressed because it is too large Load Diff

View File

@@ -9,11 +9,11 @@ position = Vector2( 368.635, 155.289 )
scale = Vector2( 0.432859, 0.446287 )
texture = ExtResource( 1 )
[node name="buttons" type="Node2D" parent="."]
[node name="buttons" type="Node2D" parent="." index="0"]
editor/display_folded = true
[node name="0" type="Sprite" parent="buttons"]
[node name="0" type="Sprite" parent="buttons" index="0"]
position = Vector2( 147.73, 120.925 )
scale = Vector2( 0.9, 0.9 )
@@ -21,7 +21,7 @@ texture = ExtResource( 2 )
region_enabled = true
region_rect = Rect2( 0, 0, 45, 45 )
[node name="1" type="Sprite" parent="buttons"]
[node name="1" type="Sprite" parent="buttons" index="1"]
position = Vector2( 185.769, 82.4874 )
scale = Vector2( 0.9, 0.9 )
@@ -29,7 +29,7 @@ texture = ExtResource( 2 )
region_enabled = true
region_rect = Rect2( 0, 0, 45, 45 )
[node name="2" type="Sprite" parent="buttons"]
[node name="2" type="Sprite" parent="buttons" index="2"]
position = Vector2( 112.377, 82.4874 )
scale = Vector2( 0.9, 0.9 )
@@ -37,7 +37,7 @@ texture = ExtResource( 2 )
region_enabled = true
region_rect = Rect2( 0, 0, 45, 45 )
[node name="3" type="Sprite" parent="buttons"]
[node name="3" type="Sprite" parent="buttons" index="3"]
position = Vector2( 149.073, 47.3293 )
scale = Vector2( 0.9, 0.9 )
@@ -45,7 +45,7 @@ texture = ExtResource( 2 )
region_enabled = true
region_rect = Rect2( 0, 0, 45, 45 )
[node name="4" type="Sprite" parent="buttons"]
[node name="4" type="Sprite" parent="buttons" index="4"]
position = Vector2( -161.038, -158.037 )
scale = Vector2( 5.3348, 3.35512 )
@@ -53,7 +53,7 @@ texture = ExtResource( 2 )
region_enabled = true
region_rect = Rect2( 10, 10, 10, 10 )
[node name="5" type="Sprite" parent="buttons"]
[node name="5" type="Sprite" parent="buttons" index="5"]
position = Vector2( 159.362, -156.977 )
scale = Vector2( 5.3348, 3.35512 )
@@ -61,7 +61,7 @@ texture = ExtResource( 2 )
region_enabled = true
region_rect = Rect2( 10, 10, 10, 10 )
[node name="6" type="Sprite" parent="buttons"]
[node name="6" type="Sprite" parent="buttons" index="6"]
position = Vector2( -159.349, -221.878 )
scale = Vector2( 1.0458, 2.16952 )
@@ -70,7 +70,7 @@ flip_h = true
region_enabled = true
region_rect = Rect2( 0, 0, 45, 22 )
[node name="7" type="Sprite" parent="buttons"]
[node name="7" type="Sprite" parent="buttons" index="7"]
position = Vector2( 156.677, -220.11 )
scale = Vector2( 1.0458, 2.16952 )
@@ -78,7 +78,7 @@ texture = ExtResource( 2 )
region_enabled = true
region_rect = Rect2( 0, 0, 45, 22 )
[node name="8" type="Sprite" parent="buttons"]
[node name="8" type="Sprite" parent="buttons" index="8"]
position = Vector2( -67.5308, 164.422 )
scale = Vector2( 0.9, 0.9 )
@@ -86,7 +86,7 @@ texture = ExtResource( 2 )
region_enabled = true
region_rect = Rect2( 0, 0, 45, 45 )
[node name="9" type="Sprite" parent="buttons"]
[node name="9" type="Sprite" parent="buttons" index="9"]
position = Vector2( 75.8825, 167.363 )
scale = Vector2( 0.9, 0.9 )
@@ -94,7 +94,7 @@ texture = ExtResource( 2 )
region_enabled = true
region_rect = Rect2( 0, 0, 45, 45 )
[node name="10" type="Sprite" parent="buttons"]
[node name="10" type="Sprite" parent="buttons" index="10"]
position = Vector2( -46.6707, 52.702 )
scale = Vector2( 0.810497, 0.57205 )
@@ -102,7 +102,7 @@ texture = ExtResource( 2 )
region_enabled = true
region_rect = Rect2( 0, 0, 45, 45 )
[node name="11" type="Sprite" parent="buttons"]
[node name="11" type="Sprite" parent="buttons" index="11"]
position = Vector2( 56.2581, 54.4382 )
scale = Vector2( 0.810497, 0.57205 )
@@ -110,7 +110,7 @@ texture = ExtResource( 2 )
region_enabled = true
region_rect = Rect2( 0, 0, 45, 45 )
[node name="12" type="Sprite" parent="buttons"]
[node name="12" type="Sprite" parent="buttons" index="12"]
position = Vector2( -139.402, 46.8295 )
scale = Vector2( 0.9, 0.9 )
@@ -118,7 +118,7 @@ texture = ExtResource( 2 )
region_enabled = true
region_rect = Rect2( 50, 0, 54, 14 )
[node name="13" type="Sprite" parent="buttons"]
[node name="13" type="Sprite" parent="buttons" index="13"]
position = Vector2( -139.838, 115.789 )
scale = Vector2( 0.9, 0.9 )
@@ -127,7 +127,7 @@ flip_v = true
region_enabled = true
region_rect = Rect2( 50, 0, 54, 14 )
[node name="14" type="Sprite" parent="buttons"]
[node name="14" type="Sprite" parent="buttons" index="14"]
position = Vector2( -172.262, 81.8793 )
scale = Vector2( 0.9, 0.9 )
@@ -135,7 +135,7 @@ texture = ExtResource( 2 )
region_enabled = true
region_rect = Rect2( 50, 0, 14, 54 )
[node name="15" type="Sprite" parent="buttons"]
[node name="15" type="Sprite" parent="buttons" index="15"]
position = Vector2( -105.085, 81.0326 )
scale = Vector2( 0.9, 0.9 )
@@ -144,11 +144,9 @@ flip_h = true
region_enabled = true
region_rect = Rect2( 50, 0, 14, 54 )
[node name="axes" type="Node2D" parent="."]
[node name="axes" type="Node2D" parent="." index="1"]
editor/display_folded = true
[node name="0-" type="Sprite" parent="axes"]
[node name="0-" type="Sprite" parent="axes" index="0"]
position = Vector2( -94.4295, 164.932 )
scale = Vector2( 0.9, 0.9 )
@@ -156,7 +154,7 @@ texture = ExtResource( 2 )
region_enabled = true
region_rect = Rect2( 50, 0, 14, 54 )
[node name="0+" type="Sprite" parent="axes"]
[node name="0+" type="Sprite" parent="axes" index="1"]
position = Vector2( -40.3475, 164.509 )
scale = Vector2( 0.9, 0.9 )
@@ -165,7 +163,7 @@ flip_h = true
region_enabled = true
region_rect = Rect2( 50, 0, 14, 54 )
[node name="1-" type="Sprite" parent="axes"]
[node name="1-" type="Sprite" parent="axes" index="2"]
position = Vector2( -67.6802, 137.926 )
scale = Vector2( 0.9, 0.9 )
@@ -173,7 +171,7 @@ texture = ExtResource( 2 )
region_enabled = true
region_rect = Rect2( 50, 0, 54, 14 )
[node name="1+" type="Sprite" parent="axes"]
[node name="1+" type="Sprite" parent="axes" index="3"]
position = Vector2( -67.4618, 192.915 )
scale = Vector2( 0.9, 0.9 )
@@ -182,7 +180,7 @@ flip_v = true
region_enabled = true
region_rect = Rect2( 50, 0, 54, 14 )
[node name="2-" type="Sprite" parent="axes"]
[node name="2-" type="Sprite" parent="axes" index="4"]
position = Vector2( 48.8152, 167.145 )
scale = Vector2( 0.9, 0.9 )
@@ -190,7 +188,7 @@ texture = ExtResource( 2 )
region_enabled = true
region_rect = Rect2( 50, 0, 14, 54 )
[node name="2+" type="Sprite" parent="axes"]
[node name="2+" type="Sprite" parent="axes" index="5"]
position = Vector2( 102.899, 167.857 )
scale = Vector2( 0.9, 0.9 )
@@ -199,7 +197,7 @@ flip_h = true
region_enabled = true
region_rect = Rect2( 50, 0, 14, 54 )
[node name="3-" type="Sprite" parent="axes"]
[node name="3-" type="Sprite" parent="axes" index="6"]
position = Vector2( 76.6557, 140.986 )
scale = Vector2( 0.9, 0.9 )
@@ -207,7 +205,7 @@ texture = ExtResource( 2 )
region_enabled = true
region_rect = Rect2( 50, 0, 54, 14 )
[node name="3+" type="Sprite" parent="axes"]
[node name="3+" type="Sprite" parent="axes" index="7"]
position = Vector2( 76.0009, 195.339 )
scale = Vector2( 0.9, 0.9 )

View File

@@ -19,6 +19,7 @@ tracks/0/path = NodePath("cube:rotation_degrees")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0, 10 ),
"transitions": PoolRealArray( 1, 1 ),
@@ -26,11 +27,11 @@ tracks/0/keys = {
"values": [ Vector3( 0, 0, 0 ), Vector3( 0, -360, 0 ) ]
}
[node name="pause_scene" type="Spatial"]
[node name="pause_scene" type="Spatial" index="0"]
script = ExtResource( 1 )
[node name="cube" type="MeshInstance" parent="."]
[node name="cube" type="MeshInstance" parent="." index="0"]
layers = 1
material_override = null
@@ -45,33 +46,34 @@ mesh = SubResource( 1 )
skeleton = NodePath("..")
material/0 = null
[node name="camera" type="Camera" parent="."]
[node name="camera" type="Camera" parent="." index="1"]
transform = Transform( 0.571594, 0.275303, -0.772974, 0, 0.942035, 0.335515, 0.820537, -0.191779, 0.538461, -5.59754, 2.75935, 4.01344 )
projection = 0
fov = 60.0
near = 0.1
far = 100.0
keep_aspect = 1
current = false
cull_mask = 1048575
environment = null
h_offset = 0.0
v_offset = 0.0
doppler/tracking = 0
doppler_tracking = 0
projection = 0
current = false
fov = 60.0
size = 1.0
near = 0.1
far = 100.0
[node name="anim" type="AnimationPlayer" parent="."]
[node name="anim" type="AnimationPlayer" parent="." index="2"]
root_node = NodePath("..")
autoplay = "spin"
playback_process_mode = 1
playback_default_blend_time = 0.0
root_node = NodePath("..")
playback_speed = 1.0
anims/spin = SubResource( 2 )
playback/active = true
playback/speed = 1.0
blend_times = [ ]
autoplay = "spin"
[node name="spot" type="SpotLight" parent="."]
[node name="spot" type="SpotLight" parent="." index="3"]
transform = Transform( 0.792992, 0.251051, -0.555101, 0, 0.911149, 0.412078, 0.609232, -0.326775, 0.722534, -3.05357, 1.80053, 3.64099 )
layers = 1
@@ -80,6 +82,7 @@ light_energy = 1.0
light_indirect_energy = 1.0
light_negative = false
light_specular = 0.5
light_bake_mode = 1
light_cull_mask = -1
shadow_enabled = false
shadow_color = Color( 0, 0, 0, 1 )
@@ -93,7 +96,7 @@ spot_angle = 45.0
spot_angle_attenuation = 1.0
_sections_unfolded = [ "Spot" ]
[node name="pause" type="Button" parent="."]
[node name="pause" type="Button" parent="." index="4"]
anchor_left = 0.0
anchor_top = 0.0
@@ -104,8 +107,9 @@ margin_top = 24.0
margin_right = 120.0
margin_bottom = 56.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
focus_mode = 2
mouse_filter = 0
mouse_default_cursor_shape = 0
size_flags_horizontal = 2
size_flags_vertical = 2
toggle_mode = false
@@ -114,8 +118,9 @@ shortcut = null
group = null
text = "PAUSE!"
flat = false
align = 1
[node name="pause_popup" type="PopupPanel" parent="."]
[node name="pause_popup" type="PopupPanel" parent="." index="5"]
pause_mode = 2
visible = false
@@ -129,14 +134,14 @@ margin_top = 72.0
margin_right = 638.0
margin_bottom = 433.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
mouse_filter = 0
mouse_default_cursor_shape = 0
size_flags_horizontal = 2
size_flags_vertical = 2
popup_exclusive = false
_sections_unfolded = [ "Pause" ]
[node name="text" type="Label" parent="pause_popup"]
[node name="text" type="Label" parent="pause_popup" index="0"]
anchor_left = 0.0
anchor_top = 0.0
@@ -147,8 +152,8 @@ margin_top = 49.0
margin_right = 389.0
margin_bottom = 154.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
mouse_filter = 2
mouse_default_cursor_shape = 0
size_flags_horizontal = 2
size_flags_vertical = 0
text = "The game has been paused! Nodes are not processing anymore, but this popup can still process!"
@@ -157,7 +162,7 @@ percent_visible = 1.0
lines_skipped = 0
max_lines_visible = -1
[node name="unpause" type="Button" parent="pause_popup"]
[node name="unpause" type="Button" parent="pause_popup" index="1"]
anchor_left = 0.0
anchor_top = 0.0
@@ -168,8 +173,9 @@ margin_top = 288.0
margin_right = 281.0
margin_bottom = 320.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
focus_mode = 2
mouse_filter = 0
mouse_default_cursor_shape = 0
size_flags_horizontal = 2
size_flags_vertical = 2
toggle_mode = false
@@ -178,6 +184,7 @@ shortcut = null
group = null
text = "UN-PAUSE!"
flat = false
align = 1
[connection signal="pressed" from="pause" to="." method="_on_pause_pressed"]

View File

@@ -12,10 +12,11 @@ func update_text():
child.queue_free()
if regex.is_valid():
var matches = regex.search($Text.get_text())
for result in matches.get_strings():
var label = Label.new()
label.text = result
$List.add_child(label)
if matches != null:
for result in matches.get_strings():
var label = Label.new()
label.text = result
$List.add_child(label)
func _ready():
$Text.set_text("They asked me \"What's going on \\\"in the manor\\\"?\"")

View File

@@ -2,22 +2,22 @@
[ext_resource path="res://regex.gd" type="Script" id=1]
[node name="VBoxContainer" type="VBoxContainer"]
[node name="VBoxContainer" type="VBoxContainer" index="0"]
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 1.0
anchor_bottom = 1.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
mouse_filter = 1
mouse_default_cursor_shape = 0
size_flags_horizontal = 1
size_flags_vertical = 1
alignment = 0
script = ExtResource( 1 )
_sections_unfolded = [ "Size Flags" ]
[node name="Expression" type="LineEdit" parent="."]
[node name="Expression" type="LineEdit" parent="." index="0"]
anchor_left = 0.0
anchor_top = 0.0
@@ -26,19 +26,21 @@ anchor_bottom = 0.0
margin_right = 1024.0
margin_bottom = 24.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
focus_mode = 2
mouse_filter = 0
mouse_default_cursor_shape = 1
size_flags_horizontal = 1
size_flags_vertical = 1
text = "\"((?:\\\\.|[^\"])*)\""
expand_to_len = false
focus_mode = 2
context_menu_enabled = true
placeholder_alpha = 0.6
caret_blink = false
caret_blink_speed = 0.65
caret_position = 0
_sections_unfolded = [ "Size Flags" ]
[node name="Text" type="TextEdit" parent="."]
[node name="Text" type="TextEdit" parent="." index="1"]
anchor_left = 0.0
anchor_top = 0.0
@@ -49,23 +51,30 @@ margin_right = 1024.0
margin_bottom = 328.0
rect_min_size = Vector2( 0, 300 )
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
focus_mode = 2
mouse_filter = 0
mouse_default_cursor_shape = 0
size_flags_horizontal = 1
size_flags_vertical = 1
text = ""
readonly = false
highlight_current_line = false
syntax_highlighting = false
show_line_numbers = false
highlight_all_occurrences = false
override_selected_font_color = false
context_menu_enabled = true
smooth_scrolling = false
v_scroll_speed = 80.0
hiding_enabled = 0
wrap_lines = false
caret_block_mode = false
caret_blink = false
caret_blink_speed = 0.65
caret_moving_by_right_click = true
_sections_unfolded = [ "Rect", "Size Flags" ]
[node name="List" type="VBoxContainer" parent="."]
[node name="List" type="VBoxContainer" parent="." index="2"]
anchor_left = 0.0
anchor_top = 0.0
@@ -75,8 +84,8 @@ margin_top = 332.0
margin_right = 1024.0
margin_bottom = 332.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
mouse_filter = 1
mouse_default_cursor_shape = 0
size_flags_horizontal = 1
size_flags_vertical = 1
alignment = 0

View File

@@ -0,0 +1,33 @@
[remap]
importer="texture"
type="StreamTexture"
path.s3tc="res://.import/cube_6.png-0b954e2c88c21596044fe6448711988e.s3tc.stex"
path.etc2="res://.import/cube_6.png-0b954e2c88c21596044fe6448711988e.etc2.stex"
[deps]
source_file="res://cube_6.png"
source_md5="9d2131f81a62c204dc382856b9be043c"
dest_files=[ "res://.import/cube_6.png-0b954e2c88c21596044fe6448711988e.s3tc.stex", "res://.import/cube_6.png-0b954e2c88c21596044fe6448711988e.etc2.stex" ]
dest_md5="5187ca5e757e289bfdded0a98ce964ba"
[params]
compress/mode=2
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/normal_map=0
flags/repeat=true
flags/filter=true
flags/mipmaps=true
flags/anisotropic=false
flags/srgb=1
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
stream=false
size_limit=0
detect_3d=false
svg/scale=1.0

View File

@@ -0,0 +1,32 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/icon.png-487276ed1e3a0c39cad0279d744ee560.stex"
[deps]
source_file="res://icon.png"
source_md5="ae7e641067601e2184afcade49abd283"
dest_files=[ "res://.import/icon.png-487276ed1e3a0c39cad0279d744ee560.stex" ]
dest_md5="84511021bbc8c9d37c7f0f4d181de883"
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0

View File

@@ -10,9 +10,6 @@ background_sky_custom_fov = 0.0
background_color = Color( 0, 0, 0, 1 )
background_energy = 1.0
background_canvas_max_layer = 0
background_camera_feed_id = 1
background_camera_feed_h_flip = false
background_camera_feed_v_flip = true
ambient_light_color = Color( 0.648438, 0.64578, 0.64578, 1 )
ambient_light_energy = 1.0
ambient_light_sky_contribution = 1.0
@@ -103,6 +100,7 @@ flags_no_depth_test = false
flags_use_point_size = false
flags_world_triplanar = false
flags_fixed_size = false
flags_albedo_tex_force_srgb = false
vertex_color_use_as_albedo = false
vertex_color_is_srgb = false
params_diffuse_mode = 1
@@ -162,6 +160,7 @@ flags_no_depth_test = false
flags_use_point_size = false
flags_world_triplanar = false
flags_fixed_size = false
flags_albedo_tex_force_srgb = false
vertex_color_use_as_albedo = false
vertex_color_is_srgb = false
params_diffuse_mode = 1
@@ -213,6 +212,7 @@ flags_no_depth_test = false
flags_use_point_size = false
flags_world_triplanar = false
flags_fixed_size = false
flags_albedo_tex_force_srgb = false
vertex_color_use_as_albedo = false
vertex_color_is_srgb = false
params_diffuse_mode = 1
@@ -271,6 +271,7 @@ flags_no_depth_test = false
flags_use_point_size = false
flags_world_triplanar = false
flags_fixed_size = false
flags_albedo_tex_force_srgb = false
vertex_color_use_as_albedo = false
vertex_color_is_srgb = false
params_diffuse_mode = 1
@@ -313,11 +314,11 @@ proximity_fade_enable = false
distance_fade_enable = false
_sections_unfolded = [ "Albedo" ]
[node name="Main" type="Node"]
[node name="Main" type="Node" index="0"]
script = ExtResource( 1 )
[node name="Control" type="Control" parent="."]
[node name="Control" type="Control" parent="." index="0"]
anchor_left = 0.0
anchor_top = 0.0
@@ -326,13 +327,13 @@ anchor_bottom = 0.0
margin_right = 1025.0
margin_bottom = 602.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
mouse_filter = 0
mouse_default_cursor_shape = 0
size_flags_horizontal = 3
size_flags_vertical = 3
_sections_unfolded = [ "Anchor", "Grow Direction", "Hint", "Margin", "Rect", "Size Flags" ]
[node name="Accelerometer" type="Label" parent="Control"]
[node name="Accelerometer" type="Label" parent="Control" index="0"]
anchor_left = 0.0
anchor_top = 0.0
@@ -342,8 +343,8 @@ margin_right = 340.0
margin_bottom = 14.0
rect_scale = Vector2( 2, 2 )
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
mouse_filter = 2
mouse_default_cursor_shape = 0
size_flags_horizontal = 1
size_flags_vertical = 4
text = "Accelerometer"
@@ -352,7 +353,7 @@ lines_skipped = 0
max_lines_visible = -1
_sections_unfolded = [ "Anchor", "Margin", "Rect", "Size Flags" ]
[node name="Magnetometer" type="Label" parent="Control"]
[node name="Magnetometer" type="Label" parent="Control" index="1"]
anchor_left = 0.0
anchor_top = 0.0
@@ -363,8 +364,8 @@ margin_right = 340.0
margin_bottom = 44.0
rect_scale = Vector2( 2, 2 )
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
mouse_filter = 2
mouse_default_cursor_shape = 0
size_flags_horizontal = 1
size_flags_vertical = 4
text = "Magnetometer"
@@ -373,7 +374,7 @@ lines_skipped = 0
max_lines_visible = -1
_sections_unfolded = [ "Anchor", "Margin", "Rect", "Size Flags" ]
[node name="Gyroscope" type="Label" parent="Control"]
[node name="Gyroscope" type="Label" parent="Control" index="2"]
anchor_left = 0.0
anchor_top = 0.0
@@ -384,8 +385,8 @@ margin_right = 340.0
margin_bottom = 74.0
rect_scale = Vector2( 2, 2 )
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
mouse_filter = 2
mouse_default_cursor_shape = 0
size_flags_horizontal = 1
size_flags_vertical = 4
text = "Gyroscope"
@@ -394,29 +395,30 @@ lines_skipped = 0
max_lines_visible = -1
_sections_unfolded = [ "Anchor", "Margin", "Rect", "Size Flags" ]
[node name="Camera" type="Camera" parent="."]
[node name="Camera" type="Camera" parent="." index="1"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.285209, 0, 11.9833 )
projection = 0
fov = 65.0
near = 0.1
far = 100.0
keep_aspect = 1
current = false
cull_mask = 1048575
environment = SubResource( 1 )
h_offset = 0.0
v_offset = 0.0
doppler/tracking = 0
doppler_tracking = 0
projection = 0
current = false
fov = 65.0
size = 1.0
near = 0.1
far = 100.0
[node name="Arrows" type="Spatial" parent="."]
[node name="Arrows" type="Spatial" parent="." index="2"]
[node name="AccelerometerArrow" type="Spatial" parent="Arrows"]
[node name="AccelerometerArrow" type="Spatial" parent="Arrows" index="0"]
transform = Transform( 1, 0, 0, 0, -1, 8.74228e-08, 0, -8.74228e-08, -1, 0, 0, 0 )
_sections_unfolded = [ "Transform" ]
[node name="Bottom" type="MeshInstance" parent="Arrows/AccelerometerArrow"]
[node name="Bottom" type="MeshInstance" parent="Arrows/AccelerometerArrow" index="0"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2, 0 )
layers = 1
@@ -433,7 +435,7 @@ skeleton = NodePath("..")
material/0 = SubResource( 3 )
_sections_unfolded = [ "Transform", "material" ]
[node name="Top" type="MeshInstance" parent="Arrows/AccelerometerArrow"]
[node name="Top" type="MeshInstance" parent="Arrows/AccelerometerArrow" index="1"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 5, 0 )
layers = 1
@@ -450,12 +452,12 @@ skeleton = NodePath("..")
material/0 = SubResource( 3 )
_sections_unfolded = [ "Transform", "material" ]
[node name="MagnetoArrow" type="Spatial" parent="Arrows"]
[node name="MagnetoArrow" type="Spatial" parent="Arrows" index="1"]
transform = Transform( -4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 0, 0, 1, 0, 0, 0 )
_sections_unfolded = [ "Transform" ]
[node name="Bottom" type="MeshInstance" parent="Arrows/MagnetoArrow"]
[node name="Bottom" type="MeshInstance" parent="Arrows/MagnetoArrow" index="0"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2, 0 )
layers = 1
@@ -472,7 +474,7 @@ skeleton = NodePath("..")
material/0 = SubResource( 5 )
_sections_unfolded = [ "Transform", "material" ]
[node name="Top" type="MeshInstance" parent="Arrows/MagnetoArrow"]
[node name="Top" type="MeshInstance" parent="Arrows/MagnetoArrow" index="1"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 5, 0 )
layers = 1
@@ -489,12 +491,12 @@ skeleton = NodePath("..")
material/0 = SubResource( 5 )
_sections_unfolded = [ "Transform", "material" ]
[node name="NorthArrow" type="Spatial" parent="Arrows"]
[node name="NorthArrow" type="Spatial" parent="Arrows" index="2"]
transform = Transform( 1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 0, 0 )
_sections_unfolded = [ "Transform" ]
[node name="Bottom" type="MeshInstance" parent="Arrows/NorthArrow"]
[node name="Bottom" type="MeshInstance" parent="Arrows/NorthArrow" index="0"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2, 0 )
layers = 1
@@ -511,7 +513,7 @@ skeleton = NodePath("..")
material/0 = SubResource( 6 )
_sections_unfolded = [ "Transform", "material" ]
[node name="Top" type="MeshInstance" parent="Arrows/NorthArrow"]
[node name="Top" type="MeshInstance" parent="Arrows/NorthArrow" index="1"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 5, 0 )
layers = 1
@@ -528,9 +530,9 @@ skeleton = NodePath("..")
material/0 = SubResource( 6 )
_sections_unfolded = [ "Transform", "material" ]
[node name="Boxes" type="Spatial" parent="."]
[node name="Boxes" type="Spatial" parent="." index="3"]
[node name="MagAndGrav" type="MeshInstance" parent="Boxes"]
[node name="MagAndGrav" type="MeshInstance" parent="Boxes" index="0"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -7, -4, 0 )
layers = 1
@@ -547,7 +549,7 @@ skeleton = NodePath("..")
material/0 = SubResource( 8 )
_sections_unfolded = [ "Transform", "material" ]
[node name="GyroAndGrav" type="MeshInstance" parent="Boxes"]
[node name="GyroAndGrav" type="MeshInstance" parent="Boxes" index="1"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 7, -4, 0 )
layers = 1
@@ -564,14 +566,16 @@ skeleton = NodePath("..")
material/0 = SubResource( 8 )
_sections_unfolded = [ "Transform", "material" ]
[node name="DirectionalLight" type="DirectionalLight" parent="."]
[node name="DirectionalLight" type="DirectionalLight" parent="." index="4"]
transform = Transform( 0.884838, -0.329433, 0.329449, 0, 0.707124, 0.707089, -0.4659, -0.625659, 0.62569, 0, 4.69444, 0 )
layers = 1
light_color = Color( 1, 1, 1, 1 )
light_energy = 1.0
light_indirect_energy = 1.0
light_negative = false
light_specular = 0.5
light_bake_mode = 1
light_cull_mask = -1
shadow_enabled = false
shadow_color = Color( 0, 0, 0, 1 )

View File

@@ -2,11 +2,11 @@
[ext_resource path="res://thread.gd" type="Script" id=1]
[node name="node" type="Node2D"]
[node name="node" type="Node2D" index="0"]
script = ExtResource( 1 )
[node name="load" type="Button" parent="."]
[node name="load" type="Button" parent="." index="0"]
anchor_left = 0.0
anchor_top = 0.0
@@ -17,8 +17,9 @@ margin_top = 32.0
margin_right = 320.0
margin_bottom = 64.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
focus_mode = 2
mouse_filter = 0
mouse_default_cursor_shape = 0
size_flags_horizontal = 2
size_flags_vertical = 2
toggle_mode = false
@@ -27,8 +28,9 @@ shortcut = null
group = null
text = "Load in Thread"
flat = false
align = 1
[node name="sprite" type="Sprite" parent="."]
[node name="sprite" type="Sprite" parent="." index="1"]
position = Vector2( 248, 256 )
_sections_unfolded = [ "Transform" ]

View File

@@ -14,16 +14,13 @@ var state = {
func _ready():
for index in range(trans.size()):
var name = trans[index]
get_node("trans/" + name).connect("pressed", self, "on_trans_changed", [name, index])
get_node("trans/" + trans[index]).connect("pressed", self, "on_trans_changed", [trans[index], index])
for index in range(eases.size()):
var name = eases[index]
get_node("eases/" + name).connect("pressed", self, "on_eases_changed", [name, index])
get_node("eases/" + eases[index]).connect("pressed", self, "on_eases_changed", [eases[index], index])
for index in range(modes.size()):
var name = modes[index]
get_node("modes/" + name).connect("pressed", self, "on_modes_changed", [name])
get_node("modes/" + modes[index]).connect("pressed", self, "on_modes_changed", [modes[index]])
get_node("colors/color_from/picker").set_pick_color(Color(1, 0, 0, 1))
get_node("colors/color_from/picker").connect("color_changed", self, "on_color_changed")
@@ -39,9 +36,9 @@ func _ready():
reset_tween()
func on_trans_changed(name, index):
func on_trans_changed(trans_name, index):
for index in range(trans.size()):
var pressed = trans[index] == name
var pressed = trans[index] == trans_name
var btn = get_node("trans/" + trans[index])
btn.set_pressed(pressed)
@@ -51,9 +48,9 @@ func on_trans_changed(name, index):
reset_tween()
func on_eases_changed(name, index):
func on_eases_changed(ease_name, index):
for index in range(eases.size()):
var pressed = eases[index] == name
var pressed = eases[index] == ease_name
var btn = get_node("eases/" + eases[index])
btn.set_pressed(pressed)
@@ -63,9 +60,9 @@ func on_eases_changed(name, index):
reset_tween()
func on_modes_changed(name):
func on_modes_changed(mode_name):
var tween = get_node("tween")
if name == "pause":
if mode_name == "pause":
if get_node("modes/pause").is_pressed():
tween.stop_all()
get_node("timeline").set_mouse_filter(Control.MOUSE_FILTER_PASS)

View File

@@ -3,7 +3,7 @@
[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"]
[node name="main" type="Control" index="0"]
anchor_left = 0.0
anchor_top = 0.0
@@ -12,13 +12,13 @@ anchor_bottom = 0.0
margin_right = 800.0
margin_bottom = 600.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
mouse_filter = 0
mouse_default_cursor_shape = 0
size_flags_horizontal = 2
size_flags_vertical = 2
script = ExtResource( 1 )
[node name="trans" type="VBoxContainer" parent="."]
[node name="trans" type="VBoxContainer" parent="." index="0"]
editor/display_folded = true
anchor_left = 0.0
@@ -30,13 +30,13 @@ margin_top = 288.0
margin_right = 129.0
margin_bottom = 614.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
mouse_filter = 1
mouse_default_cursor_shape = 0
size_flags_horizontal = 2
size_flags_vertical = 2
alignment = 0
[node name="linear" type="Button" parent="trans"]
[node name="linear" type="Button" parent="trans" index="0"]
anchor_left = 0.0
anchor_top = 0.0
@@ -45,8 +45,9 @@ anchor_bottom = 0.0
margin_right = 48.0
margin_bottom = 20.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
focus_mode = 2
mouse_filter = 0
mouse_default_cursor_shape = 0
size_flags_horizontal = 2
size_flags_vertical = 2
toggle_mode = true
@@ -55,8 +56,9 @@ shortcut = null
group = null
text = "linear"
flat = false
align = 1
[node name="sine" type="Button" parent="trans"]
[node name="sine" type="Button" parent="trans" index="1"]
anchor_left = 0.0
anchor_top = 0.0
@@ -66,8 +68,9 @@ margin_top = 30.0
margin_right = 39.0
margin_bottom = 50.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
focus_mode = 2
mouse_filter = 0
mouse_default_cursor_shape = 0
size_flags_horizontal = 2
size_flags_vertical = 2
toggle_mode = true
@@ -76,8 +79,9 @@ shortcut = null
group = null
text = "sine"
flat = false
align = 1
[node name="quint" type="Button" parent="trans"]
[node name="quint" type="Button" parent="trans" index="2"]
anchor_left = 0.0
anchor_top = 0.0
@@ -87,8 +91,9 @@ margin_top = 60.0
margin_right = 45.0
margin_bottom = 80.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
focus_mode = 2
mouse_filter = 0
mouse_default_cursor_shape = 0
size_flags_horizontal = 2
size_flags_vertical = 2
toggle_mode = true
@@ -97,8 +102,9 @@ shortcut = null
group = null
text = "quint"
flat = false
align = 1
[node name="quart" type="Button" parent="trans"]
[node name="quart" type="Button" parent="trans" index="3"]
anchor_left = 0.0
anchor_top = 0.0
@@ -108,8 +114,9 @@ margin_top = 90.0
margin_right = 45.0
margin_bottom = 110.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
focus_mode = 2
mouse_filter = 0
mouse_default_cursor_shape = 0
size_flags_horizontal = 2
size_flags_vertical = 2
toggle_mode = true
@@ -118,8 +125,9 @@ shortcut = null
group = null
text = "quart"
flat = false
align = 1
[node name="quad" type="Button" parent="trans"]
[node name="quad" type="Button" parent="trans" index="4"]
anchor_left = 0.0
anchor_top = 0.0
@@ -129,8 +137,9 @@ margin_top = 120.0
margin_right = 43.0
margin_bottom = 140.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
focus_mode = 2
mouse_filter = 0
mouse_default_cursor_shape = 0
size_flags_horizontal = 2
size_flags_vertical = 2
toggle_mode = true
@@ -139,8 +148,9 @@ shortcut = null
group = null
text = "quad"
flat = false
align = 1
[node name="expo" type="Button" parent="trans"]
[node name="expo" type="Button" parent="trans" index="5"]
anchor_left = 0.0
anchor_top = 0.0
@@ -150,8 +160,9 @@ margin_top = 150.0
margin_right = 43.0
margin_bottom = 170.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
focus_mode = 2
mouse_filter = 0
mouse_default_cursor_shape = 0
size_flags_horizontal = 2
size_flags_vertical = 2
toggle_mode = true
@@ -160,8 +171,9 @@ shortcut = null
group = null
text = "expo"
flat = false
align = 1
[node name="elastic" type="Button" parent="trans"]
[node name="elastic" type="Button" parent="trans" index="6"]
anchor_left = 0.0
anchor_top = 0.0
@@ -171,8 +183,9 @@ margin_top = 180.0
margin_right = 54.0
margin_bottom = 200.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
focus_mode = 2
mouse_filter = 0
mouse_default_cursor_shape = 0
size_flags_horizontal = 2
size_flags_vertical = 2
toggle_mode = true
@@ -181,8 +194,9 @@ shortcut = null
group = null
text = "elastic"
flat = false
align = 1
[node name="cubic" type="Button" parent="trans"]
[node name="cubic" type="Button" parent="trans" index="7"]
anchor_left = 0.0
anchor_top = 0.0
@@ -192,8 +206,9 @@ margin_top = 210.0
margin_right = 46.0
margin_bottom = 230.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
focus_mode = 2
mouse_filter = 0
mouse_default_cursor_shape = 0
size_flags_horizontal = 2
size_flags_vertical = 2
toggle_mode = true
@@ -202,8 +217,9 @@ shortcut = null
group = null
text = "cubic"
flat = false
align = 1
[node name="circ" type="Button" parent="trans"]
[node name="circ" type="Button" parent="trans" index="8"]
anchor_left = 0.0
anchor_top = 0.0
@@ -213,8 +229,9 @@ margin_top = 240.0
margin_right = 35.0
margin_bottom = 260.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
focus_mode = 2
mouse_filter = 0
mouse_default_cursor_shape = 0
size_flags_horizontal = 2
size_flags_vertical = 2
toggle_mode = true
@@ -223,8 +240,9 @@ shortcut = null
group = null
text = "circ"
flat = false
align = 1
[node name="bounce" type="Button" parent="trans"]
[node name="bounce" type="Button" parent="trans" index="9"]
anchor_left = 0.0
anchor_top = 0.0
@@ -234,8 +252,9 @@ margin_top = 270.0
margin_right = 59.0
margin_bottom = 290.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
focus_mode = 2
mouse_filter = 0
mouse_default_cursor_shape = 0
size_flags_horizontal = 2
size_flags_vertical = 2
toggle_mode = true
@@ -244,8 +263,9 @@ shortcut = null
group = null
text = "bounce"
flat = false
align = 1
[node name="back" type="Button" parent="trans"]
[node name="back" type="Button" parent="trans" index="10"]
anchor_left = 0.0
anchor_top = 0.0
@@ -255,8 +275,9 @@ margin_top = 300.0
margin_right = 41.0
margin_bottom = 320.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
focus_mode = 2
mouse_filter = 0
mouse_default_cursor_shape = 0
size_flags_horizontal = 2
size_flags_vertical = 2
toggle_mode = true
@@ -265,8 +286,9 @@ shortcut = null
group = null
text = "back"
flat = false
align = 1
[node name="eases" type="VBoxContainer" parent="."]
[node name="eases" type="VBoxContainer" parent="." index="1"]
editor/display_folded = true
anchor_left = 0.0
@@ -278,13 +300,13 @@ margin_top = 288.0
margin_right = 215.0
margin_bottom = 404.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
mouse_filter = 1
mouse_default_cursor_shape = 0
size_flags_horizontal = 2
size_flags_vertical = 2
alignment = 0
[node name="in" type="Button" parent="eases"]
[node name="in" type="Button" parent="eases" index="0"]
anchor_left = 0.0
anchor_top = 0.0
@@ -293,8 +315,9 @@ anchor_bottom = 0.0
margin_right = 24.0
margin_bottom = 20.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
focus_mode = 2
mouse_filter = 0
mouse_default_cursor_shape = 0
size_flags_horizontal = 2
size_flags_vertical = 2
toggle_mode = true
@@ -303,8 +326,9 @@ shortcut = null
group = null
text = "in"
flat = false
align = 1
[node name="out" type="Button" parent="eases"]
[node name="out" type="Button" parent="eases" index="1"]
anchor_left = 0.0
anchor_top = 0.0
@@ -314,8 +338,9 @@ margin_top = 30.0
margin_right = 33.0
margin_bottom = 50.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
focus_mode = 2
mouse_filter = 0
mouse_default_cursor_shape = 0
size_flags_horizontal = 2
size_flags_vertical = 2
toggle_mode = true
@@ -324,8 +349,9 @@ shortcut = null
group = null
text = "out"
flat = false
align = 1
[node name="in_out" type="Button" parent="eases"]
[node name="in_out" type="Button" parent="eases" index="2"]
anchor_left = 0.0
anchor_top = 0.0
@@ -335,8 +361,9 @@ margin_top = 60.0
margin_right = 51.0
margin_bottom = 80.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
focus_mode = 2
mouse_filter = 0
mouse_default_cursor_shape = 0
size_flags_horizontal = 2
size_flags_vertical = 2
toggle_mode = true
@@ -345,8 +372,9 @@ shortcut = null
group = null
text = "in_out"
flat = false
align = 1
[node name="out_in" type="Button" parent="eases"]
[node name="out_in" type="Button" parent="eases" index="3"]
anchor_left = 0.0
anchor_top = 0.0
@@ -356,8 +384,9 @@ margin_top = 90.0
margin_right = 51.0
margin_bottom = 110.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
focus_mode = 2
mouse_filter = 0
mouse_default_cursor_shape = 0
size_flags_horizontal = 2
size_flags_vertical = 2
toggle_mode = true
@@ -366,8 +395,9 @@ shortcut = null
group = null
text = "out_in"
flat = false
align = 1
[node name="modes" type="VBoxContainer" parent="."]
[node name="modes" type="VBoxContainer" parent="." index="2"]
editor/display_folded = true
anchor_left = 0.0
@@ -379,13 +409,13 @@ margin_top = 288.0
margin_right = 317.0
margin_bottom = 524.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
mouse_filter = 1
mouse_default_cursor_shape = 0
size_flags_horizontal = 2
size_flags_vertical = 2
alignment = 0
[node name="move" type="Button" parent="modes"]
[node name="move" type="Button" parent="modes" index="0"]
anchor_left = 0.0
anchor_top = 0.0
@@ -394,8 +424,9 @@ anchor_bottom = 0.0
margin_right = 48.0
margin_bottom = 20.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
focus_mode = 2
mouse_filter = 0
mouse_default_cursor_shape = 0
size_flags_horizontal = 2
size_flags_vertical = 2
toggle_mode = true
@@ -404,8 +435,9 @@ shortcut = null
group = null
text = "move"
flat = false
align = 1
[node name="color" type="Button" parent="modes"]
[node name="color" type="Button" parent="modes" index="1"]
anchor_left = 0.0
anchor_top = 0.0
@@ -415,8 +447,9 @@ margin_top = 30.0
margin_right = 44.0
margin_bottom = 50.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
focus_mode = 2
mouse_filter = 0
mouse_default_cursor_shape = 0
size_flags_horizontal = 2
size_flags_vertical = 2
toggle_mode = true
@@ -425,8 +458,9 @@ shortcut = null
group = null
text = "color"
flat = false
align = 1
[node name="scale" type="Button" parent="modes"]
[node name="scale" type="Button" parent="modes" index="2"]
anchor_left = 0.0
anchor_top = 0.0
@@ -436,8 +470,9 @@ margin_top = 60.0
margin_right = 45.0
margin_bottom = 80.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
focus_mode = 2
mouse_filter = 0
mouse_default_cursor_shape = 0
size_flags_horizontal = 2
size_flags_vertical = 2
toggle_mode = true
@@ -446,8 +481,9 @@ shortcut = null
group = null
text = "scale"
flat = false
align = 1
[node name="rotate" type="Button" parent="modes"]
[node name="rotate" type="Button" parent="modes" index="3"]
anchor_left = 0.0
anchor_top = 0.0
@@ -457,8 +493,9 @@ margin_top = 90.0
margin_right = 50.0
margin_bottom = 110.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
focus_mode = 2
mouse_filter = 0
mouse_default_cursor_shape = 0
size_flags_horizontal = 2
size_flags_vertical = 2
toggle_mode = true
@@ -467,8 +504,9 @@ shortcut = null
group = null
text = "rotate"
flat = false
align = 1
[node name="callback" type="Button" parent="modes"]
[node name="callback" type="Button" parent="modes" index="4"]
anchor_left = 0.0
anchor_top = 0.0
@@ -478,8 +516,9 @@ margin_top = 120.0
margin_right = 63.0
margin_bottom = 140.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
focus_mode = 2
mouse_filter = 0
mouse_default_cursor_shape = 0
size_flags_horizontal = 2
size_flags_vertical = 2
toggle_mode = true
@@ -488,8 +527,9 @@ shortcut = null
group = null
text = "callback"
flat = false
align = 1
[node name="follow" type="Button" parent="modes"]
[node name="follow" type="Button" parent="modes" index="5"]
anchor_left = 0.0
anchor_top = 0.0
@@ -499,8 +539,9 @@ margin_top = 150.0
margin_right = 50.0
margin_bottom = 170.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
focus_mode = 2
mouse_filter = 0
mouse_default_cursor_shape = 0
size_flags_horizontal = 2
size_flags_vertical = 2
toggle_mode = true
@@ -509,8 +550,9 @@ shortcut = null
group = null
text = "follow"
flat = false
align = 1
[node name="repeat" type="Button" parent="modes"]
[node name="repeat" type="Button" parent="modes" index="6"]
anchor_left = 0.0
anchor_top = 0.0
@@ -520,8 +562,9 @@ margin_top = 180.0
margin_right = 53.0
margin_bottom = 200.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
focus_mode = 2
mouse_filter = 0
mouse_default_cursor_shape = 0
size_flags_horizontal = 2
size_flags_vertical = 2
toggle_mode = true
@@ -530,8 +573,9 @@ shortcut = null
group = null
text = "repeat"
flat = false
align = 1
[node name="pause" type="Button" parent="modes"]
[node name="pause" type="Button" parent="modes" index="7"]
anchor_left = 0.0
anchor_top = 0.0
@@ -541,8 +585,9 @@ margin_top = 210.0
margin_right = 50.0
margin_bottom = 230.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
focus_mode = 2
mouse_filter = 0
mouse_default_cursor_shape = 0
size_flags_horizontal = 2
size_flags_vertical = 2
toggle_mode = true
@@ -551,8 +596,9 @@ shortcut = null
group = null
text = "pause"
flat = false
align = 1
[node name="colors" type="HBoxContainer" parent="."]
[node name="colors" type="HBoxContainer" parent="." index="3"]
anchor_left = 0.0
anchor_top = 0.0
@@ -563,30 +609,30 @@ margin_top = 288.0
margin_right = 858.0
margin_bottom = 626.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
mouse_filter = 1
mouse_default_cursor_shape = 0
size_flags_horizontal = 2
size_flags_vertical = 2
custom_constants/separation = 40
alignment = 0
[node name="color_from" type="VBoxContainer" parent="colors"]
[node name="color_from" type="VBoxContainer" parent="colors" index="0"]
anchor_left = 0.0
anchor_top = 0.0
anchor_right = 0.0
anchor_bottom = 0.0
margin_right = 298.0
margin_bottom = 460.0
margin_bottom = 476.0
rect_min_size = Vector2( 0, 320 )
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
mouse_filter = 1
mouse_default_cursor_shape = 0
size_flags_horizontal = 2
size_flags_vertical = 2
alignment = 0
[node name="label" type="Label" parent="colors/color_from"]
[node name="label" type="Label" parent="colors/color_from" index="0"]
anchor_left = 0.0
anchor_top = 0.0
@@ -595,8 +641,8 @@ anchor_bottom = 0.0
margin_right = 74.0
margin_bottom = 14.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
mouse_filter = 2
mouse_default_cursor_shape = 0
size_flags_horizontal = 2
size_flags_vertical = 0
text = "Color From:"
@@ -604,7 +650,7 @@ percent_visible = 1.0
lines_skipped = 0
max_lines_visible = -1
[node name="picker" type="ColorPicker" parent="colors/color_from"]
[node name="picker" type="ColorPicker" parent="colors/color_from" index="1"]
anchor_left = 0.0
anchor_top = 0.0
@@ -612,16 +658,19 @@ anchor_right = 0.0
anchor_bottom = 0.0
margin_top = 18.0
margin_right = 298.0
margin_bottom = 460.0
margin_bottom = 476.0
rect_min_size = Vector2( 0, 320 )
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
mouse_filter = 1
mouse_default_cursor_shape = 0
size_flags_horizontal = 2
size_flags_vertical = 2
alignment = 0
color = Color( 1, 1, 1, 1 )
edit_alpha = true
raw_mode = false
[node name="color_to" type="VBoxContainer" parent="colors"]
[node name="color_to" type="VBoxContainer" parent="colors" index="1"]
anchor_left = 0.0
anchor_top = 0.0
@@ -629,16 +678,16 @@ anchor_right = 0.0
anchor_bottom = 0.0
margin_left = 338.0
margin_right = 636.0
margin_bottom = 460.0
margin_bottom = 476.0
rect_min_size = Vector2( 0, 320 )
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
mouse_filter = 1
mouse_default_cursor_shape = 0
size_flags_horizontal = 2
size_flags_vertical = 2
alignment = 0
[node name="label" type="Label" parent="colors/color_to"]
[node name="label" type="Label" parent="colors/color_to" index="0"]
anchor_left = 0.0
anchor_top = 0.0
@@ -647,8 +696,8 @@ anchor_bottom = 0.0
margin_right = 56.0
margin_bottom = 14.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
mouse_filter = 2
mouse_default_cursor_shape = 0
size_flags_horizontal = 2
size_flags_vertical = 0
text = "Color To:"
@@ -656,7 +705,7 @@ percent_visible = 1.0
lines_skipped = 0
max_lines_visible = -1
[node name="picker" type="ColorPicker" parent="colors/color_to"]
[node name="picker" type="ColorPicker" parent="colors/color_to" index="1"]
anchor_left = 0.0
anchor_top = 0.0
@@ -664,23 +713,28 @@ anchor_right = 0.0
anchor_bottom = 0.0
margin_top = 18.0
margin_right = 298.0
margin_bottom = 460.0
margin_bottom = 476.0
rect_min_size = Vector2( 0, 320 )
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
mouse_filter = 1
mouse_default_cursor_shape = 0
size_flags_horizontal = 2
size_flags_vertical = 2
alignment = 0
color = Color( 1, 1, 1, 1 )
edit_alpha = true
raw_mode = false
[node name="tween" type="Tween" parent="."]
[node name="tween" type="Tween" parent="." index="4"]
repeat = true
playback_process_mode = 1
playback_speed = 1.0
playback/active = true
playback/repeat = true
playback/speed = 1.0
[node name="area" type="Panel" parent="tween"]
[node name="area" type="Panel" parent="tween" index="0"]
anchor_left = 0.0
anchor_top = 0.0
@@ -691,12 +745,12 @@ margin_top = 32.0
margin_right = 896.0
margin_bottom = 232.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
mouse_filter = 0
mouse_default_cursor_shape = 0
size_flags_horizontal = 2
size_flags_vertical = 2
[node name="label" type="RichTextLabel" parent="tween/area"]
[node name="label" type="RichTextLabel" parent="tween/area" index="0"]
anchor_left = 0.0
anchor_top = 0.0
@@ -707,30 +761,38 @@ margin_top = 24.0
margin_right = 552.0
margin_bottom = 160.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = true
mouse_filter = 0
mouse_default_cursor_shape = 0
size_flags_horizontal = 2
size_flags_vertical = 2
bbcode_enabled = false
bbcode_text = ""
visible_characters = -1
percent_visible = 1.0
meta_underlined = true
tab_size = 4
text = ""
scroll_active = true
scroll_following = false
selection_enabled = false
override_selected_font_color = false
[node name="sprite" type="Sprite" parent="tween/area"]
[node name="sprite" type="Sprite" parent="tween/area" index="1"]
texture = ExtResource( 2 )
[node name="follow" type="Sprite" parent="tween/area"]
[node name="follow" type="Sprite" parent="tween/area" index="2"]
position = Vector2( 0, 184 )
texture = ExtResource( 2 )
[node name="follow_2" type="Sprite" parent="tween/area"]
[node name="follow_2" type="Sprite" parent="tween/area" index="3"]
position = Vector2( 736, 0 )
texture = ExtResource( 2 )
[node name="timeline" type="HSlider" parent="."]
[node name="timeline" type="HSlider" parent="." index="5"]
anchor_left = 0.0
anchor_top = 0.0
@@ -741,8 +803,9 @@ margin_top = 240.0
margin_right = 880.0
margin_bottom = 256.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
focus_mode = 2
mouse_filter = 0
mouse_default_cursor_shape = 0
size_flags_horizontal = 2
size_flags_vertical = 0
min_value = 0.0