taqin/game/src/Piece.tscn

65 lines
1.3 KiB
Plaintext

[gd_scene load_steps=5 format=2]
[ext_resource path="res://src/Piece.gd" type="Script" id=1]
[sub_resource type="VisualShaderNodeColorConstant" id=1]
constant = Color( 0.73997, 0.960938, 0.446686, 1 )
[sub_resource type="VisualShader" id=2]
code = "shader_type canvas_item;
void vertex() {
// Output:0
}
void fragment() {
// Color:2
vec3 n_out2p0;
float n_out2p1;
n_out2p0 = vec3(0.739970,0.960938,0.446686);
n_out2p1 = 1.000000;
// Output:0
COLOR.rgb = n_out2p0;
}
void light() {
// Output:0
}
"
mode = 1
flags/light_only = false
nodes/fragment/0/position = Vector2( 380, 80 )
nodes/fragment/2/node = SubResource( 1 )
nodes/fragment/2/position = Vector2( 140, 80 )
nodes/fragment/connections = PoolIntArray( 2, 0, 0, 0 )
[sub_resource type="ShaderMaterial" id=3]
shader = SubResource( 2 )
[node name="Piece" type="Node2D"]
script = ExtResource( 1 )
[node name="ColorRect" type="ColorRect" parent="."]
material = SubResource( 3 )
anchor_right = 1.0
anchor_bottom = 1.0
margin_right = 128.0
margin_bottom = 128.0
[node name="Label" type="Label" parent="ColorRect"]
margin_left = 10.0
margin_top = 10.0
margin_right = 50.0
margin_bottom = 50.0
rect_scale = Vector2( 3, 3 )
rect_clip_content = true
size_flags_vertical = 1
custom_colors/font_color = Color( 0, 0, 0, 1 )
text = "0"