mirror of
https://github.com/RHeavenStudio/HeavenStudio.git
synced 2025-06-12 16:37:39 +02:00
Spaceball swing + low ball throw + perspective camera
This commit is contained in:
@ -71,6 +71,7 @@ namespace RhythmHeavenMania.Games.ForkLifter
|
||||
Jukebox.PlayOneShotGame("forkLifter/flick");
|
||||
handAnim.Play("Hand_Flick", 0, 0);
|
||||
GameObject fo = Instantiate(flickedObject);
|
||||
fo.transform.parent = flickedObject.transform.parent;
|
||||
fo.GetComponent<Pea>().startBeat = beat;
|
||||
fo.GetComponent<Pea>().type = type;
|
||||
fo.SetActive(true);
|
||||
|
@ -13,12 +13,10 @@ namespace RhythmHeavenMania.Games.ForkLifter
|
||||
|
||||
public Sprite[] fastSprites;
|
||||
|
||||
List<Beatmap.Entity> allPlayerActions;
|
||||
|
||||
public void CheckNextFlick()
|
||||
{
|
||||
// allPlayerActions = EventCaller.GetAllInGameManagerList("forkLifter", new string[] { "gulp", "sigh", "prepare" });
|
||||
allPlayerActions = EventCaller.GetAllPlayerEntities("forkLifter");
|
||||
var allPlayerActions = EventCaller.GetAllPlayerEntities("forkLifter");
|
||||
int currentPlayerEvent = GameManager.instance.currentPlayerEvent - EventCaller.GetAllPlayerEntitiesExceptBeforeBeat("forkLifter", Conductor.instance.songPositionInBeats).Count;
|
||||
|
||||
if (currentPlayerEvent < allPlayerActions.Count)
|
||||
|
Reference in New Issue
Block a user