Compare commits

...

10 commits

Author SHA1 Message Date
Gerard Gascón
94909844c1 mirror 2025-04-24 17:14:03 +02:00
7504706c26 Musica menú 2023-03-05 20:36:13 +01:00
39597cfdff Musica Ingame 2023-03-03 15:41:59 +01:00
3d9aad6211 Demasiadas cosas 2023-03-02 01:21:53 +01:00
55b18c6def Cositas (~ ̄▽ ̄)~ 2023-03-01 17:14:24 +01:00
db7b5af053 Ice 2023-03-01 15:13:12 +01:00
75f178ca44 Merge remote-tracking branch 'origin/main' into main 2023-03-01 14:48:48 +01:00
2206e6f664 Menu 2023-03-01 14:48:32 +01:00
Deino
9596495a41 decoracion hecha 2023-03-01 14:47:07 +01:00
0afd388dfc Anto(nblast)rcha 2023-03-01 12:57:57 +01:00
145 changed files with 21035 additions and 906 deletions

View file

@ -1,13 +0,0 @@
# Default ignored files
/shelf/
/workspace.xml
# Rider ignored files
/.idea.ListJam2.iml
/modules.xml
/projectSettingsUpdater.xml
/contentModel.xml
# Editor-based HTTP Client requests
/httpRequests/
# Datasource local storage ignored files
/dataSources/
/dataSources.local.xml

View file

@ -1,4 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="Encoding" addBOMForNewFiles="with BOM under Windows, with no BOM otherwise" />
</project>

View file

@ -1,8 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="UserContentModel">
<attachedFolders />
<explicitIncludes />
<explicitExcludes />
</component>
</project>

View file

@ -1,6 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="" vcs="Git" />
</component>
</project>

55
.vscode/settings.json vendored
View file

@ -1,55 +0,0 @@
{
"files.exclude":
{
"**/.DS_Store":true,
"**/.git":true,
"**/.gitmodules":true,
"**/*.booproj":true,
"**/*.pidb":true,
"**/*.suo":true,
"**/*.user":true,
"**/*.userprefs":true,
"**/*.unityproj":true,
"**/*.dll":true,
"**/*.exe":true,
"**/*.pdf":true,
"**/*.mid":true,
"**/*.midi":true,
"**/*.wav":true,
"**/*.gif":true,
"**/*.ico":true,
"**/*.jpg":true,
"**/*.jpeg":true,
"**/*.png":true,
"**/*.psd":true,
"**/*.tga":true,
"**/*.tif":true,
"**/*.tiff":true,
"**/*.3ds":true,
"**/*.3DS":true,
"**/*.fbx":true,
"**/*.FBX":true,
"**/*.lxo":true,
"**/*.LXO":true,
"**/*.ma":true,
"**/*.MA":true,
"**/*.obj":true,
"**/*.OBJ":true,
"**/*.asset":true,
"**/*.cubemap":true,
"**/*.flare":true,
"**/*.mat":true,
"**/*.meta":true,
"**/*.prefab":true,
"**/*.unity":true,
"build/":true,
"Build/":true,
"Library/":true,
"library/":true,
"obj/":true,
"Obj/":true,
"ProjectSettings/":true,
"temp/":true,
"Temp/":true
}
}

View file

@ -54,7 +54,7 @@ AnimatorController:
m_CorrespondingSourceObject: {fileID: 0} m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0} m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_Name: Antorchat_0 m_Name: Torch
serializedVersion: 5 serializedVersion: 5
m_AnimatorParameters: [] m_AnimatorParameters: []
m_AnimatorLayers: m_AnimatorLayers:

View file

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 1bb70bd36c53d05469b153716b9196b3
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,98 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!74 &7400000
AnimationClip:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: Troll
serializedVersion: 6
m_Legacy: 0
m_Compressed: 0
m_UseHighQualityCurve: 1
m_RotationCurves: []
m_CompressedRotationCurves: []
m_EulerCurves: []
m_PositionCurves: []
m_ScaleCurves: []
m_FloatCurves: []
m_PPtrCurves:
- curve:
- time: 0
value: {fileID: -461697295, guid: bf6897daf0e03574e8e663413854fbaa, type: 3}
- time: 0.083333336
value: {fileID: 384676058, guid: bf6897daf0e03574e8e663413854fbaa, type: 3}
- time: 0.16666667
value: {fileID: -655122902, guid: bf6897daf0e03574e8e663413854fbaa, type: 3}
- time: 0.25
value: {fileID: -1944152835, guid: bf6897daf0e03574e8e663413854fbaa, type: 3}
- time: 0.33333334
value: {fileID: 965589093, guid: bf6897daf0e03574e8e663413854fbaa, type: 3}
- time: 0.41666666
value: {fileID: -1883751697, guid: bf6897daf0e03574e8e663413854fbaa, type: 3}
- time: 0.5
value: {fileID: 1432621756, guid: bf6897daf0e03574e8e663413854fbaa, type: 3}
- time: 0.5833333
value: {fileID: -1968003449, guid: bf6897daf0e03574e8e663413854fbaa, type: 3}
- time: 0.6666667
value: {fileID: -350938255, guid: bf6897daf0e03574e8e663413854fbaa, type: 3}
- time: 0.75
value: {fileID: 2126831972, guid: bf6897daf0e03574e8e663413854fbaa, type: 3}
- time: 0.8333333
value: {fileID: 2126831972, guid: bf6897daf0e03574e8e663413854fbaa, type: 3}
attribute: m_Sprite
path:
classID: 114
script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
m_SampleRate: 60
m_WrapMode: 0
m_Bounds:
m_Center: {x: 0, y: 0, z: 0}
m_Extent: {x: 0, y: 0, z: 0}
m_ClipBindingConstant:
genericBindings:
- serializedVersion: 2
path: 0
attribute: 2015549526
script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
typeID: 114
customType: 0
isPPtrCurve: 1
pptrCurveMapping:
- {fileID: -461697295, guid: bf6897daf0e03574e8e663413854fbaa, type: 3}
- {fileID: 384676058, guid: bf6897daf0e03574e8e663413854fbaa, type: 3}
- {fileID: -655122902, guid: bf6897daf0e03574e8e663413854fbaa, type: 3}
- {fileID: -1944152835, guid: bf6897daf0e03574e8e663413854fbaa, type: 3}
- {fileID: 965589093, guid: bf6897daf0e03574e8e663413854fbaa, type: 3}
- {fileID: -1883751697, guid: bf6897daf0e03574e8e663413854fbaa, type: 3}
- {fileID: 1432621756, guid: bf6897daf0e03574e8e663413854fbaa, type: 3}
- {fileID: -1968003449, guid: bf6897daf0e03574e8e663413854fbaa, type: 3}
- {fileID: -350938255, guid: bf6897daf0e03574e8e663413854fbaa, type: 3}
- {fileID: 2126831972, guid: bf6897daf0e03574e8e663413854fbaa, type: 3}
- {fileID: 2126831972, guid: bf6897daf0e03574e8e663413854fbaa, type: 3}
m_AnimationClipSettings:
serializedVersion: 2
m_AdditiveReferencePoseClip: {fileID: 0}
m_AdditiveReferencePoseTime: 0
m_StartTime: 0
m_StopTime: 0.84999996
m_OrientationOffsetY: 0
m_Level: 0
m_CycleOffset: 0
m_HasAdditiveReferencePose: 0
m_LoopTime: 1
m_LoopBlend: 0
m_LoopBlendOrientation: 0
m_LoopBlendPositionY: 0
m_LoopBlendPositionXZ: 0
m_KeepOriginalOrientation: 0
m_KeepOriginalPositionY: 1
m_KeepOriginalPositionXZ: 0
m_HeightFromFeet: 0
m_Mirror: 0
m_EditorCurves: []
m_EulerEditorCurves: []
m_HasGenericRootTransform: 0
m_HasMotionFloatCurves: 0
m_Events: []

View file

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: d0a0c6834a8a8434f93d7ddad725d968
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 7400000
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,72 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1102 &-4237113164048816395
AnimatorState:
serializedVersion: 6
m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: Troll
m_Speed: 1
m_CycleOffset: 0
m_Transitions: []
m_StateMachineBehaviours: []
m_Position: {x: 50, y: 50, z: 0}
m_IKOnFeet: 0
m_WriteDefaultValues: 1
m_Mirror: 0
m_SpeedParameterActive: 0
m_MirrorParameterActive: 0
m_CycleOffsetParameterActive: 0
m_TimeParameterActive: 0
m_Motion: {fileID: 7400000, guid: d0a0c6834a8a8434f93d7ddad725d968, type: 2}
m_Tag:
m_SpeedParameter:
m_MirrorParameter:
m_CycleOffsetParameter:
m_TimeParameter:
--- !u!1107 &-1217390520627791240
AnimatorStateMachine:
serializedVersion: 6
m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: Base Layer
m_ChildStates:
- serializedVersion: 1
m_State: {fileID: -4237113164048816395}
m_Position: {x: 200, y: 0, z: 0}
m_ChildStateMachines: []
m_AnyStateTransitions: []
m_EntryTransitions: []
m_StateMachineTransitions: {}
m_StateMachineBehaviours: []
m_AnyStatePosition: {x: 50, y: 20, z: 0}
m_EntryPosition: {x: 50, y: 120, z: 0}
m_ExitPosition: {x: 800, y: 120, z: 0}
m_ParentStateMachinePosition: {x: 800, y: 20, z: 0}
m_DefaultState: {fileID: -4237113164048816395}
--- !u!91 &9100000
AnimatorController:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: Troll
serializedVersion: 5
m_AnimatorParameters: []
m_AnimatorLayers:
- serializedVersion: 5
m_Name: Base Layer
m_StateMachine: {fileID: -1217390520627791240}
m_Mask: {fileID: 0}
m_Motions: []
m_Behaviours: []
m_BlendingMode: 0
m_SyncedLayerIndex: -1
m_DefaultWeight: 0
m_IKPass: 0
m_SyncedLayerAffectsTiming: 0
m_Controller: {fileID: 9100000}

View file

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 87cac9242e791404eb1ebdc4d16e48c2
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 9100000
userData:
assetBundleName:
assetBundleVariant:

8
Assets/Audio.meta Normal file
View file

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: b9dc25c8f59a94043836db46ab10d1fa
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

8
Assets/Audio/Music.meta Normal file
View file

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 4edda58e4b61b974eaf5ce2e1d823a8c
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

BIN
Assets/Audio/Music/alta.mp3 (Stored with Git LFS) Normal file

Binary file not shown.

View file

@ -0,0 +1,22 @@
fileFormatVersion: 2
guid: 060e1bc6145f114469e4312918bfc938
AudioImporter:
externalObjects: {}
serializedVersion: 6
defaultSettings:
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 0.59999996
conversionMode: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
preloadAudioData: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName:
assetBundleVariant:

BIN
Assets/Audio/Music/ambos.mp3 (Stored with Git LFS) Normal file

Binary file not shown.

View file

@ -0,0 +1,22 @@
fileFormatVersion: 2
guid: ee06e4a2058e2734383fb169ad3645be
AudioImporter:
externalObjects: {}
serializedVersion: 6
defaultSettings:
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 0.59999996
conversionMode: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
preloadAudioData: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName:
assetBundleVariant:

BIN
Assets/Audio/Music/azul.mp3 (Stored with Git LFS) Normal file

Binary file not shown.

View file

@ -0,0 +1,22 @@
fileFormatVersion: 2
guid: 7829b038dd09e2447809b75b3def0949
AudioImporter:
externalObjects: {}
serializedVersion: 6
defaultSettings:
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 0.59999996
conversionMode: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
preloadAudioData: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName:
assetBundleVariant:

BIN
Assets/Audio/Music/baja.mp3 (Stored with Git LFS) Normal file

Binary file not shown.

View file

@ -0,0 +1,22 @@
fileFormatVersion: 2
guid: 8daea4f4eba9f9541802ec5b66ef9bee
AudioImporter:
externalObjects: {}
serializedVersion: 6
defaultSettings:
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 0.59999996
conversionMode: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
preloadAudioData: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName:
assetBundleVariant:

BIN
Assets/Audio/Music/gameOver.mp3 (Stored with Git LFS) Normal file

Binary file not shown.

View file

@ -0,0 +1,22 @@
fileFormatVersion: 2
guid: 7ad8095769c191d4b8b32ff4457745db
AudioImporter:
externalObjects: {}
serializedVersion: 6
defaultSettings:
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 0.59999996
conversionMode: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
preloadAudioData: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName:
assetBundleVariant:

BIN
Assets/Audio/Music/hielo.mp3 (Stored with Git LFS) Normal file

