47 lines
3.7 KiB
Plaintext
47 lines
3.7 KiB
Plaintext
[gd_scene load_steps=7 format=3 uid="uid://bwxjc7a0mapl0"]
|
|
|
|
[ext_resource type="Script" uid="uid://bsnpei7ltelnx" path="res://addons/curved_lines_2d/examples/pinball/pinball.gd" id="1_t6ii5"]
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_ia8el"]
|
|
radius = 24.0
|
|
|
|
[sub_resource type="FastNoiseLite" id="FastNoiseLite_48gu3"]
|
|
|
|
[sub_resource type="NoiseTexture2D" id="NoiseTexture2D_t6ii5"]
|
|
seamless = true
|
|
noise = SubResource("FastNoiseLite_48gu3")
|
|
|
|
[sub_resource type="Gradient" id="Gradient_q2wd1"]
|
|
offsets = PackedFloat32Array(0.115583, 1)
|
|
colors = PackedColorArray(1, 1, 1, 1, 0.183594, 0.183594, 0.183594, 1)
|
|
|
|
[sub_resource type="GradientTexture2D" id="GradientTexture2D_qlygp"]
|
|
gradient = SubResource("Gradient_q2wd1")
|
|
width = 48
|
|
height = 48
|
|
fill = 1
|
|
fill_from = Vector2(0.354167, 0.246528)
|
|
fill_to = Vector2(0.840278, 0.864583)
|
|
|
|
[node name="Pinball" type="RigidBody2D" groups=["pinballs"]]
|
|
z_index = -1
|
|
script = ExtResource("1_t6ii5")
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
shape = SubResource("CircleShape2D_ia8el")
|
|
|
|
[node name="Polygon2D" type="Polygon2D" parent="."]
|
|
texture_repeat = 2
|
|
texture = SubResource("NoiseTexture2D_t6ii5")
|
|
polygon = PackedVector2Array(24, 0, 23.8761, 2.45392, 23.5124, 4.83694, 22.921, 7.137, 22.114, 9.34204, 21.1034, 11.44, 19.9013, 13.4188, 18.5197, 15.2664, 16.9707, 16.9707, 15.2664, 18.5197, 13.4188, 19.9013, 11.44, 21.1034, 9.34204, 22.114, 7.137, 22.921, 4.83694, 23.5124, 2.45392, 23.8761, 0, 24, -2.45392, 23.8761, -4.83694, 23.5124, -7.137, 22.921, -9.34204, 22.114, -11.44, 21.1034, -13.4188, 19.9013, -15.2664, 18.5197, -16.9707, 16.9707, -18.5197, 15.2664, -19.9013, 13.4188, -21.1034, 11.44, -22.114, 9.34204, -22.921, 7.137, -23.5124, 4.83694, -23.8761, 2.45392, -24, 0, -23.8761, -2.45392, -23.5124, -4.83694, -22.921, -7.137, -22.114, -9.34204, -21.1034, -11.44, -19.9013, -13.4188, -18.5197, -15.2664, -16.9707, -16.9707, -15.2664, -18.5197, -13.4188, -19.9013, -11.44, -21.1034, -9.34204, -22.114, -7.137, -22.921, -4.83694, -23.5124, -2.45392, -23.8761, 0, -24, 2.45392, -23.8761, 4.83694, -23.5124, 7.137, -22.921, 9.34204, -22.114, 11.44, -21.1034, 13.4188, -19.9013, 15.2664, -18.5197, 16.9707, -16.9707, 18.5197, -15.2664, 19.9013, -13.4188, 21.1034, -11.44, 22.114, -9.34204, 22.921, -7.137, 23.5124, -4.83694, 23.8761, -2.45392)
|
|
metadata/_edit_lock_ = true
|
|
|
|
[node name="Gradient" type="Polygon2D" parent="."]
|
|
color = Color(1, 1, 1, 0.47451)
|
|
texture = SubResource("GradientTexture2D_qlygp")
|
|
texture_offset = Vector2(24, 24)
|
|
polygon = PackedVector2Array(24, 0, 23.8761, 2.45392, 23.5124, 4.83694, 22.921, 7.137, 22.114, 9.34204, 21.1034, 11.44, 19.9013, 13.4188, 18.5197, 15.2664, 16.9707, 16.9707, 15.2664, 18.5197, 13.4188, 19.9013, 11.44, 21.1034, 9.34204, 22.114, 7.137, 22.921, 4.83694, 23.5124, 2.45392, 23.8761, 0, 24, -2.45392, 23.8761, -4.83694, 23.5124, -7.137, 22.921, -9.34204, 22.114, -11.44, 21.1034, -13.4188, 19.9013, -15.2664, 18.5197, -16.9707, 16.9707, -18.5197, 15.2664, -19.9013, 13.4188, -21.1034, 11.44, -22.114, 9.34204, -22.921, 7.137, -23.5124, 4.83694, -23.8761, 2.45392, -24, 0, -23.8761, -2.45392, -23.5124, -4.83694, -22.921, -7.137, -22.114, -9.34204, -21.1034, -11.44, -19.9013, -13.4188, -18.5197, -15.2664, -16.9707, -16.9707, -15.2664, -18.5197, -13.4188, -19.9013, -11.44, -21.1034, -9.34204, -22.114, -7.137, -22.921, -4.83694, -23.5124, -2.45392, -23.8761, 0, -24, 2.45392, -23.8761, 4.83694, -23.5124, 7.137, -22.921, 9.34204, -22.114, 11.44, -21.1034, 13.4188, -19.9013, 15.2664, -18.5197, 16.9707, -16.9707, 18.5197, -15.2664, 19.9013, -13.4188, 21.1034, -11.44, 22.114, -9.34204, 22.921, -7.137, 23.5124, -4.83694, 23.8761, -2.45392)
|
|
metadata/_edit_lock_ = true
|
|
|
|
[node name="Camera2D" type="Camera2D" parent="."]
|