moveable
This commit is contained in:
parent
abb54d45ca
commit
6a9a99389c
8 changed files with 39 additions and 4 deletions
18
gmtk_2024/objects/BoxPushable_1.tscn
Normal file
18
gmtk_2024/objects/BoxPushable_1.tscn
Normal file
|
@ -0,0 +1,18 @@
|
|||
[gd_scene load_steps=4 format=3 uid="uid://d17jpcgayfg6i"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://buqgl7x10et1f" path="res://temp_assets/img.png" id="1_ocrks"]
|
||||
[ext_resource type="Script" path="res://scripts/pushable.gd" id="1_tf1fy"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_legx4"]
|
||||
size = Vector2(34, 32)
|
||||
|
||||
[node name="BoxPushable1" type="CharacterBody2D"]
|
||||
collision_layer = 16
|
||||
collision_mask = 5
|
||||
script = ExtResource("1_tf1fy")
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
shape = SubResource("RectangleShape2D_legx4")
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||||
texture = ExtResource("1_ocrks")
|
Loading…
Add table
Add a link
Reference in a new issue