mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-01 10:05:34 +00:00
FSM Player health and animations
This commit is contained in:
parent
af0261ce8e
commit
f91df43caa
13 changed files with 317 additions and 32 deletions
|
|
@ -10,6 +10,7 @@
|
|||
[ext_resource type="PackedScene" uid="uid://cfb3nsay84xdb" path="res://Scenes/Weapons/crosshair.tscn" id="6_l43rf"]
|
||||
[ext_resource type="Shader" uid="uid://0ruey5bjl7mh" path="res://Shaders/Blink.gdshader" id="6_xugve"]
|
||||
[ext_resource type="SpriteFrames" uid="uid://bc7mghjx75qip" path="res://Resources/Sprites/player.tres" id="7_fd4e3"]
|
||||
[ext_resource type="Material" uid="uid://dnvwgyt2tbqmr" path="res://Resources/Materials/Player_Blink_Teleport_Material.tres" id="7_igrcy"]
|
||||
[ext_resource type="Texture2D" uid="uid://bf37ce6jskdel" path="res://Sprites/SmallHitbox.png" id="7_msn8i"]
|
||||
[ext_resource type="Script" uid="uid://cem7a1agaqtrt" path="res://Scenes/InteractionController.cs" id="7_uvgjg"]
|
||||
[ext_resource type="Texture2D" uid="uid://bwjrdlnysft15" path="res://Sprites/Actors/Focus_Circle.png" id="8_1og8b"]
|
||||
|
|
@ -25,14 +26,6 @@ size = Vector2(6, 6)
|
|||
atlas = ExtResource("2_bwf6x")
|
||||
region = Rect2(0, 0, 8, 16)
|
||||
|
||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_s7co1"]
|
||||
resource_local_to_scene = true
|
||||
shader = ExtResource("6_xugve")
|
||||
shader_parameter/blink_color = Color(1, 0.0705882, 0.0392157, 1)
|
||||
shader_parameter/blink_intensity = 0.0
|
||||
shader_parameter/teleport_progress = 0.0
|
||||
shader_parameter/scanline_density = 0.0
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_lsyrf"]
|
||||
atlas = ExtResource("8_1og8b")
|
||||
region = Rect2(0, 0, 32, 32)
|
||||
|
|
@ -103,7 +96,7 @@ frame = 1
|
|||
|
||||
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="Smoothing2D" groups=["player_sprite"]]
|
||||
y_sort_enabled = true
|
||||
material = SubResource("ShaderMaterial_s7co1")
|
||||
material = ExtResource("7_igrcy")
|
||||
sprite_frames = ExtResource("7_fd4e3")
|
||||
animation = &"walk_left"
|
||||
frame = 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue