Browse Source

Move around 2D and GUI demos

Aaron Franke 5 years ago
parent
commit
6b11ca7302

+ 0 - 0
misc/instancing/README.md → 2d/instancing/README.md


+ 0 - 0
misc/instancing/ball.tscn → 2d/instancing/ball.tscn


+ 0 - 0
misc/instancing/ball_factory.gd → 2d/instancing/ball_factory.gd


+ 0 - 0
misc/instancing/bowling_ball.png → 2d/instancing/bowling_ball.png


+ 0 - 0
misc/instancing/bowling_ball.png.import → 2d/instancing/bowling_ball.png.import


+ 0 - 0
misc/instancing/icon.png → 2d/instancing/icon.png


+ 0 - 0
2d/sdf_font/icon.png.import → 2d/instancing/icon.png.import


+ 0 - 0
misc/instancing/project.godot → 2d/instancing/project.godot


+ 0 - 0
misc/instancing/scene_instancing.tscn → 2d/instancing/scene_instancing.tscn


+ 0 - 0
2d/sdf_font/screenshots/.gdignore → 2d/instancing/screenshots/.gdignore


+ 0 - 0
misc/instancing/screenshots/instancing.png → 2d/instancing/screenshots/instancing.png


+ 0 - 3
2d/sdf_font/default_environment.tres

@@ -1,3 +0,0 @@
-[gd_resource type="Environment" format=2]
-
-[resource]

+ 0 - 0
misc/tween/README.md → 2d/tween/README.md


+ 0 - 0
misc/tween/godot.png → 2d/tween/godot.png


+ 0 - 0
misc/tween/godot.png.import → 2d/tween/godot.png.import


+ 0 - 0
misc/tween/icon.png → 2d/tween/icon.png


+ 0 - 0
misc/instancing/icon.png.import → 2d/tween/icon.png.import


+ 0 - 0
misc/tween/main.gd → 2d/tween/main.gd


+ 0 - 0
misc/tween/main.tscn → 2d/tween/main.tscn


+ 0 - 0
misc/tween/project.godot → 2d/tween/project.godot


+ 0 - 0
misc/instancing/screenshots/.gdignore → 2d/tween/screenshots/.gdignore


+ 0 - 0
misc/tween/screenshots/tween.png → 2d/tween/screenshots/tween.png


+ 0 - 0
misc/regex/README.md → gui/regex/README.md


+ 0 - 0
misc/regex/icon.png → gui/regex/icon.png


+ 0 - 0
misc/regex/icon.png.import → gui/regex/icon.png.import


+ 0 - 0
misc/regex/project.godot → gui/regex/project.godot


+ 0 - 0
misc/regex/regex.gd → gui/regex/regex.gd


+ 0 - 0
misc/regex/regex.tscn → gui/regex/regex.tscn


+ 0 - 0
misc/regex/screenshots/.gdignore → gui/regex/screenshots/.gdignore


+ 0 - 0
misc/regex/screenshots/regex.png → gui/regex/screenshots/regex.png


+ 0 - 0
2d/sdf_font/README.md → gui/sdf_font/README.md


+ 0 - 0
2d/sdf_font/font.font → gui/sdf_font/font.font


+ 0 - 0
2d/sdf_font/icon.png → gui/sdf_font/icon.png


+ 0 - 0
misc/tween/icon.png.import → gui/sdf_font/icon.png.import


+ 0 - 1
2d/sdf_font/project.godot → gui/sdf_font/project.godot

@@ -34,4 +34,3 @@ singletons=[  ]
 [rendering]
 [rendering]
 
 
 environment/default_clear_color=Color( 0.18, 0.1188, 0.15348, 1 )
 environment/default_clear_color=Color( 0.18, 0.1188, 0.15348, 1 )
-environment/default_environment="res://default_environment.tres"

+ 0 - 0
misc/tween/screenshots/.gdignore → gui/sdf_font/screenshots/.gdignore


+ 0 - 0
2d/sdf_font/screenshots/sdf.png → gui/sdf_font/screenshots/sdf.png


+ 18 - 14
2d/sdf_font/sdf_font_demo.tscn → gui/sdf_font/sdf_font_demo.tscn

@@ -6,7 +6,7 @@
 length = 15.0
 length = 15.0
 loop = true
 loop = true
 tracks/0/type = "value"
 tracks/0/type = "value"
-tracks/0/path = NodePath(".:rotation_degrees")
+tracks/0/path = NodePath(".:rect_rotation")
 tracks/0/interp = 1
 tracks/0/interp = 1
 tracks/0/loop_wrap = true
 tracks/0/loop_wrap = true
 tracks/0/imported = false
 tracks/0/imported = false
@@ -22,7 +22,7 @@ tracks/0/keys = {
 length = 10.0
 length = 10.0
 loop = true
 loop = true
 tracks/0/type = "value"
 tracks/0/type = "value"
-tracks/0/path = NodePath(".:scale")
+tracks/0/path = NodePath(".:rect_scale")
 tracks/0/interp = 1
 tracks/0/interp = 1
 tracks/0/loop_wrap = true
 tracks/0/loop_wrap = true
 tracks/0/imported = false
 tracks/0/imported = false
@@ -34,10 +34,18 @@ tracks/0/keys = {
 "values": [ Vector2( 1, 1 ), Vector2( 7, 7 ) ]
 "values": [ Vector2( 1, 1 ), Vector2( 7, 7 ) ]
 }
 }
 
 
-[node name="SDFFontDemo" type="Node2D"]
+[node name="SDFFontDemo" type="CenterContainer"]
+anchor_right = 1.0
+anchor_bottom = 1.0
+__meta__ = {
+"_edit_use_anchors_": false
+}
 
 
-[node name="Base" type="Position2D" parent="."]
-position = Vector2( 500, 300 )
+[node name="Base" type="Control" parent="."]
+margin_left = 512.0
+margin_top = 300.0
+margin_right = 512.0
+margin_bottom = 300.0
 
 
 [node name="Rotate" type="AnimationPlayer" parent="Base"]
 [node name="Rotate" type="AnimationPlayer" parent="Base"]
 autoplay = "rotate"
 autoplay = "rotate"
@@ -48,11 +56,11 @@ anims/zoomin_zoomout = SubResource( 2 )
 autoplay = "zoomin_zoomout"
 autoplay = "zoomin_zoomout"
 anims/zoomin_zoomout = SubResource( 2 )
 anims/zoomin_zoomout = SubResource( 2 )
 
 
-[node name="Label" type="Label" parent="Base"]
-margin_left = -169.0
-margin_top = -49.0
-margin_right = 172.0
-margin_bottom = 56.0
+[node name="TextLabel" type="Label" parent="Base"]
+margin_left = -128.0
+margin_top = -50.0
+margin_right = 128.0
+margin_bottom = 51.0
 custom_fonts/font = ExtResource( 1 )
 custom_fonts/font = ExtResource( 1 )
 custom_colors/font_color = Color( 0.853858, 0.771714, 0.753746, 1 )
 custom_colors/font_color = Color( 0.853858, 0.771714, 0.753746, 1 )
 custom_colors/font_color_shadow = Color( 0.56592, 0.454525, 0.518426, 1 )
 custom_colors/font_color_shadow = Color( 0.56592, 0.454525, 0.518426, 1 )
@@ -62,7 +70,3 @@ align = 1
 __meta__ = {
 __meta__ = {
 "_edit_use_anchors_": false
 "_edit_use_anchors_": false
 }
 }
-
-[node name="Camera2D" type="Camera2D" parent="."]
-offset = Vector2( 512, 300 )
-current = true