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

43 lines
2.1 KiB
Text
Raw Normal View History

2023-10-08 01:56:29 +00:00
[gd_scene load_steps=8 format=3 uid="uid://qtk4tm6l367w"]
2023-10-02 13:12:08 +00:00
2023-10-07 00:53:22 +00:00
[ext_resource type="Script" path="res://interface/ghost/ghost.gd" id="1_1bq64"]
2023-10-14 00:59:38 +00:00
[ext_resource type="PackedScene" uid="uid://c3p0jdf7416ac" path="res://converters/shield_converter_obstruction_shape.tscn" id="2_bo8dp"]
2023-10-08 01:56:29 +00:00
[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"]
2023-10-08 01:56:29 +00:00
[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"]
2023-10-02 13:12:08 +00:00
[node name="Ghost" type="Area2D"]
2023-10-02 15:53:13 +00:00
collision_layer = 0
2023-10-02 16:29:05 +00:00
collision_mask = 4294967295
2023-10-02 13:12:08 +00:00
input_pickable = false
2023-10-07 00:53:22 +00:00
script = ExtResource("1_1bq64")
2023-10-02 13:12:08 +00:00
2023-10-07 00:53:22 +00:00
[node name="PlacementShape" parent="." instance=ExtResource("2_bo8dp")]
shape = null
2023-10-02 15:53:13 +00:00
[node name="PreviewSprite" type="Sprite2D" parent="PlacementShape"]
2023-10-02 14:22:03 +00:00
modulate = Color(1, 1, 1, 0.5)
2023-10-02 13:12:08 +00:00
z_index = 10
2023-10-08 01:56:29 +00:00
[node name="PreciseTouchPlacer" parent="." instance=ExtResource("3_70ahv")]
[node name="Instantiator" parent="." instance=ExtResource("4_f7fmh")]
[node name="OverlapChecker" parent="." instance=ExtResource("5_twds7")]
2023-10-13 17:21:07 +00:00
overlap_mask = 8
2023-10-08 01:56:29 +00:00
[node name="PlaceableAreaChecker" parent="." instance=ExtResource("7_wemqm")]
2023-10-13 17:21:07 +00:00
overlap_mask = 16
[node name="OverlapFreer" parent="." instance=ExtResource("6_y1rxa")]
overlap_mask = 4
2023-10-12 16:41:16 +00:00
[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"]
2023-10-13 17:21:07 +00:00
[connection signal="moved" from="PreciseTouchPlacer" to="." method="_on_moved"]
[connection signal="rotated_radians" from="PreciseTouchPlacer" to="." method="_on_rotated_radians"]