19 lines
495 B
Text
19 lines
495 B
Text
[gd_scene load_steps=4 format=2]
|
|
|
|
[ext_resource path="res://graphics/secret/beach_ball.png" type="Texture" id=1]
|
|
|
|
[sub_resource type="PhysicsMaterial" id=1]
|
|
friction = 0.3
|
|
bounce = 1.0
|
|
|
|
[sub_resource type="CircleShape2D" id=2]
|
|
radius = 6.0
|
|
|
|
[node name="BeachBall" type="RigidBody2D"]
|
|
physics_material_override = SubResource( 1 )
|
|
|
|
[node name="Sprite" type="Sprite" parent="."]
|
|
texture = ExtResource( 1 )
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
shape = SubResource( 2 )
|