[gd_scene load_steps=9 format=3 uid="uid://c8n4lue2bn25n"] [ext_resource type="Script" uid="uid://dgdxx8tceiljg" path="res://Gameplay/Ball.cs" id="1_7ritg"] [ext_resource type="Shader" uid="uid://b6vvt5o0008ob" path="res://shaders/globe.gdshader" id="2_6v01e"] [ext_resource type="Texture2D" uid="uid://duy62uv828xcg" path="res://art/shadow.png" id="4_803qd"] [ext_resource type="Texture2D" uid="uid://c4jron4g4jalp" path="res://art/shine.png" id="5_fkve3"] [ext_resource type="FontFile" uid="uid://dave7ql2luyk1" path="res://fonts/Xolonium-Regular.ttf" id="6_0l1om"] [sub_resource type="PhysicsMaterial" id="PhysicsMaterial_yj7wd"] bounce = 5.0 [sub_resource type="ShaderMaterial" id="ShaderMaterial_yj7wd"] shader = ExtResource("2_6v01e") shader_parameter/scroll_x = 0.0 shader_parameter/scroll_y = 0.0 shader_parameter/rotation = 0.0 shader_parameter/globe_magnitude = 0.0 [sub_resource type="CircleShape2D" id="CircleShape2D_803qd"] radius = 18.0 [node name="Ball" type="RigidBody2D" groups=["balls"]] input_pickable = true physics_material_override = SubResource("PhysicsMaterial_yj7wd") continuous_cd = 2 contact_monitor = true max_contacts_reported = 1 script = ExtResource("1_7ritg") [node name="Texture" type="Sprite2D" parent="."] texture_filter = 1 material = SubResource("ShaderMaterial_yj7wd") [node name="Bounds" type="CollisionShape2D" parent="."] position = Vector2(0, -7.10543e-15) shape = SubResource("CircleShape2D_803qd") [node name="Shadow" type="Sprite2D" parent="."] visible = false position = Vector2(0, -9.36601e-08) scale = Vector2(0.148438, 0.148438) texture = ExtResource("4_803qd") [node name="Shine" type="Sprite2D" parent="."] visible = false position = Vector2(0, -9.36601e-08) scale = Vector2(0.046875, 0.046875) texture = ExtResource("5_fkve3") [node name="Number" type="Label" parent="."] visible = false offset_left = -9.0 offset_top = -10.0 offset_right = 9.0 offset_bottom = 10.0 theme_override_colors/font_color = Color(0, 0, 0, 1) theme_override_fonts/font = ExtResource("6_0l1om") theme_override_font_sizes/font_size = 10 text = "#" horizontal_alignment = 1 vertical_alignment = 1 [connection signal="body_entered" from="." to="." method="OnBodyEntered"] [connection signal="mouse_entered" from="." to="." method="OnMouseEntered"] [connection signal="mouse_exited" from="." to="." method="OnMouseExited"]