Reimu Patterns

This commit is contained in:
Marco 2025-06-08 13:23:45 +02:00
commit 37bcf8b2d0
8 changed files with 189 additions and 49 deletions

View file

@ -40,7 +40,7 @@ radius = 23.0217
radius = 92.0054
[sub_resource type="CircleShape2D" id="CircleShape2D_6x22m"]
radius = 24.0156
radius = 11.0454
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_poxpj"]
particle_flag_disable_z = true
@ -164,7 +164,6 @@ Debris = ExtResource("18_ptfne")
DeleteParentOnDeath = false
[node name="CollisionShape2D" type="CollisionShape2D" parent="DamageReceiver"]
position = Vector2(0, 3.865)
shape = SubResource("CircleShape2D_6x22m")
[node name="Health" type="Node2D" parent="DamageReceiver"]

View file

@ -39,7 +39,8 @@ shape = SubResource("CircleShape2D_vvpve")
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
sprite_frames = SubResource("SpriteFrames_b2dxw")
autoplay = "default"
frame_progress = 0.061742
frame = 1
frame_progress = 0.771292
[node name="ActivationSound" type="AudioStreamPlayer2D" parent="."]
stream = ExtResource("3_54bnp")

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,36 @@
[gd_scene load_steps=6 format=3 uid="uid://bdb2kledtug42"]
[ext_resource type="Script" uid="uid://dsa4b75hdig8p" path="res://Scripts/Bullet.cs" id="1_fd5og"]
[ext_resource type="Texture2D" uid="uid://bo74kojbs1gvy" path="res://Sprites/Bullets/Reimu_Card_Red.png" id="2_sjysk"]
[ext_resource type="PackedScene" uid="uid://m88tchaflpln" path="res://Scenes/Misc/graze_sound.tscn" id="3_ggjtb"]
[ext_resource type="PackedScene" uid="uid://ce83htrsiu7qa" path="res://Scenes/Misc/graze_particles.tscn" id="4_y4ab0"]
[sub_resource type="CircleShape2D" id="CircleShape2D_jxptd"]
radius = 2.23607
[node name="Bullet" type="Area2D" groups=["bullets"]]
collision_layer = 128
collision_mask = 71
script = ExtResource("1_fd5og")
Speed = 200.0
metadata/_edit_group_ = true
[node name="Sprite2D" type="Sprite2D" parent="."]
modulate = Color(0, 0.713726, 0.933333, 1)
texture = ExtResource("2_sjysk")
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("CircleShape2D_jxptd")
[node name="Node2D" type="Node2D" parent="."]
editor_description = "Player Bullet"
[node name="VisibleOnScreenNotifier2D" type="VisibleOnScreenNotifier2D" parent="."]
[node name="AudioStreamPlayer2D" parent="." instance=ExtResource("3_ggjtb")]
[node name="GrazeParticles" parent="." instance=ExtResource("4_y4ab0")]
[connection signal="area_entered" from="." to="." method="_on_area_entered"]
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
[connection signal="screen_exited" from="VisibleOnScreenNotifier2D" to="." method="_on_visible_on_screen_notifier_2d_screen_exited"]