1
Fork 0
mirror of https://github.com/Steffo99/swear-jar.git synced 2024-11-25 17:14:20 +00:00
swear-jar/interface/ghost/ghost.tscn

42 lines
2.1 KiB
Text

[gd_scene load_steps=8 format=3 uid="uid://qtk4tm6l367w"]
[ext_resource type="Script" path="res://interface/ghost/ghost.gd" id="1_1bq64"]
[ext_resource type="PackedScene" uid="uid://c3p0jdf7416ac" path="res://converters/full_converter_shape.tscn" id="2_bo8dp"]
[ext_resource type="PackedScene" uid="uid://cgpjm06hleokk" path="res://interface/ghost/precise_touch_placer.tscn" id="3_70ahv"]
[ext_resource type="PackedScene" uid="uid://dhrtfpyfsdf3f" path="res://interface/ghost/instantiator.tscn" id="4_f7fmh"]
[ext_resource type="PackedScene" uid="uid://cm3gvvcsh8i7a" path="res://interface/ghost/overlap_checker.tscn" id="5_twds7"]
[ext_resource type="PackedScene" uid="uid://bu3alsb2ufaxu" path="res://interface/ghost/overlap_freer.tscn" id="6_y1rxa"]
[ext_resource type="PackedScene" uid="uid://blk5uc5ta7nwq" path="res://interface/ghost/placeable_area_checker.tscn" id="7_wemqm"]
[node name="Ghost" type="Area2D"]
collision_layer = 0
collision_mask = 4294967295
input_pickable = false
script = ExtResource("1_1bq64")
[node name="PlacementShape" parent="." instance=ExtResource("2_bo8dp")]
shape = null
[node name="PreviewSprite" type="Sprite2D" parent="PlacementShape"]
modulate = Color(1, 1, 1, 0.5)
z_index = 10
[node name="PreciseTouchPlacer" parent="." instance=ExtResource("3_70ahv")]
[node name="Instantiator" parent="." instance=ExtResource("4_f7fmh")]
[node name="OverlapChecker" parent="." instance=ExtResource("5_twds7")]
overlap_mask = 8
[node name="PlaceableAreaChecker" parent="." instance=ExtResource("7_wemqm")]
overlap_mask = 16
[node name="OverlapFreer" parent="." instance=ExtResource("6_y1rxa")]
overlap_mask = 4
[connection signal="area_entered" from="." to="." method="_on_area_entered"]
[connection signal="area_exited" from="." to="." method="_on_area_exited"]
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
[connection signal="body_exited" from="." to="." method="_on_body_exited"]
[connection signal="moved" from="PreciseTouchPlacer" to="." method="_on_moved"]
[connection signal="rotated_radians" from="PreciseTouchPlacer" to="." method="_on_rotated_radians"]