Pong/Scenes/Objects/Enemy.tscn
Fries 425bf2ad27 make a settings menu and general refactoring
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.
2023-05-20 21:42:38 -07:00

24 lines
846 B
Text

[gd_scene load_steps=5 format=3]
[ext_resource type="PhysicsMaterial" uid="uid://e05n66x8ug77" path="res://Resources/BouncyMaterial.tres" id="1_e3kk5"]
[ext_resource type="Script" path="res://Scripts/Objects/Enemy.cs" id="1_fbrtv"]
[sub_resource type="PlaceholderTexture2D" id="PlaceholderTexture2D_iw3nx"]
size = Vector2(50, 75)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_dbik4"]
size = Vector2(12, 150)
[node name="Enemy" type="RigidBody2D"]
collision_mask = 3
physics_material_override = ExtResource("1_e3kk5")
gravity_scale = 0.0
lock_rotation = true
script = ExtResource("1_fbrtv")
[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")