Began block restructure
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Debugman committed 2026-11-07 15:16:33 -06:00
1 parent c40cbc4574
commit 231629d91e
28 files changed
+434 -91

No files matched your search

+54
View File
@@ -0,0 +1,54 @@
[gd_scene format=3 uid="uid://ckqable762x8v"]
[ext_resource type="Script" uid="uid://b65ci82qp1pa0" path="res://level_editor/blocks/block_simple.gd" id="1_64qyq"]
[ext_resource type="Script" uid="uid://2nvcig3fqetr" path="res://level_editor/blocks/block_spike.gd" id="2_rhp63"]
[ext_resource type="Texture2D" uid="uid://blbaaqyrt8dtk" path="res://art/block/block.png" id="2_xmhd5"]
[ext_resource type="Texture2D" uid="uid://bu5wgerfu7cbc" path="res://art/spike.png" id="3_rhp63"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_f3sb7"]
size = Vector2(16, 14)
[sub_resource type="SpriteFrames" id="SpriteFrames_q6akc"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": ExtResource("2_xmhd5")
}],
"loop": 1,
"name": &"block_simple",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": ExtResource("3_rhp63")
}],
"loop": 1,
"name": &"block_spike",
"speed": 5.0
}]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_lxo14"]
[node name="Block_Simple" type="RigidBody2D" unique_id=1409784601]
gravity_scale = 0.0
freeze = true
script = ExtResource("1_64qyq")
block_type = ExtResource("2_rhp63")
tags = [null]
[node name="BlockShape" type="CollisionShape2D" parent="." unique_id=1866755047]
shape = SubResource("RectangleShape2D_f3sb7")
[node name="Sprite" type="AnimatedSprite2D" parent="." unique_id=321127444]
texture_filter = 1
sprite_frames = SubResource("SpriteFrames_q6akc")
animation = &"block_simple"
autoplay = "block_simple"
[node name="EffectCollision" type="Area2D" parent="." unique_id=1756054567]
[node name="EffectShape" type="CollisionShape2D" parent="EffectCollision" unique_id=392861580]
shape = SubResource("RectangleShape2D_lxo14")
[connection signal="body_entered" from="EffectCollision" to="." method="on_player_near"]
[connection signal="body_exited" from="EffectCollision" to="." method="on_player_leave"]