Skip to content

Commit 226b60e

Browse files
committed
(v0.1.5-alpha) Environment Rework & Jitter Fix
Since i completed the lore/plot finally trust me (not written but thought of) I needed to change the environement a bit kjust to match the vibe i am going for now! it is now a whitish dusk and not pitch black. ALso i think i fixed the jitter thing.
1 parent 18b4e5f commit 226b60e

5 files changed

Lines changed: 100 additions & 120 deletions

File tree

assets/models/wooden_torch/wooden_torch.tscn

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ tracks/0/keys = {
6161
"times": PackedFloat32Array(0, 0.76666665, 1.5333333, 2.2333333),
6262
"transitions": PackedFloat32Array(1, 1, 1, 1),
6363
"update": 0,
64-
"values": [1.746, 0.446, 0.951, 0.654]
64+
"values": [2.0, 0.8, 1.4, 1.0]
6565
}
6666

6767
[sub_resource type="AnimationLibrary" id="AnimationLibrary_v5kip"]
@@ -85,18 +85,18 @@ shape = SubResource("ConcavePolygonShape3D_sager")
8585

8686
[node name="Light3D" type="OmniLight3D" parent="." index="2" unique_id=843721552]
8787
transform = Transform3D(1, -1.7039328e-28, 3.5762793e-07, 0, 1, 4.7645406e-22, -3.5762793e-07, -4.7645406e-22, 1, 0.44879782, 0.94321716, -0.041435063)
88-
light_color = Color(0.6807982, 0.5127972, 0.23984355, 1)
88+
light_color = Color(0.74446636, 0.56479347, 0.27441537, 1)
8989
light_energy = 1.746
9090
light_size = 1.0
91-
light_specular = 0.3
91+
light_specular = 0.445
9292
light_bake_mode = 1
9393
shadow_opacity = 0.7
9494
distance_fade_enabled = true
9595
distance_fade_begin = 50.0
9696
distance_fade_shadow = 30.0
9797
distance_fade_length = 0.0
9898
omni_range = 20.0
99-
omni_attenuation = 1.754
99+
omni_attenuation = 0.7
100100

101101
[node name="flamesGPU" type="GPUParticles3D" parent="." index="3" unique_id=1410252308]
102102
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.12764326, 0.505165, -0.03974913)

narrative/story/story.md

