Added picture of islands

This commit is contained in:
Paul Black 2023-03-23 10:15:36 -06:00
parent f3c8ebb733
commit a29aa1929a
4 changed files with 47 additions and 3 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 MiB

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://br7n6qfnfpm4v"
path="res://.godot/imported/islands.png-ac83372d4a2a157ad524b32b2cc78edc.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://2DArt/host/mapIcons/islands.png"
dest_files=["res://.godot/imported/islands.png-ac83372d4a2a157ad524b32b2cc78edc.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

View file

@ -1,8 +1,9 @@
[gd_scene load_steps=5 format=3 uid="uid://cv5bctupikqe7"] [gd_scene load_steps=6 format=3 uid="uid://cv5bctupikqe7"]
[ext_resource type="Script" path="res://scripts/host.gd" id="1_r5rkm"] [ext_resource type="Script" path="res://scripts/host.gd" id="1_r5rkm"]
[ext_resource type="Texture2D" uid="uid://b8hvwlbkrib4k" path="res://2DArt/Main Menu/PlayScreenHOST.png" id="2_s15iu"] [ext_resource type="Texture2D" uid="uid://b8hvwlbkrib4k" path="res://2DArt/Main Menu/PlayScreenHOST.png" id="2_s15iu"]
[ext_resource type="Texture2D" uid="uid://bmyat8a6alp2y" path="res://2DArt/host/mapIcons/toyland.png" id="3_rgmyq"] [ext_resource type="Texture2D" uid="uid://bmyat8a6alp2y" path="res://2DArt/host/mapIcons/toyland.png" id="3_rgmyq"]
[ext_resource type="Texture2D" uid="uid://br7n6qfnfpm4v" path="res://2DArt/host/mapIcons/islands.png" id="4_gvop1"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_xhmtq"] [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_xhmtq"]
@ -61,7 +62,7 @@ offset_right = 797.0
offset_bottom = 241.0 offset_bottom = 241.0
text = "Toyland" text = "Toyland"
[node name="islands" type="Button" parent="."] [node name="islandsButton" type="Button" parent="."]
layout_mode = 0 layout_mode = 0
offset_left = 646.0 offset_left = 646.0
offset_top = 249.0 offset_top = 249.0
@ -197,6 +198,12 @@ position = Vector2(406, 287)
scale = Vector2(0.653595, 0.653595) scale = Vector2(0.653595, 0.653595)
texture = ExtResource("3_rgmyq") texture = ExtResource("3_rgmyq")
[node name="Islands" type="Sprite2D" parent="."]
visible = false
position = Vector2(407.969, 287.031)
scale = Vector2(0.110227, 0.110227)
texture = ExtResource("4_gvop1")
[node name="Label2" type="Label" parent="."] [node name="Label2" type="Label" parent="."]
layout_mode = 0 layout_mode = 0
offset_left = 351.0 offset_left = 351.0
@ -243,7 +250,7 @@ text = "Time (secs):"
[connection signal="pressed" from="close" to="." method="_on_close_pressed"] [connection signal="pressed" from="close" to="." method="_on_close_pressed"]
[connection signal="pressed" from="playground" to="." method="_on_playground_pressed"] [connection signal="pressed" from="playground" to="." method="_on_playground_pressed"]
[connection signal="pressed" from="islands" to="." method="_on_islands_pressed"] [connection signal="pressed" from="islandsButton" to="." method="_on_islands_pressed"]
[connection signal="pressed" from="startButton" to="." method="_on_start_button_pressed"] [connection signal="pressed" from="startButton" to="." method="_on_start_button_pressed"]
[connection signal="pressed" from="joinButton" to="." method="_on_join_button_pressed"] [connection signal="pressed" from="joinButton" to="." method="_on_join_button_pressed"]
[connection signal="text_changed" from="playerNameBox" to="." method="_on_player_name_box_text_changed"] [connection signal="text_changed" from="playerNameBox" to="." method="_on_player_name_box_text_changed"]

View file

@ -19,11 +19,14 @@ func _on_playground_pressed():
Global.mapName = "Toyland" Global.mapName = "Toyland"
SCENE = "res://scenes/toyland.tscn" SCENE = "res://scenes/toyland.tscn"
$Toyland.visible = true $Toyland.visible = true
$Islands.visible = false
func _on_islands_pressed(): func _on_islands_pressed():
$mapSelected.text = "Islands" $mapSelected.text = "Islands"
Global.mapName = "Islands" Global.mapName = "Islands"
SCENE = "res://scenes/islands.tscn" SCENE = "res://scenes/islands.tscn"
$Islands.visible = true
$Toyland.visible = false
func _on_start_button_pressed(): func _on_start_button_pressed():
var PORT = $portBox.text var PORT = $portBox.text