Heal and Fire Particle Basis added

This commit is contained in:
Paul Norberger
2020-04-18 23:52:28 +02:00
parent 4538cbc1bd
commit 5e4b93fb36
7 changed files with 116 additions and 5 deletions

View File

@@ -1,4 +1,4 @@
[gd_scene load_steps=56 format=2]
[gd_scene load_steps=57 format=2]
[ext_resource path="res://Player/Player.gd" type="Script" id=1]
[ext_resource path="res://Player/Player.png" type="Texture" id=2]
@@ -6,6 +6,7 @@
[ext_resource path="res://Overlap/HurtHit_Box/Hitbox.tscn" type="PackedScene" id=4]
[ext_resource path="res://Overlap/Stats/Stats.tscn" type="PackedScene" id=5]
[ext_resource path="res://Fonts/Harmonic/Harmonic.ttf" type="DynamicFontData" id=6]
[ext_resource path="res://Effects/Heal/HealEffect.tscn" type="PackedScene" id=7]
[sub_resource type="CapsuleShape2D" id=1]
radius = 2.15976
@@ -619,6 +620,7 @@ font_data = ExtResource( 6 )
[node name="Player" type="KinematicBody2D"]
script = ExtResource( 1 )
FRICTION = 270
title_scene = "res://Menus/TitleScreen/TitleScreen.tscn"
[node name="Sprite" type="Sprite" parent="."]
position = Vector2( 0.273621, 3.88423 )
@@ -707,6 +709,12 @@ __meta__ = {
[node name="Stats" parent="." instance=ExtResource( 5 )]
max_health = 5
[node name="Effects" type="Node" parent="."]
[node name="HealEffect" parent="Effects" instance=ExtResource( 7 )]
position = Vector2( 0, -3.24489 )
emitting = false
[connection signal="area_entered" from="Hitbox" to="." method="_on_Hitbox_area_entered"]
[connection signal="area_entered" from="Hurtbox" to="." method="_on_Hurtbox_area_entered"]
[connection signal="area_exited" from="Hurtbox" to="." method="_on_Hurtbox_area_exited"]