Lines changed: 0 additions & 77 deletions
Original file line numberDiff line numberDiff line change
@@ -1,77 +0,0 @@
1-
2-
## Some peak idea: The game is actually an ARG infused. Like everything is not what it seems. Sure the exploration are real but what happened was not an accident. The government used him to do their dirty work. His mind was hijacked...
3-
4-
## Chapter 0: Prologue
5-
6-
> This is the prologue scene where everything is very out of place. Like a dream.
7-
> My idea is to let the player count silhouettes setting the stage for further development.
8-
>
9-
> Pacing goal: ~5 mins
10-
11-
The progression would be like:
12-
1. Game opens with the protagonist sitting in a bench at the middle of the woods.
13-
2. Very foggy atmosphere with natural ambience. Lightly snowing.
14-
3. "E" to stand up.
15-
4. Silhouettes spawn, Each one vanishes when touched they do not move.
16-
5. Some are standing on the trail, while some near the watchtower.
17-
6. Following the trail the player reaches the clearing where a large watch tower stands.
18-
7. There is no definitive trail just a path marked by torches and silhouettes.
19-
8. A single trail with sparse torches. No loop or confusing stuff.
20-
9. Maybe a gate on the perimeter of the watch tower.
21-
10. A lock on the gate prevents you from opening it -- you must find a way to enter the premises.
22-
11. A flight of stairs goes up to the watch tower - cozy room.
23-
12. As they start climbing the stairs the lights go out throughout.
24-
13. Light of the watchtower flickers and turns into the same purplish color.
25-
14. Deep hum and weeping sounds from upstairs.
26-
15. A silhouette curled up sits in the corner of the top of the watch tower.
27-
16. Disappears the moment it is touched.
28-
17. "I'll meet you at the bottom" says the silhouette
29-
18. While making your way to the bottom of the watchtower, it breaks and you fall.
30-
19. As you are losing consciously you see something watch over you with glowing eyes.
31-
32-
You feel the cold snow falling on your body.
33-
You open your eyes -- blinking twice before your vision unblurs.
34-
"Where am I?" you think, sitting in the middle of the forest on a bench. You Stand up still confused - you don't know where you are, why you are and perhaps- Who you are...
35-
A little further away you can hear the crackle of the burning of wooden torches. You move towards a torch but as you do you notice the growing purplish light.
36-
Its tall, its dark, it's glowing. Some unknown particles dancing around its body makes you feel... something...
37-
It feels familiar - have u seen it before? "Nonsense!" you think "There is no way I saw this bizarre looking creature before!".
38-
Yet something inside of you know the actual truth.r
39-
You reach out in a frenzy to touch it but as u do the silhouette flickers and disappears its purple particles giving away to yellow particles moving in a direction of the torch.
40-
The whispers growing. You follow the particles.
41-
As it completely vanishes from your vision you see the next torch - flickering lights of the playful flame.
42-
43-
You make your way to the next torch.
44-
"Wait-" you think as the same silhouette stands before you! Is it guiding you? Are we playing hide and seek?
45-
"What's going on? Is it the same one?" you mumble. The silhouette does not respond just standing there motionless - looking into oblivion.
46-
Same thing repeats, but something is off. What is it? You do not know. Neither do we.
47-
48-
This continues till you reach a clearing and that's when you notice the Watch Tower.
49-
Standing alone in a meaningless forest, watching over-.
50-
The thought crosses over your mind, "Watching over whom? what? why?" This too seems familiar.
51-
you notice a room that leads to a bunker, you can't go there! it's locked with a thick lock.
52-
You start to climb the tower, the old dusty stairs creak under your feet. At the top you find a room filled with stale air.
53-
It's a dark room but enough to see in the night. Especially due to the nightlamp on the desk.
54-
On the far end of the corner you see a mass of darkness weeping.
55-
As you go near it, it disappears and whispers "I'll meet you at the bottom".
56-
The game instructs you to investigate the bunker on the bottom. The sound of the lock opening is heard.
57-
You follow the stairs down, but it was cut short. As you are walking down a section of the old wood plank collapses.
58-
You fall down, you cannot do anything but blink twice before losing consciousness.
59-
Ringing fills your ears while you watch the sky, snow falls on your body.
60-
You hear footsteps, a silhouette leans over the edge above you, two burning purple eyes.
61-
62-
Your vision fades and everything goes dark.
63-
64-
---
65-
66-
## Chapter 1:
67-
68-
Chapter one would probably open in the same place -- below the watchtower.
69-
I dont think I'll be able to complete Chapter 1 by the end of macondo, and hence,
70-
I am trying to expand the Prologue a bit to make it one single cohesive gameplay.
71-
72-
---
73-
74-
## Chapter 2:
75-
76-
Maybe Chapter 2 opens in the same cabin BUT the surroundings have changed!
77-
To brainstorm

narrative/story/story_new_old.md

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
2+
## Some peak idea: The game is actually an ARG infused. Like everything is not what it seems. Sure the exploration are real but what happened was not an accident. The government used him to do their dirty work. His mind was hijacked...
3+
4+
## Chapter 0: Prologue
5+
6+
> This is the prologue scene where everything is very out of place. Like a dream.
7+
> My idea is to let the player count silhouettes setting the stage for further development.
8+
>
9+
> Pacing goal: ~5 mins
10+
11+
The progression would be like:
12+
1. Game opens with the protagonist sitting in a bench at the middle of the woods.
13+
2. Very foggy atmosphere with natural ambience. Lightly snowing.
14+
3. "E" to stand up.
15+
4. Silhouettes spawn, Each one vanishes when touched they do not move.
16+
5. Some are standing on the trail, while some near the watchtower.
17+
6. Following the trail the player reaches the clearing where a large watch tower stands.
18+
7. There is no definitive trail just a path marked by torches and silhouettes.
19+
8. A single trail with sparse torches. No loop or confusing stuff.
20+
9. Maybe a gate on the perimeter of the watch tower.
21+
10. A lock on the gate prevents you from opening it -- you must find a way to enter the premises.
22+
11. A flight of stairs goes up to the watch tower - cozy room.
23+
12. As they start climbing the stairs the lights go out throughout.
24+
13. Light of the watchtower flickers and turns into the same purplish color.
25+
14. Deep hum and weeping sounds from upstairs.
26+
15. A silhouette curled up sits in the corner of the top of the watch tower.
27+
16. Disappears the moment it is touched.
28+
17. "I'll meet you at the bottom" says the silhouette
29+
18. While making your way to the bottom of the watchtower, it breaks and you fall.
30+
19. As you are losing consciously you see something watch over you with glowing eyes.
31+
32+
You feel the cold snow falling on your body.
33+
You open your eyes -- blinking twice before your vision unblurs.
34+
"Where am I?" you think, sitting in the middle of the forest on a bench. You Stand up still confused - you don't know where you are, why you are and perhaps- Who you are...
35+
A little further away you can hear the crackle of the burning of wooden torches. You move towards a torch but as you do you notice the growing purplish light.
36+
Its tall, its dark, it's glowing. Some unknown particles dancing around its body makes you feel... something...
37+
It feels familiar - have u seen it before? "Nonsense!" you think "There is no way I saw this bizarre looking creature before!".
38+
Yet something inside of you know the actual truth.r
39+
You reach out in a frenzy to touch it but as u do the silhouette flickers and disappears its purple particles giving away to yellow particles moving in a direction of the torch.
40+
The whispers growing. You follow the particles.
41+
As it completely vanishes from your vision you see the next torch - flickering lights of the playful flame.
42+
43+
You make your way to the next torch.
44+
"Wait-" you think as the same silhouette stands before you! Is it guiding you? Are we playing hide and seek?
45+
"What's going on? Is it the same one?" you mumble. The silhouette does not respond just standing there motionless - looking into oblivion.
46+
Same thing repeats, but something is off. What is it? You do not know. Neither do we.
47+
48+
This continues till you reach a clearing and that's when you notice the Watch Tower.
49+
Standing alone in a meaningless forest, watching over-.
50+
The thought crosses over your mind, "Watching over whom? what? why?" This too seems familiar.
51+
you notice a room that leads to a bunker, you can't go there! it's locked with a thick lock.
52+
You start to climb the tower, the old dusty stairs creak under your feet. At the top you find a room filled with stale air.
53+
It's a dark room but enough to see in the night. Especially due to the nightlamp on the desk.
54+
On the far end of the corner you see a mass of darkness weeping.
55+
As you go near it, it disappears and whispers "I'll meet you at the bottom".
56+
The game instructs you to investigate the bunker on the bottom. The sound of the lock opening is heard.
57+
You follow the stairs down, but it was cut short. As you are walking down a section of the old wood plank collapses.
58+
You fall down, you cannot do anything but blink twice before losing consciousness.
59+
Ringing fills your ears while you watch the sky, snow falls on your body.
60+
You hear footsteps, a silhouette leans over the edge above you, two burning purple eyes.
61+
62+
Your vision fades and everything goes dark.
63+
64+
---
65+
66+
## Chapter 1:
67+
68+
Chapter one would probably open in the same place -- below the watchtower.
69+
I dont think I'll be able to complete Chapter 1 by the end of macondo, and hence,
70+
I am trying to expand the Prologue a bit to make it one single cohesive gameplay.
71+
72+
---
73+
74+
## Chapter 2:
75+
76+
Maybe Chapter 2 opens in the same cabin BUT the surroundings have changed!
77+
To brainstorm

scenes/Prologue.tscn

Lines changed: 14 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
[gd_scene format=3 uid="uid://ctx42urrlsqoj"]
22

33
[ext_resource type="Script" uid="uid://dr06c4wvrjsmo" path="res://scripts/Prologue/Prologue.gd" id="1_ke06p"]
4-
[ext_resource type="Texture2D" uid="uid://xfe1k3gk6h1k" path="res://assets/textures/sky.png" id="2_ke06p"]
54
[ext_resource type="Shader" uid="uid://cdh32lvrnf627" path="res://shaders/shader_chapter_0.gdshader" id="4_1aphw"]
65
[ext_resource type="FontFile" uid="uid://78n28mmk5f74" path="res://assets/fonts/Geo-Italic.ttf" id="5_6uvvw"]
76
[ext_resource type="PackedScene" uid="uid://bwccebe2qkpnc" path="res://assets/player/player.tscn" id="5_b460r"]
@@ -39,33 +38,31 @@ shader_parameter/vignette_strength = 0.0
3938
shader_parameter/vignette_radius = 1.0
4039
shader_parameter/blur_strength = 0.0
4140

