This commit is contained in:
jparent 2015-08-23 16:10:57 -04:00
commit 34b5b79d17
10 changed files with 70 additions and 52 deletions

View File

@ -2,16 +2,15 @@
%TAG !u! tag:unity3d.com,2011: %TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000 --- !u!21 &2100000
Material: Material:
serializedVersion: 6 serializedVersion: 5
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0} m_PrefabInternal: {fileID: 0}
m_Name: T_Molly m_Name: T_Molly
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0} m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
m_ShaderKeywords: m_ShaderKeywords: _EMISSION
m_LightmapFlags: 5 m_LightmapFlags: 1
m_CustomRenderQueue: -1 m_CustomRenderQueue: -1
stringTagMap: {}
m_SavedProperties: m_SavedProperties:
serializedVersion: 2 serializedVersion: 2
m_TexEnvs: m_TexEnvs:
@ -54,7 +53,7 @@ Material:
first: first:
name: _EmissionMap name: _EmissionMap
second: second:
m_Texture: {fileID: 0} m_Texture: {fileID: 2800000, guid: 77150351248a93848a6b94486188b4c5, type: 3}
m_Scale: {x: 1, y: 1} m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0} m_Offset: {x: 0, y: 0}
data: data:
@ -79,6 +78,10 @@ Material:
m_Scale: {x: 1, y: 1} m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0} m_Offset: {x: 0, y: 0}
m_Floats: m_Floats:
data:
first:
name: _Cutoff
second: .5
data: data:
first: first:
name: _SrcBlend name: _SrcBlend
@ -87,10 +90,6 @@ Material:
first: first:
name: _DstBlend name: _DstBlend
second: 0 second: 0
data:
first:
name: _Cutoff
second: .5
data: data:
first: first:
name: _Parallax name: _Parallax
@ -127,12 +126,20 @@ Material:
first: first:
name: _Metallic name: _Metallic
second: 0 second: 0
data:
first:
name: _EmissionScaleUI
second: 1
m_Colors: m_Colors:
data: data:
first: first:
name: _EmissionColor name: _EmissionColor
second: {r: 0, g: 0, b: 0, a: 1} second: {r: 1, g: 1, b: 1, a: 1}
data: data:
first: first:
name: _Color name: _Color
second: {r: .588, g: .588, b: .588, a: 1} second: {r: .588, g: .588, b: .588, a: 1}
data:
first:
name: _EmissionColorUI
second: {r: 1, g: 1, b: 1, a: 1}

View File

@ -2,16 +2,15 @@
%TAG !u! tag:unity3d.com,2011: %TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000 --- !u!21 &2100000
Material: Material:
serializedVersion: 6 serializedVersion: 5
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0} m_PrefabInternal: {fileID: 0}
m_Name: T_Kid-pyjama m_Name: T_Kid-pyjama
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0} m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
m_ShaderKeywords: m_ShaderKeywords: _EMISSION
m_LightmapFlags: 5 m_LightmapFlags: 1
m_CustomRenderQueue: -1 m_CustomRenderQueue: -1
stringTagMap: {}
m_SavedProperties: m_SavedProperties:
serializedVersion: 2 serializedVersion: 2
m_TexEnvs: m_TexEnvs:
@ -54,7 +53,7 @@ Material:
first: first:
name: _EmissionMap name: _EmissionMap
second: second:
m_Texture: {fileID: 0} m_Texture: {fileID: 2800000, guid: b5d49db93cceafd458c3b0b7f61d0d1b, type: 3}
m_Scale: {x: 1, y: 1} m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0} m_Offset: {x: 0, y: 0}
data: data:
@ -79,6 +78,10 @@ Material:
m_Scale: {x: 1, y: 1} m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0} m_Offset: {x: 0, y: 0}
m_Floats: m_Floats:
data:
first:
name: _Cutoff
second: .5
data: data:
first: first:
name: _SrcBlend name: _SrcBlend
@ -87,10 +90,6 @@ Material:
first: first:
name: _DstBlend name: _DstBlend
second: 0 second: 0
data:
first:
name: _Cutoff
second: .5
data: data:
first: first:
name: _Parallax name: _Parallax
@ -127,12 +126,20 @@ Material:
first: first:
name: _Metallic name: _Metallic
second: 0 second: 0
data:
first:
name: _EmissionScaleUI
second: 1
m_Colors: m_Colors:
data: data:
first: first:
name: _EmissionColor name: _EmissionColor
second: {r: 0, g: 0, b: 0, a: 1} second: {r: 1, g: 1, b: 1, a: 1}
data: data:
first: first:
name: _Color name: _Color
second: {r: .588, g: .588, b: .588, a: 1} second: {r: .588, g: .588, b: .588, a: 1}
data:
first:
name: _EmissionColorUI
second: {r: 1, g: 1, b: 1, a: 1}

View File

@ -17,6 +17,9 @@ MonoBehaviour:
- name: Jump - name: Jump
XboxButtons: 00000000 XboxButtons: 00000000
KeyboardKeys: KeyboardKeys:
- name: Hit
XboxButtons: 01000000
KeyboardKeys:
- name: Sleep - name: Sleep
XboxButtons: 02000000 XboxButtons: 02000000
KeyboardKeys: KeyboardKeys:

View File

@ -626,7 +626,6 @@ Camera:
m_OcclusionCulling: 1 m_OcclusionCulling: 1
m_StereoConvergence: 10 m_StereoConvergence: 10
m_StereoSeparation: .0219999999 m_StereoSeparation: .0219999999
m_StereoMirrorMode: 0
--- !u!4 &573037243 --- !u!4 &573037243
Transform: Transform:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0

View File

@ -169,7 +169,7 @@ public class Child : MonoBehaviour
} }
// picking up a pillow // picking up a pillow
else if (this.pillow == null && incomingPillow.IsPickable) { else if (this.pillow == null && incomingPillow.IsPickable) {
Debug.Log("def"); //Debug.Log("def");
pillow = incomingPillow; pillow = incomingPillow;
pillow.transform.parent = transform; // make the pillow a child of Child pillow.transform.parent = transform; // make the pillow a child of Child
@ -359,7 +359,7 @@ public class Child : MonoBehaviour
void Die() void Die()
{ {
PlayerWinsMenu menu = (PlayerWinsMenu)MenusHandler.MenusManager.Instance.ShowMenu("PlayerWinsMenu"); PlayerWinsMenu menu = (PlayerWinsMenu)MenusHandler.MenusManager.Instance.ShowMenu("PlayerWinsMenu");
menu.SetPlayerIndex(this.Index); menu.SetPlayerIndex(this.Index == 1 ? 2 : 1);
Destroy(gameObject); Destroy(gameObject);
} }

View File

@ -97,7 +97,7 @@ public class ChildController : MonoBehaviour
if (input.Ranges.ContainsKey("Throw")) if (input.Ranges.ContainsKey("Throw"))
_child.Throw(); _child.Throw();
if (input.Ranges.ContainsKey("Hit")) if (input.Actions.Contains("Hit"))
_child.Swing(); _child.Swing();
} }

View File

@ -1,26 +1,22 @@
using UnityEngine; using UnityEngine;
using System.Collections; using System.Collections;
public class SimpleMenu : MonoBehaviour public class SimpleMenu : MonoBehaviour
{ {
public int NextLevel; public int NextLevel;
// Use this for initialization
void Start () { // Update is called once per frame
StartCoroutine(AutoSkip());
}
// Update is called once per frame
void Update () { void Update () {
if (Input.anyKeyDown) { if (Input.anyKeyDown) {
Application.LoadLevel(NextLevel); Application.LoadLevel(NextLevel);
} }
} }
IEnumerator AutoSkip() { IEnumerator AutoSkip() {
yield return new WaitForSeconds(5); yield return new WaitForSeconds(5);
Application.LoadLevel(NextLevel);
} }
} }

View File

@ -4,4 +4,10 @@
EditorBuildSettings: EditorBuildSettings:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
serializedVersion: 2 serializedVersion: 2
m_Scenes: [] m_Scenes:
- enabled: 1
path: Assets/Scenes/Menu/SplashScreen.unity
- enabled: 1
path: Assets/Scenes/Menu/Instructions.unity
- enabled: 1
path: Assets/Scenes/Gameplay.unity

View File

@ -3,14 +3,17 @@
--- !u!129 &1 --- !u!129 &1
PlayerSettings: PlayerSettings:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
serializedVersion: 7 serializedVersion: 6
AndroidProfiler: 0 AndroidProfiler: 0
defaultScreenOrientation: 4 defaultScreenOrientation: 4
targetDevice: 2 targetDevice: 2
targetGlesGraphics: -1
targetIOSGraphics: -1
targetResolution: 0 targetResolution: 0
accelerometerFrequency: 60 accelerometerFrequency: 60
companyName: DefaultCompany companyName: DefaultCompany
productName: PillowUnity productName: PillowUnity
cloudProjectId:
defaultCursor: {fileID: 0} defaultCursor: {fileID: 0}
cursorHotspot: {x: 0, y: 0} cursorHotspot: {x: 0, y: 0}
m_ShowUnitySplashScreen: 1 m_ShowUnitySplashScreen: 1
@ -23,6 +26,7 @@ PlayerSettings:
m_ActiveColorSpace: 0 m_ActiveColorSpace: 0
m_MTRendering: 1 m_MTRendering: 1
m_MobileMTRendering: 0 m_MobileMTRendering: 0
m_UseDX11: 1
m_Stereoscopic3D: 0 m_Stereoscopic3D: 0
iosShowActivityIndicatorOnLoading: -1 iosShowActivityIndicatorOnLoading: -1
androidShowActivityIndicatorOnLoading: -1 androidShowActivityIndicatorOnLoading: -1
@ -77,7 +81,6 @@ PlayerSettings:
metroEnableIndependentInputSource: 0 metroEnableIndependentInputSource: 0
metroEnableLowLatencyPresentationAPI: 0 metroEnableLowLatencyPresentationAPI: 0
xboxOneDisableKinectGpuReservation: 0 xboxOneDisableKinectGpuReservation: 0
virtualRealitySupported: 0
productGUID: f74b42ae0c00e944a95d85e94fc9366e productGUID: f74b42ae0c00e944a95d85e94fc9366e
AndroidBundleVersionCode: 1 AndroidBundleVersionCode: 1
AndroidMinSdkVersion: 9 AndroidMinSdkVersion: 9
@ -120,7 +123,6 @@ PlayerSettings:
iOSLaunchScreenCustomXibPath: iOSLaunchScreenCustomXibPath:
AndroidTargetDevice: 0 AndroidTargetDevice: 0
AndroidSplashScreenScale: 0 AndroidSplashScreenScale: 0
androidSplashScreen: {fileID: 0}
AndroidKeystoreName: AndroidKeystoreName:
AndroidKeyaliasName: AndroidKeyaliasName:
AndroidTVCompatibility: 1 AndroidTVCompatibility: 1
@ -132,9 +134,12 @@ PlayerSettings:
banner: {fileID: 0} banner: {fileID: 0}
androidGamepadSupportLevel: 0 androidGamepadSupportLevel: 0
resolutionDialogBanner: {fileID: 0} resolutionDialogBanner: {fileID: 0}
m_BuildTargetIcons: [] m_BuildTargetIcons:
- m_BuildTarget:
m_Icons:
- m_Icon: {fileID: 0}
m_Size: 128
m_BuildTargetBatching: [] m_BuildTargetBatching: []
m_BuildTargetGraphicsAPIs: []
webPlayerTemplate: APPLICATION:Default webPlayerTemplate: APPLICATION:Default
m_TemplateCustomTags: {} m_TemplateCustomTags: {}
actionOnDotNetUnhandledException: 1 actionOnDotNetUnhandledException: 1
@ -196,7 +201,6 @@ PlayerSettings:
ps4ApplicationParam2: 0 ps4ApplicationParam2: 0
ps4ApplicationParam3: 0 ps4ApplicationParam3: 0
ps4ApplicationParam4: 0 ps4ApplicationParam4: 0
ps4GarlicHeapSize: 2048
ps4Passcode: frAQBc8Wsa1xVPfvJcrgRYwTiizs2trQ ps4Passcode: frAQBc8Wsa1xVPfvJcrgRYwTiizs2trQ
ps4pnSessions: 1 ps4pnSessions: 1
ps4pnPresence: 1 ps4pnPresence: 1
@ -339,7 +343,8 @@ PlayerSettings:
blackberrySquareSplashScreen: {fileID: 0} blackberrySquareSplashScreen: {fileID: 0}
tizenProductDescription: tizenProductDescription:
tizenProductURL: tizenProductURL:
tizenSigningProfileName: tizenCertificatePath:
tizenCertificatePassword:
tizenGPSPermissions: 0 tizenGPSPermissions: 0
tizenMicrophonePermissions: 0 tizenMicrophonePermissions: 0
stvDeviceAddress: stvDeviceAddress:
@ -401,9 +406,4 @@ PlayerSettings:
WebGL::emscriptenArgs: WebGL::emscriptenArgs:
WebGL::template: APPLICATION:Default WebGL::template: APPLICATION:Default
additionalIl2CppArgs::additionalIl2CppArgs: additionalIl2CppArgs::additionalIl2CppArgs:
firstStreamedSceneWithResources: 0 firstStreamedLevelWithResources: 0
cloudProjectId:
projectId:
projectName:
organizationId:
cloudEnabled: 0

View File

@ -1,2 +1,2 @@
m_EditorVersion: 5.1.2f1 m_EditorVersion: 5.0.2f1
m_StandardAssetsVersion: 0 m_StandardAssetsVersion: 0