feat: level 3, test sounds, better tiles
This commit is contained in:
parent
79f674dea3
commit
ecc09542d4
BIN
assets/environment/blocks/GreenhouseHorizontal.aseprite
Normal file
BIN
assets/environment/blocks/GreenhouseHorizontal.aseprite
Normal file
Binary file not shown.
BIN
assets/environment/blocks/GreenhouseHorizontal.png
Normal file
BIN
assets/environment/blocks/GreenhouseHorizontal.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 121 B |
35
assets/environment/blocks/GreenhouseHorizontal.png.import
Normal file
35
assets/environment/blocks/GreenhouseHorizontal.png.import
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="StreamTexture"
|
||||||
|
path="res://.import/GreenhouseHorizontal.png-80dd7a803a1a1328c965a16464e88c5c.stex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://assets/environment/blocks/GreenhouseHorizontal.png"
|
||||||
|
dest_files=[ "res://.import/GreenhouseHorizontal.png-80dd7a803a1a1328c965a16464e88c5c.stex" ]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_mode=0
|
||||||
|
compress/bptc_ldr=0
|
||||||
|
compress/normal_map=0
|
||||||
|
flags/repeat=0
|
||||||
|
flags/filter=false
|
||||||
|
flags/mipmaps=false
|
||||||
|
flags/anisotropic=false
|
||||||
|
flags/srgb=2
|
||||||
|
process/fix_alpha_border=false
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/HDR_as_SRGB=false
|
||||||
|
process/invert_color=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
stream=false
|
||||||
|
size_limit=0
|
||||||
|
detect_3d=false
|
||||||
|
svg/scale=1.0
|
||||||
BIN
assets/environment/blocks/GreenhouseInner.aseprite
Normal file
BIN
assets/environment/blocks/GreenhouseInner.aseprite
Normal file
Binary file not shown.
BIN
assets/environment/blocks/GreenhouseInner.png
Normal file
BIN
assets/environment/blocks/GreenhouseInner.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 705 B |
35
assets/environment/blocks/GreenhouseInner.png.import
Normal file
35
assets/environment/blocks/GreenhouseInner.png.import
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="StreamTexture"
|
||||||
|
path="res://.import/GreenhouseInner.png-fb286e558628eaacc36a1e1d1367b6b5.stex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://assets/environment/blocks/GreenhouseInner.png"
|
||||||
|
dest_files=[ "res://.import/GreenhouseInner.png-fb286e558628eaacc36a1e1d1367b6b5.stex" ]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_mode=0
|
||||||
|
compress/bptc_ldr=0
|
||||||
|
compress/normal_map=0
|
||||||
|
flags/repeat=0
|
||||||
|
flags/filter=false
|
||||||
|
flags/mipmaps=false
|
||||||
|
flags/anisotropic=false
|
||||||
|
flags/srgb=2
|
||||||
|
process/fix_alpha_border=false
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/HDR_as_SRGB=false
|
||||||
|
process/invert_color=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
stream=false
|
||||||
|
size_limit=0
|
||||||
|
detect_3d=false
|
||||||
|
svg/scale=1.0
|
||||||
BIN
assets/environment/blocks/GreenhouseInnerEdge.aseprite
Normal file
BIN
assets/environment/blocks/GreenhouseInnerEdge.aseprite
Normal file
Binary file not shown.
BIN
assets/environment/blocks/GreenhouseInnerEdge.png
Normal file
BIN
assets/environment/blocks/GreenhouseInnerEdge.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 178 B |
35
assets/environment/blocks/GreenhouseInnerEdge.png.import
Normal file
35
assets/environment/blocks/GreenhouseInnerEdge.png.import
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="StreamTexture"
|
||||||
|
path="res://.import/GreenhouseInnerEdge.png-b4085887cc7827ee710bd05a703b8420.stex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://assets/environment/blocks/GreenhouseInnerEdge.png"
|
||||||
|
dest_files=[ "res://.import/GreenhouseInnerEdge.png-b4085887cc7827ee710bd05a703b8420.stex" ]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_mode=0
|
||||||
|
compress/bptc_ldr=0
|
||||||
|
compress/normal_map=0
|
||||||
|
flags/repeat=0
|
||||||
|
flags/filter=false
|
||||||
|
flags/mipmaps=false
|
||||||
|
flags/anisotropic=false
|
||||||
|
flags/srgb=2
|
||||||
|
process/fix_alpha_border=false
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/HDR_as_SRGB=false
|
||||||
|
process/invert_color=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
stream=false
|
||||||
|
size_limit=0
|
||||||
|
detect_3d=false
|
||||||
|
svg/scale=1.0
|
||||||
BIN
assets/environment/blocks/GreenhouseOuterEdge.aseprite
Normal file
BIN
assets/environment/blocks/GreenhouseOuterEdge.aseprite
Normal file
Binary file not shown.
BIN
assets/environment/blocks/GreenhouseOuteredge.png
Normal file
BIN
assets/environment/blocks/GreenhouseOuteredge.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 208 B |
35
assets/environment/blocks/GreenhouseOuteredge.png.import
Normal file
35
assets/environment/blocks/GreenhouseOuteredge.png.import
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="StreamTexture"
|
||||||
|
path="res://.import/GreenhouseOuteredge.png-e4d2c37dd74cd357be1f971a695f8364.stex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://assets/environment/blocks/GreenhouseOuteredge.png"
|
||||||
|
dest_files=[ "res://.import/GreenhouseOuteredge.png-e4d2c37dd74cd357be1f971a695f8364.stex" ]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_mode=0
|
||||||
|
compress/bptc_ldr=0
|
||||||
|
compress/normal_map=0
|
||||||
|
flags/repeat=0
|
||||||
|
flags/filter=false
|
||||||
|
flags/mipmaps=false
|
||||||
|
flags/anisotropic=false
|
||||||
|
flags/srgb=2
|
||||||
|
process/fix_alpha_border=false
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/HDR_as_SRGB=false
|
||||||
|
process/invert_color=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
stream=false
|
||||||
|
size_limit=0
|
||||||
|
detect_3d=false
|
||||||
|
svg/scale=1.0
|
||||||
BIN
assets/environment/blocks/GreenhouseStraight.aseprite
Normal file
BIN
assets/environment/blocks/GreenhouseStraight.aseprite
Normal file
Binary file not shown.
BIN
assets/environment/blocks/GreenhouseVertical.aseprite
Normal file
BIN
assets/environment/blocks/GreenhouseVertical.aseprite
Normal file
Binary file not shown.
BIN
assets/environment/blocks/GreenhouseVertical.png
Normal file
BIN
assets/environment/blocks/GreenhouseVertical.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 130 B |
35
assets/environment/blocks/GreenhouseVertical.png.import
Normal file
35
assets/environment/blocks/GreenhouseVertical.png.import
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="StreamTexture"
|
||||||
|
path="res://.import/GreenhouseVertical.png-e80c350653481f727088efcf382a087f.stex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://assets/environment/blocks/GreenhouseVertical.png"
|
||||||
|
dest_files=[ "res://.import/GreenhouseVertical.png-e80c350653481f727088efcf382a087f.stex" ]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_mode=0
|
||||||
|
compress/bptc_ldr=0
|
||||||
|
compress/normal_map=0
|
||||||
|
flags/repeat=0
|
||||||
|
flags/filter=false
|
||||||
|
flags/mipmaps=false
|
||||||
|
flags/anisotropic=false
|
||||||
|
flags/srgb=2
|
||||||
|
process/fix_alpha_border=false
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/HDR_as_SRGB=false
|
||||||
|
process/invert_color=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
stream=false
|
||||||
|
size_limit=0
|
||||||
|
detect_3d=false
|
||||||
|
svg/scale=1.0
|
||||||
BIN
assets/sounds/BrokenWindows3.ogg
Normal file
BIN
assets/sounds/BrokenWindows3.ogg
Normal file
Binary file not shown.
15
assets/sounds/BrokenWindows3.ogg.import
Normal file
15
assets/sounds/BrokenWindows3.ogg.import
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="ogg_vorbis"
|
||||||
|
type="AudioStreamOGGVorbis"
|
||||||
|
path="res://.import/BrokenWindows3.ogg-e3544c5113f25d18f9df16961970fd3b.oggstr"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://assets/sounds/BrokenWindows3.ogg"
|
||||||
|
dest_files=[ "res://.import/BrokenWindows3.ogg-e3544c5113f25d18f9df16961970fd3b.oggstr" ]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
loop=false
|
||||||
|
loop_offset=0
|
||||||
BIN
assets/sounds/EpsonConfirm.ogg
Normal file
BIN
assets/sounds/EpsonConfirm.ogg
Normal file
Binary file not shown.
15
assets/sounds/EpsonConfirm.ogg.import
Normal file
15
assets/sounds/EpsonConfirm.ogg.import
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="ogg_vorbis"
|
||||||
|
type="AudioStreamOGGVorbis"
|
||||||
|
path="res://.import/EpsonConfirm.ogg-afcbf35268794be2a4b1abc7659589c6.oggstr"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://assets/sounds/EpsonConfirm.ogg"
|
||||||
|
dest_files=[ "res://.import/EpsonConfirm.ogg-afcbf35268794be2a4b1abc7659589c6.oggstr" ]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
loop=false
|
||||||
|
loop_offset=0
|
||||||
BIN
assets/sounds/EpsonStart.ogg
Normal file
BIN
assets/sounds/EpsonStart.ogg
Normal file
Binary file not shown.
15
assets/sounds/EpsonStart.ogg.import
Normal file
15
assets/sounds/EpsonStart.ogg.import
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="ogg_vorbis"
|
||||||
|
type="AudioStreamOGGVorbis"
|
||||||
|
path="res://.import/EpsonStart.ogg-cf6baaf875194cd4e5ab013852eadd9b.oggstr"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://assets/sounds/EpsonStart.ogg"
|
||||||
|
dest_files=[ "res://.import/EpsonStart.ogg-cf6baaf875194cd4e5ab013852eadd9b.oggstr" ]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
loop=false
|
||||||
|
loop_offset=0
|
||||||
BIN
assets/sounds/Feueralarm.ogg
Normal file
BIN
assets/sounds/Feueralarm.ogg
Normal file
Binary file not shown.
15
assets/sounds/Feueralarm.ogg.import
Normal file
15
assets/sounds/Feueralarm.ogg.import
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="ogg_vorbis"
|
||||||
|
type="AudioStreamOGGVorbis"
|
||||||
|
path="res://.import/Feueralarm.ogg-711b767a9b7329373d887d0a3749e3b3.oggstr"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://assets/sounds/Feueralarm.ogg"
|
||||||
|
dest_files=[ "res://.import/Feueralarm.ogg-711b767a9b7329373d887d0a3749e3b3.oggstr" ]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
loop=false
|
||||||
|
loop_offset=0
|
||||||
BIN
assets/sounds/Simple Switch Off.ogg
Normal file
BIN
assets/sounds/Simple Switch Off.ogg
Normal file
Binary file not shown.
15
assets/sounds/Simple Switch Off.ogg.import
Normal file
15
assets/sounds/Simple Switch Off.ogg.import
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="ogg_vorbis"
|
||||||
|
type="AudioStreamOGGVorbis"
|
||||||
|
path="res://.import/Simple Switch Off.ogg-b8dbc7e175691285dacbbf9e1630d94b.oggstr"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://assets/sounds/Simple Switch Off.ogg"
|
||||||
|
dest_files=[ "res://.import/Simple Switch Off.ogg-b8dbc7e175691285dacbbf9e1630d94b.oggstr" ]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
loop=false
|
||||||
|
loop_offset=0
|
||||||
BIN
assets/sounds/Simple Switch On.ogg
Normal file
BIN
assets/sounds/Simple Switch On.ogg
Normal file
Binary file not shown.
15
assets/sounds/Simple Switch On.ogg.import
Normal file
15
assets/sounds/Simple Switch On.ogg.import
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="ogg_vorbis"
|
||||||
|
type="AudioStreamOGGVorbis"
|
||||||
|
path="res://.import/Simple Switch On.ogg-1ac3d23dbc4b969eaaf95fd97b37dfee.oggstr"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://assets/sounds/Simple Switch On.ogg"
|
||||||
|
dest_files=[ "res://.import/Simple Switch On.ogg-1ac3d23dbc4b969eaaf95fd97b37dfee.oggstr" ]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
loop=false
|
||||||
|
loop_offset=0
|
||||||
BIN
assets/sounds/Treffer.ogg
Normal file
BIN
assets/sounds/Treffer.ogg
Normal file
Binary file not shown.
15
assets/sounds/Treffer.ogg.import
Normal file
15
assets/sounds/Treffer.ogg.import
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="ogg_vorbis"
|
||||||
|
type="AudioStreamOGGVorbis"
|
||||||
|
path="res://.import/Treffer.ogg-5734bdf815cf89fe88da7e1754b8bf7b.oggstr"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://assets/sounds/Treffer.ogg"
|
||||||
|
dest_files=[ "res://.import/Treffer.ogg-5734bdf815cf89fe88da7e1754b8bf7b.oggstr" ]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
loop=false
|
||||||
|
loop_offset=0
|
||||||
55
default_bus_layout.tres
Normal file
55
default_bus_layout.tres
Normal file
@ -0,0 +1,55 @@
|
|||||||
|
[gd_resource type="AudioBusLayout" load_steps=6 format=2]
|
||||||
|
|
||||||
|
[sub_resource type="AudioEffectPitchShift" id=1]
|
||||||
|
resource_name = "PitchShift"
|
||||||
|
pitch_scale = 1.25
|
||||||
|
|
||||||
|
[sub_resource type="AudioEffectReverb" id=2]
|
||||||
|
resource_name = "Reverb"
|
||||||
|
predelay_msec = 30.0
|
||||||
|
predelay_feedback = 0.2
|
||||||
|
room_size = 0.1
|
||||||
|
damping = 0.1
|
||||||
|
spread = 0.25
|
||||||
|
dry = 0.9
|
||||||
|
wet = 0.3
|
||||||
|
|
||||||
|
[sub_resource type="AudioEffectReverb" id=3]
|
||||||
|
resource_name = "Reverb"
|
||||||
|
predelay_msec = 20.0
|
||||||
|
predelay_feedback = 0.11
|
||||||
|
room_size = 0.1
|
||||||
|
damping = 0.1
|
||||||
|
spread = 0.1
|
||||||
|
dry = 0.98
|
||||||
|
wet = 0.3
|
||||||
|
|
||||||
|
[sub_resource type="AudioEffectDelay" id=4]
|
||||||
|
resource_name = "Delay"
|
||||||
|
|
||||||
|
[sub_resource type="AudioEffectPhaser" id=5]
|
||||||
|
resource_name = "Phaser"
|
||||||
|
|
||||||
|
[resource]
|
||||||
|
bus/1/name = "Music"
|
||||||
|
bus/1/solo = false
|
||||||
|
bus/1/mute = false
|
||||||
|
bus/1/bypass_fx = false
|
||||||
|
bus/1/volume_db = -0.00606537
|
||||||
|
bus/1/send = "Master"
|
||||||
|
bus/1/effect/0/effect = SubResource( 1 )
|
||||||
|
bus/1/effect/0/enabled = true
|
||||||
|
bus/1/effect/1/effect = SubResource( 2 )
|
||||||
|
bus/1/effect/1/enabled = true
|
||||||
|
bus/2/name = "Effects"
|
||||||
|
bus/2/solo = false
|
||||||
|
bus/2/mute = false
|
||||||
|
bus/2/bypass_fx = false
|
||||||
|
bus/2/volume_db = 0.0
|
||||||
|
bus/2/send = "Master"
|
||||||
|
bus/2/effect/0/effect = SubResource( 3 )
|
||||||
|
bus/2/effect/0/enabled = true
|
||||||
|
bus/2/effect/1/effect = SubResource( 4 )
|
||||||
|
bus/2/effect/1/enabled = false
|
||||||
|
bus/2/effect/2/effect = SubResource( 5 )
|
||||||
|
bus/2/effect/2/enabled = false
|
||||||
@ -106,6 +106,9 @@ texture={
|
|||||||
"stream": false,
|
"stream": false,
|
||||||
"svg/scale": 1.0
|
"svg/scale": 1.0
|
||||||
}
|
}
|
||||||
|
ogg_vorbis={
|
||||||
|
"loop": false
|
||||||
|
}
|
||||||
|
|
||||||
[input]
|
[input]
|
||||||
|
|
||||||
|
|||||||
@ -980,10 +980,10 @@ texture = ExtResource( 8 )
|
|||||||
[node name="AnimatedSprite" type="AnimatedSprite" parent="ParallaxBackground/ParallaxLayer5"]
|
[node name="AnimatedSprite" type="AnimatedSprite" parent="ParallaxBackground/ParallaxLayer5"]
|
||||||
visible = false
|
visible = false
|
||||||
frames = SubResource( 7 )
|
frames = SubResource( 7 )
|
||||||
frame = 5
|
frame = 1
|
||||||
playing = true
|
playing = true
|
||||||
|
|
||||||
[node name="AnimatedSprite2" type="AnimatedSprite" parent="ParallaxBackground/ParallaxLayer5"]
|
[node name="AnimatedSprite2" type="AnimatedSprite" parent="ParallaxBackground/ParallaxLayer5"]
|
||||||
frames = SubResource( 8 )
|
frames = SubResource( 8 )
|
||||||
frame = 10
|
frame = 6
|
||||||
playing = true
|
playing = true
|
||||||
|
|||||||
@ -276,14 +276,14 @@ func jump():
|
|||||||
reverse_facing_direction()
|
reverse_facing_direction()
|
||||||
was_restricted = false
|
was_restricted = false
|
||||||
|
|
||||||
if (get_facing_direction() < 0 && $Left_Wallcast.is_colliding()):
|
|
||||||
v = zero_vector
|
|
||||||
if (get_facing_direction() > 0 && $Right_Wallcast.is_colliding()):
|
|
||||||
v = zero_vector
|
|
||||||
if ($Right_Wallcast.is_colliding() && $Left_Wallcast.is_colliding()):
|
if ($Right_Wallcast.is_colliding() && $Left_Wallcast.is_colliding()):
|
||||||
# TODO No idea what it might do in these situations
|
# TODO No idea what it might do in these situations
|
||||||
print("help this is a really tight space :(")
|
print("help this is a really tight space :(")
|
||||||
|
elif (get_facing_direction() < 0 && $Left_Wallcast.is_colliding()):
|
||||||
v = zero_vector
|
v = zero_vector
|
||||||
|
elif (get_facing_direction() > 0 && $Right_Wallcast.is_colliding()):
|
||||||
|
v = zero_vector
|
||||||
|
|
||||||
|
|
||||||
v = correct_jump_direction(v)
|
v = correct_jump_direction(v)
|
||||||
if(v != zero_vector):
|
if(v != zero_vector):
|
||||||
|
|||||||
@ -44,7 +44,7 @@ func searching():
|
|||||||
if !sightline.is_colliding():
|
if !sightline.is_colliding():
|
||||||
return
|
return
|
||||||
if sightline.get_collision_point().distance_to(position) > vision_distance * 24:
|
if sightline.get_collision_point().distance_to(position) > vision_distance * 24:
|
||||||
print(sightline.get_collision_point().distance_to(position))
|
#print(sightline.get_collision_point().distance_to(position))
|
||||||
return
|
return
|
||||||
# The collider returns not the area or body it hit, but the parent of them
|
# The collider returns not the area or body it hit, but the parent of them
|
||||||
var collider = sightline.get_collider()
|
var collider = sightline.get_collider()
|
||||||
|
|||||||
@ -34,6 +34,7 @@ func selfActivate():
|
|||||||
|
|
||||||
func _on_ActivatorArea_area_entered(area:Area2D) -> void:
|
func _on_ActivatorArea_area_entered(area:Area2D) -> void:
|
||||||
$Label.visible = true
|
$Label.visible = true
|
||||||
|
$Label.text = " [e] \n Time: " + String(elevator_time) + " sec"
|
||||||
activatable = true
|
activatable = true
|
||||||
|
|
||||||
func _on_ActivatorArea_area_exited(area:Area2D) -> void:
|
func _on_ActivatorArea_area_exited(area:Area2D) -> void:
|
||||||
|
|||||||
104
src/Environment/AlienGreenhouseTileSet.tres
Normal file
104
src/Environment/AlienGreenhouseTileSet.tres
Normal file
@ -0,0 +1,104 @@
|
|||||||
|
[gd_resource type="TileSet" load_steps=9 format=2]
|
||||||
|
|
||||||
|
[ext_resource path="res://assets/environment/blocks/GreenhouseInnerEdge.png" type="Texture" id=1]
|
||||||
|
[ext_resource path="res://assets/environment/blocks/GreenhouseOuteredge.png" type="Texture" id=2]
|
||||||
|
[ext_resource path="res://assets/environment/blocks/GreenhouseHorizontal.png" type="Texture" id=3]
|
||||||
|
[ext_resource path="res://assets/environment/blocks/GreenhouseVertical.png" type="Texture" id=4]
|
||||||
|
|
||||||
|
[sub_resource type="ConvexPolygonShape2D" id=1]
|
||||||
|
points = PoolVector2Array( 0, 0, 24, 0, 24, 24, 0, 24 )
|
||||||
|
|
||||||
|
[sub_resource type="ConvexPolygonShape2D" id=2]
|
||||||
|
points = PoolVector2Array( 0, 0, 24, 0, 24, 24, 0, 24 )
|
||||||
|
|
||||||
|
[sub_resource type="ConvexPolygonShape2D" id=3]
|
||||||
|
points = PoolVector2Array( 0, 0, 24, 0, 24, 24, 0, 24 )
|
||||||
|
|
||||||
|
[sub_resource type="ConvexPolygonShape2D" id=4]
|
||||||
|
points = PoolVector2Array( 0, 0, 24, 0, 24, 24, 0, 24 )
|
||||||
|
|
||||||
|
[resource]
|
||||||
|
0/name = "GreenhouseHorizontal.png 0"
|
||||||
|
0/texture = ExtResource( 3 )
|
||||||
|
0/tex_offset = Vector2( 0, 0 )
|
||||||
|
0/modulate = Color( 1, 1, 1, 1 )
|
||||||
|
0/region = Rect2( 0, 0, 24, 24 )
|
||||||
|
0/tile_mode = 0
|
||||||
|
0/occluder_offset = Vector2( 0, 0 )
|
||||||
|
0/navigation_offset = Vector2( 0, 0 )
|
||||||
|
0/shape_offset = Vector2( 0, 0 )
|
||||||
|
0/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 )
|
||||||
|
0/shape = SubResource( 1 )
|
||||||
|
0/shape_one_way = false
|
||||||
|
0/shape_one_way_margin = 1.0
|
||||||
|
0/shapes = [ {
|
||||||
|
"autotile_coord": Vector2( 0, 0 ),
|
||||||
|
"one_way": false,
|
||||||
|
"one_way_margin": 1.0,
|
||||||
|
"shape": SubResource( 1 ),
|
||||||
|
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
|
||||||
|
} ]
|
||||||
|
0/z_index = 0
|
||||||
|
1/name = "GreenhouseInnerEdge.png 1"
|
||||||
|
1/texture = ExtResource( 1 )
|
||||||
|
1/tex_offset = Vector2( 0, 0 )
|
||||||
|
1/modulate = Color( 1, 1, 1, 1 )
|
||||||
|
1/region = Rect2( 0, 0, 24, 24 )
|
||||||
|
1/tile_mode = 0
|
||||||
|
1/occluder_offset = Vector2( 0, 0 )
|
||||||
|
1/navigation_offset = Vector2( 0, 0 )
|
||||||
|
1/shape_offset = Vector2( 0, 0 )
|
||||||
|
1/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 )
|
||||||
|
1/shape = SubResource( 2 )
|
||||||
|
1/shape_one_way = false
|
||||||
|
1/shape_one_way_margin = 1.0
|
||||||
|
1/shapes = [ {
|
||||||
|
"autotile_coord": Vector2( 0, 0 ),
|
||||||
|
"one_way": false,
|
||||||
|
"one_way_margin": 1.0,
|
||||||
|
"shape": SubResource( 2 ),
|
||||||
|
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
|
||||||
|
} ]
|
||||||
|
1/z_index = 0
|
||||||
|
2/name = "GreenhouseOuteredge.png 2"
|
||||||
|
2/texture = ExtResource( 2 )
|
||||||
|
2/tex_offset = Vector2( 0, 0 )
|
||||||
|
2/modulate = Color( 1, 1, 1, 1 )
|
||||||
|
2/region = Rect2( 0, 0, 24, 24 )
|
||||||
|
2/tile_mode = 0
|
||||||
|
2/occluder_offset = Vector2( 0, 0 )
|
||||||
|
2/navigation_offset = Vector2( 0, 0 )
|
||||||
|
2/shape_offset = Vector2( 0, 0 )
|
||||||
|
2/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 )
|
||||||
|
2/shape = SubResource( 3 )
|
||||||
|
2/shape_one_way = false
|
||||||
|
2/shape_one_way_margin = 1.0
|
||||||
|
2/shapes = [ {
|
||||||
|
"autotile_coord": Vector2( 0, 0 ),
|
||||||
|
"one_way": false,
|
||||||
|
"one_way_margin": 1.0,
|
||||||
|
"shape": SubResource( 3 ),
|
||||||
|
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
|
||||||
|
} ]
|
||||||
|
2/z_index = 0
|
||||||
|
3/name = "GreenhouseVertical.png 3"
|
||||||
|
3/texture = ExtResource( 4 )
|
||||||
|
3/tex_offset = Vector2( 0, 0 )
|
||||||
|
3/modulate = Color( 1, 1, 1, 1 )
|
||||||
|
3/region = Rect2( 0, 0, 24, 24 )
|
||||||
|
3/tile_mode = 0
|
||||||
|
3/occluder_offset = Vector2( 0, 0 )
|
||||||
|
3/navigation_offset = Vector2( 0, 0 )
|
||||||
|
3/shape_offset = Vector2( 0, 0 )
|
||||||
|
3/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 )
|
||||||
|
3/shape = SubResource( 4 )
|
||||||
|
3/shape_one_way = false
|
||||||
|
3/shape_one_way_margin = 1.0
|
||||||
|
3/shapes = [ {
|
||||||
|
"autotile_coord": Vector2( 0, 0 ),
|
||||||
|
"one_way": false,
|
||||||
|
"one_way_margin": 1.0,
|
||||||
|
"shape": SubResource( 4 ),
|
||||||
|
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
|
||||||
|
} ]
|
||||||
|
3/z_index = 0
|
||||||
21
src/Environment/Greenhouse.tscn
Normal file
21
src/Environment/Greenhouse.tscn
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
[gd_scene load_steps=3 format=2]
|
||||||
|
|
||||||
|
[ext_resource path="res://src/Environment/AlienGreenhouseTileSet.tres" type="TileSet" id=1]
|
||||||
|
[ext_resource path="res://src/Environment/RootsAndLeavesTiles.tres" type="TileSet" id=2]
|
||||||
|
|
||||||
|
[node name="Greenhouse" type="TileMap"]
|
||||||
|
tile_set = ExtResource( 1 )
|
||||||
|
cell_size = Vector2( 24, 24 )
|
||||||
|
cell_quadrant_size = 6
|
||||||
|
cell_custom_transform = Transform2D( 0, 0, 0, 0, 0, 0 )
|
||||||
|
collision_layer = 8
|
||||||
|
collision_mask = 8
|
||||||
|
format = 1
|
||||||
|
|
||||||
|
[node name="RootsAndLeaves" type="TileMap" parent="."]
|
||||||
|
z_index = -1
|
||||||
|
tile_set = ExtResource( 2 )
|
||||||
|
cell_size = Vector2( 24, 24 )
|
||||||
|
collision_layer = 0
|
||||||
|
collision_mask = 0
|
||||||
|
format = 1
|
||||||
19
src/Environment/RootsAndLeavesTiles.tres
Normal file
19
src/Environment/RootsAndLeavesTiles.tres
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
[gd_resource type="TileSet" load_steps=2 format=2]
|
||||||
|
|
||||||
|
[ext_resource path="res://assets/environment/blocks/GreenhouseInner.png" type="Texture" id=1]
|
||||||
|
|
||||||
|
[resource]
|
||||||
|
0/name = "GreenhouseInner.png 0"
|
||||||
|
0/texture = ExtResource( 1 )
|
||||||
|
0/tex_offset = Vector2( 0, 0 )
|
||||||
|
0/modulate = Color( 1, 1, 1, 1 )
|
||||||
|
0/region = Rect2( 0, 0, 24, 24 )
|
||||||
|
0/tile_mode = 0
|
||||||
|
0/occluder_offset = Vector2( 0, 0 )
|
||||||
|
0/navigation_offset = Vector2( 0, 0 )
|
||||||
|
0/shape_offset = Vector2( 0, 0 )
|
||||||
|
0/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 )
|
||||||
|
0/shape_one_way = false
|
||||||
|
0/shape_one_way_margin = 0.0
|
||||||
|
0/shapes = [ ]
|
||||||
|
0/z_index = 0
|
||||||
File diff suppressed because one or more lines are too long
@ -47,10 +47,10 @@ unique_name_in_owner = true
|
|||||||
drag_margin_bottom = 0.3
|
drag_margin_bottom = 0.3
|
||||||
|
|
||||||
[node name="AnimatedSprite" parent="BlobbyCam/ParallaxBackground/ParallaxLayer5" index="4"]
|
[node name="AnimatedSprite" parent="BlobbyCam/ParallaxBackground/ParallaxLayer5" index="4"]
|
||||||
frame = 6
|
frame = 9
|
||||||
|
|
||||||
[node name="AnimatedSprite2" parent="BlobbyCam/ParallaxBackground/ParallaxLayer5" index="5"]
|
[node name="AnimatedSprite2" parent="BlobbyCam/ParallaxBackground/ParallaxLayer5" index="5"]
|
||||||
frame = 5
|
frame = 8
|
||||||
|
|
||||||
[node name="Blobby" parent="." instance=ExtResource( 5 )]
|
[node name="Blobby" parent="." instance=ExtResource( 5 )]
|
||||||
unique_name_in_owner = true
|
unique_name_in_owner = true
|
||||||
|
|||||||
331
src/Levels/Actual Level 3.tscn
Normal file
331
src/Levels/Actual Level 3.tscn
Normal file
File diff suppressed because one or more lines are too long
@ -45,40 +45,15 @@ unique_name_in_owner = true
|
|||||||
drag_margin_bottom = 0.3
|
drag_margin_bottom = 0.3
|
||||||
|
|
||||||
[node name="AnimatedSprite" parent="BlobbyCam/ParallaxBackground/ParallaxLayer5" index="4"]
|
[node name="AnimatedSprite" parent="BlobbyCam/ParallaxBackground/ParallaxLayer5" index="4"]
|
||||||
frame = 0
|
frame = 1
|
||||||
|
|
||||||
[node name="AnimatedSprite2" parent="BlobbyCam/ParallaxBackground/ParallaxLayer5" index="5"]
|
|
||||||
frame = 0
|
|
||||||
|
|
||||||
[node name="Blobby" parent="." instance=ExtResource( 9 )]
|
[node name="Blobby" parent="." instance=ExtResource( 9 )]
|
||||||
unique_name_in_owner = true
|
unique_name_in_owner = true
|
||||||
position = Vector2( 0, -3 )
|
position = Vector2( 0, -3 )
|
||||||
|
|
||||||
[node name="CollisionPolygon2D" parent="Blobby/BlobbySkin" index="0"]
|
|
||||||
position = Vector2( 0.0286326, -10.0053 )
|
|
||||||
|
|
||||||
[node name="BlobbySprite" parent="Blobby" index="3"]
|
|
||||||
scale = Vector2( -1, 1 )
|
|
||||||
frame = 5
|
|
||||||
|
|
||||||
[node name="AnimationTree" parent="Blobby/BlobbySprite" index="0"]
|
[node name="AnimationTree" parent="Blobby/BlobbySprite" index="0"]
|
||||||
parameters/playback = SubResource( 4 )
|
parameters/playback = SubResource( 4 )
|
||||||
|
|
||||||
[node name="BlobbyBody" parent="Blobby" index="8"]
|
|
||||||
position = Vector2( 0.0392303, -10.002 )
|
|
||||||
|
|
||||||
[node name="Left_Wallcast1" parent="Blobby/WallRaycasts/LeftWallRaycast" index="0"]
|
|
||||||
position = Vector2( -11.9763, -5 )
|
|
||||||
|
|
||||||
[node name="Left_Wallcast2" parent="Blobby/WallRaycasts/LeftWallRaycast" index="1"]
|
|
||||||
position = Vector2( -11.9763, 5 )
|
|
||||||
|
|
||||||
[node name="Right_Wallcast1" parent="Blobby/WallRaycasts/RightWallRaycast" index="0"]
|
|
||||||
position = Vector2( 12.0551, -5 )
|
|
||||||
|
|
||||||
[node name="Right_Wallcast2" parent="Blobby/WallRaycasts/RightWallRaycast" index="1"]
|
|
||||||
position = Vector2( 12.0551, 5 )
|
|
||||||
|
|
||||||
[node name="PitArea" parent="." instance=ExtResource( 10 )]
|
[node name="PitArea" parent="." instance=ExtResource( 10 )]
|
||||||
position = Vector2( 717, 147 )
|
position = Vector2( 717, 147 )
|
||||||
|
|
||||||
@ -254,12 +229,21 @@ scale = Vector2( 1, 1.5 )
|
|||||||
position = Vector2( 756, -15 )
|
position = Vector2( 756, -15 )
|
||||||
z_index = -1
|
z_index = -1
|
||||||
|
|
||||||
|
[node name="AnimatedSprite" parent="Coin" index="2"]
|
||||||
|
frame = 139
|
||||||
|
|
||||||
[node name="Coin2" parent="." instance=ExtResource( 11 )]
|
[node name="Coin2" parent="." instance=ExtResource( 11 )]
|
||||||
position = Vector2( 744, -120 )
|
position = Vector2( 744, -120 )
|
||||||
|
|
||||||
|
[node name="AnimatedSprite" parent="Coin2" index="2"]
|
||||||
|
frame = 70
|
||||||
|
|
||||||
[node name="Coin3" parent="." instance=ExtResource( 11 )]
|
[node name="Coin3" parent="." instance=ExtResource( 11 )]
|
||||||
position = Vector2( 1392, -279 )
|
position = Vector2( 1392, -279 )
|
||||||
|
|
||||||
|
[node name="AnimatedSprite" parent="Coin3" index="2"]
|
||||||
|
frame = 70
|
||||||
|
|
||||||
[node name="Coin4" parent="." instance=ExtResource( 11 )]
|
[node name="Coin4" parent="." instance=ExtResource( 11 )]
|
||||||
position = Vector2( 2340, -156 )
|
position = Vector2( 2340, -156 )
|
||||||
|
|
||||||
@ -291,4 +275,7 @@ position = Vector2( 264, -119 )
|
|||||||
[editable path="PitArea3"]
|
[editable path="PitArea3"]
|
||||||
[editable path="PitArea4"]
|
[editable path="PitArea4"]
|
||||||
[editable path="WhatAreFrog"]
|
[editable path="WhatAreFrog"]
|
||||||
|
[editable path="Coin"]
|
||||||
|
[editable path="Coin2"]
|
||||||
|
[editable path="Coin3"]
|
||||||
[editable path="SavePoint"]
|
[editable path="SavePoint"]
|
||||||
|
|||||||
@ -7,5 +7,7 @@ export var currencyValue: = 1
|
|||||||
|
|
||||||
func _on_body_entered(_body: Node) -> void:
|
func _on_body_entered(_body: Node) -> void:
|
||||||
levelState.currency += currencyValue
|
levelState.currency += currencyValue
|
||||||
|
$AudioStreamPlayer.play()
|
||||||
anim_player.play("fade_out")
|
anim_player.play("fade_out")
|
||||||
|
yield($AudioStreamPlayer, "finished")
|
||||||
queue_free()
|
queue_free()
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
[gd_scene load_steps=322 format=2]
|
[gd_scene load_steps=323 format=2]
|
||||||
|
|
||||||
[ext_resource path="res://assets/neutral object/whitegold orbicle/0020 (Klein)-fs8.png" type="Texture" id=1]
|
[ext_resource path="res://assets/neutral object/whitegold orbicle/0020 (Klein)-fs8.png" type="Texture" id=1]
|
||||||
[ext_resource path="res://src/NeutralObjects/Coin.gd" type="Script" id=2]
|
[ext_resource path="res://src/NeutralObjects/Coin.gd" type="Script" id=2]
|
||||||
@ -315,6 +315,7 @@
|
|||||||
[ext_resource path="res://assets/neutral object/whitegold orbicle/0285 (Klein)-fs8.png" type="Texture" id=313]
|
[ext_resource path="res://assets/neutral object/whitegold orbicle/0285 (Klein)-fs8.png" type="Texture" id=313]
|
||||||
[ext_resource path="res://assets/neutral object/whitegold orbicle/0312 (Klein)-fs8.png" type="Texture" id=314]
|
[ext_resource path="res://assets/neutral object/whitegold orbicle/0312 (Klein)-fs8.png" type="Texture" id=314]
|
||||||
[ext_resource path="res://assets/neutral object/whitegold orbicle/0287 (Klein)-fs8.png" type="Texture" id=315]
|
[ext_resource path="res://assets/neutral object/whitegold orbicle/0287 (Klein)-fs8.png" type="Texture" id=315]
|
||||||
|
[ext_resource path="res://assets/sounds/BrokenWindows3.ogg" type="AudioStream" id=316]
|
||||||
|
|
||||||
[sub_resource type="CircleShape2D" id=1]
|
[sub_resource type="CircleShape2D" id=1]
|
||||||
radius = 34.0147
|
radius = 34.0147
|
||||||
@ -452,7 +453,13 @@ rotation = -0.235619
|
|||||||
scale = Vector2( 0.2, 0.2 )
|
scale = Vector2( 0.2, 0.2 )
|
||||||
frames = SubResource( 4 )
|
frames = SubResource( 4 )
|
||||||
animation = "rotate"
|
animation = "rotate"
|
||||||
frame = 128
|
frame = 294
|
||||||
playing = true
|
playing = true
|
||||||
|
|
||||||
|
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
|
||||||
|
stream = ExtResource( 316 )
|
||||||
|
volume_db = -9.044
|
||||||
|
pitch_scale = 1.1
|
||||||
|
bus = "Effects"
|
||||||
|
|
||||||
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
|
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
|
||||||
|
|||||||
@ -20,7 +20,7 @@ tracks/0/keys = {
|
|||||||
"times": PoolRealArray( 0, 3 ),
|
"times": PoolRealArray( 0, 3 ),
|
||||||
"transitions": PoolRealArray( 1.33, 1.33 ),
|
"transitions": PoolRealArray( 1.33, 1.33 ),
|
||||||
"update": 0,
|
"update": 0,
|
||||||
"values": [ Vector2( 0, 0 ), Vector2( 48, 0 ) ]
|
"values": [ Vector2( 0, 0 ), Vector2( 84, 0 ) ]
|
||||||
}
|
}
|
||||||
|
|
||||||
[node name="FlyingPlatformClean" type="Node2D"]
|
[node name="FlyingPlatformClean" type="Node2D"]
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
[gd_scene load_steps=9 format=2]
|
[gd_scene load_steps=10 format=2]
|
||||||
|
|
||||||
[ext_resource path="res://src/UserInterface/Buttons/QuitButton.tscn" type="PackedScene" id=1]
|
[ext_resource path="res://src/UserInterface/Buttons/QuitButton.tscn" type="PackedScene" id=1]
|
||||||
[ext_resource path="res://src/UserInterface/Buttons/Titel.tscn" type="PackedScene" id=2]
|
[ext_resource path="res://src/UserInterface/Buttons/Titel.tscn" type="PackedScene" id=2]
|
||||||
@ -8,6 +8,7 @@
|
|||||||
[ext_resource path="res://src/UserInterface/Screens/LevelList.gd" type="Script" id=6]
|
[ext_resource path="res://src/UserInterface/Screens/LevelList.gd" type="Script" id=6]
|
||||||
[ext_resource path="res://src/UserInterface/Screens/LevelSelectButtonGroup.tres" type="ButtonGroup" id=7]
|
[ext_resource path="res://src/UserInterface/Screens/LevelSelectButtonGroup.tres" type="ButtonGroup" id=7]
|
||||||
[ext_resource path="res://assets/environment/background/Spaceship-Wall.png" type="Texture" id=8]
|
[ext_resource path="res://assets/environment/background/Spaceship-Wall.png" type="Texture" id=8]
|
||||||
|
[ext_resource path="res://assets/sounds/EpsonStart.ogg" type="AudioStream" id=9]
|
||||||
|
|
||||||
[node name="MainScreen" type="Control"]
|
[node name="MainScreen" type="Control"]
|
||||||
anchor_right = 1.0
|
anchor_right = 1.0
|
||||||
@ -84,3 +85,9 @@ visible = false
|
|||||||
margin_right = 24.0
|
margin_right = 24.0
|
||||||
margin_bottom = 24.0
|
margin_bottom = 24.0
|
||||||
group = ExtResource( 7 )
|
group = ExtResource( 7 )
|
||||||
|
|
||||||
|
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
|
||||||
|
stream = ExtResource( 9 )
|
||||||
|
volume_db = -10.065
|
||||||
|
autoplay = true
|
||||||
|
bus = "Music"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user