42-
[sub_resource type="PanoramaSkyMaterial" id="PanoramaSkyMaterial_d0u6y"]
43-
panorama = ExtResource("2_ke06p")
41+
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_y3k86"]
42+
sky_top_color = Color(0.3025247, 0.36429217, 0.4466083, 1)
4443

4544
[sub_resource type="Sky" id="Sky_8kgk7"]
46-
sky_material = SubResource("PanoramaSkyMaterial_d0u6y")
45+
sky_material = SubResource("ProceduralSkyMaterial_y3k86")
4746

4847
[sub_resource type="Environment" id="Environment_jygv4"]
49-
background_mode = 2
48+
background_energy_multiplier = 0.0
5049
sky = SubResource("Sky_8kgk7")
51-
tonemap_mode = 2
50+
tonemap_mode = 4
51+
tonemap_exposure = 0.2
5252
glow_enabled = true
5353
glow_normalized = true
5454
fog_enabled = true
55-
fog_light_color = Color(0.102692865, 0.12295938, 0.13164315, 1)
55+
fog_light_color = Color(0.18858561, 0.21850306, 0.23646054, 1)
5656
fog_light_energy = 2.0
5757
fog_sun_scatter = 0.2
5858
fog_density = 0.02
5959
fog_sky_affect = 0.742
6060
fog_depth_curve = 0.8122524
6161
volumetric_fog_enabled = true
62-
volumetric_fog_density = 0.03
63-
volumetric_fog_albedo = Color(0.28897998, 0.28897995, 0.28897995, 1)
64-
volumetric_fog_emission = Color(0.101960786, 0.12156863, 0.13333334, 1)
62+
volumetric_fog_density = 0.02
63+
volumetric_fog_albedo = Color(0.7724397, 0.77243954, 0.7724396, 1)
64+
volumetric_fog_emission = Color(0.75093335, 0.8066675, 0.82810485, 1)
6565
volumetric_fog_length = 300.0
66-
adjustment_enabled = true
67-
adjustment_contrast = 1.1
68-
adjustment_saturation = 1.1
6966

7067
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_b460r"]
7168
emission_shape_offset = Vector3(0, -17, 0)
@@ -79,7 +76,6 @@ turbulence_noise_scale = 1.0
7976

8077
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_7numd"]
8178
shading_mode = 0
82-
albedo_color = Color(0.402329, 0.40232897, 0.40232894, 1)
8379
billboard_mode = 3
8480
particles_anim_h_frames = 1
8581
particles_anim_v_frames = 1
@@ -430,9 +426,7 @@ render_target_update_mode = 4
430426

431427
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="SubViewport/World" unique_id=2014315246]
432428
transform = Transform3D(-0.8660254, -0.43301278, 0.25, 0, 0.49999997, 0.86602545, -0.50000006, 0.75, -0.43301266, 0, 0, 0)
433-
light_color = Color(0.021713268, 0.021713259, 0.021713257, 1)
434-
light_energy = 1.207
435-
light_volumetric_fog_energy = 3.873
429+
light_color = Color(0.18686649, 0.18686646, 0.18686646, 1)
436430
light_bake_mode = 1
437431
shadow_opacity = 0.51
438432
shadow_blur = 1.32
@@ -442,18 +436,6 @@ environment = SubResource("Environment_jygv4")
442436

443437
[node name="Player3D" parent="SubViewport/World" unique_id=1421963457 instance=ExtResource("5_b460r")]
444438
transform = Transform3D(0.06510419, 0, 0.99787813, 0, 0.99999964, 0, -0.9978785, 0, 0.06510416, -26.97766, -0.056738503, -52.831)
445-
look_sensitivity = null
446-
jump_velocity = null
447-
auto_bhop = null
448-
walk_speed = null
449-
sprint_speed = null
450-
ground_accel = null
451-
ground_decel = null
452-
ground_friction = null
453-
air_cap = null
454-
air_accel = null
455-
air_move_speed = null
456-
smooth_step_speed = null
457439

