mirror of
https://github.com/RHeavenStudioPlus/HeavenStudioPlus.git
synced 2024-11-26 11:33:05 +00:00
die (#430)
This commit is contained in:
parent
9b16a8d5a9
commit
7f3aa78816
12 changed files with 31 additions and 210 deletions
|
@ -1,19 +0,0 @@
|
|||
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,11 +0,0 @@
|
|||
fileFormatVersion: 2
|
||||
guid: e986f325614dad34f99276dcf3bd61ff
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
|
@ -1,21 +0,0 @@
|
|||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
namespace HeavenStudio.Games.Scripts_TramAndPauline
|
||||
{
|
||||
public class Pauline : MonoBehaviour
|
||||
{
|
||||
// Start is called before the first frame update
|
||||
void Start()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
// Update is called once per frame
|
||||
void Update()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,11 +0,0 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 0c9740a191998b7429be1f4ebee714f1
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
|
@ -1,21 +0,0 @@
|
|||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
namespace HeavenStudio.Games.Scripts_TramAndPauline
|
||||
{
|
||||
public class Tram : MonoBehaviour
|
||||
{
|
||||
// Start is called before the first frame update
|
||||
void Start()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
// Update is called once per frame
|
||||
void Update()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,11 +0,0 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 6d9f0a0c395f5774abebc63146dd3534
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
|
@ -1,84 +0,0 @@
|
|||
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>[INITIALIZATION ONLY]</color>", "adb5e7", true, false, new List<GameAction>()
|
||||
{
|
||||
new GameAction("curtains", "Curtains")
|
||||
{
|
||||
function = delegate { TramAndPauline.instance.Curtains(eventCaller.currentEntity.beat); },
|
||||
defaultLength = 0.5f
|
||||
},
|
||||
new GameAction("SFX", "SFX")
|
||||
{
|
||||
function = delegate { var e = eventCaller.currentEntity; TramAndPauline.instance.SFX(e.beat, e["toggle"]); },
|
||||
defaultLength = 2.5f,
|
||||
parameters = 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,
|
||||
Lower
|
||||
}
|
||||
|
||||
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[]
|
||||
{
|
||||
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,21 +0,0 @@
|
|||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
namespace HeavenStudio.Games.Scripts_TramAndPauline
|
||||
{
|
||||
public class Trampoline : MonoBehaviour
|
||||
{
|
||||
// Start is called before the first frame update
|
||||
void Start()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
// Update is called once per frame
|
||||
void Update()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,11 +0,0 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 4ac862c09eaeaa64083a07ef7ca089f4
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
31
Assets/Scripts/Games/TramAndPauline/TramAndPauline.cs
Normal file
31
Assets/Scripts/Games/TramAndPauline/TramAndPauline.cs
Normal file
|
@ -0,0 +1,31 @@
|
|||
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("tramAndPauline", "Tram & Pauline \n<color=#eb5454>[INITIALIZATION ONLY]</color>", "adb5e7", true, false, new List<GameAction>()
|
||||
{
|
||||
|
||||
}
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
namespace HeavenStudio.Games
|
||||
{
|
||||
public class TramAndPauline : Minigame
|
||||
{
|
||||
public static TramAndPauline instance;
|
||||
private void Awake()
|
||||
{
|
||||
instance = this;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue