40 lines
1 KiB
Plaintext
40 lines
1 KiB
Plaintext
[gd_scene load_steps=5 format=2]
|
|
|
|
[ext_resource path="res://units/base_unit.gd" type="Script" id=1]
|
|
[ext_resource path="res://units/falcon.png" type="Texture" id=2]
|
|
[ext_resource path="res://units/points.tscn" type="PackedScene" id=3]
|
|
[ext_resource path="res://theme/ui.tres" type="Theme" id=4]
|
|
|
|
[node name="unit" type="Panel"]
|
|
modulate = Color( 0.5, 0.5, 0.5, 1 )
|
|
self_modulate = Color( 1, 1, 1, 0 )
|
|
margin_left = -50.0
|
|
margin_top = -50.0
|
|
margin_right = 50.0
|
|
margin_bottom = 50.0
|
|
theme = ExtResource( 4 )
|
|
script = ExtResource( 1 )
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
sprite = ExtResource( 2 )
|
|
|
|
[node name="sprite" type="Sprite" parent="."]
|
|
position = Vector2( 50, 50 )
|
|
texture = ExtResource( 2 )
|
|
|
|
[node name="points" parent="." instance=ExtResource( 3 )]
|
|
modulate = Color( 1, 0.3, 0.3, 1 )
|
|
anchor_left = 0.5
|
|
anchor_top = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.5
|
|
margin_top = 70.0
|
|
margin_bottom = 115.0
|
|
|
|
[node name="move_hint" type="Line2D" parent="."]
|
|
visible = false
|
|
points = PoolVector2Array( 50, 50, 0, 0 )
|
|
width = 18.0
|
|
antialiased = true
|