Commit e46f3a32 by David Colmenero Chica

Merge branch '17-comprobacion-del-logro-recogidas-todas-las-notas' into Release

parents 9253c261 5f512eaa
Showing with 35 additions and 33 deletions
......@@ -65,6 +65,7 @@ public class Player2D : MonoBehaviour
{
if (Input.GetKeyDown(KeyCode.K)) { AtaqueMelee(); }
}
Debug.Log(Coleccionables.niActual);
nColeccionablesCanvas.text=Coleccionables.cConseguidos[Coleccionables.niActual] + "/" + Coleccionables.cTotales[Coleccionables.niActual];
}
......
......@@ -20,7 +20,7 @@ public class Coleccionables : MonoBehaviour
public int[] enemigosDerrotados = new int[1];
public bool[] ventanaMostrada = new bool[1];
public string[] nombreImagenPartitura = new string[1];
public Vector3[] posicionesColecNivel1 = new Vector3[4]; //Si posicionesColecNivel1[i] = (0, 0, 0) ese coleccionable ya ha sido recogido
public Vector3[] posicionesColecNivel1 = new Vector3[5]; //Si posicionesColecNivel1[i] = (0, 0, 0) ese coleccionable ya ha sido recogido
//Estas son las variables con las que trabajarán los demás scripts:
public static bool iniciali = false;
......@@ -52,13 +52,14 @@ public class Coleccionables : MonoBehaviour
//Habria que para cada nivel completar estas variables de cada array
// TOCAR AQUI{
enemigosTotales[0] = 2;
enemigosTotales[0] = 10;
nombreImagenPartitura[0] = "Partitura-completa-1";
coleccTotales[0] = 5; //El ultimo coleccionable se consigue al derrotar a todos los enemigos, asi que aqui abajo hay el numero de coleccTotales - 1 de coleccionables
coleccTotales[0] = 6; //El ultimo coleccionable se consigue al derrotar a todos los enemigos, asi que aqui abajo hay el numero de coleccTotales - 1 de coleccionables
posicionesColecNivel1[0] = new Vector3(-5.48f, 0.01f, 0);
posicionesColecNivel1[1] = new Vector3(-3.08f, 0.01f, 0);
posicionesColecNivel1[2] = new Vector3(-1.78f, -1.78f, 0);
posicionesColecNivel1[3] = new Vector3( 1.48f, -1.78f, 0);
posicionesColecNivel1[4] = new Vector3( 58.42f, 1.85f, 0);
// }
niActual = nivelActual;
......
......@@ -44,10 +44,10 @@ MonoBehaviour:
y: 30
width: 1920
height: 947
m_MinSize: {x: 683, y: 494}
m_MinSize: {x: 681, y: 494}
m_MaxSize: {x: 14004, y: 14044}
vertical: 0
controlID: 146
controlID: 145
--- !u!114 &3
MonoBehaviour:
m_ObjectHideFlags: 52
......@@ -216,10 +216,10 @@ MonoBehaviour:
y: 0
width: 1373
height: 947
m_MinSize: {x: 406, y: 494}
m_MinSize: {x: 404, y: 494}
m_MaxSize: {x: 10002, y: 14044}
vertical: 1
controlID: 123
controlID: 80
--- !u!114 &10
MonoBehaviour:
m_ObjectHideFlags: 52
......@@ -241,10 +241,10 @@ MonoBehaviour:
y: 0
width: 1373
height: 675
m_MinSize: {x: 406, y: 222}
m_MaxSize: {x: 8006, y: 4022}
m_MinSize: {x: 404, y: 222}
m_MaxSize: {x: 8004, y: 4022}
vertical: 0
controlID: 124
controlID: 81
--- !u!114 &11
MonoBehaviour:
m_ObjectHideFlags: 52
......@@ -300,7 +300,7 @@ MonoBehaviour:
m_ViewDataDictionary: {fileID: 0}
m_LockTracker:
m_IsLocked: 0
m_LastSelectedObjectID: -5470
m_LastSelectedObjectID: -6682
--- !u!114 &13
MonoBehaviour:
m_ObjectHideFlags: 52
......@@ -339,20 +339,20 @@ MonoBehaviour:
m_ShowAllHits: 0
m_SearchArea: 1
m_Folders:
- Assets/Scripts
- Assets/Scenes
m_ViewMode: 1
m_StartGridSize: 64
m_LastFolders:
- Assets/Scripts
- Assets/Scenes
m_LastFoldersGridSize: -1
m_LastProjectPath: C:\Users\JC\Desktop\DesarrolloDeVideojuegos_Proyecto\Videojuegos_Proyecto
m_LastProjectPath: C:\Users\Colme\Documents\UnityProjects\ProyectoVideojuegos\Videojuegos_Proyecto
m_LockTracker:
m_IsLocked: 0
m_FolderTreeState:
scrollPos: {x: 0, y: 0}
m_SelectedIDs: 4c320000
m_LastClickedID: 12876
m_ExpandedIDs: 00000000742a0000b633000000ca9a3b
m_SelectedIDs: 1a2d0000
m_LastClickedID: 11546
m_ExpandedIDs: 00000000422c00007c35000000ca9a3b
m_RenameOverlay:
m_UserAcceptedRename: 0
m_Name:
......@@ -380,7 +380,7 @@ MonoBehaviour:
scrollPos: {x: 0, y: 0}
m_SelectedIDs:
m_LastClickedID: 0
m_ExpandedIDs: 00000000742a0000b6330000
m_ExpandedIDs: 00000000422c00007c350000
m_RenameOverlay:
m_UserAcceptedRename: 0
m_Name:
......@@ -407,7 +407,7 @@ MonoBehaviour:
m_ListAreaState:
m_SelectedInstanceIDs:
m_LastClickedInstanceID: 0
m_HadKeyboardFocusLastEvent: 0
m_HadKeyboardFocusLastEvent: 1
m_ExpandedInstanceIDs: c6230000a83200001c2c0000
m_RenameOverlay:
m_UserAcceptedRename: 0
......@@ -500,9 +500,9 @@ MonoBehaviour:
m_SceneHierarchy:
m_TreeViewState:
scrollPos: {x: 0, y: 0}
m_SelectedIDs: 063d0000
m_LastClickedID: 15622
m_ExpandedIDs: 8cfbffff
m_SelectedIDs:
m_LastClickedID: 0
m_ExpandedIDs: bad7ffff2ce2ffffe4f9ffff
m_RenameOverlay:
m_UserAcceptedRename: 0
m_Name:
......@@ -562,9 +562,9 @@ MonoBehaviour:
m_PlayAudio: 0
m_AudioPlay: 0
m_Position:
m_Target: {x: 21.264292, y: -1.434914, z: -259.25}
m_Target: {x: -1.5266032, y: -3.9162436, z: -273.43555}
speed: 2
m_Value: {x: 21.264292, y: -1.434914, z: -259.25}
m_Value: {x: -1.5266032, y: -3.9162436, z: -273.43555}
m_RenderMode: 0
m_CameraMode:
drawMode: 0
......@@ -597,9 +597,9 @@ MonoBehaviour:
speed: 2
m_Value: {x: 0, y: 0, z: 0, w: 1}
m_Size:
m_Target: 29.002615
m_Target: 14.781819
speed: 2
m_Value: 27.753698
m_Value: 14.781819
m_Ortho:
m_Target: 1
speed: 2
......@@ -727,7 +727,7 @@ MonoBehaviour:
m_Pos:
serializedVersion: 2
x: 0
y: 724
width: 1531
height: 277
y: 748
width: 1373
height: 253
m_ViewDataDictionary: {fileID: 0}
{"cameraMode":{"drawMode":0,"name":"Shaded","section":"Shading Mode"},"sceneLighting":true,"audioPlay":false,"sceneViewState":{"showFog":true,"showMaterialUpdate":false,"showSkybox":true,"showFlares":true,"showImageEffects":true,"showParticleSystems":true},"in2DMode":true,"pivot":{"x":21.264291763305665,"y":-1.434913992881775,"z":-259.25},"rotation":{"x":0.0,"y":0.0,"z":0.0,"w":1.0},"size":29.002614974975587,"orthographic":true}
\ No newline at end of file
{"cameraMode":{"drawMode":0,"name":"Shaded","section":"Shading Mode"},"sceneLighting":true,"audioPlay":false,"sceneViewState":{"showFog":true,"showMaterialUpdate":false,"showSkybox":true,"showFlares":true,"showImageEffects":true,"showParticleSystems":true},"in2DMode":true,"pivot":{"x":-1.5266032218933106,"y":-3.916243553161621,"z":-273.435546875},"rotation":{"x":0.0,"y":0.0,"z":0.0,"w":1.0},"size":14.781819343566895,"orthographic":true}
\ No newline at end of file
Base path: C:/Program Files/Unity/Editor/Data
Base path: C:/Program Files/Unity/Hub/Editor/2019.1.11f1/Editor/Data
Cmd: initializeCompiler
64b7f895d8feabda1ea51b5fa18d34499e2e0f1d
5677b36a787168034f6783b5b09faa2215fa34f5
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment