Fries
425bf2ad27
i added more to the main menu, as it has a settings menu now, that stores its files with json. i also changed the font to atkinson hyperlegible and made a BaseMenu class that takes care of the screen scaling for menus. i also refactored the project folder structure to make it more organized.
24 lines
848 B
Text
24 lines
848 B
Text
[gd_scene load_steps=5 format=3]
|
|
|
|
[ext_resource type="PhysicsMaterial" uid="uid://e05n66x8ug77" path="res://Resources/BouncyMaterial.tres" id="1_76uik"]
|
|
[ext_resource type="Script" path="res://Scripts/Objects/Paddle.cs" id="1_uv7s3"]
|
|
|
|
[sub_resource type="PlaceholderTexture2D" id="PlaceholderTexture2D_iw3nx"]
|
|
size = Vector2(50, 75)
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_dbik4"]
|
|
size = Vector2(12, 150)
|
|
|
|
[node name="Paddle" type="RigidBody2D"]
|
|
collision_mask = 3
|
|
physics_material_override = ExtResource("1_76uik")
|
|
gravity_scale = 0.0
|
|
lock_rotation = true
|
|
script = ExtResource("1_uv7s3")
|
|
|
|
[node name="Sprite" type="Sprite2D" parent="."]
|
|
scale = Vector2(0.25, 2)
|
|
texture = SubResource("PlaceholderTexture2D_iw3nx")
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
shape = SubResource("RectangleShape2D_dbik4")
|