Binary file not shown.

View file

@ -0,0 +1,22 @@
fileFormatVersion: 2
guid: fb985c8c6b305e04498266a627672f51
AudioImporter:
externalObjects: {}
serializedVersion: 6
defaultSettings:
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 0.59999996
conversionMode: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
preloadAudioData: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName:
assetBundleVariant:

BIN
Assets/Audio/Music/intro.mp3 (Stored with Git LFS) Normal file

Binary file not shown.

View file

@ -0,0 +1,22 @@
fileFormatVersion: 2
guid: 300a1be276b9ceb48bbcdc06648fc3b8
AudioImporter:
externalObjects: {}
serializedVersion: 6
defaultSettings:
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 0.59999996
conversionMode: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
preloadAudioData: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName:
assetBundleVariant:

BIN
Assets/Audio/Music/invertido.mp3 (Stored with Git LFS) Normal file

Binary file not shown.

View file

@ -0,0 +1,22 @@
fileFormatVersion: 2
guid: 1433ff3a5fe05704d86d24aef8429be5
AudioImporter:
externalObjects: {}
serializedVersion: 6
defaultSettings:
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 0.59999996
conversionMode: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
preloadAudioData: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName:
assetBundleVariant:

BIN
Assets/Audio/Music/menu.wav (Stored with Git LFS) Normal file

Binary file not shown.

View file

@ -0,0 +1,22 @@
fileFormatVersion: 2
guid: 6525d245e5e1be040852edaeeb9923bc
AudioImporter:
externalObjects: {}
serializedVersion: 6
defaultSettings:
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 0.59999996
conversionMode: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
preloadAudioData: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName:
assetBundleVariant:

BIN
Assets/Audio/Music/oscuro.mp3 (Stored with Git LFS) Normal file

Binary file not shown.

View file

@ -0,0 +1,22 @@
fileFormatVersion: 2
guid: eb5c18acaee4a6446bcf8a9d83bbcb24
AudioImporter:
externalObjects: {}
serializedVersion: 6
defaultSettings:
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 0.59999996
conversionMode: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
preloadAudioData: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName:
assetBundleVariant:

BIN
Assets/Audio/Music/rojo.mp3 (Stored with Git LFS) Normal file

Binary file not shown.

View file

@ -0,0 +1,22 @@
fileFormatVersion: 2
guid: 7b9e4bcfb7166be40add7539203203bd
AudioImporter:
externalObjects: {}
serializedVersion: 6
defaultSettings:
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 0.59999996
conversionMode: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
preloadAudioData: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName:
assetBundleVariant:

BIN
Assets/Audio/Music/victoria.wav (Stored with Git LFS) Normal file

Binary file not shown.

View file

@ -0,0 +1,22 @@
fileFormatVersion: 2
guid: 3e348e8acc8161d499c279e87ab9f5bb
AudioImporter:
externalObjects: {}
serializedVersion: 6
defaultSettings:
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 0.59999996
conversionMode: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
preloadAudioData: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName:
assetBundleVariant:

8
Assets/Audio/SFX.meta Normal file
View file

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 89583df6f2ddf8b43b8d55de96a452fa
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

BIN
Assets/Audio/SFX/ActivaEfecto.wav (Stored with Git LFS) Normal file

Binary file not shown.

View file

@ -0,0 +1,22 @@
fileFormatVersion: 2
guid: 8a5d8781ab8a6744dba9adde62006245
AudioImporter:
externalObjects: {}
serializedVersion: 6
defaultSettings:
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 0.59999996
conversionMode: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
preloadAudioData: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName:
assetBundleVariant:

BIN
Assets/Audio/SFX/Congela.wav (Stored with Git LFS) Normal file

Binary file not shown.

View file

@ -0,0 +1,22 @@
fileFormatVersion: 2
guid: 099c8dd62cce4f44cb82730fe7e205b3
AudioImporter:
externalObjects: {}
serializedVersion: 6
defaultSettings:
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 0.59999996
conversionMode: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
preloadAudioData: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName:
assetBundleVariant:

BIN
Assets/Audio/SFX/Fantasma.wav (Stored with Git LFS) Normal file

Binary file not shown.

View file

@ -0,0 +1,22 @@
fileFormatVersion: 2
guid: a07454ba9da703e47b4c2dfe1ce07891
AudioImporter:
externalObjects: {}
serializedVersion: 6
defaultSettings:
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 0.59999996
conversionMode: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
preloadAudioData: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName:
assetBundleVariant:

BIN
Assets/Audio/SFX/Orbe.wav (Stored with Git LFS) Normal file

Binary file not shown.

View file

@ -0,0 +1,22 @@
fileFormatVersion: 2
guid: ad22913348b503b43abd4de5dbaedf60
AudioImporter:
externalObjects: {}
serializedVersion: 6
defaultSettings:
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 0.59999996
conversionMode: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
preloadAudioData: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName:
assetBundleVariant:

BIN
Assets/Audio/SFX/Pasos.wav (Stored with Git LFS) Normal file

Binary file not shown.

View file

@ -0,0 +1,22 @@
fileFormatVersion: 2
guid: af73b1e9e3a2f1e4ca80f46eb60a4587
AudioImporter:
externalObjects: {}
serializedVersion: 6
defaultSettings:
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 0.59999996
conversionMode: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
preloadAudioData: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName:
assetBundleVariant:

BIN
Assets/Audio/SFX/Puerta.wav (Stored with Git LFS) Normal file

Binary file not shown.

View file

@ -0,0 +1,22 @@
fileFormatVersion: 2
guid: 70e093b2cd2c1984dab158e3062a4d55
AudioImporter:
externalObjects: {}
serializedVersion: 6
defaultSettings:
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 0.59999996
conversionMode: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
preloadAudioData: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName:
assetBundleVariant:

BIN
Assets/Audio/SFX/Viento.wav (Stored with Git LFS) Normal file

Binary file not shown.

View file

@ -0,0 +1,22 @@
fileFormatVersion: 2
guid: aeef1e1589a7dac4cae75cdd14f89a71
AudioImporter:
externalObjects: {}
serializedVersion: 6
defaultSettings:
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 0.59999996
conversionMode: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
preloadAudioData: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName:
assetBundleVariant:

BIN
Assets/Audio/SFX/jump.wav (Stored with Git LFS) Normal file

Binary file not shown.

View file

@ -0,0 +1,22 @@
fileFormatVersion: 2
guid: 350310437314c8f40bd497de59cfb439
AudioImporter:
externalObjects: {}
serializedVersion: 6
defaultSettings:
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 1
conversionMode: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
preloadAudioData: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName:
assetBundleVariant:

BIN
Assets/Audio/SFX/truenitos_1.wav (Stored with Git LFS) Normal file

Binary file not shown.

View file

@ -0,0 +1,22 @@
fileFormatVersion: 2
guid: 43eb1e37698e838479cc7dc7335e5ecd
AudioImporter:
externalObjects: {}
serializedVersion: 6
defaultSettings:
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 1
conversionMode: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
preloadAudioData: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName:
assetBundleVariant:

BIN
Assets/Audio/SFX/truenitos_2.wav (Stored with Git LFS) Normal file

Binary file not shown.

View file

@ -0,0 +1,22 @@
fileFormatVersion: 2
guid: 54e3c312ac8783c4f97bee251a8cd84b
AudioImporter:
externalObjects: {}
serializedVersion: 6
defaultSettings:
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 1
conversionMode: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
preloadAudioData: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName:
assetBundleVariant:

BIN
Assets/Audio/SFX/trueno_4.wav (Stored with Git LFS) Normal file

Binary file not shown.

View file

@ -0,0 +1,22 @@
fileFormatVersion: 2
guid: 7498f55b8eeaf674ea2a9e526971ea92
AudioImporter:
externalObjects: {}
serializedVersion: 6
defaultSettings:
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 1
conversionMode: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
preloadAudioData: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName:
assetBundleVariant:

View file

@ -25,7 +25,7 @@ MonoBehaviour:
sentence: '<sp:15>One day, it went looking for treasures in some <color=#64329a>ancient sentence: '<sp:15>One day, it went looking for treasures in some <color=#64329a>ancient
viking ruins</color>. viking ruins</color>.
And found in the deepest depths a <color=#ff8c6a>relic</color>.' <p:long>And found in the deepest depths a <color=#ff8c6a>relic</color>.'
- displayName: 0 - displayName: 0
characterName: characterName:
characterImage: {fileID: 21300000, guid: 5bd48bacc85d55347908ae1d1e4a63d1, type: 3} characterImage: {fileID: 21300000, guid: 5bd48bacc85d55347908ae1d1e4a63d1, type: 3}

108
Assets/MainMixer.mixer Normal file
View file

@ -0,0 +1,108 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!243 &-5865163889200244711
AudioMixerGroupController:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: SFX
m_AudioMixer: {fileID: 24100000}
m_GroupID: 11d1c932bc5d51247b95cd3526f949cf
m_Children: []
m_Volume: 8f0cb2b4dd419b449a25d046b904e8fc
m_Pitch: cf3de8b3910be8a4aa6ec37ca3a31279
m_Send: 00000000000000000000000000000000
m_Effects:
- {fileID: -5331858446171057919}
m_UserColorIndex: 0
m_Mute: 0
m_Solo: 0
m_BypassEffects: 0
--- !u!244 &-5331858446171057919
AudioMixerEffectController:
m_ObjectHideFlags: 3
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name:
m_EffectID: 6078834bb0b216844a73c87ebd662506
m_EffectName: Attenuation
m_MixLevel: 157293aeea63bb247bf60b261a0d9291
m_Parameters: []
m_SendTarget: {fileID: 0}
m_EnableWetMix: 0
m_Bypass: 0
--- !u!241 &24100000
AudioMixerController:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: MainMixer
m_OutputGroup: {fileID: 0}
m_MasterGroup: {fileID: 24300002}
m_Snapshots:
- {fileID: 24500006}
m_StartSnapshot: {fileID: 24500006}
m_SuspendThreshold: -80
m_EnableSuspend: 1
m_UpdateMode: 0
m_ExposedParameters:
- guid: 227cf7a992b0aba46a66be68fcc47b10
name: Master
- guid: 8f0cb2b4dd419b449a25d046b904e8fc
name: SFX
m_AudioMixerGroupViews:
- guids:
- 43b9570b1e9319f46ba44e085e9f95b2
- 11d1c932bc5d51247b95cd3526f949cf
name: View
m_CurrentViewIndex: 0
m_TargetSnapshot: {fileID: 24500006}
--- !u!243 &24300002
AudioMixerGroupController:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: Master
m_AudioMixer: {fileID: 24100000}
m_GroupID: 43b9570b1e9319f46ba44e085e9f95b2
m_Children:
- {fileID: -5865163889200244711}
m_Volume: 227cf7a992b0aba46a66be68fcc47b10
m_Pitch: beb2f4f0d20edec4a99620b5830185b5
m_Send: 00000000000000000000000000000000
m_Effects:
- {fileID: 24400004}
m_UserColorIndex: 0
m_Mute: 0
m_Solo: 0
m_BypassEffects: 0
--- !u!244 &24400004
AudioMixerEffectController:
m_ObjectHideFlags: 3
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name:
m_EffectID: ca5437cefb2fccb4d9aedd3f05e1f60a
m_EffectName: Attenuation
m_MixLevel: e7ab9dbdf79bc51448fb979665396368
m_Parameters: []
m_SendTarget: {fileID: 0}
m_EnableWetMix: 0
m_Bypass: 0
--- !u!245 &24500006
AudioMixerSnapshotController:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: Snapshot
m_AudioMixer: {fileID: 24100000}
m_SnapshotID: 1e8847ad9b7964644a906319a7e5aeb8
m_FloatValues:
227cf7a992b0aba46a66be68fcc47b10: -0.02577656
m_TransitionOverrides: {}

View file

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: adbc6290145cd7f41a55443dd405d03b
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 24100000
userData:
assetBundleName:
assetBundleVariant:

File diff suppressed because it is too large Load diff

View file

