Added hidden card game.
All checks were successful
Deploy Promiscuity Auth API / deploy (push) Successful in 46s
Deploy Promiscuity Character API / deploy (push) Successful in 43s
Deploy Promiscuity Locations API / deploy (push) Successful in 46s
k8s smoke test / test (push) Successful in 7s

This commit is contained in:
null 2026-02-13 12:30:24 -06:00
parent 6dc4d53ba0
commit f4ff1308b8
11 changed files with 125 additions and 8 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 519 KiB

View File

@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bstshxshmlfiq"
path="res://.godot/imported/card.webp-99b23fadea1c063dd14bdfc3719125c0.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/images/card.webp"
dest_files=["res://.godot/imported/card.webp-99b23fadea1c063dd14bdfc3719125c0.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View File

@ -0,0 +1,14 @@
extends Node2D
@export var card_name: String
@export var card_text: String
@export var card_cost: int
@onready var card_name_node := $CardName
@onready var card_text_node := $CardText
@onready var card_cost_node := $CardCost
func _ready():
card_name_node.text = card_name
card_text_node.text = card_text
card_cost_node.text = str(card_cost)

View File

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

View File

@ -0,0 +1,39 @@
[gd_scene load_steps=3 format=3 uid="uid://cqumma8ibtbsx"]
[ext_resource type="Script" uid="uid://chk06witxlje" path="res://scenes/CardGame/card.gd" id="1_qu2n3"]
[ext_resource type="Texture2D" uid="uid://bstshxshmlfiq" path="res://assets/images/card.webp" id="2_xgndj"]
[node name="Card" type="Node2D"]
script = ExtResource("1_qu2n3")
[node name="CardBackbround" type="Sprite2D" parent="."]
scale = Vector2(0.25, 0.25)
texture = ExtResource("2_xgndj")
[node name="CardName" type="Label" parent="."]
offset_left = -44.0
offset_top = 22.0
offset_right = 47.0
offset_bottom = 45.0
horizontal_alignment = 1
vertical_alignment = 1
[node name="CardText" type="RichTextLabel" parent="."]
offset_left = -75.0
offset_top = 64.0
offset_right = 75.0
offset_bottom = 115.0
text = "Test Text"
horizontal_alignment = 1
vertical_alignment = 1
[node name="CardCost" type="Label" parent="."]
offset_left = -80.0
offset_top = -125.0
offset_right = -45.0
offset_bottom = -89.0
text = "2"
horizontal_alignment = 1
vertical_alignment = 1
[node name="CardImage" type="Sprite2D" parent="."]

View File

@ -0,0 +1,12 @@
extends Node2D
var card_scene = preload("uid://cqumma8ibtbsx")
func _ready():
var card = card_scene.instantiate()
var size = get_viewport().get_visible_rect().size
card.card_text = "YOOOOOO"
card.card_name = "HAHAHAH"
card.card_cost = 2
card.position = Vector2(size.x / 2, size.y / 2)
add_child(card)

View File

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

View File

@ -0,0 +1,6 @@
[gd_scene load_steps=2 format=3 uid="uid://q4abhlwqdvay"]
[ext_resource type="Script" uid="uid://btx5q72aali0g" path="res://scenes/CardGame/cards.gd" id="1_l08q2"]
[node name="Node2D" type="Node2D"]
script = ExtResource("1_l08q2")

View File

@ -42,15 +42,7 @@ size = Vector3(1080, 2, 1080)
[sub_resource type="BoxMesh" id="BoxMesh_w7c3h"]
size = Vector3(1080, 2, 1080)
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_fi66n"]
[sub_resource type="Sky" id="Sky_a4mo8"]
sky_material = SubResource("ProceduralSkyMaterial_fi66n")
[sub_resource type="Environment" id="Environment_a4mo8"]
background_mode = 2
sky = SubResource("Sky_a4mo8")
ambient_light_source = 3
[node name="Node3D" type="Node3D"]
script = ExtResource("1_a4mo8")

View File

@ -64,3 +64,6 @@ func _update_login_button() -> void:
_login_button.text = "LOG OUT"
else:
_login_button.text = "LOG IN"
func _on_secret_button_pressed():
get_tree().change_scene_to_file("uid://q4abhlwqdvay")

View File

@ -90,6 +90,14 @@ size_flags_vertical = 4
theme = ExtResource("1_tx5wa")
text = "QUIT"
[node name="SecretButton" type="Button" parent="."]
show_behind_parent = true
layout_mode = 0
offset_left = 840.0
offset_top = 142.0
offset_right = 856.0
offset_bottom = 159.0
[node name="LogoutRequest" type="HTTPRequest" parent="."]
unique_name_in_owner = true
@ -97,4 +105,5 @@ unique_name_in_owner = true
[connection signal="pressed" from="MarginContainer/CenterContainer/ContentVBox/VBoxContainer/StartButton" to="." method="_on_start_button_pressed"]
[connection signal="pressed" from="MarginContainer/CenterContainer/ContentVBox/VBoxContainer/SettingsButton" to="." method="_on_settings_button_pressed"]
[connection signal="pressed" from="MarginContainer/CenterContainer/ContentVBox/VBoxContainer/QuitButton" to="." method="_on_quit_button_pressed"]
[connection signal="pressed" from="SecretButton" to="." method="_on_secret_button_pressed"]
[connection signal="request_completed" from="LogoutRequest" to="." method="_on_logout_request_completed"]