Import test project as example
TODO: update gitlab-ci template to also use the test-project
This commit is contained in:
68
test-project/scenes/Main.tscn
Executable file
68
test-project/scenes/Main.tscn
Executable file
@@ -0,0 +1,68 @@
|
||||
[gd_scene load_steps=5 format=2]
|
||||
|
||||
[ext_resource path="res://scripts/Main.gd" type="Script" id=1]
|
||||
[ext_resource path="res://scenes/Game.tscn" type="PackedScene" id=2]
|
||||
[ext_resource path="res://scenes/HUD.tscn" type="PackedScene" id=3]
|
||||
|
||||
[sub_resource type="Curve2D" id=1]
|
||||
|
||||
bake_interval = 5.0
|
||||
_data = {
|
||||
"points": PoolVector2Array( 0, 0, 0, 0, 18.8947, 55.4928, 0, 0, 0, 0, -269.905, -419.567 )
|
||||
}
|
||||
|
||||
[node name="Main" type="Node2D"]
|
||||
script = ExtResource( 1 )
|
||||
|
||||
[node name="Game" parent="." instance=ExtResource( 2 )]
|
||||
|
||||
[node name="Path2D" type="Path2D" parent="."]
|
||||
editor/display_folded = true
|
||||
self_modulate = Color( 0.5, 0.6, 1, 0.7 )
|
||||
position = Vector2( 460.871, 779.989 )
|
||||
rotation = -3.14159
|
||||
scale = Vector2( 2.52308, -0.891921 )
|
||||
curve = SubResource( 1 )
|
||||
|
||||
[node name="PathFollow2D" type="PathFollow2D" parent="Path2D"]
|
||||
position = Vector2( -17.0181, -3.58169 )
|
||||
offset = 69.1956
|
||||
h_offset = 0.0
|
||||
v_offset = 0.0
|
||||
rotate = false
|
||||
cubic_interp = true
|
||||
loop = false
|
||||
lookahead = 4.0
|
||||
|
||||
[node name="MenuCamera" type="Camera2D" parent="Path2D/PathFollow2D"]
|
||||
position = Vector2( 21.2, 58.5266 )
|
||||
anchor_mode = 1
|
||||
rotating = false
|
||||
current = true
|
||||
zoom = Vector2( 0.5, 0.5 )
|
||||
limit_left = -10000000
|
||||
limit_top = -10000000
|
||||
limit_right = 10000000
|
||||
limit_bottom = 10000000
|
||||
limit_smoothed = false
|
||||
drag_margin_h_enabled = true
|
||||
drag_margin_v_enabled = true
|
||||
smoothing_enabled = false
|
||||
smoothing_speed = 5.0
|
||||
offset_v = 0.0
|
||||
offset_h = 0.0
|
||||
drag_margin_left = 0.2
|
||||
drag_margin_top = 0.2
|
||||
drag_margin_right = 0.2
|
||||
drag_margin_bottom = 0.2
|
||||
editor_draw_screen = true
|
||||
editor_draw_limits = true
|
||||
editor_draw_drag_margin = true
|
||||
|
||||
[node name="HUD" parent="." instance=ExtResource( 3 )]
|
||||
margin_left = 625.0
|
||||
margin_top = 820.0
|
||||
margin_right = 625.0
|
||||
margin_bottom = 820.0
|
||||
|
||||
[connection signal="start_zoom_out" from="." to="." method="_on_Main_start_zoom_out"]
|
||||
Reference in New Issue
Block a user