Added bounce physics, collision layers, masks, and names, pins (and the extra bouncy GiantPin), walls, cup physics, a sample level, and a score system with an accompanying auto-updating GUI label.
23 lines
678 B
Plaintext
23 lines
678 B
Plaintext
[gd_scene load_steps=4 format=2]
|
|
|
|
[ext_resource path="res://Art/Pinball2.png" type="Texture" id=1]
|
|
|
|
[sub_resource type="PhysicsMaterial" id=2]
|
|
bounce = 0.8
|
|
|
|
[sub_resource type="CircleShape2D" id=1]
|
|
radius = 37.0
|
|
|
|
[node name="GiantPin" type="StaticBody2D"]
|
|
physics_material_override = SubResource( 2 )
|
|
__meta__ = {
|
|
"_editor_description_": "The Pinball2.png image used for this scene's $Sprite node is licensed ONLY for personal use. This image needs to be replaced before shipping."
|
|
}
|
|
|
|
[node name="Sprite" type="Sprite" parent="."]
|
|
scale = Vector2( 0.1, 0.1 )
|
|
texture = ExtResource( 1 )
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
shape = SubResource( 1 )
|