first commit
This commit is contained in:
commit
a673773183
21 changed files with 305 additions and 0 deletions
19
pinball/ball.tscn
Normal file
19
pinball/ball.tscn
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
[gd_scene load_steps=5 format=3 uid="uid://bri6gyx0bp87t"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://mucscwsbmfoq" path="res://assets/ball.png" id="1_qbdsi"]
|
||||
[ext_resource type="Script" uid="uid://by01oc4lqlma4" path="res://pinball/ball.gd" id="1_qu1p4"]
|
||||
|
||||
[sub_resource type="PhysicsMaterial" id="PhysicsMaterial_s64ax"]
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_o681m"]
|
||||
radius = 4.0
|
||||
|
||||
[node name="Ball" type="RigidBody2D"]
|
||||
physics_material_override = SubResource("PhysicsMaterial_s64ax")
|
||||
script = ExtResource("1_qu1p4")
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
shape = SubResource("CircleShape2D_o681m")
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||||
texture = ExtResource("1_qbdsi")
|
||||
Loading…
Add table
Add a link
Reference in a new issue