88[ext_resource type ="Texture2D" uid ="uid://d0ywqw1j1k71v" path ="res://scenes/ChestScene/assets/Chest.png" id ="6_58hf4" ]
99[ext_resource type ="Texture2D" uid ="uid://dbjotl0v1ymia" path ="res://scenes/BattleDirector/assets/BattleFrame1.png" id ="7_kkck7" ]
1010
11- [sub_resource type ="ShaderMaterial" id ="ShaderMaterial_4lvcv " ]
11+ [sub_resource type ="ShaderMaterial" id ="ShaderMaterial_8x17a " ]
1212shader = ExtResource ("5_whthd" )
1313shader_parameter/bg_top_color = Vector4(0.18 , 0.08, 0.12, 0)
1414shader_parameter/bg_bottom_color = Vector4(0.028 , 0.008, 0.184, 0)
15- shader_parameter/gradient_ratio = 1.22
15+ shader_parameter/gradient_ratio = 1.0
1616shader_parameter/time_scale = 1.0
1717
1818[node name ="ChestScene" type ="Node2D" node_paths =PackedStringArray ("ChestButton" )]
@@ -33,15 +33,6 @@ offset_right = 640.0
3333offset_bottom = 178.0
3434texture = ExtResource ("6_37nar" )
3535
36- [node name ="StarShader" type ="ColorRect" parent ="." ]
37- z_index = -1
38- material = SubResource ("ShaderMaterial_4lvcv" )
39- offset_top = 180.0
40- offset_right = 255.0
41- offset_bottom = 262.0
42- scale = Vector2 (2.18 , 2.18 )
43- color = Color (0 , 0 , 0 , 1 )
44-
4536[node name ="BattleFrame" type ="TextureRect" parent ="." ]
4637z_index = 1
4738offset_top = 178.0
@@ -55,3 +46,23 @@ offset_top = 126.0
5546offset_right = 431.0
5647offset_bottom = 166.0
5748icon = ExtResource ("6_58hf4" )
49+
50+ [node name ="SubViewportContainer" type ="SubViewportContainer" parent ="." ]
51+ z_index = -2
52+ offset_top = 178.0
53+ offset_right = 560.0
54+ offset_bottom = 358.0
55+
56+ [node name ="SubViewport" type ="SubViewport" parent ="SubViewportContainer" ]
57+ handle_input_locally = false
58+ size = Vector2i (560 , 180 )
59+ render_target_update_mode = 4
60+
61+ [node name ="StarShader" type ="ColorRect" parent ="SubViewportContainer/SubViewport" ]
62+ z_index = -1
63+ material = SubResource ("ShaderMaterial_8x17a" )
64+ offset_left = -60.0
65+ offset_right = 415.0
66+ offset_bottom = 177.0
67+ scale = Vector2 (2.18 , 2.18 )
68+ color = Color (0 , 0 , 0 , 1 )
0 commit comments