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:
parent
ddd6c15292
commit
c990b68e07
9
player.tscn
Normal file
9
player.tscn
Normal 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="."]
|
@ -11,5 +11,6 @@ config_version=5
|
|||||||
[application]
|
[application]
|
||||||
|
|
||||||
config/name="mtg-tabletop"
|
config/name="mtg-tabletop"
|
||||||
|
run/main_scene="uid://b4ldtb3gw0jlu"
|
||||||
config/features=PackedStringArray("4.4", "Forward Plus")
|
config/features=PackedStringArray("4.4", "Forward Plus")
|
||||||
config/icon="res://icon.svg"
|
config/icon="res://icon.svg"
|
||||||
|
12
tabletop.gd
Normal file
12
tabletop.gd
Normal 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
1
tabletop.gd.uid
Normal file
@ -0,0 +1 @@
|
|||||||
|
uid://cfkew150yl1y3
|
6
tabletop.tscn
Normal file
6
tabletop.tscn
Normal 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")
|
Loading…
x
Reference in New Issue
Block a user