Tram&Pauline

guys I have the update and I putted it all in the right folders
This commit is contained in:
adianfiuef 2022-06-22 22:46:27 -07:00
parent 63d108cde3
commit 83a00d1a56
69 changed files with 7195 additions and 7618 deletions

File diff suppressed because it is too large Load diff

View file

@ -1,27 +1,27 @@
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using UnityEngine; using UnityEngine;
using HeavenStudio.Util; using HeavenStudio.Util;
namespace HeavenStudio.Games.Scripts_TramAndPauline namespace HeavenStudio.Games.Scripts_TramAndPauline
{ {
public class Curtains : MonoBehaviour public class Curtains : MonoBehaviour
{ {
private Animator anim; private Animator anim;
private void Awake() private void Awake()
{ {
} }
} }
} }

View file

Before

Width:  |  Height:  |  Size: 45 KiB

After

Width:  |  Height:  |  Size: 45 KiB

View file

@ -1,18 +1,18 @@
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using UnityEngine; using UnityEngine;
public class Pauline : MonoBehaviour public class Pauline : MonoBehaviour
{ {
// Start is called before the first frame update // Start is called before the first frame update
void Start() void Start()
{ {
} }
// Update is called once per frame // Update is called once per frame
void Update() void Update()
{ {
} }
} }

View file

Before

Width:  |  Height:  |  Size: 45 KiB

After

Width:  |  Height:  |  Size: 45 KiB

View file

@ -1,18 +1,18 @@
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using UnityEngine; using UnityEngine;
public class Tram : MonoBehaviour public class Tram : MonoBehaviour
{ {
// Start is called before the first frame update // Start is called before the first frame update
void Start() void Start()
{ {
} }
// Update is called once per frame // Update is called once per frame
void Update() void Update()
{ {
} }
} }

View file

@ -1,85 +1,85 @@
using HeavenStudio.Util; using HeavenStudio.Util;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using UnityEngine; using UnityEngine;
namespace HeavenStudio.Games.Loaders namespace HeavenStudio.Games.Loaders
{ {
using static Minigames; using static Minigames;
public static class AgbTramLoader public static class AgbTramLoader
{ {
public static Minigame AddGame(EventCaller eventCaller) 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>() 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("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 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"), new Param("type", TramAndPauline.SoundEffects.henge, "calls", "the sound effects to choose from"),
}), }),
}); });
} }
} }
} }
namespace HeavenStudio.Games namespace HeavenStudio.Games
{ {
using Scripts_TramAndPauline; using Scripts_TramAndPauline;
public class TramAndPauline : Minigame public class TramAndPauline : Minigame
{ {
public enum CurtainState public enum CurtainState
{ {
Raised_Curtains, Raised_Curtains,
Lower_Curtains Lower_Curtains
} }
public enum SoundEffects public enum SoundEffects
{ {
henge, //Shapeshift henge, //Shapeshift
henshin, //Transform henshin, //Transform
jump, jump,
seino //One Two Three Go seino //One Two Three Go
} }
public static TramAndPauline instance; public static TramAndPauline instance;
[Header("Animators")] [Header("Animators")]
public Animator RaiseCurtains; public Animator RaiseCurtains;
public Animator LowerCurtains; public Animator LowerCurtains;
private void Awake() private void Awake()
{ {
instance = this; instance = this;
} }
public void Curtains(float beat) public void Curtains(float beat)
{ {
} }
public void SFX(float beat, bool playSound) public void SFX(float beat, bool playSound)
{ {
playSound = false; playSound = false;
var sound = new MultiSound.Sound[] var sound = new MultiSound.Sound[]
{ {
new MultiSound.Sound("tram&Pauline/trampoline_unused_henge", beat), 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_henshin", beat + 1f),
new MultiSound.Sound("tram&Pauline/trampoline_unused_jump" , beat + 2f), new MultiSound.Sound("tram&Pauline/trampoline_unused_jump" , beat + 2f),
new MultiSound.Sound("tram&Pauline/trampoline_unused_senio" , beat + 3f) new MultiSound.Sound("tram&Pauline/trampoline_unused_senio" , beat + 3f)
}; };
} }
} }
} }

View file

@ -1,18 +1,18 @@
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using UnityEngine; using UnityEngine;
public class Trampoline : MonoBehaviour public class Trampoline : MonoBehaviour
{ {
// Start is called before the first frame update // Start is called before the first frame update
void Start() void Start()
{ {
} }
// Update is called once per frame // Update is called once per frame
void Update() void Update()
{ {
} }
} }

View file

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

File diff suppressed because it is too large Load diff

View file

@ -1,7 +0,0 @@
fileFormatVersion: 2
guid: dded4c2e961a9384fab1439fd19ac785
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB