mirror of
https://github.com/creyD/ludum_dare_46.git
synced 2026-06-12 21:42:23 +02:00
fixed script bugs
This commit is contained in:
5
src/Objects/Heart/Heart.gd
Normal file
5
src/Objects/Heart/Heart.gd
Normal file
@@ -0,0 +1,5 @@
|
||||
extends Node2D
|
||||
|
||||
|
||||
func _on_Hurtbox_area_entered(area):
|
||||
queue_free()
|
||||
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user