48 lines
1.2 KiB
Plaintext
48 lines
1.2 KiB
Plaintext
[gd_scene load_steps=4 format=2]
|
|
|
|
[ext_resource path="res://scripts/GameField.gd" type="Script" id=1]
|
|
[ext_resource path="res://GridLines.shader" type="Shader" id=2]
|
|
|
|
[sub_resource type="ShaderMaterial" id=1]
|
|
shader = ExtResource( 2 )
|
|
shader_param/rows = 44.0
|
|
shader_param/cols = 63.0
|
|
shader_param/color_unmarked = Color( 0.5, 0.5, 0.5, 1 )
|
|
shader_param/color_marked = Color( 0, 0, 1, 1 )
|
|
shader_param/color_crossed = Color( 1, 0, 0, 1 )
|
|
shader_param/line_thickness = 0.1
|
|
shader_param/line_offset = 0.05
|
|
|
|
[node name="Control" type="Control"]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="GameField" type="ColorRect" parent="."]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
color = Color( 0.8, 0.8, 0.8, 1 )
|
|
script = ExtResource( 1 )
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="TextureRect" type="TextureRect" parent="GameField"]
|
|
material = SubResource( 1 )
|
|
margin_top = -2.0
|
|
margin_right = 40.0
|
|
margin_bottom = 38.0
|
|
expand = true
|
|
stretch_mode = 1
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|