Allelic crossingover
This commit is contained in:
parent
a57bdc52d0
commit
471f14c19e
26 changed files with 334 additions and 4 deletions
|
|
@ -1,9 +1,58 @@
|
|||
[gd_scene format=3 uid="uid://bh0bpqalry5my"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://dme2xuu2886mk" path="res://assets/sprites/grid.png" id="1_nnsk1"]
|
||||
[ext_resource type="Script" uid="uid://g1poxl04shm6" path="res://ui/debug_modifiers.gd" id="2_rwgxs"]
|
||||
|
||||
[node name="World" type="Node2D" unique_id=1672334032]
|
||||
|
||||
[node name="GodotGenome" type="GodotGenome" parent="." unique_id=1134546682]
|
||||
from_plant = "CherryBomb"
|
||||
[node name="Camera2D" type="Camera2D" parent="." unique_id=1587010905]
|
||||
position = Vector2(271, 151)
|
||||
zoom = Vector2(1.825, 1.825)
|
||||
|
||||
[node name="Plant" type="Plant" parent="." unique_id=1494298949 node_paths=PackedStringArray("genome")]
|
||||
genome = NodePath("../GodotGenome")
|
||||
[node name="GenomeA" type="GodotGenome" parent="." unique_id=1134546682]
|
||||
from_plant = "Peashooter"
|
||||
|
||||
[node name="GenomeB" type="GodotGenome" parent="." unique_id=1110322162]
|
||||
from_plant = "Sunflower"
|
||||
|
||||
[node name="GenomeADisplay" type="Plant" parent="." unique_id=1494298949 node_paths=PackedStringArray("genome")]
|
||||
genome = NodePath("../GenomeA")
|
||||
position = Vector2(271, 151)
|
||||
|
||||
[node name="GenomeBDisplay" type="Plant" parent="." unique_id=1637617745 node_paths=PackedStringArray("genome")]
|
||||
genome = NodePath("../GenomeB")
|
||||
position = Vector2(333, 151)
|
||||
|
||||
[node name="Grid" type="Sprite2D" parent="." unique_id=1161746624]
|
||||
z_index = -10
|
||||
texture = ExtResource("1_nnsk1")
|
||||
centered = false
|
||||
|
||||
[node name="CanvasLayer" type="CanvasLayer" parent="." unique_id=1946950805]
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="CanvasLayer" unique_id=277004490]
|
||||
anchors_preset = 12
|
||||
anchor_top = 1.0
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 0
|
||||
script = ExtResource("2_rwgxs")
|
||||
|
||||
[node name="Allelic" type="Button" parent="CanvasLayer/HBoxContainer" unique_id=564440120]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
text = "Аллельная трансформация"
|
||||
|
||||
[node name="Categoric" type="Button" parent="CanvasLayer/HBoxContainer" unique_id=741994465]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
text = "Категориальная трансформация"
|
||||
|
||||
[node name="ReferencePairModifier" type="ReferencePairModifier" parent="CanvasLayer" unique_id=2068562861 node_paths=PackedStringArray("godot_genome_a", "godot_genome_b")]
|
||||
godot_genome_a = NodePath("../../GenomeA")
|
||||
godot_genome_b = NodePath("../../GenomeB")
|
||||
|
||||
[connection signal="genome_updated" from="GenomeA" to="CanvasLayer/HBoxContainer" method="_on_genome_a_genome_updated"]
|
||||
[connection signal="pressed" from="CanvasLayer/HBoxContainer/Allelic" to="CanvasLayer/HBoxContainer" method="_on_allelic_pressed"]
|
||||
[connection signal="pressed" from="CanvasLayer/HBoxContainer/Categoric" to="CanvasLayer/HBoxContainer" method="_on_categoric_pressed"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue