This commit is contained in:
22
scenes/Base.tscn
Executable file → Normal file
22
scenes/Base.tscn
Executable file → Normal file
@@ -1,16 +1,12 @@
|
||||
[gd_scene load_steps=3 format=2]
|
||||
[gd_scene load_steps=3 format=3 uid="uid://cnv5rmxegl51c"]
|
||||
|
||||
[ext_resource path="res://scripts/Base.gd" type="Script" id=1]
|
||||
[ext_resource type="Script" uid="uid://l36qwq5psa78" path="res://scripts/Base.gd" id="1"]
|
||||
|
||||
[sub_resource type="CircleShape2D" id=1]
|
||||
|
||||
custom_solver_bias = 0.0
|
||||
[sub_resource type="CircleShape2D" id="1"]
|
||||
radius = 68.9104
|
||||
|
||||
[node name="Base" type="Node2D" groups=[
|
||||
"ColoredEntity",
|
||||
]]
|
||||
script = ExtResource( 1 )
|
||||
[node name="Base" type="Node2D" groups=["ColoredEntity"]]
|
||||
script = ExtResource("1")
|
||||
|
||||
[node name="ColorRect" type="ColorRect" parent="."]
|
||||
anchor_left = 0.5
|
||||
@@ -21,17 +17,17 @@ offset_left = -60.5
|
||||
offset_top = -33.0
|
||||
offset_right = 60.5
|
||||
offset_bottom = 33.0
|
||||
pivot_offset = Vector2( 0, 0 )
|
||||
pivot_offset = Vector2(0, 0)
|
||||
clip_contents = false
|
||||
mouse_filter = 0
|
||||
mouse_default_cursor_shape = 0
|
||||
size_flags_horizontal = 1
|
||||
size_flags_vertical = 1
|
||||
color = Color( 1, 1, 1, 1 )
|
||||
color = Color(1, 1, 1, 1)
|
||||
|
||||
[node name="Body" type="Area2D" parent="."]
|
||||
input_pickable = true
|
||||
gravity_direction = Vector2( 0, 1 )
|
||||
gravity_direction = Vector2(0, 1)
|
||||
gravity = 98.0
|
||||
linear_damp = 0.1
|
||||
angular_damp = 1.0
|
||||
@@ -41,6 +37,6 @@ audio_bus_override = false
|
||||
audio_bus_name = "Master"
|
||||
|
||||
[node name="CollisionMask" type="CollisionShape2D" parent="Body"]
|
||||
shape = SubResource( 1 )
|
||||
shape = SubResource("1")
|
||||
|
||||
[connection signal="body_entered" from="Body" to="." method="_on_Body_body_entered"]
|
||||
|
||||
Reference in New Issue
Block a user