From 5c2eb224ed57f9fb6d05f111a72d79e43c473bbc Mon Sep 17 00:00:00 2001 From: Zacharie Guet Date: Sat, 1 Aug 2026 14:22:53 +0200 Subject: [PATCH] demo 2.0.0 * reduce demo time * add all changes from full game --- common/game_data/scripts/progression_data.gd | 32 ++++---- .../story_steps/1_2_mercury_story_step.gd | 5 +- common/game_info/game_info.gd | 2 +- gui/credits/credits.tscn | 73 +++++++++++++++++-- gui/credits/scripts/credits.gd | 8 +- project.godot | 6 +- stages/title_screen/title_screen.tscn | 47 +++++++++++- translation/game/gui.csv | 4 +- 8 files changed, 138 insertions(+), 39 deletions(-) diff --git a/common/game_data/scripts/progression_data.gd b/common/game_data/scripts/progression_data.gd index 6410126..393f0c0 100644 --- a/common/game_data/scripts/progression_data.gd +++ b/common/game_data/scripts/progression_data.gd @@ -40,17 +40,17 @@ func get_all_mutations() -> Array[PlantMutation]: VivaciousMutation.new(), FertileMutation.new(), HurriedMutation.new(), - GenerousMutation.new(), - ProtectiveMutation.new(), - PureMutation.new(), - CleaningMutation.new(), - ErmitMutation.new(), - TropicalMutation.new(), - RhizomeMutation.new(), - SpontaneousMutation.new(), - SaviorMutation.new(), - AdaptiveMutation.new(), - ResistantMutation.new(), + # GenerousMutation.new(), + # ProtectiveMutation.new(), + # PureMutation.new(), + # CleaningMutation.new(), + # ErmitMutation.new(), + # TropicalMutation.new(), + # RhizomeMutation.new(), + # SpontaneousMutation.new(), + # SaviorMutation.new(), + # AdaptiveMutation.new(), + # ResistantMutation.new(), ] func get_all_artifacts() -> Array[Artefact]: @@ -68,11 +68,11 @@ func get_all_story_steps() -> Array[StoryStep]: TutorialStoryStep.new(), StartStoryStep.new(), MercuryStoryStep.new(), - BoreaStoryStep.new(), - AquaStoryStep.new(), - SubterraStoryStep.new(), - EstiaStoryStep.new(), - AstraStoryStep.new(), + # BoreaStoryStep.new(), + # AquaStoryStep.new(), + # SubterraStoryStep.new(), + # EstiaStoryStep.new(), + # AstraStoryStep.new(), ] func update_best_run(run : RunData): diff --git a/common/game_data/scripts/story/story_steps/1_2_mercury_story_step.gd b/common/game_data/scripts/story/story_steps/1_2_mercury_story_step.gd index c6667d4..b4459a0 100644 --- a/common/game_data/scripts/story/story_steps/1_2_mercury_story_step.gd +++ b/common/game_data/scripts/story/story_steps/1_2_mercury_story_step.gd @@ -18,10 +18,7 @@ func get_destination_text() -> String: return tr("RELAY_BASE_X") % tr("VENUS") func get_destination_scene() -> Scene: - return RelayBaseScene.new( - "VENUS", - "002" - ) + return CreditsScene.new() func get_logs() -> Array[Log]: return [ diff --git a/common/game_info/game_info.gd b/common/game_info/game_info.gd index ba44d13..33eb171 100644 --- a/common/game_info/game_info.gd +++ b/common/game_info/game_info.gd @@ -129,7 +129,7 @@ func update_inputs(s : SettingsData = settings_data): InputMap.action_add_event(s.action_remapped[i], s.input_remapped[i]) func has_unlocked_infinite_mode(): - return true + return false func get_action_key_name(action_name: String) -> String: var events: Array[InputEvent] = InputMap.action_get_events(action_name) diff --git a/gui/credits/credits.tscn b/gui/credits/credits.tscn index 3fa395b..9d6ee23 100644 --- a/gui/credits/credits.tscn +++ b/gui/credits/credits.tscn @@ -2,16 +2,23 @@ [ext_resource type="Script" uid="uid://di3p2tmuw6ack" path="res://gui/credits/scripts/credits.gd" id="1_kip8e"] [ext_resource type="Theme" uid="uid://5au2k3vf2po3" path="res://gui/ressources/menu.tres" id="2_luv2b"] -[ext_resource type="Texture2D" uid="uid://cdpqg3pkjcw2h" path="res://stages/title_screen/assets/textures/title.png" id="3_urbel"] +[ext_resource type="Texture2D" uid="uid://3813d8ld7vt2" path="res://stages/title_screen/assets/textures/Logo-demo.png" id="3_5k6jv"] [ext_resource type="LabelSettings" uid="uid://dqwayi8yjwau2" path="res://gui/ressources/title_label_settings.tres" id="4_5k6jv"] [ext_resource type="PackedScene" uid="uid://c8flevrkelpvy" path="res://gui/credits/socials/instagram.tscn" id="5_urbel"] +[ext_resource type="Texture2D" uid="uid://b0wy3dbpxbnt7" path="res://common/icons/seedling.svg" id="5_xl2r5"] [ext_resource type="Texture2D" uid="uid://bcjkds8n5qu6x" path="res://common/icons/rotate-rectangle.svg" id="6_5k6jv"] [ext_resource type="PackedScene" uid="uid://cm5b7w7j6527f" path="res://stages/title_screen/planet_3d.tscn" id="6_luv2b"] +[ext_resource type="Texture2D" uid="uid://dbv5hm7lyi1f6" path="res://common/icons/infinity.svg" id="7_m5waa"] [ext_resource type="FontFile" uid="uid://qt80w6o01q5s" path="res://gui/ressources/fonts/TitanOne-Regular.ttf" id="7_urbel"] +[ext_resource type="Texture2D" uid="uid://baaujfw8piywi" path="res://common/icons/dna.svg" id="8_16oni"] [sub_resource type="ViewportTexture" id="ViewportTexture_urbel"] viewport_path = NodePath("SubViewport") +[sub_resource type="LabelSettings" id="LabelSettings_to5ge"] +font = ExtResource("7_urbel") +font_size = 23 + [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_kip8e"] bg_color = Color(1, 0.6509804, 0.09019608, 1) border_width_left = 6 @@ -200,7 +207,7 @@ tracks/5/keys = { "times": PackedFloat32Array(0.06666667, 9.066667), "transitions": PackedFloat32Array(1, 1), "update": 0, -"values": [0.3, 1.0] +"values": [0.3, 0.3] } [sub_resource type="AnimationLibrary" id="AnimationLibrary_a8ny4"] @@ -209,7 +216,7 @@ _data = { &"appear": SubResource("Animation_kip8e") } -[sub_resource type="FastNoiseLite" id="FastNoiseLite_5k6jv"] +[sub_resource type="FastNoiseLite" id="FastNoiseLite_xl2r5"] frequency = 1.0 [node name="Credits" type="CanvasLayer" unique_id=180964898] @@ -260,16 +267,69 @@ alignment = 1 [node name="TextureRect" type="TextureRect" parent="MarginContainer/GridContainer/VBoxContainer" unique_id=630290371] custom_minimum_size = Vector2(0, 120) layout_mode = 2 -texture = ExtResource("3_urbel") +texture = ExtResource("3_5k6jv") expand_mode = 2 stretch_mode = 5 [node name="Label" type="Label" parent="MarginContainer/GridContainer/VBoxContainer" unique_id=215880453] layout_mode = 2 -text = "THANKS_FOR_PLAYING" +text = "THANKS_FOR_PLAYING_DEMO" label_settings = ExtResource("4_5k6jv") horizontal_alignment = 1 +[node name="Label2" type="Label" parent="MarginContainer/GridContainer/VBoxContainer" unique_id=431183339] +layout_mode = 2 +text = "IN_THE_FULL_GAME" +label_settings = ExtResource("4_5k6jv") +horizontal_alignment = 1 + +[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer/GridContainer/VBoxContainer" unique_id=391704286] +modulate = Color(1, 0.6509804, 0.09019608, 1) +layout_mode = 2 +theme_override_constants/separation = 0 + +[node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer/GridContainer/VBoxContainer/VBoxContainer" unique_id=279234192] +layout_mode = 2 +alignment = 1 + +[node name="TextureRect" type="TextureRect" parent="MarginContainer/GridContainer/VBoxContainer/VBoxContainer/HBoxContainer" unique_id=209569340] +layout_mode = 2 +texture = ExtResource("5_xl2r5") + +[node name="Label2" type="Label" parent="MarginContainer/GridContainer/VBoxContainer/VBoxContainer/HBoxContainer" unique_id=229536259] +layout_mode = 2 +text = "A_10_15_HOURS_STORY" +label_settings = SubResource("LabelSettings_to5ge") +horizontal_alignment = 1 + +[node name="HBoxContainer2" type="HBoxContainer" parent="MarginContainer/GridContainer/VBoxContainer/VBoxContainer" unique_id=1005252135] +layout_mode = 2 +alignment = 1 + +[node name="TextureRect" type="TextureRect" parent="MarginContainer/GridContainer/VBoxContainer/VBoxContainer/HBoxContainer2" unique_id=126660275] +layout_mode = 2 +texture = ExtResource("7_m5waa") + +[node name="Label2" type="Label" parent="MarginContainer/GridContainer/VBoxContainer/VBoxContainer/HBoxContainer2" unique_id=1044842109] +layout_mode = 2 +text = "AN_INFINITE_MODE" +label_settings = SubResource("LabelSettings_to5ge") +horizontal_alignment = 1 + +[node name="HBoxContainer3" type="HBoxContainer" parent="MarginContainer/GridContainer/VBoxContainer/VBoxContainer" unique_id=1175083471] +layout_mode = 2 +alignment = 1 + +[node name="TextureRect" type="TextureRect" parent="MarginContainer/GridContainer/VBoxContainer/VBoxContainer/HBoxContainer3" unique_id=855663472] +layout_mode = 2 +texture = ExtResource("8_16oni") + +[node name="Label2" type="Label" parent="MarginContainer/GridContainer/VBoxContainer/VBoxContainer/HBoxContainer3" unique_id=1052123038] +layout_mode = 2 +text = "TWICE_MORE_MUTATIONS" +label_settings = SubResource("LabelSettings_to5ge") +horizontal_alignment = 1 + [node name="Button" parent="MarginContainer/GridContainer/VBoxContainer" unique_id=927302743 instance=ExtResource("5_urbel")] visible = false layout_mode = 2 @@ -506,6 +566,7 @@ theme_override_constants/paragraph_separation = 12 theme_override_font_sizes/normal_font_size = 19 text = "SPECIAL_THANKS_TEXT" fit_content = true +scroll_active = false horizontal_alignment = 1 vertical_alignment = 1 @@ -522,7 +583,7 @@ size = Vector2i(1980, 1080) [node name="Planet3d" parent="SubViewport" unique_id=866166298 instance=ExtResource("6_luv2b")] unique_name_in_owner = true transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0) -noise = SubResource("FastNoiseLite_5k6jv") +noise = SubResource("FastNoiseLite_xl2r5") [node name="Camera3D" type="Camera3D" parent="SubViewport" unique_id=232867368] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 64.323) diff --git a/gui/credits/scripts/credits.gd b/gui/credits/scripts/credits.gd index d8533f9..2ae77b4 100644 --- a/gui/credits/scripts/credits.gd +++ b/gui/credits/scripts/credits.gd @@ -6,8 +6,11 @@ func appear(): func _on_title_screen_pressed(): - GameInfo.game_data.is_finished = true - GameInfo.save_game_data() + # GameInfo.game_data.is_finished = true + # GameInfo.save_game_data() + + SteamConnection.unlock_achievement(SteamConnection.ACH_REACH_VENUS_BASE) + SteamConnection.unlock_achievement(SteamConnection.ACH_MEET_DEMETER) var progression = GameInfo.game_data.progression_data @@ -16,4 +19,3 @@ func _on_title_screen_pressed(): SteamConnection.unlock_achievement(SteamConnection.ACH_UNLOCK_ALL_MUTATION) SceneManager.change_to_scene(TitleScene.new(), false) - diff --git a/project.godot b/project.godot index f67c5f0..7d2b305 100644 --- a/project.godot +++ b/project.godot @@ -14,9 +14,9 @@ compatibility/default_parent_skeleton_in_mesh_instance_3d=true [application] -config/name="Seeding The Wasteland" +config/name="Seeding The Wasteland Demo" config/description="Seeding The Wasteland is a survival, managment and cosy game in which you play a little gardener robot." -config/version="1.0.0" +config/version="demo-2.0" run/main_scene="uid://c5bruelvqbm1k" config/features=PackedStringArray("4.7", "Forward Plus") run/max_fps=144 @@ -265,7 +265,7 @@ environment/defaults/default_clear_color=Color(0.0617213, 0.0605653, 0.169189, 1 [steam] -initialization/app_id=4444510 +initialization/app_id=4690960 initialization/initialize_on_startup=true initialization/embed_callbacks=true multiplayer_peer/max_channels=4 diff --git a/stages/title_screen/title_screen.tscn b/stages/title_screen/title_screen.tscn index 980a8d1..dbbeb06 100644 --- a/stages/title_screen/title_screen.tscn +++ b/stages/title_screen/title_screen.tscn @@ -4,10 +4,10 @@ [ext_resource type="Script" uid="uid://cwmp2une7hobe" path="res://stages/title_screen/scripts/title_screen.gd" id="1_6yuhi"] [ext_resource type="Texture2D" uid="uid://dcgnamu7sb3ov" path="res://common/icons/bolt.svg" id="3_6yuhi"] [ext_resource type="Texture2D" uid="uid://cvvnrj8wi3f3r" path="res://common/icons/brand-twitch.svg" id="3_gn4uv"] -[ext_resource type="Texture2D" uid="uid://cdpqg3pkjcw2h" path="res://stages/title_screen/assets/textures/title.png" id="3_lwj2x"] [ext_resource type="FontFile" uid="uid://qt80w6o01q5s" path="res://gui/ressources/fonts/TitanOne-Regular.ttf" id="4_ofiho"] [ext_resource type="Texture2D" uid="uid://bewr0t1wi8pff" path="res://common/icons/rotate.svg" id="5_6yuhi"] [ext_resource type="PackedScene" uid="uid://cm5b7w7j6527f" path="res://stages/title_screen/planet_3d.tscn" id="5_7a1qq"] +[ext_resource type="Texture2D" uid="uid://3813d8ld7vt2" path="res://stages/title_screen/assets/textures/Logo-demo.png" id="5_rf16a"] [ext_resource type="Texture2D" uid="uid://cixd5j8yqpavg" path="res://common/icons/settings.svg" id="6_3aitq"] [ext_resource type="PackedScene" uid="uid://c8flevrkelpvy" path="res://gui/credits/socials/instagram.tscn" id="6_7a1qq"] [ext_resource type="Texture2D" uid="uid://bkwhrq4sp5dcp" path="res://common/icons/device-gamepad.svg" id="7_igvpv"] @@ -65,12 +65,48 @@ _data = { &"bounce": SubResource("Animation_0vds4") } +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_gn4uv"] +bg_color = Color(1, 0, 0.43137255, 1) +border_width_left = 10 +border_width_top = 10 +border_width_right = 10 +border_width_bottom = 10 +border_color = Color(1, 0, 0.43137255, 1) +corner_radius_top_left = 5 +corner_radius_top_right = 5 +corner_radius_bottom_right = 5 +corner_radius_bottom_left = 5 + +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_ofiho"] +bg_color = Color(0.72, 0, 0.31200007, 1) +border_width_left = 10 +border_width_top = 10 +border_width_right = 10 +border_width_bottom = 10 +border_color = Color(0.72156864, 0, 0.3137255, 1) +corner_radius_top_left = 5 +corner_radius_top_right = 5 +corner_radius_bottom_right = 5 +corner_radius_bottom_left = 5 + +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_1xafb"] +bg_color = Color(1, 0.36, 0.6373334, 1) +border_width_left = 10 +border_width_top = 10 +border_width_right = 10 +border_width_bottom = 10 +border_color = Color(1, 0.36078432, 0.6392157, 1) +corner_radius_top_left = 5 +corner_radius_top_right = 5 +corner_radius_bottom_right = 5 +corner_radius_bottom_left = 5 + [sub_resource type="ShaderMaterial" id="ShaderMaterial_lwj2x"] shader = ExtResource("8_pjo5j") shader_parameter/strength = 5.00000023424012 shader_parameter/mix_percentage = 0.3 -[sub_resource type="FastNoiseLite" id="FastNoiseLite_rf16a"] +[sub_resource type="FastNoiseLite" id="FastNoiseLite_5icsl"] frequency = 1.0 [sub_resource type="Animation" id="Animation_gn4uv"] @@ -401,7 +437,7 @@ custom_minimum_size = Vector2(400, 0) layout_mode = 2 size_flags_horizontal = 4 size_flags_vertical = 0 -texture = ExtResource("3_lwj2x") +texture = ExtResource("5_rf16a") expand_mode = 5 stretch_mode = 5 @@ -417,6 +453,9 @@ size_flags_horizontal = 4 size_flags_vertical = 4 theme = ExtResource("1_4ph5l") theme_override_font_sizes/font_size = 33 +theme_override_styles/normal = SubResource("StyleBoxFlat_gn4uv") +theme_override_styles/pressed = SubResource("StyleBoxFlat_ofiho") +theme_override_styles/hover = SubResource("StyleBoxFlat_1xafb") text = "START" icon = ExtResource("3_6yuhi") @@ -538,7 +577,7 @@ size = Vector2i(1980, 1080) [node name="Planet3d" parent="SubViewport" unique_id=926789923 instance=ExtResource("5_7a1qq")] unique_name_in_owner = true -noise = SubResource("FastNoiseLite_rf16a") +noise = SubResource("FastNoiseLite_5icsl") [node name="Camera3D" type="Camera3D" parent="SubViewport" unique_id=806252928] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -14.369979, 0, 64.323425) diff --git a/translation/game/gui.csv b/translation/game/gui.csv index af5d11b..178f699 100644 --- a/translation/game/gui.csv +++ b/translation/game/gui.csv @@ -306,9 +306,9 @@ CHOOSE_NEXT_STOP,Choose next stop,Choisissez le prochain arrêt THANKS_FOR_PLAYING,Thanks for playing!,Merci d'avoir joué ! THANKS_FOR_PLAYING_DEMO,Thanks for playing to the demo!,Merci d'avoir joué à la démo ! TWICE_MORE_MUTATIONS,Twice more mutations,Deux fois plus de mutations -A_3_4_HOURS_STORY,A 3 to 4 hours long story,Une histoire sur 3 à 4 heures de gameplay +IN_THE_FULL_GAME,In the full game,Dans le jeu complet +A_10_15_HOURS_STORY,A 10 to 15 hours long story,Une histoire sur 10 à 15 heures de gameplay AN_INFINITE_MODE,An infinite mode,Un mode infini -IN_THE_COMPLETE_GAME,In the complete game,Dans le jeu complet JOIN_OUR_INSTAGRAM,Join our Instagram,Rejoins-nous sur Instagram WHISHLIST_THE_GAME,Whishlist the game on Steam,Ajoutez le jeu à votre liste de souhait TAKE_A_QUICK_SURVEY,Take a quick survey,Répondez à un court sondage