45 lines
1.1 KiB
Plaintext
45 lines
1.1 KiB
Plaintext
[gd_scene load_steps=5 format=1]
|
|
|
|
[ext_resource path="res://areas/area_base.tscn" type="PackedScene" id=1]
|
|
[ext_resource path="res://areas/reactor.gd" type="Script" id=2]
|
|
[ext_resource path="res://areas/reactor.tex" type="Texture" id=3]
|
|
|
|
[sub_resource type="RectangleShape2D" id=1]
|
|
|
|
custom_solver_bias = 0.0
|
|
extents = Vector2( 44.2412, 46.8488 )
|
|
|
|
[node name="reactor" instance=ExtResource( 1 )]
|
|
|
|
script/script = ExtResource( 2 )
|
|
max_health = 5
|
|
health = 0
|
|
display_name = "Reactor"
|
|
|
|
[node name="Sprite" parent="."]
|
|
|
|
texture = ExtResource( 3 )
|
|
|
|
[node name="Area2D" type="Area2D" parent="."]
|
|
|
|
input/pickable = true
|
|
shapes/0/shape = SubResource( 1 )
|
|
shapes/0/transform = Matrix32( 1.0457, 0, 0, 1, -0.594147, 0 )
|
|
shapes/0/trigger = false
|
|
gravity_vec = Vector2( 0, 1 )
|
|
gravity = 98.0
|
|
linear_damp = 0.1
|
|
angular_damp = 1.0
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
|
|
|
|
transform/pos = Vector2( -0.594147, 0 )
|
|
transform/scale = Vector2( 1.0457, 1 )
|
|
shape = SubResource( 1 )
|
|
trigger = false
|
|
_update_shape_index = 0
|
|
|
|
[connection signal="input_event" from="Area2D" to="." method="_on_Area2D_input_event"]
|
|
|
|
|