Commit 88406106 authored by radow's avatar radow
Browse files

door

parent 0e1d1d26
......@@ -6,6 +6,7 @@ using System.Linq;
public class Collisionsound : MonoBehaviour
{
public AudioSource auds;
public GameObject collider;
public bool isNote;
public enum Note {C,D,E,F,G,A,H,c};
......@@ -24,7 +25,7 @@ public class Collisionsound : MonoBehaviour
{
if (notes.Count >= 4) notes.Dequeue();
notes.Enqueue(note);
if ("A,C,A,H" == string.Join(",", notes.ToArray())) Debug.Log("done!");
if ("A,C,A,H" == string.Join(",", notes.ToArray())) collider.SetActive(false);
}
}
}
......@@ -10897,10 +10897,18 @@ PrefabInstance:
propertyPath: note
value: 4
objectReference: {fileID: 0}
- target: {fileID: 3689625016968234461, guid: f0e1fb4b8d460704e9c14d75be770427, type: 3}
propertyPath: collider
value:
objectReference: {fileID: 634455550}
- target: {fileID: 3689625017012451830, guid: f0e1fb4b8d460704e9c14d75be770427, type: 3}
propertyPath: isNote
value: 1
objectReference: {fileID: 0}
- target: {fileID: 3689625017012451830, guid: f0e1fb4b8d460704e9c14d75be770427, type: 3}
propertyPath: collider
value:
objectReference: {fileID: 634455550}
- target: {fileID: 3689625017079756321, guid: f0e1fb4b8d460704e9c14d75be770427, type: 3}
propertyPath: isNote
value: 1
......@@ -10909,10 +10917,18 @@ PrefabInstance:
propertyPath: note
value: 3
objectReference: {fileID: 0}
- target: {fileID: 3689625017079756321, guid: f0e1fb4b8d460704e9c14d75be770427, type: 3}
propertyPath: collider
value:
objectReference: {fileID: 634455550}
- target: {fileID: 3689625017240476757, guid: f0e1fb4b8d460704e9c14d75be770427, type: 3}
propertyPath: isNote
value: 1
objectReference: {fileID: 0}
- target: {fileID: 3689625017240476757, guid: f0e1fb4b8d460704e9c14d75be770427, type: 3}
propertyPath: collider
value:
objectReference: {fileID: 634455550}
- target: {fileID: 3689625017544418124, guid: f0e1fb4b8d460704e9c14d75be770427, type: 3}
propertyPath: isNote
value: 1
......@@ -10921,6 +10937,10 @@ PrefabInstance:
propertyPath: note
value: 6
objectReference: {fileID: 0}
- target: {fileID: 3689625017544418124, guid: f0e1fb4b8d460704e9c14d75be770427, type: 3}
propertyPath: collider
value:
objectReference: {fileID: 634455550}
- target: {fileID: 3689625017671611044, guid: f0e1fb4b8d460704e9c14d75be770427, type: 3}
propertyPath: isNote
value: 1
......@@ -10929,6 +10949,10 @@ PrefabInstance:
propertyPath: note
value: 2
objectReference: {fileID: 0}
- target: {fileID: 3689625017671611044, guid: f0e1fb4b8d460704e9c14d75be770427, type: 3}
propertyPath: collider
value:
objectReference: {fileID: 634455550}
- target: {fileID: 3689625017949318302, guid: f0e1fb4b8d460704e9c14d75be770427, type: 3}
propertyPath: m_Material
value:
......@@ -10941,6 +10965,10 @@ PrefabInstance:
propertyPath: note
value: 1
objectReference: {fileID: 0}
- target: {fileID: 3689625017977179434, guid: f0e1fb4b8d460704e9c14d75be770427, type: 3}
propertyPath: collider
value:
objectReference: {fileID: 634455550}
- target: {fileID: 3689625018913836739, guid: f0e1fb4b8d460704e9c14d75be770427, type: 3}
propertyPath: isNote
value: 1
......@@ -10949,6 +10977,10 @@ PrefabInstance:
propertyPath: note
value: 5
objectReference: {fileID: 0}
- target: {fileID: 3689625018913836739, guid: f0e1fb4b8d460704e9c14d75be770427, type: 3}
propertyPath: collider
value:
objectReference: {fileID: 634455550}
- target: {fileID: 3800641277570165134, guid: f0e1fb4b8d460704e9c14d75be770427, type: 3}
propertyPath: m_LocalPosition.x
value: -5.429987
......@@ -4,8 +4,16 @@
+ What is essential for a game in order to be a game?
+ What components must a game have?
+ Music?
+
+ Sound
+ Colour
+ 3D
+ Interactivity
+ Visuals
+ Narrative
+ Setting (that makes sense)
# Bits
+ depends on the context
+ when you look at AAA games you can come away thinking a game without an explorable open world is no game at all.
......
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 to comment