fixed script bugs

This commit is contained in:
Jonas Mucke
2020-04-18 19:09:22 +02:00
parent e6d0cf5203
commit f111f75133
14 changed files with 46 additions and 25 deletions

View File

@@ -0,0 +1,5 @@
extends Node2D
func _on_Hurtbox_area_entered(area):
queue_free()

View File

@@ -1,7 +1,7 @@
[gd_scene load_steps=5 format=2]
[ext_resource path="res://Overlap/HurtHit_Box/Hurtbox.tscn" type="PackedScene" id=1]
[ext_resource path="res://Objects/Banana/Bannana.gd" type="Script" id=2]
[ext_resource path="res://Objects/Heart/Heart.gd" type="Script" id=2]
[ext_resource path="res://testSprites/Herz.png" type="Texture" id=3]
[sub_resource type="CapsuleShape2D" id=1]