null 30580b5290
All checks were successful
Deploy Promiscuity Auth API / deploy (push) Successful in 46s
Deploy Promiscuity Character API / deploy (push) Successful in 44s
Deploy Promiscuity Locations API / deploy (push) Successful in 46s
k8s smoke test / test (push) Successful in 7s
Experimenting with multiple packed scene instances.
2026-03-02 13:03:43 -06:00

23 lines
527 B
GDScript

extends Node2D
var card_scene = preload("uid://cqumma8ibtbsx")
func _ready():
var size = get_viewport().get_visible_rect().size
var card1 = card_scene.instantiate()
card1.card_text = "Test Card 1"
card1.card_name = "Card 1"
card1.card_cost = 1
card1.position = Vector2(size.x / 2 - 100, size.y / 2)
add_child(card1)
var card2 = card_scene.instantiate()
card2.card_text = "Test Card 2"
card2.card_name = "Card 2"
card2.card_cost = 2
card2.position = Vector2(size.x / 2 + 100, size.y / 2)
add_child(card2)