stormy day

This commit is contained in:
Haze Weathers 2024-12-27 12:00:57 -05:00
parent 72761e3de7
commit 6c211c364c
14 changed files with 266 additions and 28 deletions

View file

@ -1,10 +1,10 @@
[gd_scene load_steps=45 format=2]
[gd_scene load_steps=40 format=2]
[ext_resource path="res://objects/Camera2D.tscn" type="PackedScene" id=1]
[ext_resource path="res://maps/map.gd" type="Script" id=2]
[ext_resource path="res://graphics/backgrounds/mountain_mountain.png" type="Texture" id=3]
[ext_resource path="res://graphics/backgrounds/mountain_clouds.png" type="Texture" id=4]
[ext_resource path="res://graphics/backgrounds/mountain_sunset.png" type="Texture" id=5]
[ext_resource path="res://maps/future/mountain_future.gd" type="Script" id=2]
[ext_resource path="res://graphics/backgrounds/future/mountain_mountain_future.png" type="Texture" id=3]
[ext_resource path="res://graphics/backgrounds/future/mountain_clouds_future.png" type="Texture" id=4]
[ext_resource path="res://graphics/backgrounds/future/mountain_sunset_future.png" type="Texture" id=5]
[ext_resource path="res://objects/player/player.tscn" type="PackedScene" id=6]
[ext_resource path="res://tilesets/future/t_mountain_future.tres" type="TileSet" id=7]
[ext_resource path="res://objects/enemy/rolling_fiend.tscn" type="PackedScene" id=8]
@ -26,13 +26,8 @@
[ext_resource path="res://objects/collectibles/arrow.tscn" type="PackedScene" id=24]
[ext_resource path="res://objects/respawn_point.tscn" type="PackedScene" id=25]
[ext_resource path="res://objects/environment/exit/exit.tscn" type="PackedScene" id=26]
[ext_resource path="res://audio/music/burnt_out.ogg" type="AudioStream" id=27]
[ext_resource path="res://objects/lore/hills/eviscerator.tscn" type="PackedScene" id=28]
[ext_resource path="res://objects/lore/hills/catbat.tscn" type="PackedScene" id=29]
[ext_resource path="res://objects/lore/mountain/echo_mountain.tscn" type="PackedScene" id=30]
[ext_resource path="res://objects/lore/mountain/rolling_fiend.tscn" type="PackedScene" id=31]
[ext_resource path="res://graphics/turniwood/turning_platform_wood_dark.png" type="Texture" id=32]
[ext_resource path="res://graphics/particles/pixel.png" type="Texture" id=33]
[ext_resource path="res://graphics/particles/raindrop.png" type="Texture" id=33]
[sub_resource type="RectangleShape2D" id=2]
extents = Vector2( 24, 20 )
@ -84,17 +79,22 @@ tracks/0/keys = {
[node name="Map2" type="Node2D" groups=["map"]]
pause_mode = 1
script = ExtResource( 2 )
target_time_any = 45
target_time_100 = 185
music = ExtResource( 27 )
lore_entries = [ ExtResource( 30 ), ExtResource( 28 ), ExtResource( 29 ), ExtResource( 31 ) ]
min_interval = 1.0
max_interval = 8.0
fade_time = 1.0
[node name="LightningTimer" type="Timer" parent="."]
unique_name_in_owner = true
wait_time = 5.0
one_shot = true
autostart = true
[node name="Background" type="Node" parent="."]
[node name="Background" type="CanvasLayer" parent="Background"]
layer = -101
[node name="Sunset" type="Sprite" parent="Background/Background"]
[node name="Sky" type="Sprite" parent="Background/Background"]
position = Vector2( 128, 96 )
z_index = -2
texture = ExtResource( 5 )
@ -102,6 +102,13 @@ __meta__ = {
"_edit_lock_": true
}
[node name="BrightSky" type="ColorRect" parent="Background/Background"]
unique_name_in_owner = true
modulate = Color( 1, 1, 1, 0 )
anchor_right = 1.0
anchor_bottom = 1.0
color = Color( 0.623529, 0.815686, 1, 1 )
[node name="BackgroundMountain" type="CanvasLayer" parent="Background"]
layer = -100
follow_viewport_enable = true
@ -119,15 +126,36 @@ __meta__ = {
[node name="Background2" type="CanvasLayer" parent="Background"]
layer = -100
[node name="LightningSpawn" type="Node2D" parent="Background/Background2"]
unique_name_in_owner = true
position = Vector2( 128, 36 )
[node name="Clouds" type="Sprite" parent="Background/Background2"]
pause_mode = 1
unique_name_in_owner = true
position = Vector2( 128, 96 )
z_index = -2
texture = ExtResource( 4 )
__meta__ = {
"_edit_lock_": true
}
[node name="RainLayer" type="CanvasLayer" parent="."]
layer = 50
[node name="CPUParticles2D" type="CPUParticles2D" parent="RainLayer"]
position = Vector2( 104, 0 )
amount = 48
lifetime = 0.85
preprocess = 1.0
texture = ExtResource( 33 )
emission_shape = 2
emission_rect_extents = Vector2( 160, 0 )
flag_align_y = true
direction = Vector2( 0.2, 1 )
spread = 5.0
gravity = Vector2( 0, 0 )
initial_velocity = 250.0
[node name="Ground" type="TileMap" parent="." groups=["can_stain"]]
light_mask = 3
material = ExtResource( 11 )
@ -680,15 +708,7 @@ cost = 25
[node name="AnimationPlayer" type="AnimationPlayer" parent="." groups=["mountain_easter_egg"]]
anims/liftoff = SubResource( 10 )
[node name="Light2D" type="Light2D" parent="."]
visible = false
position = Vector2( 73, 33 )
scale = Vector2( 256, 192 )
texture = ExtResource( 33 )
offset = Vector2( 0.5, 0.5 )
energy = 0.25
mode = 1
[node name="CanvasModulate" type="CanvasModulate" parent="."]
[connection signal="timeout" from="LightningTimer" to="." method="_spawn_lightning"]
[connection signal="tree_entered" from="Background/BackgroundMountain/Mountain" to="Background/BackgroundMountain/Mountain" method="set_visible" binds= [ true ]]