@ -452,12 +452,12 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 0cd44c1031e13a943bb63640046fad76, type: 3} m_Script: {fileID: 11500000, guid: 0cd44c1031e13a943bb63640046fad76, type: 3}
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
m_UiScaleMode: 0 m_UiScaleMode: 1
m_ReferencePixelsPerUnit: 100 m_ReferencePixelsPerUnit: 16
m_ScaleFactor: 1 m_ScaleFactor: 1
m_ReferenceResolution: {x: 800, y: 600} m_ReferenceResolution: {x: 848, y: 480}
m_ScreenMatchMode: 0 m_ScreenMatchMode: 0
m_MatchWidthOrHeight: 0 m_MatchWidthOrHeight: 1
m_PhysicalUnit: 3 m_PhysicalUnit: 3
m_FallbackScreenDPI: 96 m_FallbackScreenDPI: 96
m_DefaultSpriteDPI: 96 m_DefaultSpriteDPI: 96
@ -621,6 +621,51 @@ CanvasRenderer:
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1005625966} m_GameObject: {fileID: 1005625966}
m_CullTransparentMesh: 1 m_CullTransparentMesh: 1
--- !u!1 &1194318514
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1194318516}
- component: {fileID: 1194318515}
m_Layer: 0
m_Name: AudioManager
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!114 &1194318515
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1194318514}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 7d2879f3876727040b4f0cc799ec7ada, type: 3}
m_Name:
m_EditorClassIdentifier:
soundList: {fileID: 11400000, guid: 97df288d065f2cf4389d97b773fda17c, type: 2}
--- !u!4 &1194318516
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1194318514}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 3
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &1683805632 --- !u!1 &1683805632
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -724,10 +769,10 @@ Camera:
m_FocalLength: 50 m_FocalLength: 50
m_NormalizedViewPortRect: m_NormalizedViewPortRect:
serializedVersion: 2 serializedVersion: 2
x: 0.07026071 x: 0.22817722
y: 0 y: 0
width: 0.85952276 width: 0.34811473
height: 0.9998184 height: 0.4055333
near clip plane: 0.3 near clip plane: 0.3
far clip plane: 1000 far clip plane: 1000
field of view: 60 field of view: 60
@ -887,14 +932,14 @@ RectTransform:
m_GameObject: {fileID: 2088911952} m_GameObject: {fileID: 2088911952}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0} m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 2.29375, y: 2.29375, z: 2.29375} m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0 m_ConstrainProportionsScale: 1
m_Children: [] m_Children: []
m_Father: {fileID: 899352892} m_Father: {fileID: 899352892}
m_RootOrder: 2 m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5} m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5} m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 0, y: -280.08752} m_AnchoredPosition: {x: 0, y: -90}
m_SizeDelta: {x: 553.83, y: 105.818} m_SizeDelta: {x: 553.83, y: 105.818}
m_Pivot: {x: 0.5, y: 0.5} m_Pivot: {x: 0.5, y: 0.5}

View file

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 94c61e791107447458e7412a58bb09ed
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

File diff suppressed because it is too large Load diff

791
Assets/Scenes/Loading.unity Normal file
View file

@ -0,0 +1,791 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!29 &1
OcclusionCullingSettings:
m_ObjectHideFlags: 0
serializedVersion: 2
m_OcclusionBakeSettings:
smallestOccluder: 5
smallestHole: 0.25
backfaceThreshold: 100
m_SceneGUID: 00000000000000000000000000000000
m_OcclusionCullingData: {fileID: 0}
--- !u!104 &2
RenderSettings:
m_ObjectHideFlags: 0
serializedVersion: 9
m_Fog: 0
m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1}
m_FogMode: 3
m_FogDensity: 0.01
m_LinearFogStart: 0
m_LinearFogEnd: 300
m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1}
m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1}
m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1}
m_AmbientIntensity: 1
m_AmbientMode: 3
m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1}
m_SkyboxMaterial: {fileID: 0}
m_HaloStrength: 0.5
m_FlareStrength: 1
m_FlareFadeSpeed: 3
m_HaloTexture: {fileID: 0}
m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0}
m_DefaultReflectionMode: 0
m_DefaultReflectionResolution: 128
m_ReflectionBounces: 1
m_ReflectionIntensity: 1
m_CustomReflection: {fileID: 0}
m_Sun: {fileID: 0}
m_IndirectSpecularColor: {r: 0, g: 0, b: 0, a: 1}
m_UseRadianceAmbientProbe: 0
--- !u!157 &3
LightmapSettings:
m_ObjectHideFlags: 0
serializedVersion: 12
m_GIWorkflowMode: 1
m_GISettings:
serializedVersion: 2
m_BounceScale: 1
m_IndirectOutputScale: 1
m_AlbedoBoost: 1
m_EnvironmentLightingMode: 0
m_EnableBakedLightmaps: 0
m_EnableRealtimeLightmaps: 0
m_LightmapEditorSettings:
serializedVersion: 12
m_Resolution: 2
m_BakeResolution: 40
m_AtlasSize: 1024
m_AO: 0
m_AOMaxDistance: 1
m_CompAOExponent: 1
m_CompAOExponentDirect: 0
m_ExtractAmbientOcclusion: 0
m_Padding: 2
m_LightmapParameters: {fileID: 0}
m_LightmapsBakeMode: 1
m_TextureCompression: 1
m_FinalGather: 0
m_FinalGatherFiltering: 1
m_FinalGatherRayCount: 256
m_ReflectionCompression: 2
m_MixedBakeMode: 2
m_BakeBackend: 1
m_PVRSampling: 1
m_PVRDirectSampleCount: 32
m_PVRSampleCount: 512
m_PVRBounces: 2
m_PVREnvironmentSampleCount: 256
m_PVREnvironmentReferencePointCount: 2048
m_PVRFilteringMode: 1
m_PVRDenoiserTypeDirect: 1
m_PVRDenoiserTypeIndirect: 1
m_PVRDenoiserTypeAO: 1
m_PVRFilterTypeDirect: 0
m_PVRFilterTypeIndirect: 0
m_PVRFilterTypeAO: 0
m_PVREnvironmentMIS: 1
m_PVRCulling: 1
m_PVRFilteringGaussRadiusDirect: 1
m_PVRFilteringGaussRadiusIndirect: 5
m_PVRFilteringGaussRadiusAO: 2
m_PVRFilteringAtrousPositionSigmaDirect: 0.5
m_PVRFilteringAtrousPositionSigmaIndirect: 2
m_PVRFilteringAtrousPositionSigmaAO: 1
m_ExportTrainingData: 0
m_TrainingDataDestination: TrainingData
m_LightProbeSampleCountMultiplier: 4
m_LightingDataAsset: {fileID: 0}
m_LightingSettings: {fileID: 0}
--- !u!196 &4
NavMeshSettings:
serializedVersion: 2
m_ObjectHideFlags: 0
m_BuildSettings:
serializedVersion: 2
agentTypeID: 0
agentRadius: 0.5
agentHeight: 2
agentSlope: 45
agentClimb: 0.4
ledgeDropHeight: 0
maxJumpAcrossDistance: 0
minRegionArea: 2
manualCellSize: 0
cellSize: 0.16666667
manualTileSize: 0
tileSize: 256
accuratePlacement: 0
maxJobWorkers: 0
preserveTilesOutsideBounds: 0
debug:
m_Flags: 0
m_NavMeshData: {fileID: 0}
--- !u!1 &35316186
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 35316188}
- component: {fileID: 35316187}
m_Layer: 0
m_Name: LoaderCallback
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!114 &35316187
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 35316186}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 26cb7a3b5197df940891506a87636cf7, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!4 &35316188
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 35316186}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &607989807
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 607989808}
- component: {fileID: 607989810}
- component: {fileID: 607989809}
m_Layer: 0
m_Name: Image
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &607989808
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 607989807}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1210611400}
m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &607989809
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 607989807}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 0.07450981, g: 0.078431375, b: 0.07450981, a: 1}
m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_Sprite: {fileID: 0}
m_Type: 0
m_PreserveAspect: 0
m_FillCenter: 1
m_FillMethod: 4
m_FillAmount: 1
m_FillClockwise: 1
m_FillOrigin: 0
m_UseSpriteMesh: 0
m_PixelsPerUnitMultiplier: 1
--- !u!222 &607989810
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 607989807}
m_CullTransparentMesh: 1
--- !u!1 &930796450
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 930796451}
- component: {fileID: 930796454}
- component: {fileID: 930796453}
- component: {fileID: 930796452}
m_Layer: 0
m_Name: ProgressBar
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 0
--- !u!224 &930796451
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 930796450}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1157553246}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 900, y: 20}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &930796452
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 930796450}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 79bedd11df41bee44a527b2e4e718d17, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!114 &930796453
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 930796450}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_Sprite: {fileID: 0}
m_Type: 3
m_PreserveAspect: 0
m_FillCenter: 1
m_FillMethod: 0
m_FillAmount: 1
m_FillClockwise: 1
m_FillOrigin: 0
m_UseSpriteMesh: 0
m_PixelsPerUnitMultiplier: 1
--- !u!222 &930796454
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 930796450}
m_CullTransparentMesh: 1
--- !u!1 &1157553245
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1157553246}
- component: {fileID: 1157553248}
- component: {fileID: 1157553247}
m_Layer: 0
m_Name: bg
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 0
--- !u!224 &1157553246
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1157553245}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 930796451}
m_Father: {fileID: 1210611400}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 0, y: -235}
m_SizeDelta: {x: 900, y: 20}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &1157553247
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1157553245}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 0.14117648, g: 0.14117648, b: 0.14117648, a: 1}
m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_Sprite: {fileID: 0}
m_Type: 0
m_PreserveAspect: 0
m_FillCenter: 1
m_FillMethod: 4
m_FillAmount: 1
m_FillClockwise: 1
m_FillOrigin: 0
m_UseSpriteMesh: 0
m_PixelsPerUnitMultiplier: 1
--- !u!222 &1157553248
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1157553245}
m_CullTransparentMesh: 1
--- !u!1 &1210611396
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1210611400}
- component: {fileID: 1210611399}
- component: {fileID: 1210611398}
- component: {fileID: 1210611397}
m_Layer: 0
m_Name: Canvas
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!114 &1210611397
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1210611396}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: dc42784cf147c0c48a680349fa168899, type: 3}
m_Name:
m_EditorClassIdentifier:
m_IgnoreReversedGraphics: 1
m_BlockingObjects: 0
m_BlockingMask:
serializedVersion: 2
m_Bits: 4294967295
--- !u!114 &1210611398
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1210611396}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 0cd44c1031e13a943bb63640046fad76, type: 3}
m_Name:
m_EditorClassIdentifier:
m_UiScaleMode: 1
m_ReferencePixelsPerUnit: 16
m_ScaleFactor: 1
m_ReferenceResolution: {x: 848, y: 480}
m_ScreenMatchMode: 0
m_MatchWidthOrHeight: 1
m_PhysicalUnit: 3
m_FallbackScreenDPI: 96
m_DefaultSpriteDPI: 96
m_DynamicPixelsPerUnit: 1
m_PresetInfoIsWorld: 0
--- !u!223 &1210611399
Canvas:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1210611396}
m_Enabled: 1
serializedVersion: 3
m_RenderMode: 1
m_Camera: {fileID: 1671222777}
m_PlaneDistance: 100
m_PixelPerfect: 0
m_ReceivesEvents: 1
m_OverrideSorting: 0
m_OverridePixelPerfect: 0
m_SortingBucketNormalizedSize: 0
m_AdditionalShaderChannelsFlag: 25
m_SortingLayerID: 0
m_SortingOrder: 0
m_TargetDisplay: 0
--- !u!224 &1210611400
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1210611396}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 0, y: 0, z: 0}
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 1332419665}
- {fileID: 1157553246}
- {fileID: 607989808}
m_Father: {fileID: 0}
m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0, y: 0}
--- !u!1 &1332419664
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1332419665}
- component: {fileID: 1332419667}
- component: {fileID: 1332419666}
m_Layer: 0
m_Name: LoadingText
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 0
--- !u!224 &1332419665
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1332419664}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1210611400}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: -333, y: -212}
m_SizeDelta: {x: 237, y: 52}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &1332419666
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1332419664}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_text: LOADING...
m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
m_fontSharedMaterials: []
m_fontMaterial: {fileID: 0}
m_fontMaterials: []
m_fontColor32:
serializedVersion: 2
rgba: 4294967295
m_fontColor: {r: 1, g: 1, b: 1, a: 1}
m_enableVertexGradient: 0
m_colorMode: 3
m_fontColorGradient:
topLeft: {r: 1, g: 1, b: 1, a: 1}
topRight: {r: 1, g: 1, b: 1, a: 1}
bottomLeft: {r: 1, g: 1, b: 1, a: 1}
bottomRight: {r: 1, g: 1, b: 1, a: 1}
m_fontColorGradientPreset: {fileID: 0}
m_spriteAsset: {fileID: 0}
m_tintAllSprites: 0
m_StyleSheet: {fileID: 0}
m_TextStyleHashCode: -1183493901
m_overrideHtmlColors: 0
m_faceColor:
serializedVersion: 2
rgba: 4294967295
m_fontSize: 36
m_fontSizeBase: 36
m_fontWeight: 400
m_enableAutoSizing: 0
m_fontSizeMin: 18
m_fontSizeMax: 72
m_fontStyle: 0
m_HorizontalAlignment: 1
m_VerticalAlignment: 256
m_textAlignment: 65535
m_characterSpacing: 0
m_wordSpacing: 0
m_lineSpacing: 0
m_lineSpacingMax: 0
m_paragraphSpacing: 0
m_charWidthMaxAdj: 0
m_enableWordWrapping: 1
m_wordWrappingRatios: 0.4
m_overflowMode: 0
m_linkedTextComponent: {fileID: 0}
parentLinkedComponent: {fileID: 0}
m_enableKerning: 1
m_enableExtraPadding: 0
checkPaddingRequired: 0
m_isRichText: 1
m_parseCtrlCharacters: 1
m_isOrthographic: 1
m_isCullingEnabled: 0
m_horizontalMapping: 0
m_verticalMapping: 0
m_uvLineOffset: 0
m_geometrySortingOrder: 0
m_IsTextObjectScaleStatic: 0
m_VertexBufferAutoSizeReduction: 0
m_useMaxVisibleDescender: 1
m_pageToDisplay: 1
m_margin: {x: 0, y: 0, z: 0, w: 0}
m_isUsingLegacyAnimationComponent: 0
m_isVolumetricText: 0
m_hasFontAssetChanged: 0
m_baseMaterial: {fileID: 0}
m_maskOffset: {x: 0, y: 0, z: 0, w: 0}
--- !u!222 &1332419667
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1332419664}
m_CullTransparentMesh: 1
--- !u!1 &1671222776
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1671222781}
- component: {fileID: 1671222777}
- component: {fileID: 1671222780}
- component: {fileID: 1671222779}
- component: {fileID: 1671222778}
m_Layer: 0
m_Name: Main Camera
m_TagString: MainCamera
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!20 &1671222777
Camera:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1671222776}
m_Enabled: 1
serializedVersion: 2
m_ClearFlags: 1
m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0}
m_projectionMatrixMode: 1
m_GateFitMode: 2
m_FOVAxisMode: 0
m_SensorSize: {x: 36, y: 24}
m_LensShift: {x: 0, y: 0}
m_FocalLength: 50
m_NormalizedViewPortRect:
serializedVersion: 2
x: 0.07075263
y: 0
width: 0.85809964
height: 0.999636
near clip plane: 0.3
far clip plane: 1000
field of view: 60
orthographic: 1
orthographic size: 15
m_Depth: -1
m_CullingMask:
serializedVersion: 2
m_Bits: 4294967295
m_RenderingPath: -1
m_TargetTexture: {fileID: 0}
m_TargetDisplay: 0
m_TargetEye: 3
m_HDR: 1
m_AllowMSAA: 1
m_AllowDynamicResolution: 0
m_ForceIntoRT: 0
m_OcclusionCulling: 1
m_StereoConvergence: 10
m_StereoSeparation: 0.022
--- !u!114 &1671222778
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1671222776}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: c88f5cead0c0b2a4eb05b5900433f8d1, type: 3}
m_Name:
m_EditorClassIdentifier:
m_ComponentVersion: 1
m_AssetsPPU: 16
m_RefResolutionX: 848
m_RefResolutionY: 480
m_CropFrame: 4
m_GridSnapping: 2
m_UpscaleRT: 0
m_PixelSnapping: 0
m_CropFrameX: 0
m_CropFrameY: 0
m_StretchFill: 0
--- !u!114 &1671222779
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1671222776}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: a79441f348de89743a2939f4d699eac1, type: 3}
m_Name:
m_EditorClassIdentifier:
m_RenderShadows: 1
m_RequiresDepthTextureOption: 2
m_RequiresOpaqueTextureOption: 2
m_CameraType: 0
m_Cameras: []
m_RendererIndex: -1
m_VolumeLayerMask:
serializedVersion: 2
m_Bits: 1
m_VolumeTrigger: {fileID: 0}
m_VolumeFrameworkUpdateModeOption: 2
m_RenderPostProcessing: 1
m_Antialiasing: 0
m_AntialiasingQuality: 2
m_StopNaN: 0
m_Dithering: 0
m_ClearDepth: 1
m_AllowXRRendering: 1
m_RequiresDepthTexture: 0
m_RequiresColorTexture: 0
m_Version: 2
--- !u!81 &1671222780
AudioListener:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1671222776}
m_Enabled: 1
--- !u!4 &1671222781
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1671222776}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: -10}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}

