Level1 修改s4,s9;s10设计中
This commit is contained in:
parent
15f9b93d95
commit
b1fa8edf53
|
|
@ -1,4 +1,4 @@
|
|||
[gd_scene load_steps=13 format=3 uid="uid://3vc8ojbiyy5w"]
|
||||
[gd_scene load_steps=14 format=3 uid="uid://3vc8ojbiyy5w"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://crgac4manhoud" path="res://_game/game.gd" id="1_yksyv"]
|
||||
[ext_resource type="PackedScene" uid="uid://cvqehvdjpoar4" path="res://_player/player_controller.tscn" id="2_x2i0j"]
|
||||
|
|
@ -12,6 +12,7 @@
|
|||
[ext_resource type="PackedScene" uid="uid://dr8a26hfqkh12" path="res://_scene/level1/l1_s7.tscn" id="10_5s0xe"]
|
||||
[ext_resource type="PackedScene" uid="uid://2d457ndb7toe" path="res://_scene/level1/l1_s8.tscn" id="11_ktxjv"]
|
||||
[ext_resource type="PackedScene" uid="uid://dcoq4q3brnkw6" path="res://_scene/level1/l1_s9.tscn" id="12_enubi"]
|
||||
[ext_resource type="PackedScene" uid="uid://dsw3o2bhc8bve" path="res://_scene/level1/l1_s10.tscn" id="13_53pmm"]
|
||||
|
||||
[node name="Game" type="Node2D" groups=["PLAYER_RESPAWN"]]
|
||||
script = ExtResource("1_yksyv")
|
||||
|
|
@ -37,3 +38,5 @@ script = ExtResource("1_yksyv")
|
|||
[node name="L1_S8" parent="." groups=["GRAPABLE"] instance=ExtResource("11_ktxjv")]
|
||||
|
||||
[node name="L1_S9" parent="." instance=ExtResource("12_enubi")]
|
||||
|
||||
[node name="L1_S10" parent="." instance=ExtResource("13_53pmm")]
|
||||
|
|
|
|||
|
|
@ -5,11 +5,11 @@ func _ready() -> void:
|
|||
#$L1_S1.switch_act_by_id(1)
|
||||
#$L1_S2.switch_act_by_id(1)
|
||||
#$L1_S3.switch_act_by_id(1)
|
||||
#$L1_S4.switch_act_by_id(1)
|
||||
$L1_S4.switch_act_by_id(1)
|
||||
#$L1_S5.switch_act_by_id(1)
|
||||
#$L1_S6.switch_act_by_id(1)
|
||||
#$L1_S7.switch_act_by_id(1)
|
||||
$L1_S8.switch_act_by_id(1)
|
||||
#$L1_S8.switch_act_by_id(1)
|
||||
#$L1_S9.switch_act_by_id(1)
|
||||
await get_tree().process_frame
|
||||
get_tree().call_group(&"PLAYER_RESPAWN",&"respawn_avatar")
|
||||
|
|
|
|||
|
|
@ -41,10 +41,10 @@
|
|||
radius = 3.0
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_qnulu"]
|
||||
size = Vector2(9, 23)
|
||||
size = Vector2(9, 11.5)
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_ogl63"]
|
||||
size = Vector2(10, 25)
|
||||
size = Vector2(10, 10)
|
||||
|
||||
[node name="Avatar" type="CharacterBody2D" groups=["PLAYER"]]
|
||||
collision_layer = 2
|
||||
|
|
@ -71,6 +71,7 @@ debug_color = Color(0, 0.63529414, 0.40784314, 0.41960785)
|
|||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
unique_name_in_owner = true
|
||||
position = Vector2(0, 5.75)
|
||||
shape = SubResource("RectangleShape2D_qnulu")
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||||
|
|
@ -207,7 +208,7 @@ collision_layer = 0
|
|||
collision_mask = 8
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="HitBox"]
|
||||
position = Vector2(0, -2.5)
|
||||
position = Vector2(0, 5)
|
||||
shape = SubResource("RectangleShape2D_ogl63")
|
||||
debug_color = Color(0.95815283, 0, 0.5313341, 0.41960785)
|
||||
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue