Added WIP bouncy platform

This commit is contained in:
2026-01-20 12:00:00 +11:00
parent 494fd2bcf7
commit 8cf357ca68
12 changed files with 94 additions and 3 deletions

View File

@@ -1,8 +1,9 @@
[gd_scene load_steps=10 format=4 uid="uid://b7ndmr6uvnyqb"]
[gd_scene load_steps=11 format=4 uid="uid://b7ndmr6uvnyqb"]
[ext_resource type="Texture2D" uid="uid://ddl0kxl0inw6r" path="res://tiles/atlas.png" id="1_3253y"]
[ext_resource type="Script" uid="uid://c2x51mppxugpn" path="res://boxboy/boxboy.gd" id="1_nxogm"]
[ext_resource type="Texture2D" uid="uid://bpjhq0b2dae1d" path="res://boxboy/boxboy.png" id="1_ulcgi"]
[ext_resource type="PackedScene" uid="uid://b1hpr05b5sgww" path="res://platforms/Bouncy.tscn" id="4_u3cyc"]
[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_u3cyc"]
texture = ExtResource("1_3253y")
@@ -71,4 +72,9 @@ animation = &"idle"
[node name="CollisionShape2D" type="CollisionShape2D" parent="Boxboy"]
shape = SubResource("CapsuleShape2D_ulcgi")
[node name="Camera2D" type="Camera2D" parent="Boxboy"]
[node name="Bouncy" parent="." instance=ExtResource("4_u3cyc")]
position = Vector2(622, 475)
[connection signal="animation_finished" from="Boxboy/AnimatedSprite2D" to="Boxboy" method="_on_animation_finished"]