View file

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 5e00f30a4cab4be4ba3f51b9f2de145b
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

6303
Assets/Scenes/MainMenu.unity Normal file

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: c104073a7b42b32438c45e58a9b099fd
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -547,7 +547,7 @@ RectTransform:
m_Children: m_Children:
- {fileID: 812780872} - {fileID: 812780872}
m_Father: {fileID: 1370797025} m_Father: {fileID: 1370797025}
m_RootOrder: 2 m_RootOrder: 3
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5} m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5} m_AnchorMax: {x: 0.5, y: 0.5}
@ -939,6 +939,191 @@ Transform:
m_Father: {fileID: 0} m_Father: {fileID: 0}
m_RootOrder: 8 m_RootOrder: 8
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &297793552
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 297793553}
- component: {fileID: 297793556}
- component: {fileID: 297793555}
- component: {fileID: 297793554}
m_Layer: 5
m_Name: OrbEffect
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &297793553
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 297793552}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1370797025}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: -52.98004, y: -30.540009}
m_SizeDelta: {x: 129, y: 129}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &297793554
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 297793552}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 4d0390bd8b8ffd640b34fe25065ff1df, type: 3}
m_Name:
m_EditorClassIdentifier:
updateType: 0
isSpeedBased: 0
hasOnStart: 0
hasOnPlay: 0
hasOnUpdate: 0
hasOnStepComplete: 0
hasOnComplete: 0
hasOnTweenCreated: 0
hasOnRewind: 0
onStart:
m_PersistentCalls:
m_Calls: []
onPlay:
m_PersistentCalls:
m_Calls: []
onUpdate:
m_PersistentCalls:
m_Calls: []
onStepComplete:
m_PersistentCalls:
m_Calls: []
onComplete:
m_PersistentCalls:
m_Calls: []
onTweenCreated:
m_PersistentCalls:
m_Calls: []
onRewind:
m_PersistentCalls:
m_Calls: []
targetIsSelf: 1
targetGO: {fileID: 0}
tweenTargetIsTargetGO: 1
delay: 0
duration: 0.2
easeType: 3
easeCurve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0
- serializedVersion: 3
time: 1
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
loopType: 1
loops: 6
id:
isRelative: 0
isFrom: 0
isIndependentUpdate: 0
autoKill: 0
autoGenerate: 1
isActive: 1
isValid: 1
target: {fileID: 297793555}
animationType: 6
targetType: 3
forcedTargetType: 0
autoPlay: 0
useTargetAsV3: 0
endValueFloat: 0
endValueV3: {x: 0, y: 0, z: 0}
endValueV2: {x: 0, y: 0}
endValueColor: {r: 1, g: 1, b: 1, a: 1}
endValueString:
endValueRect:
serializedVersion: 2
x: 0
y: 0
width: 0
height: 0
endValueTransform: {fileID: 0}
optionalBool0: 0
optionalBool1: 0
optionalFloat0: 0
optionalInt0: 0
optionalRotationMode: 0
optionalScrambleMode: 0
optionalShakeRandomnessMode: 0
optionalString:
--- !u!114 &297793555
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 297793552}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 0}
m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_Sprite: {fileID: -1609888811, guid: 1ef1fd4fbc853144eab181587d5215bb, type: 3}
m_Type: 0
m_PreserveAspect: 0
m_FillCenter: 1
m_FillMethod: 4
m_FillAmount: 1
m_FillClockwise: 1
m_FillOrigin: 0
m_UseSpriteMesh: 0
m_PixelsPerUnitMultiplier: 1
--- !u!222 &297793556
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 297793552}
m_CullTransparentMesh: 1
--- !u!1 &330676469 --- !u!1 &330676469
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -1406,10 +1591,10 @@ Camera:
m_FocalLength: 50 m_FocalLength: 50
m_NormalizedViewPortRect: m_NormalizedViewPortRect:
serializedVersion: 2 serializedVersion: 2
x: 0 x: 0.07075263
y: 0.11260443 y: 0
width: 1.0001326 width: 0.85809964
height: 0.7751407 height: 0.999636
near clip plane: 0.3 near clip plane: 0.3
far clip plane: 1000 far clip plane: 1000
field of view: 60 field of view: 60
@ -1662,6 +1847,16 @@ MonoBehaviour:
- {fileID: -1525447582, guid: 1ef1fd4fbc853144eab181587d5215bb, type: 3} - {fileID: -1525447582, guid: 1ef1fd4fbc853144eab181587d5215bb, type: 3}
- {fileID: -1485784765, guid: 1ef1fd4fbc853144eab181587d5215bb, type: 3} - {fileID: -1485784765, guid: 1ef1fd4fbc853144eab181587d5215bb, type: 3}
orb: {fileID: 289659549} orb: {fileID: 289659549}
effectTween: {fileID: 297793554}
effectSprites:
- {fileID: -682186426, guid: 1ef1fd4fbc853144eab181587d5215bb, type: 3}
- {fileID: -1609888811, guid: 1ef1fd4fbc853144eab181587d5215bb, type: 3}
- {fileID: 744122819, guid: 1ef1fd4fbc853144eab181587d5215bb, type: 3}
- {fileID: 1331039647, guid: 1ef1fd4fbc853144eab181587d5215bb, type: 3}
- {fileID: 1878816271, guid: 1ef1fd4fbc853144eab181587d5215bb, type: 3}
- {fileID: -1185485329, guid: 1ef1fd4fbc853144eab181587d5215bb, type: 3}
- {fileID: 1202495537, guid: 1ef1fd4fbc853144eab181587d5215bb, type: 3}
- {fileID: -635847680, guid: 1ef1fd4fbc853144eab181587d5215bb, type: 3}
--- !u!1 &665049830 --- !u!1 &665049830
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -2448,9 +2643,14 @@ MonoBehaviour:
m_EditorClassIdentifier: m_EditorClassIdentifier:
speed: 10 speed: 10
acceleration: 0.05 acceleration: 0.05
airAcceleration: 0.1
iceAcceleration: 0.1
flipSmooth: 0.05 flipSmooth: 0.05
jumpForce: 35 jumpForce: 35
gradualJumpMultiplier: 0.5 gradualJumpMultiplier: 0.5
iceMask:
serializedVersion: 2
m_Bits: 0
groundMask: groundMask:
serializedVersion: 2 serializedVersion: 2
m_Bits: 8 m_Bits: 8
@ -2610,7 +2810,7 @@ RectTransform:
- {fileID: 1916131742} - {fileID: 1916131742}
- {fileID: 757602103} - {fileID: 757602103}
m_Father: {fileID: 1370797025} m_Father: {fileID: 1370797025}
m_RootOrder: 1 m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5} m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5} m_AnchorMax: {x: 0.5, y: 0.5}
@ -14418,7 +14618,7 @@ BoxCollider2D:
m_Offset: {x: 0, y: -0.24} m_Offset: {x: 0, y: -0.24}
m_SpriteTilingProperty: m_SpriteTilingProperty:
border: {x: 0, y: 0, z: 0, w: 0} border: {x: 0, y: 0, z: 0, w: 0}
pivot: {x: 0.5, y: 0.5} pivot: {x: 0.5, y: 0}
oldSize: {x: 6, y: 1.5625} oldSize: {x: 6, y: 1.5625}
newSize: {x: 6, y: 1.5625} newSize: {x: 6, y: 1.5625}
adaptiveTilingThreshold: 0.5 adaptiveTilingThreshold: 0.5
@ -14444,7 +14644,7 @@ BoxCollider2D:
m_Offset: {x: 0, y: 0.11919844} m_Offset: {x: 0, y: 0.11919844}
m_SpriteTilingProperty: m_SpriteTilingProperty:
border: {x: 0, y: 0, z: 0, w: 0} border: {x: 0, y: 0, z: 0, w: 0}
pivot: {x: 0.5, y: 0.5} pivot: {x: 0.5, y: 0}
oldSize: {x: 6, y: 1.5625} oldSize: {x: 6, y: 1.5625}
newSize: {x: 6, y: 1.5625} newSize: {x: 6, y: 1.5625}
adaptiveTilingThreshold: 0.5 adaptiveTilingThreshold: 0.5
@ -14504,6 +14704,7 @@ RectTransform:
m_ConstrainProportionsScale: 0 m_ConstrainProportionsScale: 0
m_Children: m_Children:
- {fileID: 289659548} - {fileID: 289659548}
- {fileID: 297793553}
- {fileID: 909280805} - {fileID: 909280805}
- {fileID: 183667943} - {fileID: 183667943}
m_Father: {fileID: 620965871} m_Father: {fileID: 620965871}
@ -14511,7 +14712,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 1, y: 1} m_AnchorMin: {x: 1, y: 1}
m_AnchorMax: {x: 1, y: 1} m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 19.999878, y: 0} m_AnchoredPosition: {x: 19.999908, y: 0}
m_SizeDelta: {x: 100, y: 100} m_SizeDelta: {x: 100, y: 100}
m_Pivot: {x: 1, y: 1} m_Pivot: {x: 1, y: 1}
--- !u!1 &1477198635 --- !u!1 &1477198635

