mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-17 11:33:47 +00:00
Weapon Sprites
This commit is contained in:
parent
b4a35ac3d4
commit
f4f193af7a
19 changed files with 321 additions and 42 deletions
|
|
@ -1,4 +1,4 @@
|
|||
[gd_scene load_steps=28 format=3 uid="uid://bghghp5ep4w2j"]
|
||||
[gd_scene load_steps=29 format=3 uid="uid://bghghp5ep4w2j"]
|
||||
|
||||
[ext_resource type="Script" path="res://Scripts/PlayerMovement.cs" id="1_m27vu"]
|
||||
[ext_resource type="Texture2D" uid="uid://la06powu57hu" path="res://Sprites/Cirno_Big.png" id="2_bwf6x"]
|
||||
|
|
@ -8,6 +8,7 @@
|
|||
[ext_resource type="PackedScene" uid="uid://cfb3nsay84xdb" path="res://Scenes/Weapons/crosshair.tscn" id="6_l43rf"]
|
||||
[ext_resource type="Texture2D" uid="uid://bf37ce6jskdel" path="res://Sprites/SmallHitbox.png" id="7_msn8i"]
|
||||
[ext_resource type="Script" path="res://Scenes/InteractionController.cs" id="7_uvgjg"]
|
||||
[ext_resource type="Resource" uid="uid://b8apu0l5fm4k" path="res://Resources/Weapons/IcicleGun.tres" id="9_84o8f"]
|
||||
[ext_resource type="PackedScene" uid="uid://crry0rgk7a8sm" path="res://Scenes/Weapons/BaseWeapon.tscn" id="9_wblq0"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_ai4rh"]
|
||||
|
|
@ -210,12 +211,9 @@ shape = SubResource("CircleShape2D_e6woi")
|
|||
debug_color = Color(1, 0.00817797, 0.0443347, 0.42)
|
||||
|
||||
[node name="Weapon" parent="." node_paths=PackedStringArray("Muzzle") instance=ExtResource("9_wblq0")]
|
||||
WeaponData = ExtResource("9_84o8f")
|
||||
BulletScene = ExtResource("2_ov36d")
|
||||
Muzzle = NodePath("../Muzzle")
|
||||
RateOfFire = 0.1
|
||||
BulletCapacity = 100
|
||||
ReloadTime = 0.4
|
||||
BulletSpeed = 300.0
|
||||
|
||||
[connection signal="area_entered" from="InteractionController" to="." method="_on_interaction_controller_area_entered"]
|
||||
[connection signal="area_exited" from="InteractionController" to="." method="_on_interaction_controller_area_exited"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue