godot-docs/scenes/ball.tscn

21 lines
585 B
Text
Raw Permalink Normal View History

2024-08-27 18:53:33 +02:00
[gd_scene load_steps=4 format=3 uid="uid://dm5jrnxmxnuof"]
2024-09-11 19:03:50 +02:00
[ext_resource type="Texture2D" uid="uid://dv6rx85s1gy3i" path="res://assets/img/ballBlue_10.png" id="1"]
2024-08-27 18:53:33 +02:00
[sub_resource type="PhysicsMaterial" id="1"]
bounce = 0.5
[sub_resource type="CircleShape2D" id="2"]
radius = 37.1452
[node name="Ball" type="RigidBody2D"]
physics_material_override = SubResource("1")
gravity_scale = 4.0
[node name="Sprite2D" type="Sprite2D" parent="."]
scale = Vector2(0.5, 0.5)
texture = ExtResource("1")
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("2")