28 lines
804 B
Plaintext
28 lines
804 B
Plaintext
[gd_scene load_steps=4 format=3 uid="uid://dmsd30hc2ob1w"]
|
|
|
|
[ext_resource type="Script" path="res://scenes/playground/ball/Ball.gd" id="1_vsr7q"]
|
|
|
|
[sub_resource type="PhysicsMaterial" id="PhysicsMaterial_h7mi1"]
|
|
friction = 0.0
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_bdxrg"]
|
|
size = Vector2(32, 32)
|
|
|
|
[node name="Ball" type="RigidBody2D"]
|
|
mass = 0.01
|
|
physics_material_override = SubResource("PhysicsMaterial_h7mi1")
|
|
gravity_scale = 1.66533e-16
|
|
can_sleep = false
|
|
lock_rotation = true
|
|
freeze_mode = 1
|
|
linear_damp_mode = 1
|
|
script = ExtResource("1_vsr7q")
|
|
|
|
[node name="ColorRect" type="ColorRect" parent="."]
|
|
offset_right = 40.0
|
|
offset_bottom = 40.0
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
position = Vector2(20, 20)
|
|
shape = SubResource("RectangleShape2D_bdxrg")
|