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.
30 lines
1.2 KiB
Text
30 lines
1.2 KiB
Text
[gd_scene load_steps=7 format=3 uid="uid://bh3p1hnvsviu6"]
|
|
|
|
[ext_resource type="PackedScene" path="res://Scenes/Objects/Paddle.tscn" id="1_5rs0o"]
|
|
[ext_resource type="Script" path="res://Scripts/Managers/PongSceneManager.cs" id="1_ee533"]
|
|
[ext_resource type="PackedScene" uid="uid://clsmrwvyrt7av" path="res://Scenes/UI/Score.tscn" id="2_f3jwj"]
|
|
[ext_resource type="PackedScene" path="res://Scenes/Objects/Ball.tscn" id="2_u2ksv"]
|
|
[ext_resource type="PackedScene" path="res://Scenes/Objects/Walls.tscn" id="3_jfis7"]
|
|
[ext_resource type="PackedScene" path="res://Scenes/Objects/Enemy.tscn" id="4_uwvof"]
|
|
|
|
[node name="Pong" type="Node2D"]
|
|
script = ExtResource("1_ee533")
|
|
|
|
[node name="Score" parent="." instance=ExtResource("2_f3jwj")]
|
|
|
|
[node name="Paddle" parent="." instance=ExtResource("1_5rs0o")]
|
|
position = Vector2(-350, 0)
|
|
_moveSpeed = 50.0
|
|
|
|
[node name="Camera2D" type="Camera2D" parent="."]
|
|
position = Vector2(0, -2)
|
|
|
|
[node name="Ball" parent="." instance=ExtResource("2_u2ksv")]
|
|
_ballSpeed = 50.0
|
|
_maxRandomAngle = 0.42
|
|
|
|
[node name="Walls" parent="." instance=ExtResource("3_jfis7")]
|
|
|
|
[node name="Enemy" parent="." instance=ExtResource("4_uwvof")]
|
|
position = Vector2(350, 0)
|
|
_moveSpeed = 50.0
|