Adds some nodes, notably the root tabletop scene and a scene representing a player along with nodes for the hand, local field, and library

This commit is contained in:
ShyProton 2025-04-22 02:30:17 -04:00
parent ddd6c15292
commit c990b68e07
5 changed files with 29 additions and 0 deletions

9
player.tscn Normal file
View File

@ -0,0 +1,9 @@
[gd_scene format=3 uid="uid://cx0vga81xwckh"]
[node name="Player" type="Node2D"]
[node name="Field" type="Node2D" parent="."]
[node name="Hand" type="Node2D" parent="."]
[node name="Library" type="Node2D" parent="."]

View File

@ -11,5 +11,6 @@ config_version=5
[application]
config/name="mtg-tabletop"
run/main_scene="uid://b4ldtb3gw0jlu"
config/features=PackedStringArray("4.4", "Forward Plus")
config/icon="res://icon.svg"

12
tabletop.gd Normal file
View File

@ -0,0 +1,12 @@
extends Node2D
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
# TODO: Create 2-4 player instances as children of this tabletop node.
pass # Replace with function body.
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta: float) -> void:
pass

1
tabletop.gd.uid Normal file
View File

@ -0,0 +1 @@
uid://cfkew150yl1y3

6
tabletop.tscn Normal file
View File

@ -0,0 +1,6 @@
[gd_scene load_steps=2 format=3 uid="uid://b4ldtb3gw0jlu"]
[ext_resource type="Script" uid="uid://cfkew150yl1y3" path="res://tabletop.gd" id="1_3we3x"]
[node name="Tabletop" type="Node2D"]
script = ExtResource("1_3we3x")