mirror of
https://github.com/godotengine/godot-demo-projects.git
synced 2026-01-06 16:00:08 +01:00
17 lines
428 B
Plaintext
17 lines
428 B
Plaintext
[gd_scene load_steps=4 format=2]
|
|
|
|
[ext_resource path="res://scripts/ball.gd" type="Script" id=1]
|
|
[ext_resource path="res://ball.png" type="Texture" id=2]
|
|
|
|
[sub_resource type="CircleShape2D" id=1]
|
|
radius = 5.11969
|
|
|
|
[node name="Ball" type="Area2D"]
|
|
script = ExtResource( 1 )
|
|
|
|
[node name="Sprite" type="Sprite" parent="."]
|
|
texture = ExtResource( 2 )
|
|
|
|
[node name="Shape" type="CollisionShape2D" parent="."]
|
|
shape = SubResource( 1 )
|