camera smoothing only on y
This commit is contained in:
+38
-26
@@ -1,7 +1,9 @@
|
||||
[gd_scene load_steps=3 format=3 uid="uid://drbqiko4xx71d"]
|
||||
[gd_scene load_steps=5 format=3 uid="uid://drbqiko4xx71d"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/LevelSelect.gd" id="1_ck5bd"]
|
||||
[ext_resource type="FontFile" uid="uid://cpwx7datjer6s" path="res://assets/PixelOperator8.ttf" id="2_3ebbo"]
|
||||
[ext_resource type="Texture2D" uid="uid://dgyuh7qglc7vd" path="res://assets/Flag.png" id="3_v04a0"]
|
||||
[ext_resource type="Texture2D" uid="uid://bkrv87t2ryjd0" path="res://assets/Dead.png" id="4_3d18b"]
|
||||
|
||||
[node name="LevelSelect" type="CanvasLayer"]
|
||||
script = ExtResource("1_ck5bd")
|
||||
@@ -21,16 +23,18 @@ anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
offset_left = -240.0
|
||||
offset_top = -148.0
|
||||
offset_right = -32.0
|
||||
offset_bottom = -84.0
|
||||
offset_left = -336.0
|
||||
offset_top = -100.0
|
||||
offset_right = -192.0
|
||||
offset_bottom = -36.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
theme_override_fonts/font = ExtResource("2_3ebbo")
|
||||
theme_override_font_sizes/font_size = 24
|
||||
disabled = true
|
||||
text = "Level 1"
|
||||
text = "1-1"
|
||||
icon = ExtResource("3_v04a0")
|
||||
expand_icon = true
|
||||
|
||||
[node name="Button_2" type="Button" parent="Control"]
|
||||
layout_mode = 1
|
||||
@@ -39,16 +43,18 @@ anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
offset_left = 32.0
|
||||
offset_top = -148.0
|
||||
offset_right = 240.0
|
||||
offset_bottom = -84.0
|
||||
offset_left = -160.0
|
||||
offset_top = -100.0
|
||||
offset_right = -16.0
|
||||
offset_bottom = -36.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
theme_override_fonts/font = ExtResource("2_3ebbo")
|
||||
theme_override_font_sizes/font_size = 24
|
||||
disabled = true
|
||||
text = "Level 2"
|
||||
text = "1-2"
|
||||
icon = ExtResource("3_v04a0")
|
||||
expand_icon = true
|
||||
|
||||
[node name="Button_3" type="Button" parent="Control"]
|
||||
layout_mode = 1
|
||||
@@ -57,16 +63,18 @@ anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
offset_left = -240.0
|
||||
offset_top = -36.0
|
||||
offset_right = -32.0
|
||||
offset_bottom = 28.0
|
||||
offset_left = 16.0
|
||||
offset_top = -100.0
|
||||
offset_right = 160.0
|
||||
offset_bottom = -36.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
theme_override_fonts/font = ExtResource("2_3ebbo")
|
||||
theme_override_font_sizes/font_size = 24
|
||||
disabled = true
|
||||
text = "Level 3"
|
||||
text = "1-3"
|
||||
icon = ExtResource("3_v04a0")
|
||||
expand_icon = true
|
||||
|
||||
[node name="Button_4" type="Button" parent="Control"]
|
||||
layout_mode = 1
|
||||
@@ -75,16 +83,18 @@ anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
offset_left = 32.0
|
||||
offset_top = -36.0
|
||||
offset_right = 240.0
|
||||
offset_bottom = 28.0
|
||||
offset_left = 192.0
|
||||
offset_top = -100.0
|
||||
offset_right = 336.0
|
||||
offset_bottom = -36.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
theme_override_fonts/font = ExtResource("2_3ebbo")
|
||||
theme_override_font_sizes/font_size = 24
|
||||
disabled = true
|
||||
text = "Level 4"
|
||||
text = "1-4"
|
||||
icon = ExtResource("4_3d18b")
|
||||
expand_icon = true
|
||||
|
||||
[node name="Button_5" type="Button" parent="Control"]
|
||||
layout_mode = 1
|
||||
@@ -93,16 +103,18 @@ anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
offset_left = -240.0
|
||||
offset_top = 76.0
|
||||
offset_right = -32.0
|
||||
offset_bottom = 140.0
|
||||
offset_left = -336.0
|
||||
offset_top = -4.0
|
||||
offset_right = -192.0
|
||||
offset_bottom = 60.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
theme_override_fonts/font = ExtResource("2_3ebbo")
|
||||
theme_override_font_sizes/font_size = 24
|
||||
disabled = true
|
||||
text = "Level 5"
|
||||
text = "2-1"
|
||||
icon = ExtResource("3_v04a0")
|
||||
expand_icon = true
|
||||
|
||||
[connection signal="pressed" from="Control/Button_1" to="." method="_on_button_pressed" binds= ["1"]]
|
||||
[connection signal="pressed" from="Control/Button_2" to="." method="_on_button_pressed" binds= ["2"]]
|
||||
|
||||
@@ -19367,7 +19367,7 @@ position = Vector2(2048, 0)
|
||||
|
||||
[node name="pipe" parent="Pipes" instance=ExtResource("9_sfjeq")]
|
||||
position = Vector2(832, -64)
|
||||
target = Vector2(640, 112)
|
||||
target = Vector2(640, 192)
|
||||
|
||||
[node name="pipe2" parent="Pipes" instance=ExtResource("9_sfjeq")]
|
||||
position = Vector2(816, 240)
|
||||
@@ -19387,7 +19387,6 @@ offset_right = 98.0
|
||||
offset_bottom = -88.0
|
||||
theme_override_colors/font_color = Color(0.25332, 0.473895, 1, 1)
|
||||
theme_override_fonts/font = ExtResource("11_1j7cv")
|
||||
text = "Swipe Left To Move"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
script = ExtResource("12_uc2k2")
|
||||
@@ -19399,7 +19398,6 @@ offset_right = 105.0
|
||||
offset_bottom = -64.0
|
||||
theme_override_colors/font_color = Color(0.25332, 0.473895, 1, 1)
|
||||
theme_override_fonts/font = ExtResource("11_1j7cv")
|
||||
text = "Right Down Tap Jump"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
@@ -19410,7 +19408,6 @@ offset_right = 1304.0
|
||||
offset_bottom = -75.0
|
||||
theme_override_colors/font_color = Color(0.25332, 0.473895, 1, 1)
|
||||
theme_override_fonts/font = ExtResource("11_1j7cv")
|
||||
text = "Right Up Tap Fire"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
@@ -19471,7 +19468,6 @@ zoom = Vector2(3, 3)
|
||||
limit_left = -160
|
||||
limit_top = -184
|
||||
limit_bottom = 32
|
||||
position_smoothing_enabled = true
|
||||
position_smoothing_speed = 10.0
|
||||
|
||||
[node name="ColorRect" type="ColorRect" parent="Camera2D"]
|
||||
|
||||
@@ -45755,7 +45755,7 @@ position = Vector2(1296, 176)
|
||||
|
||||
[node name="pipe" parent="pipes" instance=ExtResource("10_aqfih")]
|
||||
position = Vector2(1472, -48)
|
||||
target = Vector2(1264, 64)
|
||||
target = Vector2(1264, 192)
|
||||
|
||||
[node name="pipe2" parent="pipes" instance=ExtResource("10_aqfih")]
|
||||
position = Vector2(1440, 240)
|
||||
@@ -45858,7 +45858,6 @@ zoom = Vector2(3, 3)
|
||||
limit_left = -160
|
||||
limit_top = -184
|
||||
limit_bottom = 32
|
||||
position_smoothing_enabled = true
|
||||
position_smoothing_speed = 10.0
|
||||
|
||||
[node name="ColorRect" type="ColorRect" parent="Camera2D"]
|
||||
|
||||
@@ -7888,7 +7888,6 @@ zoom = Vector2(3, 3)
|
||||
limit_left = -160
|
||||
limit_top = -184
|
||||
limit_bottom = 32
|
||||
position_smoothing_enabled = true
|
||||
position_smoothing_speed = 10.0
|
||||
|
||||
[node name="ColorRect" type="ColorRect" parent="Camera2D"]
|
||||
|
||||
@@ -7466,7 +7466,6 @@ zoom = Vector2(3, 3)
|
||||
limit_left = -160
|
||||
limit_top = -184
|
||||
limit_bottom = 32
|
||||
position_smoothing_enabled = true
|
||||
position_smoothing_speed = 10.0
|
||||
|
||||
[node name="ColorRect" type="ColorRect" parent="Camera2D"]
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user