458440
[node name="GPUSnow3D" type="GPUParticles3D" parent="SubViewport/World/Player3D" unique_id=1677585479]
459441
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.018831253, 32.93535, 0.06018448)
@@ -465,17 +447,13 @@ visibility_aabb = AABB(-15, -34, -15, 30, 34, 30)
465447
process_material = SubResource("ParticleProcessMaterial_b460r")
466448
draw_pass_1 = SubResource("QuadMesh_y13jl")
467449

468-
[node name="watch_tower" parent="SubViewport/World" unique_id=1978300811 instance=ExtResource("22_b460r")]
469-
transform = Transform3D(1, 0, 0, 0, 0.9999996, 0, 0, 0, 1, -16.972958, 27.036, -55.813)
470-
471450
[node name="Bench3D" parent="SubViewport/World" unique_id=2085675750 instance=ExtResource("9_b460r")]
472451
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -28.27, 0.1608203, -52.786)
473452

474453
[node name="Map3D" parent="SubViewport/World" unique_id=742473182 instance=ExtResource("8_y5b7v")]
475454
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.06663036, 0.094632864, -0.04007864)
476455

477456
[node name="Forest3D" type="Node3D" parent="SubViewport/World" unique_id=1512849187]
478-
visible = false
479457

480458
[node name="pine_tree96" parent="SubViewport/World/Forest3D" unique_id=116300073 instance=ExtResource("10_giphs")]
481459
transform = Transform3D(0.30552906, 0, 0.95218277, 0, 1, 0, -0.95218277, 0, 0.30552906, 92.17127, -0.3567369, -16.444262)
@@ -4412,6 +4390,9 @@ transform = Transform3D(0.1031584, 0.031147761, 0.9941771, -9.313226e-10, 0.9995
44124390
[node name="silhouette" parent="SubViewport/World" unique_id=578111472 instance=ExtResource("16_21ife")]
44134391
transform = Transform3D(-0.9961944, 0, 0.08715562, 0, 1, 0, -0.08715562, 0, -0.9961944, -5.281, 2.005, -63.886)
44144392

4393+
[node name="watch_tower" parent="SubViewport/World" unique_id=1978300811 instance=ExtResource("22_b460r")]
4394+
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 49.166, 29.336, 62.489)
4395+
44154396
[node name="TextureRect" type="TextureRect" parent="." unique_id=1477322359]
44164397
texture_filter = 1
44174398
anchors_preset = 15
@@ -4429,8 +4410,5 @@ libraries/ = SubResource("AnimationLibrary_ke06p")
44294410
[node name="LightmapGI" type="LightmapGI" parent="." unique_id=730496574]
44304411
light_data = ExtResource("24_ke06p")
44314412

4432-
[node name="watch_tower" parent="." unique_id=1120759976 instance=ExtResource("22_b460r")]
4433-
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 49.165657, 29.336311, 62.489017)
4434-
44354413
[node name="wooden_torch" parent="." unique_id=1425089922 instance=ExtResource("15_los3j")]
44364414
transform = Transform3D(0.0729734, 6.398173e-08, -0.99733394, 6.4084304e-08, -1, -5.9463808e-08, -0.99733394, -5.9574173e-08, -0.0729734, 45.88096, 36.06795, 58.00404)

scripts/Controllers/Player.gd

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@ func _unhandled_input(event: InputEvent) -> void:
7676
%Camera3D.rotate_x(-event.relative.y * look_sensitivity)
7777
%Camera3D.rotation.x = clamp(
7878
%Camera3D.rotation.x,
79-
deg_to_rad(-90),
80-
deg_to_rad(90)
79+
deg_to_rad(-70),
80+
deg_to_rad(70)
8181
)
8282

8383
if event is InputEventMouseButton and event.is_pressed():
@@ -96,6 +96,7 @@ func _headbob_effect(delta: float):
9696

9797
func _process(delta: float) -> void:
9898
player_entered_tower = watch_tower._player_entered_tower
99+
print(smooth_step_speed_mult)
99100

100101
if player_entered_tower and not is_jumping:
101102
separation_ray.disabled = false
@@ -249,4 +250,5 @@ func _physics_process(delta: float) -> void:
249250
move_and_slide()
250251
_snap_down_to_stairs_check()
251252

252-
_visual_offset_y += (pos_before_physics.y - global_position.y)
253+
if player_entered_tower:
254+
_visual_offset_y += (pos_before_physics.y - global_position.y)

0 commit comments

Comments
 (0)