Compare commits
No commits in common. "master" and "leveldesign" have entirely different histories.
master
...
leveldesig
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -75,7 +75,7 @@ Tree("10_SBB_Zugabteil_Intro") {
|
|||||||
Composite(Selector) {
|
Composite(Selector) {
|
||||||
Composite(Sequence) {
|
Composite(Sequence) {
|
||||||
BTC.NoStoriesVisited()
|
BTC.NoStoriesVisited()
|
||||||
BTC.Wait(5)
|
BTC.Wait(8)
|
||||||
BTC.Hide("MediaPlayer.VIDEOS.IntroFidle1")
|
BTC.Hide("MediaPlayer.VIDEOS.IntroFidle1")
|
||||||
|
|
||||||
// --- Zugabteil - Exposition ---
|
// --- Zugabteil - Exposition ---
|
||||||
@ -331,7 +331,6 @@ Tree("10_SBB_Zugabteil_Szenenwahl") {
|
|||||||
BTC.Hide("GO.HANDMENU.SpeechOptions")
|
BTC.Hide("GO.HANDMENU.SpeechOptions")
|
||||||
}
|
}
|
||||||
BTC.FadeOut("FadeScene.XRInteractionHandsSetup.Black")
|
BTC.FadeOut("FadeScene.XRInteractionHandsSetup.Black")
|
||||||
BTC.Hide("MediaPlayer.VIDEOS.SzenenwahlFidle4")
|
|
||||||
BTC.Run("LoadScene.NEXT.40Puschlav")
|
BTC.Run("LoadScene.NEXT.40Puschlav")
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -360,7 +359,6 @@ Tree("10_SBB_Zugabteil_Szenenwahl") {
|
|||||||
|
|
||||||
// Load Scene: Story A Picknicken
|
// Load Scene: Story A Picknicken
|
||||||
//BTC.FadeOut("FadeScene.XRInteractionHandsSetup.Black")
|
//BTC.FadeOut("FadeScene.XRInteractionHandsSetup.Black")
|
||||||
BTC.Hide("MediaPlayer.VIDEOS.SzenenwahlFidle4")
|
|
||||||
BTC.Run("LoadScene.NEXT.20SBB")
|
BTC.Run("LoadScene.NEXT.20SBB")
|
||||||
}
|
}
|
||||||
Composite(Sequence) {
|
Composite(Sequence) {
|
||||||
@ -377,11 +375,13 @@ Tree("10_SBB_Zugabteil_Szenenwahl") {
|
|||||||
|
|
||||||
// Load Scene: Story B Grotto
|
// Load Scene: Story B Grotto
|
||||||
//BTC.FadeOut("FadeScene.XRInteractionHandsSetup.Black")
|
//BTC.FadeOut("FadeScene.XRInteractionHandsSetup.Black")
|
||||||
BTC.Hide("MediaPlayer.VIDEOS.SzenenwahlFidle4")
|
|
||||||
BTC.Run("LoadScene.NEXT.30SBB")
|
BTC.Run("LoadScene.NEXT.30SBB")
|
||||||
}
|
}
|
||||||
} // Race Buttons
|
} // Race Buttons
|
||||||
} // Handmenu Ende
|
} // Handmenu Ende
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TODO: Check if necessary
|
||||||
|
//BTC.Hide("MediaPlayer.VIDEOS.SzenenwahlFidle4")
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -620,10 +620,7 @@ Tree("22_Geschaeft_Story_A_Picknicken_Baeckerei_Outro") {
|
|||||||
|
|
||||||
Composite(Marathon) {
|
Composite(Marathon) {
|
||||||
Composite(Marathon) {
|
Composite(Marathon) {
|
||||||
Composite(Sequence) {
|
BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroE1")
|
||||||
BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroE1")
|
|
||||||
BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroEidl_07")
|
|
||||||
}
|
|
||||||
|
|
||||||
Composite(Sequence) {
|
Composite(Sequence) {
|
||||||
BTC.Wait(3)
|
BTC.Wait(3)
|
||||||
@ -638,9 +635,7 @@ Tree("22_Geschaeft_Story_A_Picknicken_Baeckerei_Outro") {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
BTC.Hide("Animator.AnimatorBaeckereiT")
|
|
||||||
BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroFidl_04")
|
BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroFidl_04")
|
||||||
BTC.Hide("MediaPlayer.VIDEOS.BaeckereiOutroEidl_07")
|
|
||||||
BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroE5")
|
BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroE5")
|
||||||
BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroE6")
|
BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroE6")
|
||||||
|
|
||||||
@ -791,12 +786,6 @@ Tree("22_Geschaeft_Story_A_Picknicken_Baeckerei_Outro") {
|
|||||||
|
|
||||||
Composite(Marathon) {
|
Composite(Marathon) {
|
||||||
BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroE27")
|
BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroE27")
|
||||||
|
|
||||||
Composite(Sequence) {
|
|
||||||
BTC.Wait(1)
|
|
||||||
BTC.Show("Animator.AnimatorBaeckereiT")
|
|
||||||
}
|
|
||||||
|
|
||||||
BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroF28")
|
BTC.Run("MediaPlayer.VIDEOS.BaeckereiOutroF28")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -525,11 +525,11 @@ Tree("32_Grotto_Story_B_Grotto_Antwort_Nonna_Grotto") {
|
|||||||
// -- Race 2: User sagt nichts
|
// -- Race 2: User sagt nichts
|
||||||
Composite(Sequence) {
|
Composite(Sequence) {
|
||||||
BTC.Wait(5)
|
BTC.Wait(5)
|
||||||
BTC.Hide("GO.HINTS.SpeakHint")
|
|
||||||
BTC.CompareUserSpeechInputStarted(false)
|
BTC.CompareUserSpeechInputStarted(false)
|
||||||
BTC.AbortSpeechEventListener()
|
BTC.AbortSpeechEventListener()
|
||||||
BTC.StopSpeechIntentRecognition()
|
BTC.StopSpeechIntentRecognition()
|
||||||
BTC.ClearPossbileSpeechIntents()
|
BTC.ClearPossbileSpeechIntents()
|
||||||
|
BTC.Hide("GO.HINTS.SpeakHint")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -558,11 +558,11 @@ Tree("32_Grotto_Story_B_Grotto_Antwort_Nonna_Grotto") {
|
|||||||
// -- Race 2: User sagt nichts
|
// -- Race 2: User sagt nichts
|
||||||
Composite(Sequence) {
|
Composite(Sequence) {
|
||||||
BTC.Wait(5)
|
BTC.Wait(5)
|
||||||
BTC.Hide("GO.HINTS.SpeakHint")
|
|
||||||
BTC.CompareUserSpeechInputStarted(false)
|
BTC.CompareUserSpeechInputStarted(false)
|
||||||
BTC.AbortSpeechEventListener()
|
BTC.AbortSpeechEventListener()
|
||||||
BTC.StopSpeechIntentRecognition()
|
BTC.StopSpeechIntentRecognition()
|
||||||
BTC.ClearPossbileSpeechIntents()
|
BTC.ClearPossbileSpeechIntents()
|
||||||
|
BTC.Hide("GO.HINTS.SpeakHint")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -639,11 +639,11 @@ Tree("32_Grotto_Story_B_Grotto_Antwort_Nonna_Grotto_Teil2") {
|
|||||||
// -- Race 2: User sagt nichts
|
// -- Race 2: User sagt nichts
|
||||||
Composite(Sequence) {
|
Composite(Sequence) {
|
||||||
BTC.Wait(5)
|
BTC.Wait(5)
|
||||||
BTC.Hide("GO.HINTS.SpeakHint")
|
|
||||||
BTC.CompareUserSpeechInputStarted(false)
|
BTC.CompareUserSpeechInputStarted(false)
|
||||||
BTC.AbortSpeechEventListener()
|
BTC.AbortSpeechEventListener()
|
||||||
BTC.StopSpeechIntentRecognition()
|
BTC.StopSpeechIntentRecognition()
|
||||||
BTC.ClearPossbileSpeechIntents()
|
BTC.ClearPossbileSpeechIntents()
|
||||||
|
BTC.Hide("GO.HINTS.SpeakHint")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -622,7 +622,7 @@ Tree("32_Grotto_Im_Grotto_Essen_Intro") {
|
|||||||
BTC.Run("MediaPlayer.VIDEOS.OutroG2")
|
BTC.Run("MediaPlayer.VIDEOS.OutroG2")
|
||||||
BTC.Run("MediaPlayer.VIDEOS.OutroGidle3")
|
BTC.Run("MediaPlayer.VIDEOS.OutroGidle3")
|
||||||
|
|
||||||
BTC.Hide("MediaPlayer.VIDEOS.OutroFidle1")
|
BTC.Hide("MediaPlayer.VIDEOS.GrottoUnterhaltung_FIdle20")
|
||||||
BTC.Run("MediaPlayer.VIDEOS.OutroF4")
|
BTC.Run("MediaPlayer.VIDEOS.OutroF4")
|
||||||
BTC.Run("MediaPlayer.VIDEOS.OutroFidle5")
|
BTC.Run("MediaPlayer.VIDEOS.OutroFidle5")
|
||||||
|
|
||||||
|
@ -68,7 +68,7 @@ Tree("40_Puschlav_Story_C_Puschlav") {
|
|||||||
|
|
||||||
Composite(Marathon) {
|
Composite(Marathon) {
|
||||||
BTC.Hide("GO.STATIC.Background")
|
BTC.Hide("GO.STATIC.Background")
|
||||||
BTC.Hide("GO.UI.Canvas")
|
BTC.Hide("GO.UI.ViaggioLogo")
|
||||||
}
|
}
|
||||||
|
|
||||||
// Start Slideshow
|
// Start Slideshow
|
||||||
|
@ -84,7 +84,7 @@ public class NamedAVProMediaPlayer : ComponentHandler
|
|||||||
case NodeState.FirstRun:
|
case NodeState.FirstRun:
|
||||||
_videoActor.SetActive(true);
|
_videoActor.SetActive(true);
|
||||||
_mediaPlayer.PlatformOptionsAndroid.videoApi = Android.VideoApi.ExoPlayer;
|
_mediaPlayer.PlatformOptionsAndroid.videoApi = Android.VideoApi.ExoPlayer;
|
||||||
//_mediaPlayer.PlatformOptionsAndroid.preferSoftwareDecoder = true;
|
_mediaPlayer.PlatformOptionsAndroid.preferSoftwareDecoder = true;
|
||||||
|
|
||||||
_mediaPlayer.OpenMedia(new MediaPath(videoPath, MediaPathType.RelativeToPersistentDataFolder));
|
_mediaPlayer.OpenMedia(new MediaPath(videoPath, MediaPathType.RelativeToPersistentDataFolder));
|
||||||
break;
|
break;
|
||||||
|
@ -274,7 +274,6 @@ public class NamedAnimator : ComponentHandler {
|
|||||||
if (nodeState == NodeState.FirstRun)
|
if (nodeState == NodeState.FirstRun)
|
||||||
{
|
{
|
||||||
animatorComponent.enabled = false;
|
animatorComponent.enabled = false;
|
||||||
animatorComponent.Rebind();
|
|
||||||
Task.SetSucceeded();
|
Task.SetSucceeded();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -46,7 +46,6 @@ public class NamedStereoscopicSlideshow : ComponentHandler {
|
|||||||
public PhotoTransition photoTransition;
|
public PhotoTransition photoTransition;
|
||||||
float _timeLeft;
|
float _timeLeft;
|
||||||
public float totalTime = 5.0f;
|
public float totalTime = 5.0f;
|
||||||
int _indexImgList = 0;
|
|
||||||
|
|
||||||
public override void Run(NodeState nodeState)
|
public override void Run(NodeState nodeState)
|
||||||
{
|
{
|
||||||
@ -88,21 +87,16 @@ public class NamedStereoscopicSlideshow : ComponentHandler {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public override void LoadImage(NodeState nodeState, int indexPath)
|
public override void LoadImage(NodeState nodeState, int index)
|
||||||
{
|
{
|
||||||
|
// LoadImage(0): 1. bild laden im hintergrund
|
||||||
|
// Show: Setup srctxt (1. bild einblenden) + im hintergrund loadImage(1)
|
||||||
|
// (Sprachinput): blendimage(2)
|
||||||
if (nodeState == NodeState.FirstRun)
|
if (nodeState == NodeState.FirstRun)
|
||||||
{
|
{
|
||||||
string path = photoTransition.imgPathList[indexPath];
|
string path = photoTransition.imgPathList[index];
|
||||||
_indexImgList = photoTransition.GetLengthOfImgList();
|
|
||||||
StartCoroutine(photoTransition.ImageLoader(path));
|
StartCoroutine(photoTransition.ImageLoader(path));
|
||||||
}
|
Task.SetSucceeded();
|
||||||
if (nodeState == NodeState.Running)
|
|
||||||
{
|
|
||||||
Texture2D tex = photoTransition.GetTextureOfImgList(_indexImgList);
|
|
||||||
if (tex != null)
|
|
||||||
{
|
|
||||||
Task.SetSucceeded();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -714,7 +714,7 @@ MonoBehaviour:
|
|||||||
LiveUpdatePort: 9264
|
LiveUpdatePort: 9264
|
||||||
EnableMemoryTracking: 0
|
EnableMemoryTracking: 0
|
||||||
AndroidUseOBB: 0
|
AndroidUseOBB: 0
|
||||||
AndroidPatchBuild: 0
|
AndroidPatchBuild: 1
|
||||||
MeterChannelOrdering: 0
|
MeterChannelOrdering: 0
|
||||||
StopEventsOutsideMaxDistance: 0
|
StopEventsOutsideMaxDistance: 0
|
||||||
BoltUnitOptionsBuildPending: 0
|
BoltUnitOptionsBuildPending: 0
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -113,20 +113,6 @@ public class PhotoTransition : MonoBehaviour
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public int GetLengthOfImgList()
|
|
||||||
{
|
|
||||||
return _imgList.Count;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Texture2D GetTextureOfImgList(int index)
|
|
||||||
{
|
|
||||||
if (_imgList.Count > index)
|
|
||||||
{
|
|
||||||
return _imgList[index];
|
|
||||||
}
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
private void OnDestroy()
|
private void OnDestroy()
|
||||||
{
|
{
|
||||||
Reset();
|
Reset();
|
||||||
|
@ -15,7 +15,7 @@ public class PlayAVProVideo : MonoBehaviour
|
|||||||
_mediaPlayer = GetComponent<MediaPlayer>();
|
_mediaPlayer = GetComponent<MediaPlayer>();
|
||||||
if (_mediaPlayer != null)
|
if (_mediaPlayer != null)
|
||||||
{
|
{
|
||||||
_mediaPlayer.PlatformOptionsAndroid.videoApi = Android.VideoApi.ExoPlayer;
|
Debug.Log("Panorama is loading");
|
||||||
_mediaPlayer.OpenMedia(new MediaPath(videoPath, MediaPathType.RelativeToPersistentDataFolder), autoPlay: true);
|
_mediaPlayer.OpenMedia(new MediaPath(videoPath, MediaPathType.RelativeToPersistentDataFolder), autoPlay: true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -24,7 +24,7 @@ public class PlayAVProVideo : MonoBehaviour
|
|||||||
{
|
{
|
||||||
if (_mediaPlayer != null)
|
if (_mediaPlayer != null)
|
||||||
{
|
{
|
||||||
_mediaPlayer.Stop();
|
Debug.Log("Panorama is closing");
|
||||||
_mediaPlayer.CloseMedia();
|
_mediaPlayer.CloseMedia();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user