Bunch of assets transfered over
BIN
audio/interaction/approach_blob.wav
Normal file
24
audio/interaction/approach_blob.wav.import
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="wav"
|
||||||
|
type="AudioStreamWAV"
|
||||||
|
uid="uid://bkr3tfo0joswa"
|
||||||
|
path="res://.godot/imported/approach_blob.wav-48ef351c39fe46ac353ba7205681ae44.sample"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://audio/interaction/approach_blob.wav"
|
||||||
|
dest_files=["res://.godot/imported/approach_blob.wav-48ef351c39fe46ac353ba7205681ae44.sample"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
force/8_bit=false
|
||||||
|
force/mono=false
|
||||||
|
force/max_rate=false
|
||||||
|
force/max_rate_hz=44100
|
||||||
|
edit/trim=false
|
||||||
|
edit/normalize=false
|
||||||
|
edit/loop_mode=0
|
||||||
|
edit/loop_begin=0
|
||||||
|
edit/loop_end=-1
|
||||||
|
compress/mode=0
|
BIN
audio/interaction/click_button.wav
Normal file
24
audio/interaction/click_button.wav.import
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="wav"
|
||||||
|
type="AudioStreamWAV"
|
||||||
|
uid="uid://drrlt22iyobmi"
|
||||||
|
path="res://.godot/imported/click_button.wav-ab85da9d0d4bf6a1bc0bf08af7232f15.sample"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://audio/interaction/click_button.wav"
|
||||||
|
dest_files=["res://.godot/imported/click_button.wav-ab85da9d0d4bf6a1bc0bf08af7232f15.sample"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
force/8_bit=false
|
||||||
|
force/mono=false
|
||||||
|
force/max_rate=false
|
||||||
|
force/max_rate_hz=44100
|
||||||
|
edit/trim=false
|
||||||
|
edit/normalize=false
|
||||||
|
edit/loop_mode=0
|
||||||
|
edit/loop_begin=0
|
||||||
|
edit/loop_end=-1
|
||||||
|
compress/mode=0
|
BIN
audio/interaction/gravity_switch.wav
Normal file
24
audio/interaction/gravity_switch.wav.import
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="wav"
|
||||||
|
type="AudioStreamWAV"
|
||||||
|
uid="uid://cba1ao8plk6he"
|
||||||
|
path="res://.godot/imported/gravity_switch.wav-9fdcf6ad16cf63b077a4c80630d2e9c4.sample"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://audio/interaction/gravity_switch.wav"
|
||||||
|
dest_files=["res://.godot/imported/gravity_switch.wav-9fdcf6ad16cf63b077a4c80630d2e9c4.sample"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
force/8_bit=false
|
||||||
|
force/mono=false
|
||||||
|
force/max_rate=false
|
||||||
|
force/max_rate_hz=44100
|
||||||
|
edit/trim=false
|
||||||
|
edit/normalize=false
|
||||||
|
edit/loop_mode=0
|
||||||
|
edit/loop_begin=0
|
||||||
|
edit/loop_end=-1
|
||||||
|
compress/mode=0
|
BIN
audio/interaction/land_sound.wav
Normal file
24
audio/interaction/land_sound.wav.import
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="wav"
|
||||||
|
type="AudioStreamWAV"
|
||||||
|
uid="uid://c8sh0eyhxjbvr"
|
||||||
|
path="res://.godot/imported/land_sound.wav-46908f3a09ea724b34cd4e420894c2d1.sample"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://audio/interaction/land_sound.wav"
|
||||||
|
dest_files=["res://.godot/imported/land_sound.wav-46908f3a09ea724b34cd4e420894c2d1.sample"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
force/8_bit=false
|
||||||
|
force/mono=false
|
||||||
|
force/max_rate=false
|
||||||
|
force/max_rate_hz=44100
|
||||||
|
edit/trim=false
|
||||||
|
edit/normalize=false
|
||||||
|
edit/loop_mode=0
|
||||||
|
edit/loop_begin=0
|
||||||
|
edit/loop_end=-1
|
||||||
|
compress/mode=0
|
BIN
audio/interaction/start_game.wav
Normal file
24
audio/interaction/start_game.wav.import
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="wav"
|
||||||
|
type="AudioStreamWAV"
|
||||||
|
uid="uid://djnf2g5k4c5li"
|
||||||
|
path="res://.godot/imported/start_game.wav-e4927e30d2df9d80f7f5ea16120591ec.sample"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://audio/interaction/start_game.wav"
|
||||||
|
dest_files=["res://.godot/imported/start_game.wav-e4927e30d2df9d80f7f5ea16120591ec.sample"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
force/8_bit=false
|
||||||
|
force/mono=false
|
||||||
|
force/max_rate=false
|
||||||
|
force/max_rate_hz=44100
|
||||||
|
edit/trim=false
|
||||||
|
edit/normalize=false
|
||||||
|
edit/loop_mode=0
|
||||||
|
edit/loop_begin=0
|
||||||
|
edit/loop_end=-1
|
||||||
|
compress/mode=0
|
BIN
audio/interaction/win_sound.wav
Normal file
24
audio/interaction/win_sound.wav.import
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="wav"
|
||||||
|
type="AudioStreamWAV"
|
||||||
|
uid="uid://4jvj33e2xt3"
|
||||||
|
path="res://.godot/imported/win_sound.wav-8a677887cff451eb943f9641e93a1534.sample"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://audio/interaction/win_sound.wav"
|
||||||
|
dest_files=["res://.godot/imported/win_sound.wav-8a677887cff451eb943f9641e93a1534.sample"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
force/8_bit=false
|
||||||
|
force/mono=false
|
||||||
|
force/max_rate=false
|
||||||
|
force/max_rate_hz=44100
|
||||||
|
edit/trim=false
|
||||||
|
edit/normalize=false
|
||||||
|
edit/loop_mode=0
|
||||||
|
edit/loop_begin=0
|
||||||
|
edit/loop_end=-1
|
||||||
|
compress/mode=0
|
BIN
audio/interaction/wind_howl.wav
Normal file
24
audio/interaction/wind_howl.wav.import
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="wav"
|
||||||
|
type="AudioStreamWAV"
|
||||||
|
uid="uid://bmtn3w6i3u5w5"
|
||||||
|
path="res://.godot/imported/wind_howl.wav-2637feb53efa5af11d978f60779ebe89.sample"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://audio/interaction/wind_howl.wav"
|
||||||
|
dest_files=["res://.godot/imported/wind_howl.wav-2637feb53efa5af11d978f60779ebe89.sample"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
force/8_bit=false
|
||||||
|
force/mono=false
|
||||||
|
force/max_rate=false
|
||||||
|
force/max_rate_hz=44100
|
||||||
|
edit/trim=false
|
||||||
|
edit/normalize=false
|
||||||
|
edit/loop_mode=0
|
||||||
|
edit/loop_begin=0
|
||||||
|
edit/loop_end=-1
|
||||||
|
compress/mode=0
|
BIN
audio/music/ambient/Ambience.ogg
Normal file
19
audio/music/ambient/Ambience.ogg.import
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="oggvorbisstr"
|
||||||
|
type="AudioStreamOggVorbis"
|
||||||
|
uid="uid://4vcstw6emkmc"
|
||||||
|
path="res://.godot/imported/Ambience.ogg-fee45628fe03dc1924a17bcb9d99a1e0.oggvorbisstr"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://audio/music/ambient/Ambience.ogg"
|
||||||
|
dest_files=["res://.godot/imported/Ambience.ogg-fee45628fe03dc1924a17bcb9d99a1e0.oggvorbisstr"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
loop=false
|
||||||
|
loop_offset=0
|
||||||
|
bpm=0
|
||||||
|
beat_count=0
|
||||||
|
bar_beats=4
|
BIN
audio/music/ambient/Doubt.ogg
Normal file
19
audio/music/ambient/Doubt.ogg.import
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="oggvorbisstr"
|
||||||
|
type="AudioStreamOggVorbis"
|
||||||
|
uid="uid://0xs64huiibat"
|
||||||
|
path="res://.godot/imported/Doubt.ogg-9b1cb2959d7f550fa86d318923bfe470.oggvorbisstr"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://audio/music/ambient/Doubt.ogg"
|
||||||
|
dest_files=["res://.godot/imported/Doubt.ogg-9b1cb2959d7f550fa86d318923bfe470.oggvorbisstr"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
loop=false
|
||||||
|
loop_offset=0
|
||||||
|
bpm=0
|
||||||
|
beat_count=0
|
||||||
|
bar_beats=4
|
BIN
audio/music/ambient/Wail.ogg
Normal file
19
audio/music/ambient/Wail.ogg.import
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="oggvorbisstr"
|
||||||
|
type="AudioStreamOggVorbis"
|
||||||
|
uid="uid://c85tw4oo4hphf"
|
||||||
|
path="res://.godot/imported/Wail.ogg-bf70c3753f5b0f8e2b5d85d2055527f5.oggvorbisstr"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://audio/music/ambient/Wail.ogg"
|
||||||
|
dest_files=["res://.godot/imported/Wail.ogg-bf70c3753f5b0f8e2b5d85d2055527f5.oggvorbisstr"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
loop=false
|
||||||
|
loop_offset=0
|
||||||
|
bpm=0
|
||||||
|
beat_count=0
|
||||||
|
bar_beats=4
|
BIN
audio/music/ambient/distant_world.ogg
Normal file
19
audio/music/ambient/distant_world.ogg.import
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="oggvorbisstr"
|
||||||
|
type="AudioStreamOggVorbis"
|
||||||
|
uid="uid://4m8yye7o7hvq"
|
||||||
|
path="res://.godot/imported/distant_world.ogg-d88ff5bb0291c150f4bd63c095f96d8b.oggvorbisstr"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://audio/music/ambient/distant_world.ogg"
|
||||||
|
dest_files=["res://.godot/imported/distant_world.ogg-d88ff5bb0291c150f4bd63c095f96d8b.oggvorbisstr"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
loop=false
|
||||||
|
loop_offset=0
|
||||||
|
bpm=0
|
||||||
|
beat_count=0
|
||||||
|
bar_beats=4
|
BIN
audio/music/ambient/fluttering_whispers.ogg
Normal file
19
audio/music/ambient/fluttering_whispers.ogg.import
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="oggvorbisstr"
|
||||||
|
type="AudioStreamOggVorbis"
|
||||||
|
uid="uid://dryecf68wxpup"
|
||||||
|
path="res://.godot/imported/fluttering_whispers.ogg-38185cbae12b31f83cda3f304bcbbcbc.oggvorbisstr"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://audio/music/ambient/fluttering_whispers.ogg"
|
||||||
|
dest_files=["res://.godot/imported/fluttering_whispers.ogg-38185cbae12b31f83cda3f304bcbbcbc.oggvorbisstr"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
loop=false
|
||||||
|
loop_offset=0
|
||||||
|
bpm=0
|
||||||
|
beat_count=0
|
||||||
|
bar_beats=4
|
BIN
audio/music/ambient/in_harmony.ogg
Normal file
19
audio/music/ambient/in_harmony.ogg.import
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="oggvorbisstr"
|
||||||
|
type="AudioStreamOggVorbis"
|
||||||
|
uid="uid://5jvuayc73gp0"
|
||||||
|
path="res://.godot/imported/in_harmony.ogg-9cf35a69ad3eb4bbd566c07028ec6b51.oggvorbisstr"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://audio/music/ambient/in_harmony.ogg"
|
||||||
|
dest_files=["res://.godot/imported/in_harmony.ogg-9cf35a69ad3eb4bbd566c07028ec6b51.oggvorbisstr"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
loop=false
|
||||||
|
loop_offset=0
|
||||||
|
bpm=0
|
||||||
|
beat_count=0
|
||||||
|
bar_beats=4
|
BIN
audio/music/ambient/lost_in_the_dark.ogg
Normal file
19
audio/music/ambient/lost_in_the_dark.ogg.import
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="oggvorbisstr"
|
||||||
|
type="AudioStreamOggVorbis"
|
||||||
|
uid="uid://wq7ert7yw5vo"
|
||||||
|
path="res://.godot/imported/lost_in_the_dark.ogg-7124830ee77683d583d2181072f7fc5f.oggvorbisstr"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://audio/music/ambient/lost_in_the_dark.ogg"
|
||||||
|
dest_files=["res://.godot/imported/lost_in_the_dark.ogg-7124830ee77683d583d2181072f7fc5f.oggvorbisstr"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
loop=false
|
||||||
|
loop_offset=0
|
||||||
|
bpm=0
|
||||||
|
beat_count=0
|
||||||
|
bar_beats=4
|
BIN
audio/music/ambient/music_unknown_link.ogg
Normal file
19
audio/music/ambient/music_unknown_link.ogg.import
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="oggvorbisstr"
|
||||||
|
type="AudioStreamOggVorbis"
|
||||||
|
uid="uid://dd6u61nirutwf"
|
||||||
|
path="res://.godot/imported/music_unknown_link.ogg-b27063024188b69cfecc038ebf6d3e5c.oggvorbisstr"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://audio/music/ambient/music_unknown_link.ogg"
|
||||||
|
dest_files=["res://.godot/imported/music_unknown_link.ogg-b27063024188b69cfecc038ebf6d3e5c.oggvorbisstr"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
loop=false
|
||||||
|
loop_offset=0
|
||||||
|
bpm=0
|
||||||
|
beat_count=0
|
||||||
|
bar_beats=4
|
BIN
audio/music/ambient/music_voices.ogg
Normal file
19
audio/music/ambient/music_voices.ogg.import
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="oggvorbisstr"
|
||||||
|
type="AudioStreamOggVorbis"
|
||||||
|
uid="uid://cb76y6yx25jm7"
|
||||||
|
path="res://.godot/imported/music_voices.ogg-16282ecc2771336ae473d723a5fb7a80.oggvorbisstr"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://audio/music/ambient/music_voices.ogg"
|
||||||
|
dest_files=["res://.godot/imported/music_voices.ogg-16282ecc2771336ae473d723a5fb7a80.oggvorbisstr"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
loop=false
|
||||||
|
loop_offset=0
|
||||||
|
bpm=0
|
||||||
|
beat_count=0
|
||||||
|
bar_beats=4
|
BIN
audio/music/ambient/realise.ogg
Normal file
19
audio/music/ambient/realise.ogg.import
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="oggvorbisstr"
|
||||||
|
type="AudioStreamOggVorbis"
|
||||||
|
uid="uid://c75hl84kfmbo5"
|
||||||
|
path="res://.godot/imported/realise.ogg-3a1ddda30ef665a8fdfa6f3b993006ba.oggvorbisstr"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://audio/music/ambient/realise.ogg"
|
||||||
|
dest_files=["res://.godot/imported/realise.ogg-3a1ddda30ef665a8fdfa6f3b993006ba.oggvorbisstr"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
loop=false
|
||||||
|
loop_offset=0
|
||||||
|
bpm=0
|
||||||
|
beat_count=0
|
||||||
|
bar_beats=4
|
BIN
audio/music/ambient/resonating_walls.ogg
Normal file
19
audio/music/ambient/resonating_walls.ogg.import
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="oggvorbisstr"
|
||||||
|
type="AudioStreamOggVorbis"
|
||||||
|
uid="uid://c3lft8vfb1kwm"
|
||||||
|
path="res://.godot/imported/resonating_walls.ogg-fdb171e46162731c02b60ff91e8f175e.oggvorbisstr"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://audio/music/ambient/resonating_walls.ogg"
|
||||||
|
dest_files=["res://.godot/imported/resonating_walls.ogg-fdb171e46162731c02b60ff91e8f175e.oggvorbisstr"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
loop=false
|
||||||
|
loop_offset=0
|
||||||
|
bpm=0
|
||||||
|
beat_count=0
|
||||||
|
bar_beats=4
|
BIN
audio/music/ambient/timeless.ogg
Normal file
19
audio/music/ambient/timeless.ogg.import
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="oggvorbisstr"
|
||||||
|
type="AudioStreamOggVorbis"
|
||||||
|
uid="uid://btk0mdu2m7b1a"
|
||||||
|
path="res://.godot/imported/timeless.ogg-364c9ac35d0440afcc64f6212a5cd2ca.oggvorbisstr"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://audio/music/ambient/timeless.ogg"
|
||||||
|
dest_files=["res://.godot/imported/timeless.ogg-364c9ac35d0440afcc64f6212a5cd2ca.oggvorbisstr"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
loop=false
|
||||||
|
loop_offset=0
|
||||||
|
bpm=0
|
||||||
|
beat_count=0
|
||||||
|
bar_beats=4
|
34
audio/music/music_engine.gd
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
extends AudioStreamPlayer
|
||||||
|
|
||||||
|
@export var ambient: Array[AudioStream]
|
||||||
|
@export var songs: Array[AudioStream]
|
||||||
|
|
||||||
|
# How many more until a song is played?
|
||||||
|
var song = 1
|
||||||
|
|
||||||
|
# Called when the node enters the scene tree for the first time.
|
||||||
|
func _ready():
|
||||||
|
randomize()
|
||||||
|
ambient.shuffle()
|
||||||
|
songs.shuffle()
|
||||||
|
|
||||||
|
|
||||||
|
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||||
|
func _process(delta):
|
||||||
|
# Get the next song
|
||||||
|
if !playing:
|
||||||
|
var new_song
|
||||||
|
# Play a song or a ambient!
|
||||||
|
if song == 0:
|
||||||
|
# Next one won't be a song!
|
||||||
|
song = randi_range(1, 3)
|
||||||
|
songs.push_back(songs[0])
|
||||||
|
new_song = songs.pop_front()
|
||||||
|
else:
|
||||||
|
ambient.push_back(ambient[0])
|
||||||
|
new_song = ambient.pop_front()
|
||||||
|
song -= 1
|
||||||
|
stream = new_song
|
||||||
|
print("Playing: " + new_song.resource_path.get_file().get_basename())
|
||||||
|
play()
|
||||||
|
|
29
audio/music/music_engine.tscn
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
[gd_scene load_steps=21 format=3 uid="uid://bkgacevpcgbtj"]
|
||||||
|
|
||||||
|
[ext_resource type="Script" path="res://audio/music/music_engine.gd" id="2_a0uoy"]
|
||||||
|
[ext_resource type="AudioStream" uid="uid://4vcstw6emkmc" path="res://audio/music/ambient/Ambience.ogg" id="2_bcnt1"]
|
||||||
|
[ext_resource type="AudioStream" uid="uid://4m8yye7o7hvq" path="res://audio/music/ambient/distant_world.ogg" id="3_ppjkc"]
|
||||||
|
[ext_resource type="AudioStream" uid="uid://0xs64huiibat" path="res://audio/music/ambient/Doubt.ogg" id="4_g7tqm"]
|
||||||
|
[ext_resource type="AudioStream" uid="uid://dryecf68wxpup" path="res://audio/music/ambient/fluttering_whispers.ogg" id="5_cj4fw"]
|
||||||
|
[ext_resource type="AudioStream" uid="uid://5jvuayc73gp0" path="res://audio/music/ambient/in_harmony.ogg" id="6_kko2r"]
|
||||||
|
[ext_resource type="AudioStream" uid="uid://wq7ert7yw5vo" path="res://audio/music/ambient/lost_in_the_dark.ogg" id="7_63bjs"]
|
||||||
|
[ext_resource type="AudioStream" uid="uid://dd6u61nirutwf" path="res://audio/music/ambient/music_unknown_link.ogg" id="8_8hf2e"]
|
||||||
|
[ext_resource type="AudioStream" uid="uid://cb76y6yx25jm7" path="res://audio/music/ambient/music_voices.ogg" id="9_gybu6"]
|
||||||
|
[ext_resource type="AudioStream" uid="uid://c75hl84kfmbo5" path="res://audio/music/ambient/realise.ogg" id="10_snbb2"]
|
||||||
|
[ext_resource type="AudioStream" uid="uid://c3lft8vfb1kwm" path="res://audio/music/ambient/resonating_walls.ogg" id="11_px5ts"]
|
||||||
|
[ext_resource type="AudioStream" uid="uid://btk0mdu2m7b1a" path="res://audio/music/ambient/timeless.ogg" id="12_w3i8n"]
|
||||||
|
[ext_resource type="AudioStream" uid="uid://c85tw4oo4hphf" path="res://audio/music/ambient/Wail.ogg" id="13_2cwji"]
|
||||||
|
[ext_resource type="AudioStream" uid="uid://datenoqw0eofb" path="res://audio/music/songs/ARP.ogg" id="14_hny16"]
|
||||||
|
[ext_resource type="AudioStream" uid="uid://c27f3br1aix8e" path="res://audio/music/songs/box.ogg" id="15_hhnsf"]
|
||||||
|
[ext_resource type="AudioStream" uid="uid://kj0tjthsr7jn" path="res://audio/music/songs/Fear.ogg" id="16_876iw"]
|
||||||
|
[ext_resource type="AudioStream" uid="uid://ccubac1wnt73p" path="res://audio/music/songs/HIRAETH.ogg" id="17_1woym"]
|
||||||
|
[ext_resource type="AudioStream" uid="uid://dxnojbdljk7jt" path="res://audio/music/songs/Illusion.ogg" id="18_igvvp"]
|
||||||
|
[ext_resource type="AudioStream" uid="uid://cfcerv5ojt35v" path="res://audio/music/songs/Tunnel.ogg" id="19_u4ehr"]
|
||||||
|
[ext_resource type="AudioStream" uid="uid://c52a1djp02soy" path="res://audio/music/songs/Void.ogg" id="20_og4vu"]
|
||||||
|
|
||||||
|
[node name="music_engine" type="Node"]
|
||||||
|
|
||||||
|
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
|
||||||
|
script = ExtResource("2_a0uoy")
|
||||||
|
ambient = Array[AudioStream]([ExtResource("2_bcnt1"), ExtResource("3_ppjkc"), ExtResource("4_g7tqm"), ExtResource("5_cj4fw"), ExtResource("6_kko2r"), ExtResource("7_63bjs"), ExtResource("8_8hf2e"), ExtResource("9_gybu6"), ExtResource("10_snbb2"), ExtResource("11_px5ts"), ExtResource("12_w3i8n"), ExtResource("13_2cwji")])
|
||||||
|
songs = Array[AudioStream]([ExtResource("14_hny16"), ExtResource("15_hhnsf"), ExtResource("16_876iw"), ExtResource("17_1woym"), ExtResource("18_igvvp"), ExtResource("19_u4ehr"), ExtResource("20_og4vu")])
|
BIN
audio/music/songs/ARP.ogg
Normal file
19
audio/music/songs/ARP.ogg.import
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="oggvorbisstr"
|
||||||
|
type="AudioStreamOggVorbis"
|
||||||
|
uid="uid://datenoqw0eofb"
|
||||||
|
path="res://.godot/imported/ARP.ogg-81211194c2c92667259b73e8ca4f866b.oggvorbisstr"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://audio/music/songs/ARP.ogg"
|
||||||
|
dest_files=["res://.godot/imported/ARP.ogg-81211194c2c92667259b73e8ca4f866b.oggvorbisstr"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
loop=false
|
||||||
|
loop_offset=0
|
||||||
|
bpm=0
|
||||||
|
beat_count=0
|
||||||
|
bar_beats=4
|
BIN
audio/music/songs/Fear.ogg
Normal file
19
audio/music/songs/Fear.ogg.import
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="oggvorbisstr"
|
||||||
|
type="AudioStreamOggVorbis"
|
||||||
|
uid="uid://kj0tjthsr7jn"
|
||||||
|
path="res://.godot/imported/Fear.ogg-b17d61f3c5a32ccc0ba8c88f1f935009.oggvorbisstr"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://audio/music/songs/Fear.ogg"
|
||||||
|
dest_files=["res://.godot/imported/Fear.ogg-b17d61f3c5a32ccc0ba8c88f1f935009.oggvorbisstr"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
loop=false
|
||||||
|
loop_offset=0
|
||||||
|
bpm=0
|
||||||
|
beat_count=0
|
||||||
|
bar_beats=4
|
BIN
audio/music/songs/HIRAETH.ogg
Normal file
19
audio/music/songs/HIRAETH.ogg.import
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="oggvorbisstr"
|
||||||
|
type="AudioStreamOggVorbis"
|
||||||
|
uid="uid://ccubac1wnt73p"
|
||||||
|
path="res://.godot/imported/HIRAETH.ogg-02616476d742b080bcbbb081ae8e6775.oggvorbisstr"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://audio/music/songs/HIRAETH.ogg"
|
||||||
|
dest_files=["res://.godot/imported/HIRAETH.ogg-02616476d742b080bcbbb081ae8e6775.oggvorbisstr"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
loop=false
|
||||||
|
loop_offset=0
|
||||||
|
bpm=0
|
||||||
|
beat_count=0
|
||||||
|
bar_beats=4
|
BIN
audio/music/songs/Illusion.ogg
Normal file
19
audio/music/songs/Illusion.ogg.import
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="oggvorbisstr"
|
||||||
|
type="AudioStreamOggVorbis"
|
||||||
|
uid="uid://dxnojbdljk7jt"
|
||||||
|
path="res://.godot/imported/Illusion.ogg-42beb7fa2ec318914f8fde7accfd3c26.oggvorbisstr"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://audio/music/songs/Illusion.ogg"
|
||||||
|
dest_files=["res://.godot/imported/Illusion.ogg-42beb7fa2ec318914f8fde7accfd3c26.oggvorbisstr"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
loop=false
|
||||||
|
loop_offset=0.0
|
||||||
|
bpm=0.0
|
||||||
|
beat_count=0
|
||||||
|
bar_beats=4
|
BIN
audio/music/songs/Tunnel.ogg
Normal file
19
audio/music/songs/Tunnel.ogg.import
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="oggvorbisstr"
|
||||||
|
type="AudioStreamOggVorbis"
|
||||||
|
uid="uid://cfcerv5ojt35v"
|
||||||
|
path="res://.godot/imported/Tunnel.ogg-02f360868b24f6da0945a6cb3000793a.oggvorbisstr"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://audio/music/songs/Tunnel.ogg"
|
||||||
|
dest_files=["res://.godot/imported/Tunnel.ogg-02f360868b24f6da0945a6cb3000793a.oggvorbisstr"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
loop=false
|
||||||
|
loop_offset=0
|
||||||
|
bpm=0
|
||||||
|
beat_count=0
|
||||||
|
bar_beats=4
|
BIN
audio/music/songs/Void.ogg
Normal file
19
audio/music/songs/Void.ogg.import
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="oggvorbisstr"
|
||||||
|
type="AudioStreamOggVorbis"
|
||||||
|
uid="uid://c52a1djp02soy"
|
||||||
|
path="res://.godot/imported/Void.ogg-56a98dbe00c8bc1b2bf7d08b9d5aaa42.oggvorbisstr"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://audio/music/songs/Void.ogg"
|
||||||
|
dest_files=["res://.godot/imported/Void.ogg-56a98dbe00c8bc1b2bf7d08b9d5aaa42.oggvorbisstr"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
loop=false
|
||||||
|
loop_offset=0
|
||||||
|
bpm=0
|
||||||
|
beat_count=0
|
||||||
|
bar_beats=4
|
BIN
audio/music/songs/box.ogg
Normal file
19
audio/music/songs/box.ogg.import
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="oggvorbisstr"
|
||||||
|
type="AudioStreamOggVorbis"
|
||||||
|
uid="uid://c27f3br1aix8e"
|
||||||
|
path="res://.godot/imported/box.ogg-1f9450464358d21cd1ff4a3574ad7480.oggvorbisstr"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://audio/music/songs/box.ogg"
|
||||||
|
dest_files=["res://.godot/imported/box.ogg-1f9450464358d21cd1ff4a3574ad7480.oggvorbisstr"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
loop=false
|
||||||
|
loop_offset=0.0
|
||||||
|
bpm=0.0
|
||||||
|
beat_count=0
|
||||||
|
bar_beats=4
|
BIN
cubes/cube.blend
Normal file
65
cubes/cube.blend.import
Normal file
@ -0,0 +1,65 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="scene"
|
||||||
|
importer_version=1
|
||||||
|
type="PackedScene"
|
||||||
|
uid="uid://dtt8ve3lnqbg4"
|
||||||
|
path="res://.godot/imported/cube.blend-cf05925e6478e2de7a8f8d425cfcdf25.scn"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://cubes/cube.blend"
|
||||||
|
dest_files=["res://.godot/imported/cube.blend-cf05925e6478e2de7a8f8d425cfcdf25.scn"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
nodes/root_type=""
|
||||||
|
nodes/root_name=""
|
||||||
|
nodes/apply_root_scale=true
|
||||||
|
nodes/root_scale=1.0
|
||||||
|
meshes/ensure_tangents=true
|
||||||
|
meshes/generate_lods=true
|
||||||
|
meshes/create_shadow_meshes=true
|
||||||
|
meshes/light_baking=1
|
||||||
|
meshes/lightmap_texel_size=0.2
|
||||||
|
meshes/force_disable_compression=false
|
||||||
|
skins/use_named_skins=true
|
||||||
|
animation/import=true
|
||||||
|
animation/fps=30
|
||||||
|
animation/trimming=false
|
||||||
|
animation/remove_immutable_tracks=true
|
||||||
|
import_script/path=""
|
||||||
|
_subresources={
|
||||||
|
"materials": {
|
||||||
|
"Center Emission": {
|
||||||
|
"use_external/enabled": true,
|
||||||
|
"use_external/path": "res://primitives/pallet/blue_glow.tres"
|
||||||
|
},
|
||||||
|
"Main Emission": {
|
||||||
|
"use_external/enabled": true,
|
||||||
|
"use_external/path": "res://primitives/pallet/white_glow.tres"
|
||||||
|
},
|
||||||
|
"Metal": {
|
||||||
|
"use_external/enabled": true,
|
||||||
|
"use_external/path": "res://player/player_metal.tres"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
gltf/naming_version=1
|
||||||
|
gltf/embedded_image_handling=1
|
||||||
|
blender/nodes/visible=0
|
||||||
|
blender/nodes/punctual_lights=true
|
||||||
|
blender/nodes/cameras=true
|
||||||
|
blender/nodes/custom_properties=true
|
||||||
|
blender/nodes/modifiers=1
|
||||||
|
blender/meshes/colors=false
|
||||||
|
blender/meshes/uvs=true
|
||||||
|
blender/meshes/normals=true
|
||||||
|
blender/meshes/tangents=true
|
||||||
|
blender/meshes/skins=2
|
||||||
|
blender/meshes/export_bones_deforming_mesh_only=false
|
||||||
|
blender/materials/unpack_enabled=true
|
||||||
|
blender/materials/export_materials=1
|
||||||
|
blender/animation/limit_playback=true
|
||||||
|
blender/animation/always_sample=true
|
||||||
|
blender/animation/group_tracks=true
|
17
cubes/cube_blue.tscn
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
[gd_scene load_steps=4 format=3 uid="uid://vvq7jugpnvia"]
|
||||||
|
|
||||||
|
[ext_resource type="PhysicsMaterial" uid="uid://clyaty70wifjj" path="res://cubes/cube_physics.tres" id="1_4p4wg"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://dtt8ve3lnqbg4" path="res://cubes/cube.blend" id="2_73wg6"]
|
||||||
|
|
||||||
|
[sub_resource type="BoxShape3D" id="BoxShape3D_a4su7"]
|
||||||
|
size = Vector3(3, 3, 3)
|
||||||
|
|
||||||
|
[node name="CubeBlue" type="RigidBody3D"]
|
||||||
|
mass = 0.25
|
||||||
|
physics_material_override = ExtResource("1_4p4wg")
|
||||||
|
|
||||||
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||||
|
shape = SubResource("BoxShape3D_a4su7")
|
||||||
|
|
||||||
|
[node name="cube" parent="." instance=ExtResource("2_73wg6")]
|
||||||
|
transform = Transform3D(1.5, 0, 0, 0, 1.5, 0, 0, 0, 1.5, 0, 0, 0)
|
5
cubes/cube_physics.tres
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
[gd_resource type="PhysicsMaterial" format=3 uid="uid://clyaty70wifjj"]
|
||||||
|
|
||||||
|
[resource]
|
||||||
|
friction = 0.32
|
||||||
|
absorbent = true
|
BIN
cubes/patriotic_cube.blend
Normal file
50
cubes/patriotic_cube.blend.import
Normal file
@ -0,0 +1,50 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="scene"
|
||||||
|
importer_version=1
|
||||||
|
type="PackedScene"
|
||||||
|
uid="uid://dssxjlgkpcdxj"
|
||||||
|
path="res://.godot/imported/patriotic_cube.blend-cb537c25deac3a122ddb62247ed3887f.scn"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://cubes/patriotic_cube.blend"
|
||||||
|
dest_files=["res://.godot/imported/patriotic_cube.blend-cb537c25deac3a122ddb62247ed3887f.scn"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
nodes/root_type=""
|
||||||
|
nodes/root_name=""
|
||||||
|
nodes/apply_root_scale=true
|
||||||
|
nodes/root_scale=1.0
|
||||||
|
meshes/ensure_tangents=true
|
||||||
|
meshes/generate_lods=true
|
||||||
|
meshes/create_shadow_meshes=true
|
||||||
|
meshes/light_baking=1
|
||||||
|
meshes/lightmap_texel_size=0.2
|
||||||
|
meshes/force_disable_compression=false
|
||||||
|
skins/use_named_skins=true
|
||||||
|
animation/import=true
|
||||||
|
animation/fps=30
|
||||||
|
animation/trimming=false
|
||||||
|
animation/remove_immutable_tracks=true
|
||||||
|
import_script/path=""
|
||||||
|
_subresources={}
|
||||||
|
gltf/naming_version=1
|
||||||
|
gltf/embedded_image_handling=1
|
||||||
|
blender/nodes/visible=0
|
||||||
|
blender/nodes/punctual_lights=true
|
||||||
|
blender/nodes/cameras=true
|
||||||
|
blender/nodes/custom_properties=true
|
||||||
|
blender/nodes/modifiers=1
|
||||||
|
blender/meshes/colors=false
|
||||||
|
blender/meshes/uvs=true
|
||||||
|
blender/meshes/normals=true
|
||||||
|
blender/meshes/tangents=true
|
||||||
|
blender/meshes/skins=2
|
||||||
|
blender/meshes/export_bones_deforming_mesh_only=false
|
||||||
|
blender/materials/unpack_enabled=true
|
||||||
|
blender/materials/export_materials=1
|
||||||
|
blender/animation/limit_playback=true
|
||||||
|
blender/animation/always_sample=true
|
||||||
|
blender/animation/group_tracks=true
|
@ -2,6 +2,8 @@ extends Node
|
|||||||
|
|
||||||
var global_down = Vector3(0,0,0)
|
var global_down = Vector3(0,0,0)
|
||||||
var sensitivity = 0.004
|
var sensitivity = 0.004
|
||||||
|
var fov = 75
|
||||||
|
|
||||||
|
|
||||||
func _ready():
|
func _ready():
|
||||||
set_global_down(Vector3(0,-1,0))
|
set_global_down(Vector3(0,-1,0))
|
||||||
@ -11,3 +13,10 @@ func set_global_down(newDown: Vector3):
|
|||||||
if global_down.dot(Vector3.UP) == 1 || global_down.dot(Vector3.DOWN) == 1:
|
if global_down.dot(Vector3.UP) == 1 || global_down.dot(Vector3.DOWN) == 1:
|
||||||
# Applies jitter
|
# Applies jitter
|
||||||
global_down += Vector3(0.01,0,0)
|
global_down += Vector3(0.01,0,0)
|
||||||
|
|
||||||
|
# REMINDER:
|
||||||
|
# Layer 1 : everything
|
||||||
|
# Layer 2 : reflection probe
|
||||||
|
# Layer 3 : player
|
||||||
|
# Layer 4 : activate button
|
||||||
|
# Layer 5 : non-player killable
|
||||||
|
BIN
objectives/objective.blend
Normal file
57
objectives/objective.blend.import
Normal file
@ -0,0 +1,57 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="scene"
|
||||||
|
importer_version=1
|
||||||
|
type="PackedScene"
|
||||||
|
uid="uid://doqy71l4kjsed"
|
||||||
|
path="res://.godot/imported/objective.blend-103faa7e9b2a5ec9fb55d2bbff1bdf7e.scn"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://objectives/objective.blend"
|
||||||
|
dest_files=["res://.godot/imported/objective.blend-103faa7e9b2a5ec9fb55d2bbff1bdf7e.scn"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
nodes/root_type=""
|
||||||
|
nodes/root_name=""
|
||||||
|
nodes/apply_root_scale=true
|
||||||
|
nodes/root_scale=1.0
|
||||||
|
meshes/ensure_tangents=true
|
||||||
|
meshes/generate_lods=true
|
||||||
|
meshes/create_shadow_meshes=true
|
||||||
|
meshes/light_baking=1
|
||||||
|
meshes/lightmap_texel_size=0.2
|
||||||
|
meshes/force_disable_compression=false
|
||||||
|
skins/use_named_skins=true
|
||||||
|
animation/import=true
|
||||||
|
animation/fps=30
|
||||||
|
animation/trimming=false
|
||||||
|
animation/remove_immutable_tracks=true
|
||||||
|
import_script/path=""
|
||||||
|
_subresources={
|
||||||
|
"materials": {
|
||||||
|
"Material.001": {
|
||||||
|
"use_external/enabled": true,
|
||||||
|
"use_external/path": "res://primitives/pallet/blue_glow.tres"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
gltf/naming_version=1
|
||||||
|
gltf/embedded_image_handling=1
|
||||||
|
blender/nodes/visible=0
|
||||||
|
blender/nodes/punctual_lights=true
|
||||||
|
blender/nodes/cameras=true
|
||||||
|
blender/nodes/custom_properties=true
|
||||||
|
blender/nodes/modifiers=1
|
||||||
|
blender/meshes/colors=false
|
||||||
|
blender/meshes/uvs=true
|
||||||
|
blender/meshes/normals=true
|
||||||
|
blender/meshes/tangents=true
|
||||||
|
blender/meshes/skins=2
|
||||||
|
blender/meshes/export_bones_deforming_mesh_only=false
|
||||||
|
blender/materials/unpack_enabled=true
|
||||||
|
blender/materials/export_materials=1
|
||||||
|
blender/animation/limit_playback=true
|
||||||
|
blender/animation/always_sample=true
|
||||||
|
blender/animation/group_tracks=true
|
BIN
objectives/objective.blend1
Normal file
14
objectives/objective.gd
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
extends Area3D
|
||||||
|
|
||||||
|
|
||||||
|
# Called when the node enters the scene tree for the first time.
|
||||||
|
func _ready():
|
||||||
|
body_entered.connect(_on_area_entered)
|
||||||
|
|
||||||
|
|
||||||
|
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||||
|
func _process(delta):
|
||||||
|
pass
|
||||||
|
|
||||||
|
func _on_area_entered(body : Node3D) -> void:
|
||||||
|
body.changing_scene = true
|
23
objectives/objective.tscn
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
[gd_scene load_steps=5 format=3 uid="uid://tdcxcrg6ktpl"]
|
||||||
|
|
||||||
|
[ext_resource type="Script" path="res://objectives/objective.gd" id="1_2k32s"]
|
||||||
|
[ext_resource type="Script" path="res://objectives/objective_animate.gd" id="1_rh0l1"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://doqy71l4kjsed" path="res://objectives/objective.blend" id="2_1v3lb"]
|
||||||
|
|
||||||
|
[sub_resource type="BoxShape3D" id="BoxShape3D_prgnm"]
|
||||||
|
size = Vector3(3, 3, 3)
|
||||||
|
|
||||||
|
[node name="objective" type="Area3D"]
|
||||||
|
collision_mask = 4
|
||||||
|
gravity_point_center = Vector3(0, 100, 0)
|
||||||
|
gravity_direction = Vector3(0, 100, 0)
|
||||||
|
linear_damp_space_override = 3
|
||||||
|
linear_damp = 10.0
|
||||||
|
script = ExtResource("1_2k32s")
|
||||||
|
|
||||||
|
[node name="collisionShape3D" type="CollisionShape3D" parent="."]
|
||||||
|
shape = SubResource("BoxShape3D_prgnm")
|
||||||
|
|
||||||
|
[node name="objective_model" parent="." instance=ExtResource("2_1v3lb")]
|
||||||
|
transform = Transform3D(2, 0, 0, 0, 2, 0, 0, 0, 2, 0, 0, 0)
|
||||||
|
script = ExtResource("1_rh0l1")
|
12
objectives/objective_animate.gd
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
extends Node3D
|
||||||
|
|
||||||
|
|
||||||
|
# Called when the node enters the scene tree for the first time.
|
||||||
|
func _ready():
|
||||||
|
pass
|
||||||
|
|
||||||
|
|
||||||
|
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||||
|
func _process(delta):
|
||||||
|
if (!$AnimationPlayer.is_playing()):
|
||||||
|
$AnimationPlayer.play("ArmatureAction")
|
6
player/player_metal.tres
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
[gd_resource type="StandardMaterial3D" format=3 uid="uid://dwo5pxk8yx5ic"]
|
||||||
|
|
||||||
|
[resource]
|
||||||
|
albedo_color = Color(0.400698, 0.400698, 0.400698, 1)
|
||||||
|
metallic = 0.55
|
||||||
|
roughness = 0.25
|
@ -29,7 +29,18 @@ animation/fps=30
|
|||||||
animation/trimming=false
|
animation/trimming=false
|
||||||
animation/remove_immutable_tracks=true
|
animation/remove_immutable_tracks=true
|
||||||
import_script/path=""
|
import_script/path=""
|
||||||
_subresources={}
|
_subresources={
|
||||||
|
"materials": {
|
||||||
|
"Emit": {
|
||||||
|
"use_external/enabled": true,
|
||||||
|
"use_external/path": "res://primitives/pallet/blue_glow.tres"
|
||||||
|
},
|
||||||
|
"Metal": {
|
||||||
|
"use_external/enabled": true,
|
||||||
|
"use_external/path": "res://player/player_metal.tres"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
gltf/naming_version=1
|
gltf/naming_version=1
|
||||||
gltf/embedded_image_handling=1
|
gltf/embedded_image_handling=1
|
||||||
blender/nodes/visible=0
|
blender/nodes/visible=0
|
||||||
|
@ -6,11 +6,13 @@ var mouse_input = Vector2(0,0)
|
|||||||
var raw_mouse_input = Vector2(0,0)
|
var raw_mouse_input = Vector2(0,0)
|
||||||
var alpha = 10
|
var alpha = 10
|
||||||
|
|
||||||
|
# Override for fox
|
||||||
|
var changing_scene = false
|
||||||
|
|
||||||
# Called when the node enters the scene tree for the first time.
|
# Called when the node enters the scene tree for the first time.
|
||||||
func _ready():
|
func _ready():
|
||||||
Input.set_mouse_mode(Input.MOUSE_MODE_CAPTURED)
|
#Input.set_mouse_mode(Input.MOUSE_MODE_CAPTURED)
|
||||||
|
pass
|
||||||
|
|
||||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||||
func _process(delta):
|
func _process(delta):
|
||||||
@ -40,6 +42,14 @@ func _process(delta):
|
|||||||
move_input.x = Input.get_axis("forward", "backwards")
|
move_input.x = Input.get_axis("forward", "backwards")
|
||||||
move_input.y = -Input.get_axis("right", "left")
|
move_input.y = -Input.get_axis("right", "left")
|
||||||
|
|
||||||
|
# Funky FOV thing
|
||||||
|
if (!changing_scene):
|
||||||
|
$level/gimbal_y/gimbal_x/stick/camera.fov = $level/gimbal_y/gimbal_x/stick/camera.fov * exp(-2 * delta) + Globals.fov * (1.0 - exp(-2 * delta))
|
||||||
|
else:
|
||||||
|
if $level/gimbal_y/gimbal_x/stick/camera.fov > 175:
|
||||||
|
print ("Changing level!")
|
||||||
|
$level/gimbal_y/gimbal_x/stick/camera.fov = $level/gimbal_y/gimbal_x/stick/camera.fov * exp(-2 * delta) + 180 * (1.0 - exp(-2 * delta))
|
||||||
|
|
||||||
# Rotates the camera
|
# Rotates the camera
|
||||||
$level/gimbal_y.rotate_z(-mouse_input.x)
|
$level/gimbal_y.rotate_z(-mouse_input.x)
|
||||||
$level/gimbal_y/gimbal_x.rotate_x(-mouse_input.y)
|
$level/gimbal_y/gimbal_x.rotate_x(-mouse_input.y)
|
||||||
@ -67,7 +77,7 @@ func _process(delta):
|
|||||||
apply_central_force(Quaternion.from_euler($level/gimbal_y.global_rotation) * (Vector3(move_input.y, -move_input.x, 0) * 300.0 * delta))
|
apply_central_force(Quaternion.from_euler($level/gimbal_y.global_rotation) * (Vector3(move_input.y, -move_input.x, 0) * 300.0 * delta))
|
||||||
|
|
||||||
# Is the break key pressed?
|
# Is the break key pressed?
|
||||||
if Input.get_action_strength("alternate") > 0.0 && move_input == Vector3(0,0,0):
|
if Input.get_action_strength("alternate") > 0.0 && move_input == Vector3(0,0,0) && airtime < 0.0:
|
||||||
# Velocity becomes up/down
|
# Velocity becomes up/down
|
||||||
linear_velocity = Globals.global_down * Globals.global_down.dot(linear_velocity)
|
linear_velocity = Globals.global_down * Globals.global_down.dot(linear_velocity)
|
||||||
|
|
||||||
|
@ -1,8 +1,9 @@
|
|||||||
[gd_scene load_steps=8 format=3 uid="uid://pyhlicd4a0ec"]
|
[gd_scene load_steps=9 format=3 uid="uid://pyhlicd4a0ec"]
|
||||||
|
|
||||||
[ext_resource type="Script" path="res://player/player_moves.gd" id="1_2ps78"]
|
[ext_resource type="Script" path="res://player/player_moves.gd" id="1_2ps78"]
|
||||||
[ext_resource type="PackedScene" uid="uid://b63mupr1u2nq0" path="res://player/player_model.blend" id="1_uh731"]
|
[ext_resource type="PackedScene" uid="uid://b63mupr1u2nq0" path="res://player/player_model.blend" id="2_m2571"]
|
||||||
[ext_resource type="Script" path="res://player/seek_level.gd" id="3_yfi6d"]
|
[ext_resource type="Script" path="res://player/seek_level.gd" id="3_yfi6d"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://bqob1me602loa" path="res://primitives/icons/hitbox0.png" id="4_fuh05"]
|
||||||
|
|
||||||
[sub_resource type="PhysicsMaterial" id="PhysicsMaterial_s88nq"]
|
[sub_resource type="PhysicsMaterial" id="PhysicsMaterial_s88nq"]
|
||||||
friction = 7.0
|
friction = 7.0
|
||||||
@ -22,6 +23,7 @@ radius = 0.1
|
|||||||
height = 2.787
|
height = 2.787
|
||||||
|
|
||||||
[node name="player" type="RigidBody3D"]
|
[node name="player" type="RigidBody3D"]
|
||||||
|
collision_layer = 5
|
||||||
physics_material_override = SubResource("PhysicsMaterial_s88nq")
|
physics_material_override = SubResource("PhysicsMaterial_s88nq")
|
||||||
gravity_scale = 0.0
|
gravity_scale = 0.0
|
||||||
angular_damp = 6.0
|
angular_damp = 6.0
|
||||||
@ -30,15 +32,13 @@ script = ExtResource("1_2ps78")
|
|||||||
[node name="collider" type="CollisionShape3D" parent="."]
|
[node name="collider" type="CollisionShape3D" parent="."]
|
||||||
shape = SubResource("SphereShape3D_qx3du")
|
shape = SubResource("SphereShape3D_qx3du")
|
||||||
|
|
||||||
[node name="player_model" parent="." instance=ExtResource("1_uh731")]
|
[node name="player_model" parent="." instance=ExtResource("2_m2571")]
|
||||||
transform = Transform3D(0.85, 0, 0, 0, 0.85, 0, 0, 0, 0.85, 0, 0, 0)
|
|
||||||
|
|
||||||
[node name="grounded" type="RayCast3D" parent="."]
|
[node name="grounded" type="RayCast3D" parent="."]
|
||||||
top_level = true
|
top_level = true
|
||||||
target_position = Vector3(0, -1.1, 0)
|
target_position = Vector3(0, -1.1, 0)
|
||||||
|
|
||||||
[node name="level" type="Node3D" parent="."]
|
[node name="level" type="Node3D" parent="."]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0)
|
|
||||||
top_level = true
|
top_level = true
|
||||||
script = ExtResource("3_yfi6d")
|
script = ExtResource("3_yfi6d")
|
||||||
|
|
||||||
@ -51,6 +51,11 @@ script = SubResource("GDScript_pbl37")
|
|||||||
|
|
||||||
[node name="camera" type="Camera3D" parent="level/gimbal_y/gimbal_x/stick"]
|
[node name="camera" type="Camera3D" parent="level/gimbal_y/gimbal_x/stick"]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 14.3224)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 14.3224)
|
||||||
|
fov = 1.0
|
||||||
|
|
||||||
|
[node name="Sprite3D" type="Sprite3D" parent="level/gimbal_y/gimbal_x/stick/camera"]
|
||||||
|
transform = Transform3D(0.001, 0, 0, 0, 0.001, 0, 0, 0, 0.001, 0, 0, -0.306273)
|
||||||
|
texture = ExtResource("4_fuh05")
|
||||||
|
|
||||||
[node name="MeshInstance3D" type="MeshInstance3D" parent="level"]
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="level"]
|
||||||
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 0, 0)
|
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 0, 0)
|
||||||
|
BIN
primitives/icons/hitbox0.png
Normal file
After Width: | Height: | Size: 4.0 MiB |
35
primitives/icons/hitbox0.png.import
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://bqob1me602loa"
|
||||||
|
path.s3tc="res://.godot/imported/hitbox0.png-47d8670bda51f66e7c6ea1e8a7f86c9a.s3tc.ctex"
|
||||||
|
metadata={
|
||||||
|
"imported_formats": ["s3tc_bptc"],
|
||||||
|
"vram_texture": true
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://primitives/icons/hitbox0.png"
|
||||||
|
dest_files=["res://.godot/imported/hitbox0.png-47d8670bda51f66e7c6ea1e8a7f86c9a.s3tc.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=2
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=true
|
||||||
|
mipmaps/limit=-1
|
||||||
|
roughness/mode=0
|
||||||
|
roughness/src_normal=""
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
process/hdr_as_srgb=false
|
||||||
|
process/hdr_clamp_exposure=false
|
||||||
|
process/size_limit=0
|
||||||
|
detect_3d/compress_to=0
|
BIN
primitives/icons/hitbox1.png
Normal file
After Width: | Height: | Size: 4.0 MiB |
34
primitives/icons/hitbox1.png.import
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://lkjnqmyp471w"
|
||||||
|
path="res://.godot/imported/hitbox1.png-7aac958939bf31db2bbe09e71a70fe12.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://primitives/icons/hitbox1.png"
|
||||||
|
dest_files=["res://.godot/imported/hitbox1.png-7aac958939bf31db2bbe09e71a70fe12.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=false
|
||||||
|
mipmaps/limit=-1
|
||||||
|
roughness/mode=0
|
||||||
|
roughness/src_normal=""
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
process/hdr_as_srgb=false
|
||||||
|
process/hdr_clamp_exposure=false
|
||||||
|
process/size_limit=0
|
||||||
|
detect_3d/compress_to=1
|
BIN
primitives/icons/hitbox3.png
Normal file
After Width: | Height: | Size: 4.0 MiB |
34
primitives/icons/hitbox3.png.import
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://dwv866wxa0nqa"
|
||||||
|
path="res://.godot/imported/hitbox3.png-dd92880aaec075eb90869167ad6770c7.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://primitives/icons/hitbox3.png"
|
||||||
|
dest_files=["res://.godot/imported/hitbox3.png-dd92880aaec075eb90869167ad6770c7.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=false
|
||||||
|
mipmaps/limit=-1
|
||||||
|
roughness/mode=0
|
||||||
|
roughness/src_normal=""
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
process/hdr_as_srgb=false
|
||||||
|
process/hdr_clamp_exposure=false
|
||||||
|
process/size_limit=0
|
||||||
|
detect_3d/compress_to=1
|
BIN
primitives/icons/hitbox4.png
Normal file
After Width: | Height: | Size: 792 KiB |
34
primitives/icons/hitbox4.png.import
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://0tpj2abk03a5"
|
||||||
|
path="res://.godot/imported/hitbox4.png-dafc75a4ca124d6f166fd22ebf8c1e9e.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://primitives/icons/hitbox4.png"
|
||||||
|
dest_files=["res://.godot/imported/hitbox4.png-dafc75a4ca124d6f166fd22ebf8c1e9e.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=false
|
||||||
|
mipmaps/limit=-1
|
||||||
|
roughness/mode=0
|
||||||
|
roughness/src_normal=""
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
process/hdr_as_srgb=false
|
||||||
|
process/hdr_clamp_exposure=false
|
||||||
|
process/size_limit=0
|
||||||
|
detect_3d/compress_to=1
|
6
primitives/pallet/blue_glow.tres
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
[gd_resource type="StandardMaterial3D" format=3 uid="uid://dgqw063dm4aom"]
|
||||||
|
|
||||||
|
[resource]
|
||||||
|
emission_enabled = true
|
||||||
|
emission = Color(0.195485, 0.661426, 0.85335, 1)
|
||||||
|
emission_energy_multiplier = 2.48
|
6
primitives/pallet/white_glow.tres
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
[gd_resource type="StandardMaterial3D" format=3 uid="uid://bj6l2hglpukfn"]
|
||||||
|
|
||||||
|
[resource]
|
||||||
|
emission_enabled = true
|
||||||
|
emission = Color(1, 1, 1, 1)
|
||||||
|
emission_energy_multiplier = 2.48
|
@ -19,8 +19,25 @@ config/icon="res://icon.svg"
|
|||||||
|
|
||||||
Globals="*res://globals.gd"
|
Globals="*res://globals.gd"
|
||||||
|
|
||||||
|
[display]
|
||||||
|
|
||||||
|
window/size/viewport_width=1280
|
||||||
|
window/size/viewport_height=720
|
||||||
|
|
||||||
[input]
|
[input]
|
||||||
|
|
||||||
|
ui_accept={
|
||||||
|
"deadzone": 0.5,
|
||||||
|
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":4194309,"physical_keycode":0,"key_label":0,"unicode":0,"echo":false,"script":null)
|
||||||
|
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":4194310,"physical_keycode":0,"key_label":0,"unicode":0,"echo":false,"script":null)
|
||||||
|
]
|
||||||
|
}
|
||||||
|
ui_select={
|
||||||
|
"deadzone": 0.5,
|
||||||
|
"events": [Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":3,"pressure":0.0,"pressed":false,"script":null)
|
||||||
|
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":4194309,"physical_keycode":0,"key_label":0,"unicode":0,"echo":false,"script":null)
|
||||||
|
]
|
||||||
|
}
|
||||||
left={
|
left={
|
||||||
"deadzone": 0.5,
|
"deadzone": 0.5,
|
||||||
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":65,"key_label":0,"unicode":97,"echo":false,"script":null)
|
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":65,"key_label":0,"unicode":97,"echo":false,"script":null)
|
||||||
|
@ -133,4 +133,4 @@ transform = Transform3D(1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 0,
|
|||||||
light_energy = 0.01
|
light_energy = 0.01
|
||||||
|
|
||||||
[node name="skybox" parent="." instance=ExtResource("4_debn2")]
|
[node name="skybox" parent="." instance=ExtResource("4_debn2")]
|
||||||
transform = Transform3D(400, 0, 0, 0, 400, 0, 0, 0, 400, 0, 0, 0)
|
transform = Transform3D(800, 0, 0, 0, 800, 0, 0, 0, 800, 0, 0, 0)
|
||||||
|
@ -184,4 +184,4 @@ ambient_color = Color(0.873298, 0.873298, 0.873298, 1)
|
|||||||
ambient_color_energy = 11.43
|
ambient_color_energy = 11.43
|
||||||
|
|
||||||
[node name="skybox" parent="." instance=ExtResource("3_75x0b")]
|
[node name="skybox" parent="." instance=ExtResource("3_75x0b")]
|
||||||
transform = Transform3D(400, 0, 0, 0, 400, 0, 0, 0, 400, 0, 0, 0)
|
transform = Transform3D(800, 0, 0, 0, 800, 0, 0, 0, 800, 0, 0, 0)
|
||||||
|
@ -1,8 +1,12 @@
|
|||||||
[gd_scene load_steps=7 format=3 uid="uid://dosqj5u034nai"]
|
[gd_scene load_steps=11 format=3 uid="uid://dosqj5u034nai"]
|
||||||
|
|
||||||
[ext_resource type="PackedScene" uid="uid://pyhlicd4a0ec" path="res://player/player_node.tscn" id="1_6ggf4"]
|
[ext_resource type="PackedScene" uid="uid://pyhlicd4a0ec" path="res://player/player_node.tscn" id="1_6ggf4"]
|
||||||
[ext_resource type="PackedScene" uid="uid://bjs6r15h7ge62" path="res://rooms/yellow/room_yellow_floor.tscn" id="3_1isy3"]
|
[ext_resource type="PackedScene" uid="uid://bjs6r15h7ge62" path="res://rooms/yellow/room_yellow_floor.tscn" id="3_1isy3"]
|
||||||
[ext_resource type="PackedScene" uid="uid://ccbxd6724rlfj" path="res://rooms/blue/room_blue_floor.tscn" id="3_ql6ir"]
|
[ext_resource type="PackedScene" uid="uid://ccbxd6724rlfj" path="res://rooms/blue/room_blue_floor.tscn" id="3_ql6ir"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://5pnqeh3rmtel" path="res://ui/main_menu.tscn" id="4_7iuiw"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://tdcxcrg6ktpl" path="res://objectives/objective.tscn" id="5_r66y3"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://bkgacevpcgbtj" path="res://audio/music/music_engine.tscn" id="6_8a4j4"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://vvq7jugpnvia" path="res://cubes/cube_blue.tscn" id="7_32muf"]
|
||||||
|
|
||||||
[sub_resource type="PhysicsMaterial" id="PhysicsMaterial_8njux"]
|
[sub_resource type="PhysicsMaterial" id="PhysicsMaterial_8njux"]
|
||||||
friction = 0.22
|
friction = 0.22
|
||||||
@ -37,3 +41,13 @@ shape = SubResource("ConvexPolygonShape3D_3iv3b")
|
|||||||
|
|
||||||
[node name="StaticBody3D" parent="." instance=ExtResource("3_1isy3")]
|
[node name="StaticBody3D" parent="." instance=ExtResource("3_1isy3")]
|
||||||
visible = false
|
visible = false
|
||||||
|
|
||||||
|
[node name="objective" parent="." instance=ExtResource("5_r66y3")]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 10.1414, -48.7976, 15.7991)
|
||||||
|
|
||||||
|
[node name="main_menu" parent="." instance=ExtResource("4_7iuiw")]
|
||||||
|
|
||||||
|
[node name="music_engine" parent="." instance=ExtResource("6_8a4j4")]
|
||||||
|
|
||||||
|
[node name="CubeBlue" parent="." instance=ExtResource("7_32muf")]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -4.45309, -50, -23.9409)
|
||||||
|
BIN
ui/button_blue.png
Normal file
After Width: | Height: | Size: 1.1 MiB |
34
ui/button_blue.png.import
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://bbedstsfprrpe"
|
||||||
|
path="res://.godot/imported/button_blue.png-160da9368312746ab7c75985e95b1248.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://ui/button_blue.png"
|
||||||
|
dest_files=["res://.godot/imported/button_blue.png-160da9368312746ab7c75985e95b1248.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=false
|
||||||
|
mipmaps/limit=-1
|
||||||
|
roughness/mode=0
|
||||||
|
roughness/src_normal=""
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
process/hdr_as_srgb=false
|
||||||
|
process/hdr_clamp_exposure=false
|
||||||
|
process/size_limit=0
|
||||||
|
detect_3d/compress_to=1
|
11
ui/button_exit.gd
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
extends TextureButton
|
||||||
|
|
||||||
|
|
||||||
|
# Called when the node enters the scene tree for the first time.
|
||||||
|
func _ready():
|
||||||
|
pressed.connect(self._button_pressed)
|
||||||
|
|
||||||
|
|
||||||
|
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||||
|
func _button_pressed():
|
||||||
|
get_tree().quit()
|
BIN
ui/button_gray.png
Normal file
After Width: | Height: | Size: 1010 KiB |
34
ui/button_gray.png.import
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://uhmovivbnhjo"
|
||||||
|
path="res://.godot/imported/button_gray.png-745446437e5beedb9b21baab44c693a8.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://ui/button_gray.png"
|
||||||
|
dest_files=["res://.godot/imported/button_gray.png-745446437e5beedb9b21baab44c693a8.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=false
|
||||||
|
mipmaps/limit=-1
|
||||||
|
roughness/mode=0
|
||||||
|
roughness/src_normal=""
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
process/hdr_as_srgb=false
|
||||||
|
process/hdr_clamp_exposure=false
|
||||||
|
process/size_limit=0
|
||||||
|
detect_3d/compress_to=1
|
BIN
ui/button_green.png
Normal file
After Width: | Height: | Size: 1.1 MiB |
34
ui/button_green.png.import
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://dc147b6rngxe3"
|
||||||
|
path="res://.godot/imported/button_green.png-2b7545d94fb607df323ce88074138c24.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://ui/button_green.png"
|
||||||
|
dest_files=["res://.godot/imported/button_green.png-2b7545d94fb607df323ce88074138c24.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=false
|
||||||
|
mipmaps/limit=-1
|
||||||
|
roughness/mode=0
|
||||||
|
roughness/src_normal=""
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
process/hdr_as_srgb=false
|
||||||
|
process/hdr_clamp_exposure=false
|
||||||
|
process/size_limit=0
|
||||||
|
detect_3d/compress_to=1
|
9
ui/button_play.gd
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
extends TextureButton
|
||||||
|
|
||||||
|
# Called when the node enters the scene tree for the first time.
|
||||||
|
func _ready():
|
||||||
|
pressed.connect(self._button_pressed)
|
||||||
|
|
||||||
|
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||||
|
func _button_pressed():
|
||||||
|
get_node("../../..").opaque = !get_node("../../..").opaque
|
BIN
ui/exo_thin.otf
Normal file
33
ui/exo_thin.otf.import
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="font_data_dynamic"
|
||||||
|
type="FontFile"
|
||||||
|
uid="uid://ksfeftemeckw"
|
||||||
|
path="res://.godot/imported/exo_thin.otf-5cb142a10f726b16147c5274f5366f7b.fontdata"
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://ui/exo_thin.otf"
|
||||||
|
dest_files=["res://.godot/imported/exo_thin.otf-5cb142a10f726b16147c5274f5366f7b.fontdata"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
Rendering=null
|
||||||
|
antialiasing=1
|
||||||
|
generate_mipmaps=false
|
||||||
|
multichannel_signed_distance_field=false
|
||||||
|
msdf_pixel_range=8
|
||||||
|
msdf_size=48
|
||||||
|
allow_system_fallback=true
|
||||||
|
force_autohinter=false
|
||||||
|
hinting=1
|
||||||
|
subpixel_positioning=1
|
||||||
|
oversampling=0.0
|
||||||
|
Fallbacks=null
|
||||||
|
fallbacks=[]
|
||||||
|
Compress=null
|
||||||
|
compress=true
|
||||||
|
preload=[]
|
||||||
|
language_support={}
|
||||||
|
script_support={}
|
||||||
|
opentype_features={}
|
157
ui/main_menu.tscn
Normal file
@ -0,0 +1,157 @@
|
|||||||
|
[gd_scene load_steps=11 format=3 uid="uid://5pnqeh3rmtel"]
|
||||||
|
|
||||||
|
[ext_resource type="Script" path="res://ui/scale_ui.gd" id="1_vumgq"]
|
||||||
|
[ext_resource type="Script" path="res://ui/menu_modulate.gd" id="2_cqe5f"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://dkxjbbidbegoh" path="res://ui/menu_background.png" id="2_io0c1"]
|
||||||
|
[ext_resource type="Script" path="res://ui/scrolling_background.gd" id="3_uosn1"]
|
||||||
|
[ext_resource type="FontFile" uid="uid://ksfeftemeckw" path="res://ui/exo_thin.otf" id="4_5xlmk"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://bbedstsfprrpe" path="res://ui/button_blue.png" id="5_2t5vl"]
|
||||||
|
[ext_resource type="Script" path="res://ui/button_play.gd" id="5_d46jy"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://uhmovivbnhjo" path="res://ui/button_gray.png" id="6_6giix"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://dc147b6rngxe3" path="res://ui/button_green.png" id="7_grisl"]
|
||||||
|
[ext_resource type="Script" path="res://ui/button_exit.gd" id="8_vlbyu"]
|
||||||
|
|
||||||
|
[node name="main_menu" type="CanvasLayer"]
|
||||||
|
script = ExtResource("1_vumgq")
|
||||||
|
|
||||||
|
[node name="modulate" type="Node2D" parent="."]
|
||||||
|
modulate = Color(1, 1, 1, 0)
|
||||||
|
script = ExtResource("2_cqe5f")
|
||||||
|
|
||||||
|
[node name="back_background" type="ColorRect" parent="modulate"]
|
||||||
|
offset_right = 35520.0
|
||||||
|
offset_bottom = 44097.0
|
||||||
|
color = Color(0, 0, 0, 1)
|
||||||
|
|
||||||
|
[node name="scrolling_parent" type="Node2D" parent="modulate"]
|
||||||
|
scale = Vector2(2, 2)
|
||||||
|
script = ExtResource("3_uosn1")
|
||||||
|
|
||||||
|
[node name="scrolling_0" type="TextureRect" parent="modulate/scrolling_parent"]
|
||||||
|
offset_top = -360.0
|
||||||
|
offset_right = 1280.0
|
||||||
|
offset_bottom = 360.0
|
||||||
|
scale = Vector2(1, 2)
|
||||||
|
texture = ExtResource("2_io0c1")
|
||||||
|
expand_mode = 1
|
||||||
|
|
||||||
|
[node name="scrolling_1" type="TextureRect" parent="modulate/scrolling_parent"]
|
||||||
|
offset_left = -1280.0
|
||||||
|
offset_top = -360.0
|
||||||
|
offset_bottom = 360.0
|
||||||
|
scale = Vector2(1, 2)
|
||||||
|
texture = ExtResource("2_io0c1")
|
||||||
|
expand_mode = 1
|
||||||
|
|
||||||
|
[node name="title" type="RichTextLabel" parent="modulate"]
|
||||||
|
offset_left = 10.0
|
||||||
|
offset_top = 5.0
|
||||||
|
offset_right = 1281.0
|
||||||
|
offset_bottom = 144.0
|
||||||
|
theme_override_fonts/normal_font = ExtResource("4_5xlmk")
|
||||||
|
theme_override_font_sizes/normal_font_size = 89
|
||||||
|
bbcode_enabled = true
|
||||||
|
text = "[center] CAWEZs Puzzlebox : HIRAETH [/center]
|
||||||
|
"
|
||||||
|
|
||||||
|
[node name="buttons" type="Node2D" parent="modulate"]
|
||||||
|
position = Vector2(481.835, 116.09)
|
||||||
|
scale = Vector2(0.73, 0.73)
|
||||||
|
|
||||||
|
[node name="button_play" type="Node2D" parent="modulate/buttons"]
|
||||||
|
position = Vector2(0, 45)
|
||||||
|
scale = Vector2(0.22, 0.22)
|
||||||
|
|
||||||
|
[node name="TextureButton" type="TextureButton" parent="modulate/buttons/button_play"]
|
||||||
|
offset_right = 2000.0
|
||||||
|
offset_bottom = 411.0
|
||||||
|
texture_normal = ExtResource("5_2t5vl")
|
||||||
|
texture_pressed = ExtResource("6_6giix")
|
||||||
|
texture_hover = ExtResource("7_grisl")
|
||||||
|
texture_focused = ExtResource("7_grisl")
|
||||||
|
script = ExtResource("5_d46jy")
|
||||||
|
|
||||||
|
[node name="RichTextLabel" type="RichTextLabel" parent="modulate/buttons/button_play/TextureButton"]
|
||||||
|
layout_mode = 0
|
||||||
|
offset_left = 9.0
|
||||||
|
offset_top = 50.0
|
||||||
|
offset_right = 1886.0
|
||||||
|
offset_bottom = 391.0
|
||||||
|
mouse_filter = 2
|
||||||
|
theme_override_fonts/normal_font = ExtResource("4_5xlmk")
|
||||||
|
theme_override_font_sizes/normal_font_size = 236
|
||||||
|
bbcode_enabled = true
|
||||||
|
text = "[center] PLAY [/center]"
|
||||||
|
|
||||||
|
[node name="button_skip" type="Node2D" parent="modulate/buttons"]
|
||||||
|
position = Vector2(0, 225)
|
||||||
|
scale = Vector2(0.22, 0.22)
|
||||||
|
|
||||||
|
[node name="TextureButton" type="TextureButton" parent="modulate/buttons/button_skip"]
|
||||||
|
offset_right = 2000.0
|
||||||
|
offset_bottom = 411.0
|
||||||
|
texture_normal = ExtResource("5_2t5vl")
|
||||||
|
texture_pressed = ExtResource("6_6giix")
|
||||||
|
texture_hover = ExtResource("7_grisl")
|
||||||
|
texture_focused = ExtResource("7_grisl")
|
||||||
|
|
||||||
|
[node name="RichTextLabel" type="RichTextLabel" parent="modulate/buttons/button_skip/TextureButton"]
|
||||||
|
layout_mode = 0
|
||||||
|
offset_left = 9.0
|
||||||
|
offset_top = 50.0
|
||||||
|
offset_right = 1886.0
|
||||||
|
offset_bottom = 391.0
|
||||||
|
mouse_filter = 2
|
||||||
|
theme_override_fonts/normal_font = ExtResource("4_5xlmk")
|
||||||
|
theme_override_font_sizes/normal_font_size = 236
|
||||||
|
bbcode_enabled = true
|
||||||
|
text = "[center] SKIP [/center]"
|
||||||
|
|
||||||
|
[node name="button_about" type="Node2D" parent="modulate/buttons"]
|
||||||
|
position = Vector2(0, 405)
|
||||||
|
scale = Vector2(0.22, 0.22)
|
||||||
|
|
||||||
|
[node name="TextureButton" type="TextureButton" parent="modulate/buttons/button_about"]
|
||||||
|
offset_right = 2000.0
|
||||||
|
offset_bottom = 411.0
|
||||||
|
texture_normal = ExtResource("5_2t5vl")
|
||||||
|
texture_pressed = ExtResource("6_6giix")
|
||||||
|
texture_hover = ExtResource("7_grisl")
|
||||||
|
texture_focused = ExtResource("7_grisl")
|
||||||
|
|
||||||
|
[node name="RichTextLabel" type="RichTextLabel" parent="modulate/buttons/button_about/TextureButton"]
|
||||||
|
layout_mode = 0
|
||||||
|
offset_left = 9.0
|
||||||
|
offset_top = 50.0
|
||||||
|
offset_right = 1886.0
|
||||||
|
offset_bottom = 391.0
|
||||||
|
mouse_filter = 2
|
||||||
|
theme_override_fonts/normal_font = ExtResource("4_5xlmk")
|
||||||
|
theme_override_font_sizes/normal_font_size = 236
|
||||||
|
bbcode_enabled = true
|
||||||
|
text = "[center] ABOUT [/center]"
|
||||||
|
|
||||||
|
[node name="button_exit" type="Node2D" parent="modulate/buttons"]
|
||||||
|
position = Vector2(0, 585)
|
||||||
|
scale = Vector2(0.22, 0.22)
|
||||||
|
|
||||||
|
[node name="TextureButton" type="TextureButton" parent="modulate/buttons/button_exit"]
|
||||||
|
offset_right = 2000.0
|
||||||
|
offset_bottom = 411.0
|
||||||
|
texture_normal = ExtResource("5_2t5vl")
|
||||||
|
texture_pressed = ExtResource("6_6giix")
|
||||||
|
texture_hover = ExtResource("7_grisl")
|
||||||
|
texture_focused = ExtResource("7_grisl")
|
||||||
|
script = ExtResource("8_vlbyu")
|
||||||
|
|
||||||
|
[node name="RichTextLabel" type="RichTextLabel" parent="modulate/buttons/button_exit/TextureButton"]
|
||||||
|
layout_mode = 0
|
||||||
|
offset_left = 9.0
|
||||||
|
offset_top = 50.0
|
||||||
|
offset_right = 1886.0
|
||||||
|
offset_bottom = 391.0
|
||||||
|
mouse_filter = 2
|
||||||
|
theme_override_fonts/normal_font = ExtResource("4_5xlmk")
|
||||||
|
theme_override_font_sizes/normal_font_size = 236
|
||||||
|
bbcode_enabled = true
|
||||||
|
text = "[center] EXIT [/center]"
|
BIN
ui/menu_background.png
Normal file
After Width: | Height: | Size: 74 MiB |