View file

@ -544,6 +544,9 @@ MonoBehaviour:
m_CallState: 2 m_CallState: 2
keyCollision: 0 keyCollision: 0
currentType: 0 currentType: 0
time: 180
doorTime: 30
clockPivot: {fileID: 812780872}
forceEventChangeType: 4 forceEventChangeType: 4
--- !u!4 &75232999 --- !u!4 &75232999
Transform: Transform:
@ -818,7 +821,7 @@ RectTransform:
m_Children: m_Children:
- {fileID: 812780872} - {fileID: 812780872}
m_Father: {fileID: 1370797025} m_Father: {fileID: 1370797025}
m_RootOrder: 2 m_RootOrder: 3
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5} m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5} m_AnchorMax: {x: 0.5, y: 0.5}
@ -1677,10 +1680,10 @@ Camera:
m_FocalLength: 50 m_FocalLength: 50
m_NormalizedViewPortRect: m_NormalizedViewPortRect:
serializedVersion: 2 serializedVersion: 2
x: 0.28634554 x: 0.07075263
y: 0 y: 0
width: 0.43249375 width: 0.85809964
height: 0.5030876 height: 0.999636
near clip plane: 0.3 near clip plane: 0.3
far clip plane: 1000 far clip plane: 1000
field of view: 60 field of view: 60
@ -1933,6 +1936,16 @@ MonoBehaviour:
- {fileID: -1525447582, guid: 1ef1fd4fbc853144eab181587d5215bb, type: 3} - {fileID: -1525447582, guid: 1ef1fd4fbc853144eab181587d5215bb, type: 3}
- {fileID: -1485784765, guid: 1ef1fd4fbc853144eab181587d5215bb, type: 3} - {fileID: -1485784765, guid: 1ef1fd4fbc853144eab181587d5215bb, type: 3}
orb: {fileID: 289659549} orb: {fileID: 289659549}
effectTween: {fileID: 1035798853}
effectSprites:
- {fileID: -682186426, guid: 1ef1fd4fbc853144eab181587d5215bb, type: 3}
- {fileID: -1609888811, guid: 1ef1fd4fbc853144eab181587d5215bb, type: 3}
- {fileID: 744122819, guid: 1ef1fd4fbc853144eab181587d5215bb, type: 3}
- {fileID: 1331039647, guid: 1ef1fd4fbc853144eab181587d5215bb, type: 3}
- {fileID: 1878816271, guid: 1ef1fd4fbc853144eab181587d5215bb, type: 3}
- {fileID: -1185485329, guid: 1ef1fd4fbc853144eab181587d5215bb, type: 3}
- {fileID: 1202495537, guid: 1ef1fd4fbc853144eab181587d5215bb, type: 3}
- {fileID: -635847680, guid: 1ef1fd4fbc853144eab181587d5215bb, type: 3}
--- !u!1 &665049830 --- !u!1 &665049830
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -2901,7 +2914,7 @@ RectTransform:
- {fileID: 1916131742} - {fileID: 1916131742}
- {fileID: 757602103} - {fileID: 757602103}
m_Father: {fileID: 1370797025} m_Father: {fileID: 1370797025}
m_RootOrder: 1 m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5} m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5} m_AnchorMax: {x: 0.5, y: 0.5}
@ -3201,6 +3214,191 @@ Transform:
m_Father: {fileID: 0} m_Father: {fileID: 0}
m_RootOrder: 5 m_RootOrder: 5
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &1035798852
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1035798856}
- component: {fileID: 1035798855}
- component: {fileID: 1035798854}
- component: {fileID: 1035798853}
m_Layer: 5
m_Name: OrbEffect
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!114 &1035798853
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1035798852}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 4d0390bd8b8ffd640b34fe25065ff1df, type: 3}
m_Name:
m_EditorClassIdentifier:
updateType: 0
isSpeedBased: 0
hasOnStart: 0
hasOnPlay: 0
hasOnUpdate: 0
hasOnStepComplete: 0
hasOnComplete: 0
hasOnTweenCreated: 0
hasOnRewind: 0
onStart:
m_PersistentCalls:
m_Calls: []
onPlay:
m_PersistentCalls:
m_Calls: []
onUpdate:
m_PersistentCalls:
m_Calls: []
onStepComplete:
m_PersistentCalls:
m_Calls: []
onComplete:
m_PersistentCalls:
m_Calls: []
onTweenCreated:
m_PersistentCalls:
m_Calls: []
onRewind:
m_PersistentCalls:
m_Calls: []
targetIsSelf: 1
targetGO: {fileID: 0}
tweenTargetIsTargetGO: 1
delay: 0
duration: 0.2
easeType: 3
easeCurve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0
- serializedVersion: 3
time: 1
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
loopType: 1
loops: 6
id:
isRelative: 0
isFrom: 0
isIndependentUpdate: 0
autoKill: 0
autoGenerate: 1
isActive: 1
isValid: 1
target: {fileID: 1035798854}
animationType: 6
targetType: 3
forcedTargetType: 0
autoPlay: 0
useTargetAsV3: 0
endValueFloat: 0
endValueV3: {x: 0, y: 0, z: 0}
endValueV2: {x: 0, y: 0}
endValueColor: {r: 1, g: 1, b: 1, a: 1}
endValueString:
endValueRect:
serializedVersion: 2
x: 0
y: 0
width: 0
height: 0
endValueTransform: {fileID: 0}
optionalBool0: 0
optionalBool1: 0
optionalFloat0: 0
optionalInt0: 0
optionalRotationMode: 0
optionalScrambleMode: 0
optionalShakeRandomnessMode: 0
optionalString:
--- !u!114 &1035798854
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1035798852}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 0}
m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_Sprite: {fileID: -1609888811, guid: 1ef1fd4fbc853144eab181587d5215bb, type: 3}
m_Type: 0
m_PreserveAspect: 0
m_FillCenter: 1
m_FillMethod: 4
m_FillAmount: 1
m_FillClockwise: 1
m_FillOrigin: 0
m_UseSpriteMesh: 0
m_PixelsPerUnitMultiplier: 1
--- !u!222 &1035798855
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1035798852}
m_CullTransparentMesh: 1
--- !u!224 &1035798856
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1035798852}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1370797025}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: -52.98004, y: -30.540009}
m_SizeDelta: {x: 129, y: 129}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!1 &1042319006 --- !u!1 &1042319006
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -14825,6 +15023,7 @@ RectTransform:
m_ConstrainProportionsScale: 0 m_ConstrainProportionsScale: 0
m_Children: m_Children:
- {fileID: 289659548} - {fileID: 289659548}
- {fileID: 1035798856}
- {fileID: 909280805} - {fileID: 909280805}
- {fileID: 183667943} - {fileID: 183667943}
m_Father: {fileID: 620965871} m_Father: {fileID: 620965871}

