You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
my-bricks/scenes/ball.tscn

22 lines
595 B

[gd_scene format=3 uid="uid://b0ball00001"]
[ext_resource type="Script" path="res://scripts/ball.gd" id="1_ball"]
[sub_resource type="CircleShape2D" id="CircleShape2D_ball"]
radius = 8.0
[node name="Ball" type="CharacterBody2D"]
position = Vector2(640, 600)
collision_layer = 0
collision_mask = 3
script = ExtResource("1_ball")
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("CircleShape2D_ball")
[node name="ColorRect" type="ColorRect" parent="."]
offset_left = -8.0
offset_top = -8.0
offset_right = 8.0
offset_bottom = 8.0
color = Color(1, 1, 1, 1)