Изменение размера коллайдера кнопки для более точного понимания когда она должна быть активирована. Также исправляет #2.
This commit is contained in:
parent
6f68068d16
commit
f2675313f7
1 changed files with 2 additions and 2 deletions
|
@ -1,10 +1,10 @@
|
|||
[gd_scene load_steps=4 format=3 uid="uid://bj1ixwjdpnooo"]
|
||||
|
||||
[ext_resource type="SpriteFrames" uid="uid://chfnxa71xs3ww" path="res://sprites/tiles/floor/pressure_plate.tres" id="1_1wdq4"]
|
||||
[ext_resource type="SpriteFrames" uid="uid://8qygv4lq4pjf" path="res://sprites/tiles/floor/pressure_plate.tres" id="1_1wdq4"]
|
||||
[ext_resource type="Script" path="res://scripts/entities/PressurePlate.cs" id="1_httlb"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_1jim7"]
|
||||
size = Vector2(32, 32)
|
||||
size = Vector2(24, 24)
|
||||
|
||||
[node name="pressure_plate" type="Area2D"]
|
||||
z_index = -1
|
||||
|
|
Loading…
Add table
Reference in a new issue