Commit db352722 authored by radow's avatar radow
Browse files

updated build infrastructure

parent ee72912a
......@@ -46,3 +46,8 @@ sysinfo.txt
*-autosave.kra
.~*
# multibuilder
Antigender/Assets/PygmyMonkey/
Antigender/Assets/PygmyMonkey.meta
fileFormatVersion: 2
guid: a296e4eba47d225418435c8748fd36c8
DefaultImporter:
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
: Any
second:
enabled: 0
settings:
Exclude Editor: 0
Exclude Linux64: 0
Exclude OSXUniversal: 0
Exclude WebGL: 1
Exclude Win: 0
Exclude Win64: 0
- first:
Any:
second:
enabled: 1
settings: {}
- first:
Editor: Editor
second:
enabled: 1
settings:
CPU: x86
DefaultValueInitialized: true
- first:
Standalone: Linux64
second:
enabled: 1
settings:
CPU: None
- first:
Standalone: OSXUniversal
second:
enabled: 1
settings:
CPU: x86
- first:
Standalone: Win
second:
enabled: 1
settings:
CPU: AnyCPU
- first:
Standalone: Win64
second:
enabled: 1
settings:
CPU: None
userData:
assetBundleName:
assetBundleVariant:
fileFormatVersion: 2
guid: fa8c733c2daca8c48ae08182ec0441c3
DefaultImporter:
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
: Any
second:
enabled: 0
settings:
Exclude Editor: 0
Exclude Linux64: 0
Exclude OSXUniversal: 0
Exclude WebGL: 1
Exclude Win: 0
Exclude Win64: 0
- first:
Any:
second:
enabled: 1
settings: {}
- first:
Editor: Editor
second:
enabled: 1
settings:
CPU: x86
DefaultValueInitialized: true
- first:
Standalone: Linux64
second:
enabled: 1
settings:
CPU: None
- first:
Standalone: OSXUniversal
second:
enabled: 1
settings:
CPU: x86
- first:
Standalone: Win
second:
enabled: 1
settings:
CPU: AnyCPU
- first:
Standalone: Win64
second:
enabled: 1
settings:
CPU: None
userData:
assetBundleName:
assetBundleVariant:
fileFormatVersion: 2
guid: 0a1c3d6af0db234438c16ace3b0d494c
DefaultImporter:
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
: Any
second:
enabled: 0
settings:
Exclude Editor: 0
Exclude Linux64: 0
Exclude OSXUniversal: 0
Exclude WebGL: 1
Exclude Win: 0
Exclude Win64: 0
- first:
Any:
second:
enabled: 1
settings: {}
- first:
Editor: Editor
second:
enabled: 1
settings:
CPU: x86_64
DefaultValueInitialized: true
- first:
Standalone: Linux64
second:
enabled: 1
settings:
CPU: AnyCPU
- first:
Standalone: OSXUniversal
second:
enabled: 1
settings:
CPU: x86_64
- first:
Standalone: Win
second:
enabled: 1
settings:
CPU: None
- first:
Standalone: Win64
second:
enabled: 1
settings:
CPU: AnyCPU
userData:
assetBundleName:
assetBundleVariant:
fileFormatVersion: 2
guid: 04236d37c1a11b745ad3f65b9bb370e1
DefaultImporter:
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
: Any
second:
enabled: 0
settings:
Exclude Editor: 0
Exclude Linux64: 0
Exclude OSXUniversal: 0
Exclude WebGL: 1
Exclude Win: 0
Exclude Win64: 0
- first:
Any:
second:
enabled: 1
settings: {}
- first:
Editor: Editor
second:
enabled: 1
settings:
CPU: x86_64
DefaultValueInitialized: true
- first:
Standalone: Linux64
second:
enabled: 1
settings:
CPU: AnyCPU
- first:
Standalone: OSXUniversal
second:
enabled: 1
settings:
CPU: x86_64
- first:
Standalone: Win
second:
enabled: 1
settings:
CPU: None
- first:
Standalone: Win64
second:
enabled: 1
settings:
CPU: AnyCPU
userData:
assetBundleName:
assetBundleVariant:
......@@ -38,7 +38,7 @@ RenderSettings:
m_ReflectionIntensity: 1
m_CustomReflection: {fileID: 0}
m_Sun: {fileID: 0}
m_IndirectSpecularColor: {r: 0.37311953, g: 0.38074014, b: 0.35872743, a: 1}
m_IndirectSpecularColor: {r: 0.37311953, g: 0.38074014, b: 0.3587274, a: 1}
m_UseRadianceAmbientProbe: 0
--- !u!157 &3
LightmapSettings:
......@@ -2142,6 +2142,7 @@ GameObject:
- component: {fileID: 1090495309}
- component: {fileID: 1090495308}
- component: {fileID: 1090495307}
- component: {fileID: 1090495310}
m_Layer: 0
m_Name: SteamManager
m_TagString: Untagged
......@@ -2156,7 +2157,7 @@ MonoBehaviour:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1090495306}
m_Enabled: 1
m_Enabled: 0
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: c746b3472c20214f489ab756d9a0b225, type: 3}
m_Name:
......@@ -2188,6 +2189,18 @@ Transform:
m_Father: {fileID: 0}
m_RootOrder: 21
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &1090495310
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1090495306}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 443eed408eba3f643943c40ff636a238, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!114 &1118444026 stripped
MonoBehaviour:
m_CorrespondingSourceObject: {fileID: 919132148096638279, guid: 54461e695bee5104289d15e0b757f098, type: 3}
......@@ -2350,7 +2363,7 @@ AudioSource:
m_Enabled: 1
serializedVersion: 4
OutputAudioMixerGroup: {fileID: 0}
m_audioClip: {fileID: 8300000, guid: cec3eac4b78dea04c8fede187e07aeb3, type: 3}
m_audioClip: {fileID: 8300000, guid: 15ea5580e96ed5b42b75755799d5e45b, type: 3}
m_PlayOnAwake: 0
m_Volume: 0.2
m_Pitch: 1
......
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
#if DP_STEAM
using Steamworks;
#endif
public class Activatable_DisappearingFloor : Activatable
{
......@@ -19,9 +21,11 @@ public class Activatable_DisappearingFloor : Activatable
private void DropFloor()
{
floor.SetActive(false);
#if DP_STEAM
if (SteamManager.Initialized) {
SteamUserStats.SetAchievement("START");
Debug.Log("StoreStats(): " + SteamUserStats.StoreStats());
}
#endif
}
}
......@@ -2,7 +2,9 @@ using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
#if DP_STEAM
using Steamworks;
#endif
public class Activatable_endScene : Activatable
{
......@@ -22,10 +24,12 @@ public class Activatable_endScene : Activatable
Invoke("StartFade", 10f);
Invoke("StartFadeText", 17f);
Invoke("ShowUI", 19f);
#if DP_STEAM
if (SteamManager.Initialized) {
SteamUserStats.SetAchievement("FINISH_GAME");
Debug.Log("StoreStats(): " + SteamUserStats.StoreStats());
}
#endif
}
}
......
......@@ -2,7 +2,9 @@ using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.Linq;
#if DP_STEAM
using Steamworks;
#endif
public class AudioTrigger : MonoBehaviour {
public AudioClip voiceLine;
......@@ -34,17 +36,21 @@ public class AudioTrigger : MonoBehaviour {
Debug.Log("I know "+triggered.Count+", heard: " + triggered.Count(t => t.Value) + s);
// check if this was the last.... dirty hack: assume fixed number of narration bits that can be found
if (triggered.Count == 12 && triggered.All(t => t.Value)) {
#if DP_STEAM
if (SteamManager.Initialized) {
SteamUserStats.SetAchievement("ALL_AUDIO");
Debug.Log("StoreStats(): " + SteamUserStats.StoreStats());
}
#endif
}
}
if (pronoun) {
#if DP_STEAM
if (SteamManager.Initialized) {
SteamUserStats.SetAchievement("PRONOUN");
Debug.Log("StoreStats(): " + SteamUserStats.StoreStats());
}
#endif
}
}
......
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Steamworks;
public class Hivemind : MonoBehaviour {
public List<floatingCubeparticles> free = new List<floatingCubeparticles>();
......
......@@ -2,7 +2,9 @@ using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.Linq;
#if DP_STEAM
using Steamworks;
#endif
[RequireComponent(typeof(RayCastTarget), typeof(BoxCollider))]
public class InfoActivatable : Activatable {
......@@ -27,10 +29,12 @@ public class InfoActivatable : Activatable {
read[text] = true;
Debug.Log("read "+read.Count+", new?: '" + text + "'");
if (read.Count == 16 && read.All(t => t.Value)) {
#if DP_STEAM
if (SteamManager.Initialized) {
SteamUserStats.SetAchievement("ALL_TEXT");
Debug.Log("StoreStats(): " + SteamUserStats.StoreStats());
}
#endif
}
}
......
......@@ -88,7 +88,7 @@ public class SteamManager : MonoBehaviour {
}
try {
// If Steam is not running or the game wasn't started through Steam, SteamAPI_RestartAppIfNecessary starts the
// if DP_STEAM is not running or the game wasn't started through Steam, SteamAPI_RestartAppIfNecessary starts the
// Steam client and also launches this game again if the User owns it. This can act as a rudimentary form of DRM.
// Once you get a Steam AppID assigned by Valve, you need to replace AppId_t.Invalid with it and
......
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SteamDe_Activator : MonoBehaviour
{
private void Awake()
{
#if DP_STEAMACTIVE
Debug.Log("Steam active");
#else
Debug.Log("Steam inactive");
gameObject.SetActive(false);
#endif
}
}
fileFormatVersion: 2
guid: 443eed408eba3f643943c40ff636a238
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
#if DP_STEAM
using Steamworks;
#endif
public class TestSteam : MonoBehaviour
{
#if DP_STEAM
private CGameID m_GameID;
bool init = false;
public bool resetAchievements = false;
......@@ -36,4 +38,5 @@ public class TestSteam : MonoBehaviour
}
}
}
#endif
}
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
#if DP_STEAM
using Steamworks;
#endif
public class TriggerAchievement : MonoBehaviour
{
public string achievementName;
private void OnTriggerEnter(Collider other) {
#if DP_STEAM
if (SteamManager.Initialized) {
SteamUserStats.SetAchievement(achievementName);
Debug.Log("StoreStats(): " + SteamUserStats.StoreStats());
}
#endif
}
}
......@@ -5,16 +5,10 @@ EditorBuildSettings:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Scenes:
- enabled: 0
path: Assets/Scenes/roomtest.unity
guid: 71089d47825a3f14980b7b6bf0f34f4f
- enabled: 1
path: Assets/Scenes/Tutorial.unity
guid: d10d875897c0a3a4f8ce4a3162129814
- enabled: 1
path: Assets/Scenes/Repeat.unity
guid: e384ceec5800e464081f13b65b21e370
- enabled: 0
path: Assets/Scenes/Repeatplaythrough.unity
guid: ea6c5e90934906c459932138c14824b3
m_configObjects: {}
......@@ -13,7 +13,7 @@ PlayerSettings:
useOnDemandResources: 0
accelerometerFrequency: 60
companyName: PurpleSlothStudio
productName: What's your gender?
productName: What's your gender
defaultCursor: {fileID: 0}
cursorHotspot: {x: 0, y: 0}
m_SplashScreenBackgroundColor: {r: 0.13725491, g: 0.12156863, b: 0.1254902, a: 1}
......@@ -133,7 +133,7 @@ PlayerSettings:
16:10: 1
16:9: 1
Others: 1
bundleVersion: 1.2
bundleVersion: 00.01.02
preloadedAssets: []
metroInputSource: 0
wsaTransparentSwapchain: 0
......@@ -153,12 +153,13 @@ PlayerSettings:
androidMaxAspectRatio: 2.1
applicationIdentifier:
Android: com.DefaultCompany.Antigender
Standalone: com.PurpleSlothStudio.Whatsyourgender
Standalone: purplesloth.wyg
WebGL: purplesloth.wyg
buildNumber:
Standalone: 0
iPhone: 0
tvOS: 0
overrideDefaultApplicationIdentifier: 0
overrideDefaultApplicationIdentifier: 1
AndroidBundleVersionCode: 1
AndroidMinSdkVersion: 19
AndroidTargetSdkVersion: 0
......@@ -604,10 +605,10 @@ PlayerSettings:
webGLThreadsSupport: 0
webGLDecompressionFallback: 0
scriptingDefineSymbols:
1: UNITY_POST_PROCESSING_STACK_V2
1: STEAMACTIVE;RT_TESTRELEASE;PT_WINDOWS;DP_STEAM;PA_WINDOWS_X86_64
4: UNITY_POST_PROCESSING_STACK_V2
7: UNITY_POST_PROCESSING_STACK_V2
13: UNITY_POST_PROCESSING_STACK_V2
13: STEAMACTIVE;RT_TESTRELEASE;PT_WEBGL;DP_MY_WEBSITE
14: UNITY_POST_PROCESSING_STACK_V2
19: UNITY_POST_PROCESSING_STACK_V2
21: UNITY_POST_PROCESSING_STACK_V2
......
......@@ -9,6 +9,7 @@ UnityConnectSettings:
m_EventOldUrl: https://api.uca.cloud.unity3d.com/v1/events
m_EventUrl: https://cdp.cloud.unity3d.com/v1/events
m_ConfigUrl: https://config.uca.cloud.unity3d.com
m_DashboardUrl: https://dashboard.unity3d.com
m_TestInitMode: 0
CrashReportingSettings:
m_EventUrl: https://perf-events.cloud.unity3d.com
......
Supports Markdown
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