Pong/Scenes/Objects/Enemy.tscn

25 lines
846 B
Text
Raw Normal View History

[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")