nsomva/scenes/game.tscn
2026-02-19 19:33:33 +05:00

67 lines
2.3 KiB
Text

[gd_scene format=3 uid="uid://bxt4kgs6px3t8"]
[ext_resource type="Texture2D" uid="uid://b2pm032d5tqwb" path="res://sprites/field.png" id="1_iywne"]
[ext_resource type="PackedScene" uid="uid://dl3ve6prnn2m6" path="res://cards/card.tscn" id="2_p57ef"]
[ext_resource type="Script" uid="uid://caf4h6lok18so" path="res://ui/hand.gd" id="2_u5sy4"]
[ext_resource type="Resource" uid="uid://e7kiu3wcf0ff" path="res://cards/resources/fosma.tres" id="3_u5sy4"]
[ext_resource type="Resource" uid="uid://djqlx7bmcs5gj" path="res://cards/resources/doh.tres" id="4_gee14"]
[ext_resource type="Resource" uid="uid://b6kiwb0marpng" path="res://cards/resources/zlosma.tres" id="5_0tnpc"]
[node name="Game" type="Node2D" unique_id=619820575]
[node name="Field" type="Sprite2D" parent="." unique_id=1104378711]
texture = ExtResource("1_iywne")
centered = false
[node name="PlayerInterface" type="CanvasLayer" parent="." unique_id=269857956]
[node name="Hand" type="Control" parent="PlayerInterface" unique_id=403305026]
layout_mode = 3
anchors_preset = 12
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 0
pivot_offset_ratio = Vector2(0.5, 0.5)
script = ExtResource("2_u5sy4")
[node name="Card" parent="PlayerInterface/Hand" unique_id=267582807 instance=ExtResource("2_p57ef")]
layout_mode = 0
anchors_preset = 0
anchor_right = 0.0
anchor_bottom = 0.0
offset_left = 402.0
offset_right = 515.0
offset_bottom = 169.0
card_resource = ExtResource("3_u5sy4")
[node name="Card2" parent="PlayerInterface/Hand" unique_id=1229293312 instance=ExtResource("2_p57ef")]
layout_mode = 0
anchors_preset = 0
anchor_right = 0.0
anchor_bottom = 0.0
offset_left = 519.0
offset_right = 632.0
offset_bottom = 169.0
card_resource = ExtResource("4_gee14")
[node name="Card4" parent="PlayerInterface/Hand" unique_id=1427311772 instance=ExtResource("2_p57ef")]
layout_mode = 0
anchors_preset = 0
anchor_right = 0.0
anchor_bottom = 0.0
offset_left = 804.0
offset_right = 917.0
offset_bottom = 169.0
card_resource = ExtResource("3_u5sy4")
[node name="Card3" parent="PlayerInterface/Hand" unique_id=1907397406 instance=ExtResource("2_p57ef")]
layout_mode = 0
anchors_preset = 0
anchor_right = 0.0
anchor_bottom = 0.0
offset_left = 636.0
offset_right = 749.0
offset_bottom = 169.0
card_resource = ExtResource("5_0tnpc")