View file

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 71becaa7a101eb5409488557fffc4978
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 0325a6595b76de84a8cc264bc09c2ba3
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,664 @@
using System;
using System.Collections.Generic;
using System.IO;
using UnityEditor;
using UnityEditor.AnimatedValues;
using UnityEngine;
using UnityEngine.SceneManagement;
// Staggart Creations http://staggart.xyz
// Copyright protected under Unity asset store EULA
public sealed class ScreenshotUtility : EditorWindow
{
private static bool captureScene = false;
private static bool captureGame = true;
private Camera sourceCamera;
private List<Camera> cameras = new List<Camera>();
private string[] cameraNames;
private int cameraID;
private int ssWidth = 1920;
private int ssHeight = 1080;
private bool transparency;
private static readonly string[] resolutionList = new string[] { "720p", "1080p", "1140p", "4K", "8K", "Custom..." };
private AnimBool captureNotification;
private static bool UseNativeCapture
{
get { return EditorPrefs.GetBool(PlayerSettings.productName + "_SRCSHOT_UseNativeCapture", false); }
set { EditorPrefs.SetBool(PlayerSettings.productName + "_SRCSHOT_UseNativeCapture", value); }
}
private static int Resolution
{
get { return EditorPrefs.GetInt(PlayerSettings.productName + "_SRCSHOT_RESOLUTION", 1); }
set { EditorPrefs.SetInt(PlayerSettings.productName + "_SRCSHOT_RESOLUTION", value); }
}
private static string[] aspectList = new string[] { "16:9", "21:9", "32:9" };
private static int AspectRatio
{
get { return EditorPrefs.GetInt(PlayerSettings.productName + "_SRCSHOT_ASPECT", 0); }
set { EditorPrefs.SetInt(PlayerSettings.productName + "_SRCSHOT_ASPECT", value); }
}
private static bool OpenAfterCapture
{
get { return EditorPrefs.GetBool(PlayerSettings.productName + "_SRCSHOT_OpenAfterCapture", true); }
set { EditorPrefs.SetBool(PlayerSettings.productName + "_SRCSHOT_OpenAfterCapture", value); }
}
private static string SavePath
{
get { return EditorPrefs.GetString(PlayerSettings.productName + "_SRCSHOT_DIR", Application.dataPath.Replace("Assets", "Screenshots/")); }
set { EditorPrefs.SetString(PlayerSettings.productName + "_SRCSHOT_DIR", value); }
}
private static string FileNameFormat
{
get { return EditorPrefs.GetString(PlayerSettings.productName + "_SRCSHOT_FileNameFormat", "{S}_{R}_{D}_{T}"); }
set { EditorPrefs.SetString(PlayerSettings.productName + "_SRCSHOT_FileNameFormat", value); }
}
private static string[] DateFormats = new string[] { "MM-dd-yyyy", "dd-MM-yyyy", "yyyy-MM-dd" };
private static int DateFormat
{
get { return EditorPrefs.GetInt(PlayerSettings.productName + "_SRCSHOT_DateFormat", 1); }
set { EditorPrefs.SetInt(PlayerSettings.productName + "_SRCSHOT_DateFormat", value); }
}
private static string[] TimeFormats = new string[] { "24 Hour", "AM-PM" };
private static int TimeFormat
{
get { return EditorPrefs.GetInt(PlayerSettings.productName + "_SRCSHOT_TimeFormat", 0); }
set { EditorPrefs.SetInt(PlayerSettings.productName + "_SRCSHOT_TimeFormat", value); }
}
private static bool OutputPNG
{
get { return EditorPrefs.GetBool(PlayerSettings.productName + "_SRCSHOT_CMPRS", false); }
set { EditorPrefs.SetBool(PlayerSettings.productName + "_SRCSHOT_CMPRS", value); }
}
private static bool ListenToPrintButton
{
get { return EditorPrefs.GetBool(PlayerSettings.productName + "_SRCSHOT_PRINT_BTN", false); }
set { EditorPrefs.SetBool(PlayerSettings.productName + "_SRCSHOT_PRINT_BTN", value); }
}
GUIStyle pathField;
// Check if folder exists, otherwise create it
private static string CheckFolderValidity(string targetFolder)
{
//Create folder if it doesn't exist
if (!Directory.Exists(targetFolder))
{
Debug.Log("Directory <i>\"" + targetFolder + "\"</i> didn't exist and was created...");
Directory.CreateDirectory(targetFolder);
AssetDatabase.Refresh();
}
return targetFolder;
}
private static string GetSceneName()
{
string name;
//Screenshot name prefix
if (SceneManager.sceneCount > 0)
name = SceneManager.GetActiveScene().name;
else
//If there are no scenes in the build, or scene is unsaved
name = PlayerSettings.productName;
if (name == string.Empty) name = "Screenshot";
return name;
}
public static string FormatFileName(int resIndex, string dateFormat)
{
string fileName = FileNameFormat.Replace("{S}", GetSceneName());
fileName = fileName.Replace("{P}", PlayerSettings.productName);
fileName = fileName.Replace("{R}", resolutionList[resIndex]);
fileName = fileName.Replace("{D}", System.DateTime.Now.ToString(dateFormat).Replace("-", "." ));
fileName = fileName.Replace("{T}", System.DateTime.Now.ToString(TimeFormat == 0 ? "HH-mm-ss" : "hh-mm-ss tt"));
fileName = fileName.Replace("{U}", System.DateTime.Now.Ticks.ToString());
return fileName;
}
[MenuItem("Tools/Screenshot")]
public static void Init()
{
//Show existing window instance. If one doesn't exist, make one.
EditorWindow ssWindow = EditorWindow.GetWindow(typeof(ScreenshotUtility), false);
//Options
ssWindow.autoRepaintOnSceneChange = true;
ssWindow.maxSize = new Vector2(250f, 260f);
ssWindow.minSize = ssWindow.maxSize;
ssWindow.titleContent.image = EditorGUIUtility.IconContent("Camera Gizmo").image;
ssWindow.titleContent.text = "Screenshot";
//Show
ssWindow.Show();
}
private void OnFocus()
{
RefreshCameras();
}
private void OnEnable()
{
RefreshCameras();
if (focusedWindow != null && focusedWindow.GetType() == typeof(SceneView))
{
captureScene = true;
captureGame = false;
}
else
{
captureGame = true;
captureScene = false;
}
captureNotification = new AnimBool(false);
captureNotification.speed = 3f;
captureNotification.valueChanged.AddListener(Repaint);
#if !UNITY_2019_1_OR_NEWER
SceneView.onSceneGUIDelegate += OnSceneGUI;
#else
SceneView.duringSceneGui += OnSceneGUI;
#endif
}
private void OnDisable()
{
#if !UNITY_2019_1_OR_NEWER
SceneView.onSceneGUIDelegate -= OnSceneGUI;
#else
SceneView.duringSceneGui -= OnSceneGUI;
#endif
}
private void OnSceneGUI(SceneView sceneView)
{
if (!ListenToPrintButton) return;
//Whenever print-screen button is pressed
if (Event.current.type == EventType.KeyUp && Event.current.keyCode == KeyCode.SysReq)
{
RenderScreenshot();
}
}
private void RefreshCameras()
{
Camera[] sceneCameras = GameObject.FindObjectsOfType<Camera>();
cameras.Clear();
foreach (Camera cam in sceneCameras)
{
//Exclude hidden special purpose cameras
if(cam.gameObject.hideFlags != HideFlags.None) continue;
//Try to exclude any off-screen cameras
if (cam.activeTexture != null && cam.hideFlags != HideFlags.None && !cam.enabled) continue;
cameras.Add(cam);
}
//Compose list of names
cameraNames = new string[cameras.Count];
for (int i = 0; i < cameraNames.Length; i++)
{
cameraNames[i] = cameras[i].name;
}
}
void SetResolution()
{
switch (Resolution)
{
case 0:
ssWidth = 1280;
ssHeight = 720;
break;
case 1:
ssWidth = 1920;
ssHeight = 1080;
break;
case 2:
ssWidth = 2560;
ssHeight = 1440;
break;
case 3:
ssWidth = 3840;
ssHeight = 2160;
break;
case 4:
ssWidth = 7680;
ssHeight = 4320;
break;
}
//21:9
if (AspectRatio == 1 && Resolution != resolutionList.Length - 1) ssWidth = Mathf.RoundToInt(ssWidth * 1.3215f);
//32:9
if (AspectRatio == 2 && Resolution != resolutionList.Length - 1) ssWidth = Mathf.RoundToInt(ssWidth * 2f);
}
private string iconPrefix => EditorGUIUtility.isProSkin ? "d_" : "";
private readonly Color okColor = new Color(97f / 255f, 255f / 255f, 66f / 255f);
void OnGUI()
{
if (cameras.Count == 0)
{
EditorGUILayout.HelpBox("No active camera's in the scene", MessageType.Warning);
return;
}
EditorGUILayout.BeginVertical(EditorStyles.helpBox);
{
EditorGUILayout.BeginHorizontal();
{
EditorGUILayout.LabelField("Source", EditorStyles.boldLabel);
GUILayout.FlexibleSpace();
if (GUILayout.Button(new GUIContent(EditorGUIUtility.IconContent(iconPrefix + "Settings").image, "Edit settings"), EditorStyles.miniButtonMid))
{
SettingsService.OpenUserPreferences("Preferences/Screenshot");
}
}
EditorGUILayout.EndHorizontal();
EditorGUILayout.BeginHorizontal();
{
if (GUILayout.Toggle(captureScene, new GUIContent(" Scene", EditorGUIUtility.IconContent(iconPrefix + "unityeditor.sceneview.png").image), EditorStyles.miniButtonLeft))
{
captureScene = true;
captureGame = false;
}
if (GUILayout.Toggle(captureGame, new GUIContent(" Game", EditorGUIUtility.IconContent(iconPrefix + "unityeditor.gameview.png").image), EditorStyles.miniButtonRight))
{
captureGame = true;
captureScene = false;
}
}
EditorGUILayout.EndHorizontal();
EditorGUILayout.Space();
if (cameras.Count > 1)
{
EditorGUILayout.BeginHorizontal();
EditorGUILayout.LabelField("Camera", GUILayout.MaxWidth(60f));
cameraID = EditorGUILayout.Popup(cameraID, cameraNames, GUILayout.MaxWidth(120f));
sourceCamera = cameras[cameraID];
EditorGUILayout.EndHorizontal();
}
else
{
sourceCamera = cameras[0];
}
}
EditorGUILayout.EndVertical();
EditorGUILayout.BeginVertical(EditorStyles.helpBox);
{
if (!UseNativeCapture || captureScene)
{
EditorGUILayout.LabelField("Resolution (" + ssWidth + " x " + ssHeight + ")", EditorStyles.boldLabel);
EditorGUILayout.BeginHorizontal();
Resolution = EditorGUILayout.Popup(Resolution, resolutionList, GUILayout.MinWidth(75f), GUILayout.MaxWidth(75f));
//If not custom
if (Resolution != resolutionList.Length - 1)
{
AspectRatio = EditorGUILayout.Popup(AspectRatio, aspectList, GUILayout.MinWidth(75f), GUILayout.MaxWidth(50f));
}
else
{
EditorGUILayout.BeginHorizontal();
ssWidth = EditorGUILayout.IntField(ssWidth, GUILayout.MaxWidth(45f));
EditorGUILayout.LabelField("x", GUILayout.MaxWidth(15f));
ssHeight = EditorGUILayout.IntField(ssHeight, GUILayout.MaxWidth(45f));
EditorGUILayout.EndHorizontal();
}
EditorGUILayout.EndHorizontal();
//Update resolution
SetResolution();
}
else
{
EditorGUILayout.LabelField("Resolution is controlled in the game-view", EditorStyles.miniLabel);
}
}
EditorGUILayout.EndVertical();
EditorGUILayout.BeginVertical(EditorStyles.helpBox);
{
GUILayout.Label("Output folder", EditorStyles.boldLabel);
EditorGUILayout.BeginHorizontal();
{
EditorGUILayout.TextField(SavePath, Styles.PathField);
if (SavePath == string.Empty) SavePath = Application.dataPath.Replace("Assets", "Screenshots/");
if (GUILayout.Button(new GUIContent("...", "Browse"), GUILayout.ExpandWidth(true)))
{
SavePath = EditorUtility.SaveFolderPanel("Screenshot destination folder", SavePath, Application.dataPath);
}
if (GUILayout.Button("Open", GUILayout.ExpandWidth(true)))
{
CheckFolderValidity(SavePath);
Application.OpenURL("file://" + SavePath);
}
}
EditorGUILayout.EndHorizontal();
}
EditorGUILayout.EndVertical();
EditorGUILayout.BeginVertical(EditorStyles.helpBox);
{
EditorGUI.BeginDisabledGroup(SavePath == string.Empty);
{
using (new EditorGUILayout.HorizontalScope())
{
if (GUILayout.Button(new GUIContent("- Capture -"), GUILayout.ExpandHeight(false), GUILayout.Height(25f)))
{
//captureNotification.target = true;
RenderScreenshot();
}
}
}
if (!UseNativeCapture)
{
using (new EditorGUILayout.HorizontalScope(EditorStyles.textArea))
{
OutputPNG = GUILayout.Toggle(OutputPNG, "PNG", EditorStyles.miniButtonLeft, GUILayout.Width(50f), GUILayout.ExpandWidth(false));
OutputPNG = !GUILayout.Toggle(!OutputPNG, "JPG", EditorStyles.miniButtonRight, GUILayout.Width(50f), GUILayout.ExpandWidth(false));
OpenAfterCapture = EditorGUILayout.ToggleLeft("Auto open", OpenAfterCapture, GUILayout.MaxWidth(80f));
}
}
EditorGUI.EndDisabledGroup();
}
EditorGUILayout.EndVertical();
EditorGUILayout.LabelField(" - Staggart Creations - ", EditorStyles.centeredGreyMiniLabel);
if (EditorGUILayout.BeginFadeGroup(captureNotification.faded))
{
GUIStyle guiStyle = EditorStyles.label;
Color defaultTextColor = GUI.contentColor;
//Personal skin
if (EditorGUIUtility.isProSkin == false)
{
defaultTextColor = GUI.skin.customStyles[0].normal.textColor;
guiStyle = new GUIStyle();
GUI.skin.customStyles[0] = guiStyle;
}
//Set
if (EditorGUIUtility.isProSkin == false)
{
GUI.skin.customStyles[0].normal.textColor = okColor;
}
else
{
GUI.contentColor = okColor;
}
//Draw
EditorGUILayout.HelpBox(new GUIContent(" Screenshot saved", EditorGUIUtility.IconContent("d_FilterSelectedOnly").image), true);
//Restore
if (EditorGUIUtility.isProSkin == false)
{
GUI.skin.customStyles[0].normal.textColor = defaultTextColor;
}
else
{
GUI.contentColor = defaultTextColor;
}
}
EditorGUILayout.EndFadeGroup();
}
private static RenderTexture rt;
private static Texture2D screenShot;
public void RenderScreenshot()
{
if (!sourceCamera) return;
transparency = sourceCamera.clearFlags == CameraClearFlags.Depth;
var useRenderTexture = !UseNativeCapture || captureScene;
var forcePng = UseNativeCapture && !captureScene;
string filename = FormatFileName(Resolution, DateFormats[DateFormat]) + (forcePng || OutputPNG || transparency == true ? ".png" : ".jpg");
CheckFolderValidity(SavePath);
Vector3 originalPos = sourceCamera.transform.position;
Quaternion originalRot = sourceCamera.transform.rotation;
float originalFOV = sourceCamera.fieldOfView;
bool originalOrtho = sourceCamera.orthographic;
float originalOthoSize = sourceCamera.orthographicSize;
#if CINEMACHINE
Cinemachine.CinemachineBrain cBrain = sourceCamera.GetComponent<Cinemachine.CinemachineBrain>();
bool cBrainEnable = false;
if (cBrain) cBrainEnable = cBrain.enabled;
#endif
if (captureScene)
{
//Set focus to scene view
#if !UNITY_2018_2_OR_NEWER
EditorApplication.ExecuteMenuItem("Window/Scene");
#else
EditorApplication.ExecuteMenuItem("Window/General/Scene");
#endif
if (SceneView.lastActiveSceneView)
{
#if CINEMACHINE
if (cBrain && cBrainEnable) cBrain.enabled = false;
#endif
sourceCamera.fieldOfView = SceneView.lastActiveSceneView.camera.fieldOfView;
sourceCamera.orthographic = SceneView.lastActiveSceneView.camera.orthographic;
sourceCamera.orthographicSize = SceneView.lastActiveSceneView.camera.orthographicSize;
sourceCamera.transform.position = SceneView.lastActiveSceneView.camera.transform.position;
sourceCamera.transform.rotation = SceneView.lastActiveSceneView.camera.transform.rotation;
}
}
else
{
//Set focus to game view
#if !UNITY_2018_2_OR_NEWER
EditorApplication.ExecuteMenuItem("Window/Game");
#else
EditorApplication.ExecuteMenuItem("Window/General/Game");
#endif
}
string path = SavePath + "/" + filename;
if (useRenderTexture)
{
CaptureFromTargetTexture(path);
}
else
{
CaptureFromNativeFunction(path);
}
EditorUtility.DisplayProgressBar("Screenshot", "Saving file " + 3 + "/" + 3, 3f / 3f);
//Native capturing is Async, so file may or may not exist yet
if (OpenAfterCapture && useRenderTexture) Application.OpenURL(path);
//Restore
#if CINEMACHINE
if (cBrain && cBrainEnable) cBrain.enabled = true;
#endif
if (captureScene)
{
sourceCamera.orthographic = originalOrtho;
sourceCamera.orthographicSize = originalOthoSize;
sourceCamera.fieldOfView = originalFOV;
sourceCamera.transform.position = originalPos;
sourceCamera.transform.rotation = originalRot;
}
EditorUtility.ClearProgressBar();
ShowNotification();
}
private void CaptureFromTargetTexture(string path)
{
var hdr = sourceCamera.allowHDR && PlayerSettings.colorSpace == ColorSpace.Linear;
rt = new RenderTexture(ssWidth, ssHeight, 16, hdr ? RenderTextureFormat.DefaultHDR : RenderTextureFormat.Default, RenderTextureReadWrite.sRGB);
screenShot = new Texture2D(ssWidth, ssHeight, transparency ? TextureFormat.ARGB32 : TextureFormat.RGB24, false, false);
RenderTexture.active = rt;
sourceCamera.targetTexture = rt;
sourceCamera.Render();
EditorUtility.DisplayProgressBar("Screenshot", "Reading pixels " + 1 + "/" + 3, 1f / 3f);
screenShot.ReadPixels(new Rect(0, 0, ssWidth, ssHeight), 0, 0);
if (hdr)
{
//Conversion required from linear to sRGB
Color[] pixels = screenShot.GetPixels();
for (int p = 0; p < pixels.Length; p++)
{
pixels[p] = pixels[p].gamma;
}
screenShot.SetPixels(pixels);
screenShot.Apply();
}
sourceCamera.targetTexture = null;
RenderTexture.active = null;
DestroyImmediate(rt);
EditorUtility.DisplayProgressBar("Screenshot", "Encoding " + 2 + "/" + 3, 2f / 3f);
byte[] bytes = (OutputPNG || transparency) ? screenShot.EncodeToPNG() : screenShot.EncodeToJPG();
File.WriteAllBytes(path, bytes);
}
private void CaptureFromNativeFunction(string path)
{
sourceCamera.Render();
ScreenCapture.CaptureScreenshot(path, 1);
}
private float delayTime = 0f;
private void ShowNotification()
{
captureNotification.target = true;
//this.Repaint();
delayTime = (float)EditorApplication.timeSinceStartup + 1f;
EditorApplication.update += EditorUpdate;
}
private void EditorUpdate()
{
if (EditorApplication.timeSinceStartup >= delayTime)
{
EditorApplication.update -= EditorUpdate;
// this.Repaint();
captureNotification.target = false;
}
}
private class Styles
{
private static GUIStyle _PathField;
public static GUIStyle PathField
{
get
{
if (_PathField == null)
{
_PathField = new GUIStyle(GUI.skin.textField)
{
alignment = TextAnchor.MiddleRight,
stretchWidth = true
};
}
return _PathField;
}
}
}
[SettingsProvider]
public static SettingsProvider ScreenshotSettings()
{
var provider = new SettingsProvider("Preferences/Screenshot", SettingsScope.User)
{
label = "Screenshot",
guiHandler = (searchContent) =>
{
EditorGUILayout.LabelField("Capturing", EditorStyles.boldLabel);
UseNativeCapture = EditorGUILayout.ToggleLeft("Use native capturing", UseNativeCapture);
EditorGUILayout.HelpBox("When enabled, Unity's native screenshot functionality is used.\n\n" +
"This captures an image as it truly appears on the screen. Including UI and older style image effects.\n\n" +
"Only applies to the Game view. The screenshot will have the same aspect ratio and resolution as the Game view ", MessageType.Info);
EditorGUILayout.Space();
ListenToPrintButton = EditorGUILayout.ToggleLeft(new GUIContent("Listen for print-screen key press (Scene-view)", "If the window is open and the scene-view is active, capture a screenshot whenever the print-screen keyboard button is pressed"), ListenToPrintButton);
EditorGUILayout.Space();
EditorGUILayout.LabelField("File name", EditorStyles.boldLabel);
FileNameFormat = EditorGUILayout.TextField("File name format", FileNameFormat);
EditorGUILayout.HelpBox("{P} = Project name\n{S} = Scene name\n{R} = Resolution\n{D} = Date\n{T} = Time\n{U} = Unique number", MessageType.None);
EditorGUILayout.Space();
DateFormat = EditorGUILayout.Popup("Date format", DateFormat, DateFormats, GUILayout.MaxWidth(250f));
TimeFormat = EditorGUILayout.Popup("Time format", TimeFormat, TimeFormats, GUILayout.MaxWidth(250f));
EditorGUILayout.LabelField("Filename example: " + FormatFileName(1, DateFormats[DateFormat]), EditorStyles.miniLabel);
EditorGUILayout.Space();
},
keywords = new HashSet<string>(new[] { "Screenshot" })
};
return provider;
}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 968fd279e77f36b49bb9809f97314077
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,23 @@
{
"name": "sc.utilities.screenshot.editor",
"references": [
"GUID:4307f53044263cf4b835bd812fc161a4"
],
"includePlatforms": [
"Editor"
],
"excludePlatforms": [],
"allowUnsafeCode": false,
"overrideReferences": false,
"precompiledReferences": [],
"autoReferenced": true,
"defineConstraints": [],
"versionDefines": [
{
"name": "com.unity.cinemachine",
"expression": "2.3.0",
"define": "CINEMACHINE"
}
],
"noEngineReferences": false
}

View file

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 6bf3f4a8ecb0d4b45b7de388636b6676
AssemblyDefinitionImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,41 @@
1.0.4
Added:
- Option under preferences to use Unity's native screenshot capturing (game view only). This captures an exact image as it appears on screen (including UI)
* When enabled, resolution and aspect ratio option are hidden. This must be set in the game view itself.
Changed:
- Cameras whose GameObject is hidden will no longer appear in the camera list
- If multiple cameras exist, the main camera will automatically be selected when first opening the window
1.0.3
Added:
- Package description and assembly definition, allowing the tool to be used as a package
Changed:
- Capturing now takes into account if HDR is used, allowing Bloom effects to also be captured
- Cinemachine is now automatically taken into account, if installed through the Package Manager
Fixed:
- Screenshot only showing the skybox in some specific cases
1.0.2
Added:
- Dropdown for aspect ratio (16:9/21:9/32:9)
- Preference menu options:
* Allow the "Print-screen" keyboard button for capturing
* Use 24 Hour or AM/PM timestamps
Changed:
- If the camera has clear flags set to "Depth Only", transparency is kept in the screenshot (requires post-processing to be disabled)
1.0.1
Added:
- "Open Settings" shortcut to window's context menu.
Fixed:
- Issue where target folder was not respected, and screenshots were saved in the project folder.
- Error about missing icon in Unity 2020.1+

View file

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: f9db52175bdc59e4897d8c7efb0f7dad
TextScriptImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,16 @@
{
"name": "sc.utilities.screenshot",
"description": "Editor screenshot tool",
"version": "1.0.4",
"unity": "2019.3",
"unityRelease": "0f1",
"displayName": "Screenshot Utility",
"author": {
"name": "Staggart Creations",
"email": "contact@staggart.xyz",
"url": "http://staggart.xyz/"
},
"keywords": [
"screenshot"
]
}

View file

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 92f2f00d3df41574795ca24e7ba1e7d8
PackageManifestImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,12 @@
Go to Tools->Screenshot to open the window.
Preferences:
--------------------
Go to Edit->Preferences->Screenshot tab. This can also be through the gear button at the top-right.
It's recommend to check this out, as an important option is presented!
Notes:
-----------------------
• Settings are saved in the operating system's registry, on a per-project basis.
• The "Print-screen button" option only takes effect if the window is open and the scene-view has focus

View file

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: d683ff88ff7e59c46b34e3f641cfe9a5
TextScriptImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -2,7 +2,9 @@ using System;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using MyBox; using MyBox;
using SimpleTools.AudioManager;
using SimpleTools.DialogueSystem; using SimpleTools.DialogueSystem;
using SimpleTools.SceneManagement;
using UnityEngine; using UnityEngine;
using UnityEngine.UI; using UnityEngine.UI;
@ -30,6 +32,8 @@ public class Cutscene : MonoBehaviour {
_start = Time.time; _start = Time.time;
yield return new WaitForSeconds(fadeDuration); yield return new WaitForSeconds(fadeDuration);
} }
AudioManager.instance.Stop("menu");
Loader.Load(2);
} }
float _start; float _start;

View file

@ -1,3 +1,4 @@
using System;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using UnityEngine; using UnityEngine;
@ -7,6 +8,9 @@ public class GhostController : MonoBehaviour {
[SerializeField] float speed; [SerializeField] float speed;
[SerializeField] Transform player; [SerializeField] Transform player;
[SerializeField, Range(0f, 20f)] float accelerationPower = 10;
float _currentSpeed;
Animator _anim; Animator _anim;
Rigidbody2D _rb2d; Rigidbody2D _rb2d;
@ -16,11 +20,15 @@ public class GhostController : MonoBehaviour {
_rb2d = GetComponent<Rigidbody2D>(); _rb2d = GetComponent<Rigidbody2D>();
} }
void Update() {
_currentSpeed = speed * Mathf.Log(GameManager.instance.CurrentTime + accelerationPower, accelerationPower);
}
// Update is called once per frame // Update is called once per frame
void FixedUpdate() { void FixedUpdate() {
if (_hasKilled) return; if (_hasKilled) return;
_rb2d.position = Vector2.MoveTowards(_rb2d.position, player.position, Time.deltaTime * speed); _rb2d.position = Vector2.MoveTowards(_rb2d.position, player.position, Time.deltaTime * _currentSpeed);
} }
bool _hasKilled; bool _hasKilled;

View file

@ -0,0 +1,11 @@
using System.Collections;
using System.Collections.Generic;
using SimpleTools.AudioManager;
using UnityEngine;
public class MainMenu : MonoBehaviour{
// Start is called before the first frame update
void Start(){
AudioManager.instance.Play("menu");
}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 23f106f043aa58846875bf806d6377cd
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -1,23 +1,26 @@
using System; using System;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using DG.Tweening;
using GometGames.Tools; using GometGames.Tools;
using MyBox; using MyBox;
using SimpleTools.AudioManager;
using UnityEngine; using UnityEngine;
using UnityEngine.Events; using UnityEngine.Events;
using UnityEngine.Serialization;
using Random = UnityEngine.Random; using Random = UnityEngine.Random;
[System.Serializable] [System.Serializable]
public enum OrbTypes { public enum OrbTypes {
None, None = 0,
Blue, Blue = 1,
Red, Red = 2,
Purple, Purple = 3,
InvertedControls, InvertedControls = 4,
HighGravity, HighGravity = 5,
LowGravity, LowGravity = 6,
DarkRoom, DarkRoom = 7,
Freeze Freeze = 8
}; };
public class GameManager : MonoBehaviour { public class GameManager : MonoBehaviour {
@ -28,30 +31,67 @@ public class GameManager : MonoBehaviour {
OrbTypes _lastType = OrbTypes.None; OrbTypes _lastType = OrbTypes.None;
public static GameManager instance; public static GameManager instance;
[Header("Clock")]
[SerializeField] int time = 180;
public float CurrentTime { private set; get; }
[SerializeField] int doorTime = 30;
[SerializeField] RectTransform clockPivot;
bool _doorOpened, _dead;
[SerializeField] UnityEvent doorOpenEvent;
[SerializeField] UnityEvent timeEndEvent;
// Start is called before the first frame update // Start is called before the first frame update
void Awake() { void Awake() {
instance = this; instance = this;
} }
void Start() {
AudioManager.instance.FadeIn("Viento", 1f);
}
void Update() {
if (_stopped) return;
CurrentTime += Time.deltaTime;
float ratio = CurrentTime / time;
clockPivot.rotation = Quaternion.Euler(0f, 0f, ratio * 360f - 180f);
if (CurrentTime >= time - doorTime) {
if (!_doorOpened) {
_doorOpened = true;
AudioManager.instance.Play("Puerta");
doorOpenEvent.Invoke();
}
if (CurrentTime >= time && !_dead) {
_dead = true;
timeEndEvent.Invoke();
}
}
}
[SerializeField] CanvasGroup group;
[SerializeField] CanvasController controller;
bool _stopped;
public void DisableManager() {
group.DOFade(0, 1f);
controller.AbortCoroutine();
group.interactable = false;
_stopped = true;
}
public OrbTypes SelectRandomEffect() { public OrbTypes SelectRandomEffect() {
OrbTypes selected; OrbTypes selected;
Array values = Enum.GetValues(typeof(OrbTypes));
do { do {
selected = (OrbTypes)values.GetValue(Random.Range(1, values.Length)); selected = (OrbTypes)Random.Range(1, 9);
} while (selected == currentType || selected == _lastType); } while (selected == currentType || selected == _lastType);
ChangeEventCall(selected); ChangeEventCall(selected);
return selected; return selected;
} }
[Space, SerializeField] OrbTypes forceEventChangeType = OrbTypes.None;
[ButtonMethod]
void ForceEventChange() {
if (!Application.isPlaying) return;
ChangeEventCall(forceEventChangeType);
}
void ChangeEventCall(OrbTypes type) { void ChangeEventCall(OrbTypes type) {
if(currentType != OrbTypes.None) orbEndEffects[currentType].Invoke(); if(currentType != OrbTypes.None) orbEndEffects[currentType].Invoke();
_lastType = currentType; _lastType = currentType;

View file

@ -31,7 +31,7 @@ public class MovingPlatform : MonoBehaviour {
yield return new WaitForFixedUpdate(); yield return new WaitForFixedUpdate();
transform.position = Vector3.MoveTowards(transform.position, _end, _speed * Time.deltaTime); transform.position = Vector3.MoveTowards(transform.position, _end, _speed * Time.deltaTime);
if (Math.Abs(transform.position.sqrMagnitude - _end.sqrMagnitude) < 0.05f) { if (((Vector2)transform.position - _end).sqrMagnitude < 0.05f) {
_swapRoutine ??= StartCoroutine(SwapCoordinates()); _swapRoutine ??= StartCoroutine(SwapCoordinates());
} }
} }

View file

@ -2,10 +2,14 @@ using System;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using Cinemachine; using Cinemachine;
using DG.Tweening;
using MyBox; using MyBox;
using SimpleTools.AudioManager;
using SimpleTools.Cinemachine; using SimpleTools.Cinemachine;
using SimpleTools.SceneManagement;
using UnityEngine; using UnityEngine;
using UnityEngine.Serialization; using UnityEngine.Serialization;
using UnityEngine.UI;
public class PlayerController : MonoBehaviour { public class PlayerController : MonoBehaviour {
@ -62,6 +66,17 @@ public class PlayerController : MonoBehaviour {
//vCam.m_Follow = _cameraTarget; //vCam.m_Follow = _cameraTarget;
_currentSpeed = speed; _currentSpeed = speed;
PlayerPrefs.SetInt("OrbsFound", 0);
}
Coroutine _stepsRoutine;
IEnumerator Steps() {
while (true) {
yield return new WaitForSeconds(.25f);
AudioManager.instance.PlayOneShot("Pasos");
}
} }
void Update() { void Update() {
@ -91,6 +106,21 @@ public class PlayerController : MonoBehaviour {
_anim.SetBool(Grounded, _isGrounded); _anim.SetBool(Grounded, _isGrounded);
if (_isGrounded && _rb2d.velocity.y <= 0f) _coyoteTime = coyoteTime; if (_isGrounded && _rb2d.velocity.y <= 0f) _coyoteTime = coyoteTime;
if (_isGrounded) {
switch (Mathf.Abs(_input.x)) {
case > 0f when _stepsRoutine == null:
_stepsRoutine = StartCoroutine(Steps());
break;
case 0f when _stepsRoutine != null:
StopCoroutine(_stepsRoutine);
_stepsRoutine = null;
break;
}
}else if (_stepsRoutine != null) {
StopCoroutine(_stepsRoutine);
_stepsRoutine = null;
}
if (Input.GetKeyDown(KeyCode.Space)) _jumpBuffer = jumpBuffer; if (Input.GetKeyDown(KeyCode.Space)) _jumpBuffer = jumpBuffer;
if (Input.GetKeyUp(KeyCode.Space)) _cancelJump = true; if (Input.GetKeyUp(KeyCode.Space)) _cancelJump = true;
@ -113,6 +143,7 @@ public class PlayerController : MonoBehaviour {
if (_coyoteTime > 0f && _jumpBuffer > 0f) { if (_coyoteTime > 0f && _jumpBuffer > 0f) {
_rb2d.velocity = new Vector2(_rb2d.velocity.x, 0f); _rb2d.velocity = new Vector2(_rb2d.velocity.x, 0f);
_rb2d.AddForce(Vector2.up * jumpForce, ForceMode2D.Impulse); _rb2d.AddForce(Vector2.up * jumpForce, ForceMode2D.Impulse);
AudioManager.instance.PlayOneShot("Jump");
_coyoteTime = _jumpBuffer = 0f; _coyoteTime = _jumpBuffer = 0f;
} }
@ -129,13 +160,65 @@ public class PlayerController : MonoBehaviour {
void OnTriggerEnter2D(Collider2D col) { void OnTriggerEnter2D(Collider2D col) {
if (col.CompareTag("Ghost")) { if (col.CompareTag("Ghost")) {
col.GetComponent<GhostController>().Kill(); Kill(col.GetComponent<GhostController>());
_anim.SetTrigger(Die); }else if (col.CompareTag("Orb")) {
_dead = true; AudioManager.instance.PlayOneShot("Orbe");
ScreenShake.Shake(20f, .5f); PlayerPrefs.SetInt("OrbsFound", PlayerPrefs.GetInt("OrbsFound", 0) + 1);
Destroy(col.gameObject);
}else if (col.CompareTag("Door")) {
StartCoroutine(Win(FindObjectOfType<GhostController>()));
} }
} }
bool _won;
[SerializeField] Image fadeImage;
IEnumerator Win(GhostController ghost) {
if (_dead || _won) yield break;
_won = true;
ghost.Kill();
if(_stepsRoutine != null) StopCoroutine(_stepsRoutine);
fadeImage.DOFade(1, 1f);
AudioManager.instance.FadeOut("intro", 1f);
AudioManager.instance.FadeOut("azul", 1f);
AudioManager.instance.FadeOut("rojo", 1f);
AudioManager.instance.FadeOut("ambos", 1f);
AudioManager.instance.FadeOut("invertido", 1f);
AudioManager.instance.FadeOut("alta", 1f);
AudioManager.instance.FadeOut("baja", 1f);
AudioManager.instance.FadeOut("oscuro", 1f);
AudioManager.instance.FadeOut("rojo", 1f);
AudioManager.instance.FadeIn("victoria", 1f);
yield return new WaitForSeconds(1f);
AudioManager.instance.FadeOut("Viento", 1f);
Loader.Load(3);
}
[SerializeField] CanvasGroup group;
public void Kill(GhostController ghost) {
if (_dead || _won) return;
AudioManager.instance.PlayOneShot("Congela");
AudioManager.instance.FadeOut("intro", 1f);
AudioManager.instance.FadeOut("azul", 1f);
AudioManager.instance.FadeOut("rojo", 1f);
AudioManager.instance.FadeOut("ambos", 1f);
AudioManager.instance.FadeOut("invertido", 1f);
AudioManager.instance.FadeOut("alta", 1f);
AudioManager.instance.FadeOut("baja", 1f);
AudioManager.instance.FadeOut("oscuro", 1f);
AudioManager.instance.FadeOut("rojo", 1f);
AudioManager.instance.Play("gameOver");
ghost.Kill();
if(_stepsRoutine != null) StopCoroutine(_stepsRoutine);
group.DOFade(1, 1f);
group.interactable = true;
GameManager.instance.DisableManager();
_anim.SetTrigger(Die);
_dead = true;
ScreenShake.Shake(20f, .5f);
}
#region OrbEffects #region OrbEffects
int _controlsDirection = 1; int _controlsDirection = 1;
public void InvertControls(bool inverted) { public void InvertControls(bool inverted) {

View file

@ -0,0 +1,15 @@
using System.Collections;
using System.Collections.Generic;
using SimpleTools.AudioManager;
using SimpleTools.SceneManagement;
using UnityEngine;
public class SceneLoad : MonoBehaviour {
[SerializeField] bool stopMusic = true;
public void LoadScene(int sceneIndex) {
if(stopMusic) AudioManager.instance.StopAll();
Loader.Load(sceneIndex);
}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 775b962b28fe0d149927748937e2e8c2
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -1,5 +1,6 @@
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using SimpleTools.AudioManager;
using SimpleTools.Cinemachine; using SimpleTools.Cinemachine;
using UnityEngine; using UnityEngine;
@ -46,6 +47,7 @@ public class Thunder : MonoBehaviour{
private void LightningStrike(){ private void LightningStrike(){
//ScreenshakeHandler.AddScreenShake(5, 5, 0.5f); //ScreenshakeHandler.AddScreenShake(5, 5, 0.5f);
ScreenShake.Shake(15, .5f); ScreenShake.Shake(15, .5f);
AudioManager.instance.PlayOneShot($"Trueno{Random.Range(1, 4)}");
//thunderSound.pitch = Random.Range(0.5f, 1f); //thunderSound.pitch = Random.Range(0.5f, 1f);
//thunderSound.Play(); //thunderSound.Play();

View file

@ -1,6 +1,9 @@
using System;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using DG.Tweening;
using MyBox; using MyBox;
using SimpleTools.AudioManager;
using UnityEngine; using UnityEngine;
using UnityEngine.UI; using UnityEngine.UI;
@ -8,10 +11,15 @@ public class CanvasController : MonoBehaviour {
[SerializeField] Sprite[] orbCountdown; [SerializeField] Sprite[] orbCountdown;
[SerializeField] Image orb; [SerializeField] Image orb;
[SerializeField] DOTweenAnimation effectTween;
Image _effectImage;
[SerializeField] Sprite[] effectSprites;
// Start is called before the first frame update // Start is called before the first frame update
[ButtonMethod] [ButtonMethod]
void Start() { void Start() {
_effectImage = effectTween.GetComponent<Image>();
StartCoroutine(Countdown()); StartCoroutine(Countdown());
} }
@ -20,12 +28,57 @@ public class CanvasController : MonoBehaviour {
} }
bool _abort;
public void AbortCoroutine() => _abort = true;
OrbTypes _currentType = OrbTypes.None;
void PlayEffectMusic() {
switch (_currentType) {
case OrbTypes.None:
AudioManager.instance.Play("intro");
break;
case OrbTypes.Blue:
AudioManager.instance.Play("azul");
break;
case OrbTypes.Red:
AudioManager.instance.Play("rojo");
break;
case OrbTypes.Purple:
AudioManager.instance.Play("ambos");
break;
case OrbTypes.InvertedControls:
AudioManager.instance.Play("invertido");
break;
case OrbTypes.HighGravity:
AudioManager.instance.Play("alta");
break;
case OrbTypes.LowGravity:
AudioManager.instance.Play("baja");
break;
case OrbTypes.DarkRoom:
AudioManager.instance.Play("oscuro");
break;
case OrbTypes.Freeze:
AudioManager.instance.Play("rojo");
break;
default:
throw new ArgumentOutOfRangeException();
}
}
IEnumerator Countdown() { IEnumerator Countdown() {
PlayEffectMusic();
for (int i = 0; i < 10; ++i) { for (int i = 0; i < 10; ++i) {
orb.sprite = orbCountdown[i]; orb.sprite = orbCountdown[i];
yield return new WaitForSeconds(1f); yield return new WaitForSeconds(1f);
if (_abort) yield break;
} }
GameManager.instance.SelectRandomEffect();
_currentType = GameManager.instance.SelectRandomEffect();
_effectImage.sprite = effectSprites[(int)_currentType - 1];
effectTween.DORestart();
StartCoroutine(Countdown()); StartCoroutine(Countdown());
} }
} }

View file

@ -0,0 +1,38 @@
using System;
using System.Collections;
using System.Collections.Generic;
using MyBox;
using SimpleTools.DialogueSystem;
using UnityEngine;
using UnityEngine.UI;
public class WinScreen : MonoBehaviour {
[SerializeField] GameObject[] orbs;
[SerializeField] Dialogue dialogue;
[SerializeField] float fadeDuration;
[SerializeField] Image occluder;
// Start is called before the first frame update
void Awake(){
for (int i = 0; i < orbs.Length; i++) orbs[i].SetActive(i + 1 <= PlayerPrefs.GetInt("OrbsFound"));
}
// Start is called before the first frame update
IEnumerator Start() {
yield return new WaitForSeconds(fadeDuration);
DialogueManager.instance.Dialogue(dialogue);
}
float _start;
void Update() {
float alpha = Mathf.Lerp(1, 0, (Time.time - _start) / fadeDuration);
alpha = Mathf.Round(alpha * 5);
alpha /= 5f;
occluder.SetAlpha(alpha);
}
}

Some files were not shown because too many files have changed in this diff Show more