fix most of the script errors and warnings, fixed a couple tiny bugs in the process :)

This commit is contained in:
Haze Weathers 2024-03-08 15:11:48 -05:00
parent 9435089f21
commit 72733db609
23 changed files with 55 additions and 63 deletions

View file

@ -1,8 +1,7 @@
[gd_scene load_steps=11 format=2]
[gd_scene load_steps=10 format=2]
[ext_resource path="res://graphics/enemy/turtle.png" type="Texture" id=1]
[ext_resource path="res://objects/enemy/turtle.gd" type="Script" id=2]
[ext_resource path="res://objects/enemy/death_particles.tscn" type="PackedScene" id=3]
[ext_resource path="res://shaders/1px_border.gdshader" type="Shader" id=4]
[sub_resource type="ShaderMaterial" id=6]
@ -82,8 +81,9 @@ position = Vector2( 8.5, 4 )
position = Vector2( 11, -0.5 )
shape = SubResource( 3 )
[node name="DeathSplatter" parent="HeadHitbox/HeadShape" instance=ExtResource( 3 )]
[node name="DeathSplatter" parent="HeadHitbox/HeadShape" instance_placeholder="res://objects/enemy/death_particles.tscn"]
unique_name_in_owner = true
autoplay = true
[node name="SpikeHitbox" type="Area2D" parent="."]
@ -94,6 +94,8 @@ shape = SubResource( 5 )
disabled = true
[node name="Platform" type="KinematicBody2D" parent="SpikeHitbox"]
collision_layer = 4
collision_mask = 0
[node name="CollisionShape2D" type="CollisionShape2D" parent="SpikeHitbox/Platform"]
position = Vector2( 8.5, 3 )