SACRIFICE

This commit is contained in:
Rendo 2025-06-30 00:27:12 +05:00
commit 6d96b1e6bd
17 changed files with 311 additions and 8 deletions

View file

@ -34,7 +34,7 @@ _maxHP = 600
texture = ExtResource("2_o5tda")
hframes = 12
vframes = 3
frame = 3
frame = 10
[node name="AnimationPlayer" parent="." index="1"]
libraries = {

90
scenes/gui/main_menu.tscn Normal file
View file

@ -0,0 +1,90 @@
[gd_scene load_steps=4 format=3 uid="uid://bfstrli64u23y"]
[ext_resource type="Texture2D" uid="uid://dvldjlg0nr355" path="res://assets/sprites/atlases/atlas1.png" id="1_xbu81"]
[sub_resource type="AtlasTexture" id="AtlasTexture_5pe7g"]
atlas = ExtResource("1_xbu81")
region = Rect2(226, 77, 18, 18)
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_jl0ue"]
texture = SubResource("AtlasTexture_5pe7g")
texture_margin_left = 6.0
texture_margin_top = 6.0
texture_margin_right = 6.0
texture_margin_bottom = 6.0
[node name="MainMenu" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="PrototypeWindow" type="AcceptDialog" parent="."]
title = ""
size = Vector2i(600, 400)
unresizable = true
borderless = true
theme_override_styles/panel = SubResource("StyleBoxTexture_jl0ue")
ok_button_text = "Let's go"
dialog_close_on_escape = false
[node name="ScrollContainer" type="ScrollContainer" parent="PrototypeWindow"]
offset_left = 6.0
offset_top = 6.0
offset_right = 594.0
offset_bottom = 343.0
[node name="PrototypeNotification" type="RichTextLabel" parent="PrototypeWindow/ScrollContainer"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
bbcode_enabled = true
text = "[p][center][wave amp=50.0 freq=5.0 connected=1][font_size=24]WELCOME TO LIBERATION OF NEIGHBOURVILLE PROTOTYPE![/font_size][/wave][/center][/p]
[p]Big thanks from me, Rendo, and our team! We appreciate any feedback, so consider reporting bugs to our [color=cyan][url=https://www.youtube.com/watch?v=dQw4w9WgXcQ]discord server[/url][/color].[/p][p][/p]
[p]Liberation of Neighbourville is currently in early stages of development. However, we reached point when all essential systems and mechanics are ready.[/p]
[p][/p]
[p]As for now, you can play survival endless with all currently made plants. Game includes some plants from first Plants versus Zombies, Aloe from sequel, three basic zombies and a hobo zombie.[/p]
[p][/p]
[p]As for 0.2.X version, current roadmap contains:[ul]
[p]Adventure mode[/p]
[p]Almanach[/p]
[p]New plants and zombies, obviously[/p]
[p]More ways to play[/p]
[/ul][/p]"
fit_content = true
scroll_active = false
[node name="AboutWindow" type="AcceptDialog" parent="."]
title = ""
initial_position = 2
size = Vector2i(300, 400)
unresizable = true
borderless = true
theme_override_styles/panel = SubResource("StyleBoxTexture_jl0ue")
[node name="ScrollContainer" type="ScrollContainer" parent="AboutWindow"]
offset_left = 6.0
offset_top = 6.0
offset_right = 294.0
offset_bottom = 343.0
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="AboutText" type="RichTextLabel" parent="AboutWindow/ScrollContainer"]
layout_mode = 2
size_flags_horizontal = 3
bbcode_enabled = true
text = "[p][center][font_size=24]About[/font_size][/center][/p]
[p]Made in [color=steel_blue]Godot Engine [img=16]res://icon.svg[/img][/color][/p]
[p]
Made by: [ul]
[p]Rendo - programmer, gamedesigner[/p]
[p]Slaimy - graphics designer, gamedesigner[/p]
[p]CaTronick - graphics designer, gamedesigner[/p]
[/ul]
[/p]
[p]All rights for Plants versus Zombies franchise belong to PopCap games[/p]"
fit_content = true
scroll_active = false

87
scenes/sacrifice.tscn Normal file
View file

@ -0,0 +1,87 @@
[gd_scene load_steps=13 format=3 uid="uid://d2ut237hxscbo"]
[ext_resource type="Texture2D" uid="uid://3m6opnieiyr2" path="res://assets/sprites/golden_bg.png" id="1_tsh0d"]
[ext_resource type="Shader" uid="uid://d0rylce8i5xtg" path="res://assets/shaders/SACRIFICE.gdshader" id="2_b8skw"]
[ext_resource type="AudioStream" uid="uid://dwr53ucg07nla" path="res://assets/audio/music/Oliver Buckland - Dead God Graveyard .mp3" id="2_bijdt"]
[ext_resource type="Texture2D" uid="uid://dfmi4cgn6hmsj" path="res://assets/sprites/gold.png" id="3_1ybnd"]
[sub_resource type="Gradient" id="Gradient_b8skw"]
colors = PackedColorArray(0, 0, 0, 0, 1, 1, 1, 1)
[sub_resource type="FastNoiseLite" id="FastNoiseLite_1ybnd"]
[sub_resource type="NoiseTexture2D" id="NoiseTexture2D_yu0ma"]
width = 600
height = 400
color_ramp = SubResource("Gradient_b8skw")
noise = SubResource("FastNoiseLite_1ybnd")
[sub_resource type="ShaderMaterial" id="ShaderMaterial_yu0ma"]
shader = ExtResource("2_b8skw")
shader_parameter/noise = SubResource("NoiseTexture2D_yu0ma")
[sub_resource type="AudioStreamPlaylist" id="AudioStreamPlaylist_7l6qq"]
stream_count = 1
stream_0 = ExtResource("2_bijdt")
[sub_resource type="Animation" id="Animation_b8skw"]
resource_name = "main"
length = 10.0
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("TextureRect:self_modulate")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(3, 10),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [Color(1, 1, 1, 0), Color(1, 1, 1, 1)]
}
[sub_resource type="Animation" id="Animation_1ybnd"]
length = 0.001
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("TextureRect:self_modulate")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Color(1, 1, 1, 1)]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_yu0ma"]
_data = {
&"RESET": SubResource("Animation_1ybnd"),
&"main": SubResource("Animation_b8skw")
}
[node name="SACRIFICE" type="TextureRect"]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("1_tsh0d")
[node name="TextureRect" type="TextureRect" parent="."]
material = SubResource("ShaderMaterial_yu0ma")
layout_mode = 0
offset_right = 40.0
offset_bottom = 40.0
texture = ExtResource("3_1ybnd")
[node name="Musicale" type="AudioStreamPlayer" parent="."]
stream = SubResource("AudioStreamPlaylist_7l6qq")
autoplay = true
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
libraries = {
&"": SubResource("AnimationLibrary_yu0ma")
}
autoplay = "main"