This commit is contained in:
Jonas Braus
2024-08-03 16:21:26 +02:00
parent 2242369738
commit 6860fda89c
19 changed files with 8106 additions and 49 deletions
+2 -2
View File
@@ -18,7 +18,7 @@ animations = [{
"speed": 5.0
}]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_w18em"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_aoc4r"]
size = Vector2(48, 8)
[node name="MovePlatform" type="RigidBody2D"]
@@ -33,5 +33,5 @@ veloc = Vector2(0, 50)
sprite_frames = SubResource("SpriteFrames_hdxpr")
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("RectangleShape2D_w18em")
shape = SubResource("RectangleShape2D_aoc4r")
one_way_collision = true
+18
View File
@@ -0,0 +1,18 @@
[gd_scene load_steps=3 format=3 uid="uid://btwegds3up8cn"]
[ext_resource type="Texture2D" uid="uid://dth47lmb44qk8" path="res://assets/items.png" id="1_pvodq"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_c4pt3"]
size = Vector2(48, 8)
[node name="Platform" type="AnimatableBody2D"]
[node name="Sprite2D" type="Sprite2D" parent="."]
z_index = 20
texture = ExtResource("1_pvodq")
region_enabled = true
region_rect = Rect2(63, 38, 48, 8)
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("RectangleShape2D_c4pt3")
one_way_collision = true