starfighter/MB_FYP/scenes/system/border.tscn

25 lines
785 B
Plaintext

[gd_scene load_steps=4 format=3 uid="uid://4fnk5c2nf6a1"]
[sub_resource type="Gradient" id="Gradient_r1ux2"]
colors = PackedColorArray(0.860617, 0.000590083, 0.860611, 0.509804, 1, 0.396078, 1, 0.25098)
[sub_resource type="GradientTexture2D" id="GradientTexture2D_70k44"]
gradient = SubResource("Gradient_r1ux2")
width = 100
height = 100
fill_from = Vector2(0, 0.417391)
fill_to = Vector2(0, 1)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_yhatp"]
size = Vector2(100, 100)
[node name="Border" type="StaticBody2D"]
collision_layer = 4
collision_mask = 15
[node name="Sprite2D" type="Sprite2D" parent="."]
texture = SubResource("GradientTexture2D_70k44")
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("RectangleShape2D_yhatp")