Tram&Pauline
guys I have the update and I putted it all in the right folders
|
@ -1,27 +1,27 @@
|
|||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
using HeavenStudio.Util;
|
||||
|
||||
namespace HeavenStudio.Games.Scripts_TramAndPauline
|
||||
{
|
||||
public class Curtains : MonoBehaviour
|
||||
{
|
||||
private Animator anim;
|
||||
|
||||
|
||||
private void Awake()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
using HeavenStudio.Util;
|
||||
|
||||
namespace HeavenStudio.Games.Scripts_TramAndPauline
|
||||
{
|
||||
public class Curtains : MonoBehaviour
|
||||
{
|
||||
private Animator anim;
|
||||
|
||||
|
||||
private void Awake()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
@ -1,18 +1,18 @@
|
|||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
public class Pauline : MonoBehaviour
|
||||
{
|
||||
// Start is called before the first frame update
|
||||
void Start()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
// Update is called once per frame
|
||||
void Update()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
public class Pauline : MonoBehaviour
|
||||
{
|
||||
// Start is called before the first frame update
|
||||
void Start()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
// Update is called once per frame
|
||||
void Update()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
|
@ -1,18 +1,18 @@
|
|||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
public class Tram : MonoBehaviour
|
||||
{
|
||||
// Start is called before the first frame update
|
||||
void Start()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
// Update is called once per frame
|
||||
void Update()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
public class Tram : MonoBehaviour
|
||||
{
|
||||
// Start is called before the first frame update
|
||||
void Start()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
// Update is called once per frame
|
||||
void Update()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
|
@ -1,85 +1,85 @@
|
|||
using HeavenStudio.Util;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
namespace HeavenStudio.Games.Loaders
|
||||
{
|
||||
using static Minigames;
|
||||
public static class AgbTramLoader
|
||||
{
|
||||
public static Minigame AddGame(EventCaller eventCaller)
|
||||
{
|
||||
return new Minigame("tram&Pauline", "Tram&Pauline \n<color=#eb5454>[WIP don't use]</color>", "000000", false, false, new List<GameAction>()
|
||||
{
|
||||
new GameAction("curtains", delegate { TramAndPauline.instance.Curtains(eventCaller.currentEntity.beat); }, 0.5f),
|
||||
new GameAction("SFX", delegate { var e = eventCaller.currentEntity; TramAndPauline.instance.SFX(e.beat, e.toggle); }, 2.5f, false, new List<Param>()
|
||||
{
|
||||
new Param("type", TramAndPauline.SoundEffects.henge, "calls", "the sound effects to choose from"),
|
||||
}),
|
||||
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
namespace HeavenStudio.Games
|
||||
{
|
||||
|
||||
using Scripts_TramAndPauline;
|
||||
|
||||
public class TramAndPauline : Minigame
|
||||
{
|
||||
public enum CurtainState
|
||||
{
|
||||
Raised_Curtains,
|
||||
Lower_Curtains
|
||||
}
|
||||
|
||||
public enum SoundEffects
|
||||
{
|
||||
henge, //Shapeshift
|
||||
henshin, //Transform
|
||||
jump,
|
||||
seino //One Two Three Go
|
||||
|
||||
}
|
||||
public static TramAndPauline instance;
|
||||
|
||||
[Header("Animators")]
|
||||
public Animator RaiseCurtains;
|
||||
public Animator LowerCurtains;
|
||||
|
||||
|
||||
private void Awake()
|
||||
{
|
||||
instance = this;
|
||||
}
|
||||
|
||||
public void Curtains(float beat)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public void SFX(float beat, bool playSound)
|
||||
{
|
||||
|
||||
playSound = false;
|
||||
|
||||
var sound = new MultiSound.Sound[]
|
||||
{
|
||||
new MultiSound.Sound("tram&Pauline/trampoline_unused_henge", beat),
|
||||
new MultiSound.Sound("tram&Pauline/trampoline_unused_henshin", beat + 1f),
|
||||
new MultiSound.Sound("tram&Pauline/trampoline_unused_jump" , beat + 2f),
|
||||
new MultiSound.Sound("tram&Pauline/trampoline_unused_senio" , beat + 3f)
|
||||
};
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
using HeavenStudio.Util;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
namespace HeavenStudio.Games.Loaders
|
||||
{
|
||||
using static Minigames;
|
||||
public static class AgbTramLoader
|
||||
{
|
||||
public static Minigame AddGame(EventCaller eventCaller)
|
||||
{
|
||||
return new Minigame("tram&Pauline", "Tram&Pauline \n<color=#eb5454>[WIP don't use]</color>", "000000", false, false, new List<GameAction>()
|
||||
{
|
||||
new GameAction("curtains", delegate { TramAndPauline.instance.Curtains(eventCaller.currentEntity.beat); }, 0.5f),
|
||||
new GameAction("SFX", delegate { var e = eventCaller.currentEntity; TramAndPauline.instance.SFX(e.beat, e.toggle); }, 2.5f, false, new List<Param>()
|
||||
{
|
||||
new Param("type", TramAndPauline.SoundEffects.henge, "calls", "the sound effects to choose from"),
|
||||
}),
|
||||
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
namespace HeavenStudio.Games
|
||||
{
|
||||
|
||||
using Scripts_TramAndPauline;
|
||||
|
||||
public class TramAndPauline : Minigame
|
||||
{
|
||||
public enum CurtainState
|
||||
{
|
||||
Raised_Curtains,
|
||||
Lower_Curtains
|
||||
}
|
||||
|
||||
public enum SoundEffects
|
||||
{
|
||||
henge, //Shapeshift
|
||||
henshin, //Transform
|
||||
jump,
|
||||
seino //One Two Three Go
|
||||
|
||||
}
|
||||
public static TramAndPauline instance;
|
||||
|
||||
[Header("Animators")]
|
||||
public Animator RaiseCurtains;
|
||||
public Animator LowerCurtains;
|
||||
|
||||
|
||||
private void Awake()
|
||||
{
|
||||
instance = this;
|
||||
}
|
||||
|
||||
public void Curtains(float beat)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public void SFX(float beat, bool playSound)
|
||||
{
|
||||
|
||||
playSound = false;
|
||||
|
||||
var sound = new MultiSound.Sound[]
|
||||
{
|
||||
new MultiSound.Sound("tram&Pauline/trampoline_unused_henge", beat),
|
||||
new MultiSound.Sound("tram&Pauline/trampoline_unused_henshin", beat + 1f),
|
||||
new MultiSound.Sound("tram&Pauline/trampoline_unused_jump" , beat + 2f),
|
||||
new MultiSound.Sound("tram&Pauline/trampoline_unused_senio" , beat + 3f)
|
||||
};
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
@ -1,18 +1,18 @@
|
|||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
public class Trampoline : MonoBehaviour
|
||||
{
|
||||
// Start is called before the first frame update
|
||||
void Start()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
// Update is called once per frame
|
||||
void Update()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
public class Trampoline : MonoBehaviour
|
||||
{
|
||||
// Start is called before the first frame update
|
||||
void Start()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
// Update is called once per frame
|
||||
void Update()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 134 KiB |
Before Width: | Height: | Size: 45 KiB |
7426
Tram&Pauline.prefab
|
@ -1,7 +0,0 @@
|
|||
fileFormatVersion: 2
|
||||
guid: dded4c2e961a9384fab1439fd19ac785
|
||||
PrefabImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
Before Width: | Height: | Size: 134 KiB |
Before Width: | Height: | Size: 45 KiB |
Before Width: | Height: | Size: 19 KiB |
Before Width: | Height: | Size: 134 KiB |
Before Width: | Height: | Size: 2 KiB |