mirror of
https://github.com/Steffo99/swear-jar.git
synced 2024-11-25 00:54:19 +00:00
Make inner wall one-way only
This commit is contained in:
parent
37d7d6e391
commit
0d378f16d4
3 changed files with 3 additions and 11 deletions
|
@ -99,6 +99,7 @@ z_index = 3
|
||||||
position = Vector2(0, 4.5)
|
position = Vector2(0, 4.5)
|
||||||
rotation = 3.14159
|
rotation = 3.14159
|
||||||
shape = SubResource("RectangleShape2D_31dtl")
|
shape = SubResource("RectangleShape2D_31dtl")
|
||||||
|
one_way_collision = true
|
||||||
|
|
||||||
[node name="Collector" parent="." instance=ExtResource("8_tc2oo")]
|
[node name="Collector" parent="." instance=ExtResource("8_tc2oo")]
|
||||||
z_index = 2
|
z_index = 2
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
[gd_scene load_steps=24 format=3 uid="uid://c3rxmcwa5nqng"]
|
[gd_scene load_steps=25 format=3 uid="uid://c3rxmcwa5nqng"]
|
||||||
|
|
||||||
[ext_resource type="Script" path="res://game/game.gd" id="1_i3ly0"]
|
[ext_resource type="Script" path="res://game/game.gd" id="1_i3ly0"]
|
||||||
[ext_resource type="PackedScene" uid="uid://bllsprv8orpn4" path="res://bottle/bottle.tscn" id="1_y7o2l"]
|
[ext_resource type="PackedScene" uid="uid://bllsprv8orpn4" path="res://bottle/bottle.tscn" id="1_y7o2l"]
|
||||||
|
@ -19,7 +19,6 @@
|
||||||
[ext_resource type="Script" path="res://game/DebugTimer.gd" id="13_6ai3c"]
|
[ext_resource type="Script" path="res://game/DebugTimer.gd" id="13_6ai3c"]
|
||||||
[ext_resource type="PackedScene" uid="uid://du3005kwybbrh" path="res://entity/coin_gold/coin_gold.tscn" id="13_8ux81"]
|
[ext_resource type="PackedScene" uid="uid://du3005kwybbrh" path="res://entity/coin_gold/coin_gold.tscn" id="13_8ux81"]
|
||||||
[ext_resource type="PackedScene" uid="uid://qtk4tm6l367w" path="res://interface/ghost.tscn" id="16_8vhx6"]
|
[ext_resource type="PackedScene" uid="uid://qtk4tm6l367w" path="res://interface/ghost.tscn" id="16_8vhx6"]
|
||||||
[ext_resource type="PackedScene" uid="uid://clanhkk4sg47w" path="res://converters/gold_to_coaldiamond/coal_diamond_converter.tscn" id="18_bjs6i"]
|
|
||||||
|
|
||||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_rh35r"]
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_rh35r"]
|
||||||
size = Vector2(240, 384)
|
size = Vector2(240, 384)
|
||||||
|
@ -191,15 +190,7 @@ position = Vector2(405, 540)
|
||||||
shape = SubResource("RectangleShape2D_jed57")
|
shape = SubResource("RectangleShape2D_jed57")
|
||||||
debug_color = Color(0, 0, 0, 0.419608)
|
debug_color = Color(0, 0, 0, 0.419608)
|
||||||
|
|
||||||
[node name="CoalDiamondConverter" parent="." instance=ExtResource("18_bjs6i")]
|
|
||||||
position = Vector2(140, 217)
|
|
||||||
|
|
||||||
[node name="Spawner" parent="CoalDiamondConverter" index="6" node_paths=PackedStringArray("target")]
|
|
||||||
target = NodePath("../..")
|
|
||||||
|
|
||||||
[connection signal="changed" from="Bottle/Evaluator" to="." method="_on_score_changed"]
|
[connection signal="changed" from="Bottle/Evaluator" to="." method="_on_score_changed"]
|
||||||
[connection signal="timeout" from="TimeSpawner/Timer" to="TimeSpawner" method="spawn"]
|
[connection signal="timeout" from="TimeSpawner/Timer" to="TimeSpawner" method="spawn"]
|
||||||
[connection signal="timeout" from="DebugSpawner/DebugTimer" to="DebugSpawner" method="spawn"]
|
[connection signal="timeout" from="DebugSpawner/DebugTimer" to="DebugSpawner" method="spawn"]
|
||||||
[connection signal="collected" from="StoreCollector" to="." method="_on_store_collector_collected"]
|
[connection signal="collected" from="StoreCollector" to="." method="_on_store_collector_collected"]
|
||||||
|
|
||||||
[editable path="CoalDiamondConverter"]
|
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
[ext_resource type="PackedScene" uid="uid://cklkdygv61bny" path="res://interface/shop_ui.tscn" id="2_qj86l"]
|
[ext_resource type="PackedScene" uid="uid://cklkdygv61bny" path="res://interface/shop_ui.tscn" id="2_qj86l"]
|
||||||
[ext_resource type="Script" path="res://interface/custom_ui.gd" id="3_xav0n"]
|
[ext_resource type="Script" path="res://interface/custom_ui.gd" id="3_xav0n"]
|
||||||
[ext_resource type="PackedScene" uid="uid://bo5unrhqpoyim" path="res://interface/game_ui.tscn" id="4_siim3"]
|
[ext_resource type="PackedScene" uid="uid://bo5unrhqpoyim" path="res://interface/game_ui.tscn" id="4_siim3"]
|
||||||
[ext_resource type="PackedScene" path="res://safe_ui.tscn" id="5_2uxda"]
|
[ext_resource type="PackedScene" uid="uid://bpvx3nkkbluip" path="res://safe_ui.tscn" id="5_2uxda"]
|
||||||
[ext_resource type="Script" path="res://game_camera.gd" id="5_xxjtg"]
|
[ext_resource type="Script" path="res://game_camera.gd" id="5_xxjtg"]
|
||||||
|
|
||||||
[sub_resource type="GDScript" id="GDScript_kyj65"]
|
[sub_resource type="GDScript" id="GDScript_kyj65"]
|
||||||
|
|
Loading…
Reference in a new issue