39 lines
1.0 KiB
Plaintext
39 lines
1.0 KiB
Plaintext
|
[gd_scene load_steps=3 format=2]
|
||
|
|
||
|
[ext_resource path="res://script/demo13_camera/player.gd" type="Script" id=1]
|
||
|
[ext_resource path="res://icon.png" type="Texture" id=2]
|
||
|
|
||
|
[node name="Node2D" type="Node2D"]
|
||
|
|
||
|
[node name="icon" type="Sprite" parent="."]
|
||
|
position = Vector2( 73.0152, 64.7613 )
|
||
|
texture = ExtResource( 2 )
|
||
|
|
||
|
[node name="Control" type="Control" parent="."]
|
||
|
margin_left = 1.0
|
||
|
margin_right = 1024.0
|
||
|
margin_bottom = 601.0
|
||
|
__meta__ = {
|
||
|
"_edit_use_anchors_": false
|
||
|
}
|
||
|
|
||
|
[node name="ViewportContainer" type="ViewportContainer" parent="Control"]
|
||
|
modulate = Color( 0.0352941, 0.894118, 0.65098, 1 )
|
||
|
margin_left = 770.879
|
||
|
margin_top = 437.506
|
||
|
margin_right = 1020.88
|
||
|
margin_bottom = 587.506
|
||
|
__meta__ = {
|
||
|
"_edit_use_anchors_": false
|
||
|
}
|
||
|
|
||
|
[node name="Viewport" type="Viewport" parent="Control/ViewportContainer"]
|
||
|
size = Vector2( 250, 150 )
|
||
|
handle_input_locally = false
|
||
|
render_target_update_mode = 3
|
||
|
|
||
|
[node name="Sprite" type="Sprite" parent="Control/ViewportContainer/Viewport"]
|
||
|
position = Vector2( 100, 100 )
|
||
|
texture = ExtResource( 2 )
|
||
|
script = ExtResource( 1 )
|