Find a couple init
This commit is contained in:
parent
807902b7fc
commit
7097b40992
11 changed files with 182 additions and 0 deletions
BIN
assets/find_a_couple/envelope.png
Normal file
BIN
assets/find_a_couple/envelope.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 9.6 KiB |
34
assets/find_a_couple/envelope.png.import
Normal file
34
assets/find_a_couple/envelope.png.import
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://bsj2xqsrkncfw"
|
||||||
|
path="res://.godot/imported/envelope.png-e1a72c8cc7c1c8b6699de8be171c2bcf.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://assets/find_a_couple/envelope.png"
|
||||||
|
dest_files=["res://.godot/imported/envelope.png-e1a72c8cc7c1c8b6699de8be171c2bcf.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
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/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
|
BIN
assets/find_a_couple/home.png
Normal file
BIN
assets/find_a_couple/home.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 9 KiB |
34
assets/find_a_couple/home.png.import
Normal file
34
assets/find_a_couple/home.png.import
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://dkhosb3l014nu"
|
||||||
|
path="res://.godot/imported/home.png-2752292748af7c14e83f6ea9f10c841a.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://assets/find_a_couple/home.png"
|
||||||
|
dest_files=["res://.godot/imported/home.png-2752292748af7c14e83f6ea9f10c841a.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
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/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
|
BIN
assets/find_a_couple/user.png
Normal file
BIN
assets/find_a_couple/user.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 12 KiB |
34
assets/find_a_couple/user.png.import
Normal file
34
assets/find_a_couple/user.png.import
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://bakxisrbvoy3e"
|
||||||
|
path="res://.godot/imported/user.png-dc728d288b223856966bafd84c0b8c54.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://assets/find_a_couple/user.png"
|
||||||
|
dest_files=["res://.godot/imported/user.png-dc728d288b223856966bafd84c0b8c54.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
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/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
|
|
@ -11,6 +11,7 @@ config_version=5
|
||||||
[application]
|
[application]
|
||||||
|
|
||||||
config/name="DD"
|
config/name="DD"
|
||||||
|
run/main_scene="uid://bv4rxfc4hm6t7"
|
||||||
config/features=PackedStringArray("4.4", "Mobile")
|
config/features=PackedStringArray("4.4", "Mobile")
|
||||||
config/icon="res://icon.svg"
|
config/icon="res://icon.svg"
|
||||||
|
|
||||||
|
|
34
scenes/find_a_couple/level.tscn
Normal file
34
scenes/find_a_couple/level.tscn
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
[gd_scene load_steps=2 format=3 uid="uid://cignc2wdaxuro"]
|
||||||
|
|
||||||
|
[ext_resource type="PackedScene" uid="uid://blfx4g52uaopo" path="res://scenes/find_a_couple/tile.tscn" id="1_hr0pl"]
|
||||||
|
|
||||||
|
[node name="Control" type="Control"]
|
||||||
|
layout_mode = 3
|
||||||
|
anchors_preset = 15
|
||||||
|
anchor_right = 1.0
|
||||||
|
anchor_bottom = 1.0
|
||||||
|
grow_horizontal = 2
|
||||||
|
grow_vertical = 2
|
||||||
|
|
||||||
|
[node name="ColorRect" type="ColorRect" parent="."]
|
||||||
|
layout_mode = 0
|
||||||
|
offset_right = 1280.0
|
||||||
|
offset_bottom = 720.0
|
||||||
|
color = Color(0.787759, 0.787759, 0.787759, 1)
|
||||||
|
|
||||||
|
[node name="Label" type="Label" parent="."]
|
||||||
|
layout_mode = 0
|
||||||
|
offset_right = 99.0
|
||||||
|
offset_bottom = 69.0
|
||||||
|
theme_override_font_sizes/font_size = 50
|
||||||
|
text = "1:00"
|
||||||
|
horizontal_alignment = 1
|
||||||
|
vertical_alignment = 1
|
||||||
|
justification_flags = 162
|
||||||
|
|
||||||
|
[node name="Button" parent="." instance=ExtResource("1_hr0pl")]
|
||||||
|
layout_mode = 0
|
||||||
|
offset_left = 519.0
|
||||||
|
offset_top = 298.0
|
||||||
|
offset_right = 669.0
|
||||||
|
offset_bottom = 448.0
|
16
scenes/find_a_couple/tile.gd
Normal file
16
scenes/find_a_couple/tile.gd
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
extends Button
|
||||||
|
|
||||||
|
@onready var image := $Image
|
||||||
|
|
||||||
|
# Called when the node enters the scene tree for the first time.
|
||||||
|
func _ready() -> void:
|
||||||
|
pass # Replace with function body.
|
||||||
|
|
||||||
|
|
||||||
|
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||||
|
func _process(delta: float) -> void:
|
||||||
|
pass
|
||||||
|
|
||||||
|
|
||||||
|
func _on_pressed() -> void:
|
||||||
|
image.show()
|
1
scenes/find_a_couple/tile.gd.uid
Normal file
1
scenes/find_a_couple/tile.gd.uid
Normal file
|
@ -0,0 +1 @@
|
||||||
|
uid://c6slf3hspqeef
|
28
scenes/find_a_couple/tile.tscn
Normal file
28
scenes/find_a_couple/tile.tscn
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
[gd_scene load_steps=4 format=3 uid="uid://blfx4g52uaopo"]
|
||||||
|
|
||||||
|
[ext_resource type="Texture2D" uid="uid://bsj2xqsrkncfw" path="res://assets/find_a_couple/envelope.png" id="1_dgwjn"]
|
||||||
|
[ext_resource type="Script" uid="uid://c6slf3hspqeef" path="res://scenes/find_a_couple/tile.gd" id="1_kwys0"]
|
||||||
|
|
||||||
|
[sub_resource type="AtlasTexture" id="AtlasTexture_kwys0"]
|
||||||
|
atlas = ExtResource("1_dgwjn")
|
||||||
|
region = Rect2(0, 0, 512, 512)
|
||||||
|
|
||||||
|
[node name="Button" type="Button"]
|
||||||
|
offset_left = 428.0
|
||||||
|
offset_top = 300.0
|
||||||
|
offset_right = 578.0
|
||||||
|
offset_bottom = 450.0
|
||||||
|
script = ExtResource("1_kwys0")
|
||||||
|
|
||||||
|
[node name="Image" type="TextureRect" parent="."]
|
||||||
|
visible = false
|
||||||
|
layout_mode = 0
|
||||||
|
offset_left = 25.0
|
||||||
|
offset_top = 25.0
|
||||||
|
offset_right = 125.0
|
||||||
|
offset_bottom = 125.0
|
||||||
|
texture = SubResource("AtlasTexture_kwys0")
|
||||||
|
expand_mode = 1
|
||||||
|
stretch_mode = 5
|
||||||
|
|
||||||
|
[connection signal="pressed" from="." to="." method="_on_pressed"]
|
Loading…
Add table
Add a link
Reference in a new issue