diff --git a/player.tscn b/player.tscn new file mode 100644 index 0000000..9521b1a --- /dev/null +++ b/player.tscn @@ -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="."] diff --git a/project.godot b/project.godot index 997f7d0..c42aec0 100644 --- a/project.godot +++ b/project.godot @@ -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" diff --git a/tabletop.gd b/tabletop.gd new file mode 100644 index 0000000..57a6ed2 --- /dev/null +++ b/tabletop.gd @@ -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 diff --git a/tabletop.gd.uid b/tabletop.gd.uid new file mode 100644 index 0000000..09b33f0 --- /dev/null +++ b/tabletop.gd.uid @@ -0,0 +1 @@ +uid://cfkew150yl1y3 diff --git a/tabletop.tscn b/tabletop.tscn new file mode 100644 index 0000000..9bd0c02 --- /dev/null +++ b/tabletop.tscn @@ -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")