From cc8bdb2bfe2c87b73a79957304963d9004fd15a0 Mon Sep 17 00:00:00 2001 From: Henry Date: Tue, 31 Mar 2026 13:31:05 +0100 Subject: [PATCH] Set up a temp title screen and added paralax clouds taken from The Third Place. --- graphics/cloud layers.png | Bin 0 -> 1122 bytes graphics/cloud layers.png.import | 40 ++++++++++++++++ scenes/game.tscn | 3 ++ scenes/world.tscn | 77 ++++++++++++++++++++++++++++++- 4 files changed, 119 insertions(+), 1 deletion(-) create mode 100644 graphics/cloud layers.png create mode 100644 graphics/cloud layers.png.import diff --git a/graphics/cloud layers.png b/graphics/cloud layers.png new file mode 100644 index 0000000000000000000000000000000000000000..71fbcb40d66669a072947cdf22e20d000cb8b1ab GIT binary patch literal 1122 zcmV-o1fBbdP)0i00001b5ch_0Itp) z=>Px#8&FJCMF0Q*7#SleEkQUyT})JMZ)kdpd4r{miM5`P`mNnv00009bW%=J0RR90 z|NsC0|2G1g)Bpej;7LS5RCt`_o9&V#AqYh&Yqx6O|B0t2X%!R%1T(!o{Fq6)W5s(K z0Y3tz8Q_0V-xdJ){`38xvp=c{4KMq_-ut5bmeatuTNn41Bs&m3n$BJAnc~C6El@8uP>( z<`!-M3j(PCb_lHep9cUN0AvEU0Kh5-$pySYa7{o1pb^ON045!F0+ae354be|xI!Nv z51^F+WgP#v1F)eVs!-^P+ra48Q5o<=00oZ(c>8`U0I%f8JbVuT@%u9Y?C2*+59*Mw z(-)(?FIK=Xn?5R?em0LcAMj{)zC0LUwPY+&po02cjE13+?rb$>t=(a!)- z`yU6;7J{JrLc513MF9xyGXd;Xf_>IY!d-oVV?zXh^!-8o1Aq+#Xx@*XG%Eg3G~5Ot ze}7Q_1i(#zW&w8kPu9jpyBz>8fl)uL_}WBCTopPAz|#L2fRg|bkC%T7`Hz%$pq=|nRfUELr zs{uny2m{~=NB{ycU<&}WDj4WIIL`xk0&)zTtLtW90c&mG+0WX2ARG8X#gfu zGk_NWN8rE^$OWL;IRLi)rvbpPz=7a~0QRx~a0CqPp8|mH3PV{f0^J^fivU0R%?@zK zAh-!&sDg}H@JSwkcFEd?s7@iM|2_bqSHi{w__hZDAp3)8cQg;ce=!7b8Dt5AE&vRI zp#C!ez!3eErC?J4#K;+2wc)f1ve=dMl35#dO_5ld(IRMcE5`o#^ zNI-8NlYeAI$Sxk{I)I)S%>l4%F9O(I6gBE@hEqTRx)9LLj>k@kEx%s|un_~C+Fv$2 o{XPczuZ5P!1Wp3@#Lwry052wekc6B3asU7T07*qoM6N<$f_6{a82|tP literal 0 HcmV?d00001 diff --git a/graphics/cloud layers.png.import b/graphics/cloud layers.png.import new file mode 100644 index 0000000..0373751 --- /dev/null +++ b/graphics/cloud layers.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://b3dqvd23nbmrm" +path="res://.godot/imported/cloud layers.png-4d2d52eab55e5e1ba1e0e021786c2357.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://graphics/cloud layers.png" +dest_files=["res://.godot/imported/cloud layers.png-4d2d52eab55e5e1ba1e0e021786c2357.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 diff --git a/scenes/game.tscn b/scenes/game.tscn index bb55de7..18dbab4 100644 --- a/scenes/game.tscn +++ b/scenes/game.tscn @@ -30,6 +30,7 @@ grow_horizontal = 2 grow_vertical = 2 [node name="Title" type="TextureRect" parent="TitleMenu/HBoxContainer" unique_id=1389062363] +modulate = Color(0.1764706, 0.5686275, 1, 1) layout_mode = 2 size_flags_horizontal = 10 size_flags_vertical = 4 @@ -41,6 +42,8 @@ layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 +offset_left = -1.0 +offset_right = -1.0 grow_horizontal = 2 grow_vertical = 2 color = Color(0.67049235, 0.66050816, 0.7086971, 1) diff --git a/scenes/world.tscn b/scenes/world.tscn index 5386ae3..b0110e3 100644 --- a/scenes/world.tscn +++ b/scenes/world.tscn @@ -1,7 +1,82 @@ [gd_scene format=3 uid="uid://bj4fytc3sy482"] [ext_resource type="PackedScene" uid="uid://14fhj8834pkq" path="res://scenes/ui.tscn" id="1_nnsk1"] +[ext_resource type="PackedScene" uid="uid://coix5dqblmu7r" path="res://scenes/player.tscn" id="2_rwgxs"] +[ext_resource type="Texture2D" uid="uid://b3dqvd23nbmrm" path="res://graphics/cloud layers.png" id="3_4wyf3"] [node name="World" type="Node2D" unique_id=1317852169] -[node name="UI" parent="." unique_id=480295610 instance=ExtResource("1_nnsk1")] +[node name="Level" type="Node2D" parent="." unique_id=934289771] + +[node name="UI" parent="Level" unique_id=480295610 instance=ExtResource("1_nnsk1")] + +[node name="Player" parent="Level" unique_id=652131079 instance=ExtResource("2_rwgxs")] +z_index = 1 +position = Vector2(97, 173) + +[node name="Background" type="Node2D" parent="Level" unique_id=485120278] +z_index = -1 + +[node name="BaseBackground" type="ColorRect" parent="Level/Background" unique_id=1360709800] +offset_right = 217.0 +offset_bottom = 410.0 +color = Color(0.2899925, 0.5692833, 0.9110645, 1) + +[node name="Back" type="Parallax2D" parent="Level/Background" unique_id=529215091] +scroll_scale = Vector2(0.25, 0.25) +repeat_size = Vector2(0, 50) +autoscroll = Vector2(0, 150) +repeat_times = 15 +follow_viewport = false + +[node name="CloudLeft" type="Sprite2D" parent="Level/Background/Back" unique_id=1098035995] +position = Vector2(40, 32) +texture = ExtResource("3_4wyf3") +hframes = 4 +frame = 1 + +[node name="CloudRight" type="Sprite2D" parent="Level/Background/Back" unique_id=1729409543] +position = Vector2(177, 32) +texture = ExtResource("3_4wyf3") +flip_h = true +hframes = 4 +frame = 1 + +[node name="Mid" type="Parallax2D" parent="Level/Background" unique_id=906676376] +scroll_scale = Vector2(0.5, 0.5) +repeat_size = Vector2(0, 50) +autoscroll = Vector2(0, 205) +repeat_times = 15 +follow_viewport = false + +[node name="CloudLeft" type="Sprite2D" parent="Level/Background/Mid" unique_id=1179862071] +position = Vector2(40, 32) +texture = ExtResource("3_4wyf3") +hframes = 4 +frame = 2 + +[node name="CloudRight" type="Sprite2D" parent="Level/Background/Mid" unique_id=702118355] +position = Vector2(177, 32) +texture = ExtResource("3_4wyf3") +flip_h = true +hframes = 4 +frame = 2 + +[node name="Fore" type="Parallax2D" parent="Level/Background" unique_id=1005527243] +repeat_size = Vector2(0, 50) +autoscroll = Vector2(0, 425) +repeat_times = 15 +follow_viewport = false + +[node name="CloudLeft" type="Sprite2D" parent="Level/Background/Fore" unique_id=146182935] +position = Vector2(32, 32) +texture = ExtResource("3_4wyf3") +hframes = 4 +frame = 3 + +[node name="CloudRight" type="Sprite2D" parent="Level/Background/Fore" unique_id=1798342457] +position = Vector2(185, 32) +texture = ExtResource("3_4wyf3") +flip_h = true +hframes = 4 +frame = 3