Added Grid, and Kind describtion

This commit is contained in:
Jan Schuffenhauer
2020-04-19 13:44:25 +02:00
parent c62dfed8d2
commit e0e6662309
22 changed files with 235 additions and 117 deletions

View File

@@ -1,4 +1,4 @@
extends StaticBody2D
extends Node2D
export(int, 1, 5) var lifePoints = 3
export(int, 1, 30) var spawnRate = 5

View File

@@ -1,16 +1,21 @@
[gd_scene load_steps=5 format=2]
[gd_scene load_steps=6 format=2]
[ext_resource path="res://Overlap/HurtHit_Box/Hurtbox.tscn" type="PackedScene" id=1]
[ext_resource path="res://testSprites/fackel.png" type="Texture" id=2]
[ext_resource path="res://Objects/Torch/Torch.gd" type="Script" id=3]
[ext_resource path="res://Overlap/Kind.tscn" type="PackedScene" id=4]
[sub_resource type="CapsuleShape2D" id=1]
radius = 8.0
height = 12.0
[node name="Torch" type="StaticBody2D"]
[node name="Torch" type="Node2D"]
script = ExtResource( 3 )
[node name="Kind" parent="." instance=ExtResource( 4 )]
general = 4
kind = 2
[node name="Sprite" type="Sprite" parent="."]
position = Vector2( 0, -8 )
texture = ExtResource( 2 )