Traps updated, Live and Collactables added

This commit is contained in:
Jan Schuffenhauer
2020-04-18 18:56:05 +02:00
parent b0a35659d9
commit dd01067dac
30 changed files with 240 additions and 103 deletions

View File

@@ -0,0 +1,3 @@
extends Area2D
export(float,-42.0,42.0) var damage := 1.0

View File

@@ -0,0 +1,8 @@
[gd_scene load_steps=2 format=2]
[ext_resource path="res://Overlap/HurtHit_Box/Hitbox.gd" type="Script" id=1]
[node name="Hitbox" type="Area2D"]
script = ExtResource( 1 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]

View File

@@ -0,0 +1,5 @@
extends Area2D
export(int, 0, 20) var currency_value:=0
export(int, 0, 2) var health_value:=0
export(int, 0, 300) var slowdown_value:=0

View File

@@ -0,0 +1,8 @@
[gd_scene load_steps=2 format=2]
[ext_resource path="res://Overlap/HurtHit_Box/Hurtbox.gd" type="Script" id=1]
[node name="Hurtbox" type="Area2D"]
script = ExtResource( 1 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]