same as below

This commit is contained in:
Ultrablob 2025-02-05 14:05:36 -05:00
parent 2164eade29
commit cb0ffac056
1674 changed files with 29651 additions and 93 deletions

View file

@ -1,4 +1,4 @@
[gd_scene load_steps=12 format=3 uid="uid://c6ybtahxwpukd"]
[gd_scene load_steps=13 format=3 uid="uid://c6ybtahxwpukd"]
[ext_resource type="Script" path="res://bullet.gd" id="1_3q13i"]
[ext_resource type="Texture2D" uid="uid://fgfa8x6icumw" path="res://bullets.png" id="2_unua3"]
@ -48,6 +48,9 @@ animations = [{
"speed": 7.0
}]
[sub_resource type="CircleShape2D" id="CircleShape2D_13gk7"]
radius = 30.0
[node name="Bullet" type="RigidBody2D" groups=["bullet"]]
collision_layer = 2
physics_material_override = SubResource("PhysicsMaterial_xnhwp")
@ -81,8 +84,8 @@ texture = ExtResource("4_h1jno")
texture_mode = 1
script = ExtResource("5_0jcwc")
[node name="RayCast2D" type="RayCast2D" parent="TrajectoryDisplay"]
target_position = Vector2(5000, 2.08165e-12)
collision_mask = 3
[node name="ShapeCast2D" type="ShapeCast2D" parent="TrajectoryDisplay"]
shape = SubResource("CircleShape2D_13gk7")
target_position = Vector2(500, 2.08165e-12)
[connection signal="body_entered" from="." to="." method="hit"]