diff options
author | bd <bdunahu@operationnull.com> | 2025-05-22 13:50:49 -0400 |
---|---|---|
committer | bd <bdunahu@operationnull.com> | 2025-05-22 13:50:49 -0400 |
commit | 8c5c4863aeacb4afcf70f339df6d601e2df1a7a6 (patch) | |
tree | 6c2af54a18271534864a7a1daed7814ebac5abd1 /scenes/warlock_projectile.tscn | |
parent | 80e145ba2b85e08f895e76ba6a03bb67bc9ce9ea (diff) |
Reorganized files into scenes and scripts
Diffstat (limited to 'scenes/warlock_projectile.tscn')
-rw-r--r-- | scenes/warlock_projectile.tscn | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/scenes/warlock_projectile.tscn b/scenes/warlock_projectile.tscn new file mode 100644 index 0000000..1f21e64 --- /dev/null +++ b/scenes/warlock_projectile.tscn @@ -0,0 +1,28 @@ +[gd_scene load_steps=4 format=3 uid="uid://bjt768hxqfu5h"] + +[ext_resource type="Script" uid="uid://kolqesiin33p" path="res://scripts/warlock_projectile.gd" id="1_lc50e"] +[ext_resource type="Texture2D" uid="uid://di2vybjsniag4" path="res://assets/tilemap.png" id="2_gk4ny"] + +[sub_resource type="CircleShape2D" id="CircleShape2D_0ilu8"] +radius = 8.0 + +[node name="WarlockProjectile" type="CharacterBody2D"] +script = ExtResource("1_lc50e") + +[node name="Sprite2D" type="Sprite2D" parent="."] +scale = Vector2(0.5, 0.5) +texture = ExtResource("2_gk4ny") +region_enabled = true +region_rect = Rect2(432, 320, 16, 16) + +[node name="CollisionShape2D" type="CollisionShape2D" parent="."] +scale = Vector2(0.2, 0.2) +shape = SubResource("CircleShape2D_0ilu8") + +[node name="Area2D" type="Area2D" parent="."] + +[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"] +scale = Vector2(0.3, 0.3) +shape = SubResource("CircleShape2D_0ilu8") + +[connection signal="body_entered" from="Area2D" to="." method="_on_area_2d_body_entered"] |