2023-01-17 04:29:05 +00:00
|
|
|
/* I do not know crap about Unity or C#
|
|
|
|
Almost none of this code is mine, but it's all fair game when the game you're stealing from
|
|
|
|
borrowed from other games */
|
2023-01-25 15:29:09 +00:00
|
|
|
//Don't worry Raffy everyone starts somewhere - Rasmus
|
2023-01-17 04:29:05 +00:00
|
|
|
|
|
|
|
using HeavenStudio.Util;
|
|
|
|
using System;
|
|
|
|
using System.Collections.Generic;
|
|
|
|
using UnityEngine;
|
|
|
|
|
|
|
|
namespace HeavenStudio.Games.Loaders
|
|
|
|
{
|
|
|
|
using static Minigames;
|
|
|
|
public static class NtrBackbeatLoader
|
|
|
|
{
|
|
|
|
public static Minigame AddGame(EventCaller eventCaller)
|
|
|
|
{
|
2023-04-02 02:28:23 +00:00
|
|
|
return new Minigame("lockstep", "Lockstep \n<color=#eb5454>[WIP]</color>", "f0338d", false, false, new List<GameAction>()
|
2023-01-17 04:29:05 +00:00
|
|
|
{
|
|
|
|
new GameAction("bop", "Bop")
|
Playable lockstep + Mr. Upbeat fix! (Lockstep is missing recolorable switchsteppers, many of them, and bach portraits) (#227)
* Added sfx, sprites and folders neccesary. And also made an empty game object for working dough
* Started work on the background
* Implemented all unanimated sprites
* Added Init
* Added Prefabs
* Added Jumping and Idle Animatins for the Dough Dudes
* SmallFix
* Start Interval Event Implemented
* Added Audio and Small and Big Ball events
* Code Improvement + starting making the balls
* Added bezier curves
* Added First Rendition of Balls
* Added NPC Balls and starting doing small transporting animations
* SmallFixes
* SmallSoundChanges
* Implemented Audio and prefunction, not done with it though
* In process of fixing set interval
* Added more prefunction stuff and also started working on player input
* Tried adding player balls, not done, many bugs to fix
* Reverted trying to make the playerenterdoughball handle inputs, gonna do it through the main script instead
* Sat up input code for later
* Input works now! Need to add barely and wrong input animations and fix bugs
* Tiny fix
* Added first draft of wronginput animations
* Finished all input anims, trying to fix bugs
* Added finished Spaceship animations
* Added Mr Game and Watch WIP and lifting dough dudes
* Finished GANDW, fixed some bugs and still fixing bugs, almost done!
* DONE
* Begun development on tambourine
* Working Dough Polish
* Added many animations for tambourine
* Added Events
* Inputs added, near completion
* Miss Anims
* Animation changes
* DONE
* fix
* FIXED???
* FIXED FOR REAL
* Begun fixing lockstep, just needs small fixes and features
* Smol fix-ish
* Started work on mr upbeat
* MrUpbeat fixed, finishing up lockstep
* Added BG to lockstep
* Added bg colour change
* Done with my part
2023-01-23 22:48:05 +00:00
|
|
|
{
|
2023-03-07 17:22:32 +00:00
|
|
|
function = delegate { var e = eventCaller.currentEntity; Lockstep.instance.Bop(e.beat, e.length, e["toggle"], e["toggle2"]); },
|
|
|
|
resizable = true,
|
Playable lockstep + Mr. Upbeat fix! (Lockstep is missing recolorable switchsteppers, many of them, and bach portraits) (#227)
* Added sfx, sprites and folders neccesary. And also made an empty game object for working dough
* Started work on the background
* Implemented all unanimated sprites
* Added Init
* Added Prefabs
* Added Jumping and Idle Animatins for the Dough Dudes
* SmallFix
* Start Interval Event Implemented
* Added Audio and Small and Big Ball events
* Code Improvement + starting making the balls
* Added bezier curves
* Added First Rendition of Balls
* Added NPC Balls and starting doing small transporting animations
* SmallFixes
* SmallSoundChanges
* Implemented Audio and prefunction, not done with it though
* In process of fixing set interval
* Added more prefunction stuff and also started working on player input
* Tried adding player balls, not done, many bugs to fix
* Reverted trying to make the playerenterdoughball handle inputs, gonna do it through the main script instead
* Sat up input code for later
* Input works now! Need to add barely and wrong input animations and fix bugs
* Tiny fix
* Added first draft of wronginput animations
* Finished all input anims, trying to fix bugs
* Added finished Spaceship animations
* Added Mr Game and Watch WIP and lifting dough dudes
* Finished GANDW, fixed some bugs and still fixing bugs, almost done!
* DONE
* Begun development on tambourine
* Working Dough Polish
* Added many animations for tambourine
* Added Events
* Inputs added, near completion
* Miss Anims
* Animation changes
* DONE
* fix
* FIXED???
* FIXED FOR REAL
* Begun fixing lockstep, just needs small fixes and features
* Smol fix-ish
* Started work on mr upbeat
* MrUpbeat fixed, finishing up lockstep
* Added BG to lockstep
* Added bg colour change
* Done with my part
2023-01-23 22:48:05 +00:00
|
|
|
parameters = new List<Param>()
|
2023-01-17 04:29:05 +00:00
|
|
|
{
|
2023-03-07 17:22:32 +00:00
|
|
|
new Param("toggle", true, "Bop", "Should the stepswitchers bop?"),
|
|
|
|
new Param("toggle2", false, "Bop (Auto)", "Should the stepswitchers auto bop?"),
|
2023-01-17 04:29:05 +00:00
|
|
|
},
|
Playable lockstep + Mr. Upbeat fix! (Lockstep is missing recolorable switchsteppers, many of them, and bach portraits) (#227)
* Added sfx, sprites and folders neccesary. And also made an empty game object for working dough
* Started work on the background
* Implemented all unanimated sprites
* Added Init
* Added Prefabs
* Added Jumping and Idle Animatins for the Dough Dudes
* SmallFix
* Start Interval Event Implemented
* Added Audio and Small and Big Ball events
* Code Improvement + starting making the balls
* Added bezier curves
* Added First Rendition of Balls
* Added NPC Balls and starting doing small transporting animations
* SmallFixes
* SmallSoundChanges
* Implemented Audio and prefunction, not done with it though
* In process of fixing set interval
* Added more prefunction stuff and also started working on player input
* Tried adding player balls, not done, many bugs to fix
* Reverted trying to make the playerenterdoughball handle inputs, gonna do it through the main script instead
* Sat up input code for later
* Input works now! Need to add barely and wrong input animations and fix bugs
* Tiny fix
* Added first draft of wronginput animations
* Finished all input anims, trying to fix bugs
* Added finished Spaceship animations
* Added Mr Game and Watch WIP and lifting dough dudes
* Finished GANDW, fixed some bugs and still fixing bugs, almost done!
* DONE
* Begun development on tambourine
* Working Dough Polish
* Added many animations for tambourine
* Added Events
* Inputs added, near completion
* Miss Anims
* Animation changes
* DONE
* fix
* FIXED???
* FIXED FOR REAL
* Begun fixing lockstep, just needs small fixes and features
* Smol fix-ish
* Started work on mr upbeat
* MrUpbeat fixed, finishing up lockstep
* Added BG to lockstep
* Added bg colour change
* Done with my part
2023-01-23 22:48:05 +00:00
|
|
|
},
|
2023-01-24 19:31:59 +00:00
|
|
|
new GameAction("marching", "Stepping")
|
Playable lockstep + Mr. Upbeat fix! (Lockstep is missing recolorable switchsteppers, many of them, and bach portraits) (#227)
* Added sfx, sprites and folders neccesary. And also made an empty game object for working dough
* Started work on the background
* Implemented all unanimated sprites
* Added Init
* Added Prefabs
* Added Jumping and Idle Animatins for the Dough Dudes
* SmallFix
* Start Interval Event Implemented
* Added Audio and Small and Big Ball events
* Code Improvement + starting making the balls
* Added bezier curves
* Added First Rendition of Balls
* Added NPC Balls and starting doing small transporting animations
* SmallFixes
* SmallSoundChanges
* Implemented Audio and prefunction, not done with it though
* In process of fixing set interval
* Added more prefunction stuff and also started working on player input
* Tried adding player balls, not done, many bugs to fix
* Reverted trying to make the playerenterdoughball handle inputs, gonna do it through the main script instead
* Sat up input code for later
* Input works now! Need to add barely and wrong input animations and fix bugs
* Tiny fix
* Added first draft of wronginput animations
* Finished all input anims, trying to fix bugs
* Added finished Spaceship animations
* Added Mr Game and Watch WIP and lifting dough dudes
* Finished GANDW, fixed some bugs and still fixing bugs, almost done!
* DONE
* Begun development on tambourine
* Working Dough Polish
* Added many animations for tambourine
* Added Events
* Inputs added, near completion
* Miss Anims
* Animation changes
* DONE
* fix
* FIXED???
* FIXED FOR REAL
* Begun fixing lockstep, just needs small fixes and features
* Smol fix-ish
* Started work on mr upbeat
* MrUpbeat fixed, finishing up lockstep
* Added BG to lockstep
* Added bg colour change
* Done with my part
2023-01-23 22:48:05 +00:00
|
|
|
{
|
2023-01-24 19:31:59 +00:00
|
|
|
preFunction = delegate {var e = eventCaller.currentEntity; Lockstep.Marching(e.beat, e.length);},
|
|
|
|
defaultLength = 4f,
|
|
|
|
resizable = true
|
Playable lockstep + Mr. Upbeat fix! (Lockstep is missing recolorable switchsteppers, many of them, and bach portraits) (#227)
* Added sfx, sprites and folders neccesary. And also made an empty game object for working dough
* Started work on the background
* Implemented all unanimated sprites
* Added Init
* Added Prefabs
* Added Jumping and Idle Animatins for the Dough Dudes
* SmallFix
* Start Interval Event Implemented
* Added Audio and Small and Big Ball events
* Code Improvement + starting making the balls
* Added bezier curves
* Added First Rendition of Balls
* Added NPC Balls and starting doing small transporting animations
* SmallFixes
* SmallSoundChanges
* Implemented Audio and prefunction, not done with it though
* In process of fixing set interval
* Added more prefunction stuff and also started working on player input
* Tried adding player balls, not done, many bugs to fix
* Reverted trying to make the playerenterdoughball handle inputs, gonna do it through the main script instead
* Sat up input code for later
* Input works now! Need to add barely and wrong input animations and fix bugs
* Tiny fix
* Added first draft of wronginput animations
* Finished all input anims, trying to fix bugs
* Added finished Spaceship animations
* Added Mr Game and Watch WIP and lifting dough dudes
* Finished GANDW, fixed some bugs and still fixing bugs, almost done!
* DONE
* Begun development on tambourine
* Working Dough Polish
* Added many animations for tambourine
* Added Events
* Inputs added, near completion
* Miss Anims
* Animation changes
* DONE
* fix
* FIXED???
* FIXED FOR REAL
* Begun fixing lockstep, just needs small fixes and features
* Smol fix-ish
* Started work on mr upbeat
* MrUpbeat fixed, finishing up lockstep
* Added BG to lockstep
* Added bg colour change
* Done with my part
2023-01-23 22:48:05 +00:00
|
|
|
},
|
2023-01-17 04:29:05 +00:00
|
|
|
new GameAction("offbeatSwitch", "Switch to Offbeat")
|
Playable lockstep + Mr. Upbeat fix! (Lockstep is missing recolorable switchsteppers, many of them, and bach portraits) (#227)
* Added sfx, sprites and folders neccesary. And also made an empty game object for working dough
* Started work on the background
* Implemented all unanimated sprites
* Added Init
* Added Prefabs
* Added Jumping and Idle Animatins for the Dough Dudes
* SmallFix
* Start Interval Event Implemented
* Added Audio and Small and Big Ball events
* Code Improvement + starting making the balls
* Added bezier curves
* Added First Rendition of Balls
* Added NPC Balls and starting doing small transporting animations
* SmallFixes
* SmallSoundChanges
* Implemented Audio and prefunction, not done with it though
* In process of fixing set interval
* Added more prefunction stuff and also started working on player input
* Tried adding player balls, not done, many bugs to fix
* Reverted trying to make the playerenterdoughball handle inputs, gonna do it through the main script instead
* Sat up input code for later
* Input works now! Need to add barely and wrong input animations and fix bugs
* Tiny fix
* Added first draft of wronginput animations
* Finished all input anims, trying to fix bugs
* Added finished Spaceship animations
* Added Mr Game and Watch WIP and lifting dough dudes
* Finished GANDW, fixed some bugs and still fixing bugs, almost done!
* DONE
* Begun development on tambourine
* Working Dough Polish
* Added many animations for tambourine
* Added Events
* Inputs added, near completion
* Miss Anims
* Animation changes
* DONE
* fix
* FIXED???
* FIXED FOR REAL
* Begun fixing lockstep, just needs small fixes and features
* Smol fix-ish
* Started work on mr upbeat
* MrUpbeat fixed, finishing up lockstep
* Added BG to lockstep
* Added bg colour change
* Done with my part
2023-01-23 22:48:05 +00:00
|
|
|
{
|
|
|
|
preFunction = delegate { var e = eventCaller.currentEntity; Lockstep.OffbeatSwitch(e.beat); },
|
2023-01-24 19:31:59 +00:00
|
|
|
defaultLength = 3.5f
|
Playable lockstep + Mr. Upbeat fix! (Lockstep is missing recolorable switchsteppers, many of them, and bach portraits) (#227)
* Added sfx, sprites and folders neccesary. And also made an empty game object for working dough
* Started work on the background
* Implemented all unanimated sprites
* Added Init
* Added Prefabs
* Added Jumping and Idle Animatins for the Dough Dudes
* SmallFix
* Start Interval Event Implemented
* Added Audio and Small and Big Ball events
* Code Improvement + starting making the balls
* Added bezier curves
* Added First Rendition of Balls
* Added NPC Balls and starting doing small transporting animations
* SmallFixes
* SmallSoundChanges
* Implemented Audio and prefunction, not done with it though
* In process of fixing set interval
* Added more prefunction stuff and also started working on player input
* Tried adding player balls, not done, many bugs to fix
* Reverted trying to make the playerenterdoughball handle inputs, gonna do it through the main script instead
* Sat up input code for later
* Input works now! Need to add barely and wrong input animations and fix bugs
* Tiny fix
* Added first draft of wronginput animations
* Finished all input anims, trying to fix bugs
* Added finished Spaceship animations
* Added Mr Game and Watch WIP and lifting dough dudes
* Finished GANDW, fixed some bugs and still fixing bugs, almost done!
* DONE
* Begun development on tambourine
* Working Dough Polish
* Added many animations for tambourine
* Added Events
* Inputs added, near completion
* Miss Anims
* Animation changes
* DONE
* fix
* FIXED???
* FIXED FOR REAL
* Begun fixing lockstep, just needs small fixes and features
* Smol fix-ish
* Started work on mr upbeat
* MrUpbeat fixed, finishing up lockstep
* Added BG to lockstep
* Added bg colour change
* Done with my part
2023-01-23 22:48:05 +00:00
|
|
|
},
|
2023-01-17 04:29:05 +00:00
|
|
|
new GameAction("onbeatSwitch", "Switch to Onbeat")
|
Playable lockstep + Mr. Upbeat fix! (Lockstep is missing recolorable switchsteppers, many of them, and bach portraits) (#227)
* Added sfx, sprites and folders neccesary. And also made an empty game object for working dough
* Started work on the background
* Implemented all unanimated sprites
* Added Init
* Added Prefabs
* Added Jumping and Idle Animatins for the Dough Dudes
* SmallFix
* Start Interval Event Implemented
* Added Audio and Small and Big Ball events
* Code Improvement + starting making the balls
* Added bezier curves
* Added First Rendition of Balls
* Added NPC Balls and starting doing small transporting animations
* SmallFixes
* SmallSoundChanges
* Implemented Audio and prefunction, not done with it though
* In process of fixing set interval
* Added more prefunction stuff and also started working on player input
* Tried adding player balls, not done, many bugs to fix
* Reverted trying to make the playerenterdoughball handle inputs, gonna do it through the main script instead
* Sat up input code for later
* Input works now! Need to add barely and wrong input animations and fix bugs
* Tiny fix
* Added first draft of wronginput animations
* Finished all input anims, trying to fix bugs
* Added finished Spaceship animations
* Added Mr Game and Watch WIP and lifting dough dudes
* Finished GANDW, fixed some bugs and still fixing bugs, almost done!
* DONE
* Begun development on tambourine
* Working Dough Polish
* Added many animations for tambourine
* Added Events
* Inputs added, near completion
* Miss Anims
* Animation changes
* DONE
* fix
* FIXED???
* FIXED FOR REAL
* Begun fixing lockstep, just needs small fixes and features
* Smol fix-ish
* Started work on mr upbeat
* MrUpbeat fixed, finishing up lockstep
* Added BG to lockstep
* Added bg colour change
* Done with my part
2023-01-23 22:48:05 +00:00
|
|
|
{
|
|
|
|
preFunction = delegate { var e = eventCaller.currentEntity; Lockstep.OnbeatSwitch(e.beat); },
|
|
|
|
defaultLength = 2f
|
|
|
|
},
|
2023-01-24 19:31:59 +00:00
|
|
|
new GameAction("hai", "Hai!")
|
Playable lockstep + Mr. Upbeat fix! (Lockstep is missing recolorable switchsteppers, many of them, and bach portraits) (#227)
* Added sfx, sprites and folders neccesary. And also made an empty game object for working dough
* Started work on the background
* Implemented all unanimated sprites
* Added Init
* Added Prefabs
* Added Jumping and Idle Animatins for the Dough Dudes
* SmallFix
* Start Interval Event Implemented
* Added Audio and Small and Big Ball events
* Code Improvement + starting making the balls
* Added bezier curves
* Added First Rendition of Balls
* Added NPC Balls and starting doing small transporting animations
* SmallFixes
* SmallSoundChanges
* Implemented Audio and prefunction, not done with it though
* In process of fixing set interval
* Added more prefunction stuff and also started working on player input
* Tried adding player balls, not done, many bugs to fix
* Reverted trying to make the playerenterdoughball handle inputs, gonna do it through the main script instead
* Sat up input code for later
* Input works now! Need to add barely and wrong input animations and fix bugs
* Tiny fix
* Added first draft of wronginput animations
* Finished all input anims, trying to fix bugs
* Added finished Spaceship animations
* Added Mr Game and Watch WIP and lifting dough dudes
* Finished GANDW, fixed some bugs and still fixing bugs, almost done!
* DONE
* Begun development on tambourine
* Working Dough Polish
* Added many animations for tambourine
* Added Events
* Inputs added, near completion
* Miss Anims
* Animation changes
* DONE
* fix
* FIXED???
* FIXED FOR REAL
* Begun fixing lockstep, just needs small fixes and features
* Smol fix-ish
* Started work on mr upbeat
* MrUpbeat fixed, finishing up lockstep
* Added BG to lockstep
* Added bg colour change
* Done with my part
2023-01-23 22:48:05 +00:00
|
|
|
{
|
2023-01-24 19:31:59 +00:00
|
|
|
function = delegate { var e = eventCaller.currentEntity; Lockstep.instance.Hai(e.beat); },
|
|
|
|
defaultLength = 1f,
|
|
|
|
inactiveFunction = delegate { var e = eventCaller.currentEntity; Lockstep.instance.Hai(e.beat);}
|
|
|
|
},
|
|
|
|
new GameAction("ho", "Ho!")
|
|
|
|
{
|
|
|
|
function = delegate { var e = eventCaller.currentEntity; Lockstep.instance.Ho(e.beat); },
|
|
|
|
defaultLength = 1f,
|
|
|
|
inactiveFunction = delegate { var e = eventCaller.currentEntity; Lockstep.instance.Ho(e.beat);}
|
Playable lockstep + Mr. Upbeat fix! (Lockstep is missing recolorable switchsteppers, many of them, and bach portraits) (#227)
* Added sfx, sprites and folders neccesary. And also made an empty game object for working dough
* Started work on the background
* Implemented all unanimated sprites
* Added Init
* Added Prefabs
* Added Jumping and Idle Animatins for the Dough Dudes
* SmallFix
* Start Interval Event Implemented
* Added Audio and Small and Big Ball events
* Code Improvement + starting making the balls
* Added bezier curves
* Added First Rendition of Balls
* Added NPC Balls and starting doing small transporting animations
* SmallFixes
* SmallSoundChanges
* Implemented Audio and prefunction, not done with it though
* In process of fixing set interval
* Added more prefunction stuff and also started working on player input
* Tried adding player balls, not done, many bugs to fix
* Reverted trying to make the playerenterdoughball handle inputs, gonna do it through the main script instead
* Sat up input code for later
* Input works now! Need to add barely and wrong input animations and fix bugs
* Tiny fix
* Added first draft of wronginput animations
* Finished all input anims, trying to fix bugs
* Added finished Spaceship animations
* Added Mr Game and Watch WIP and lifting dough dudes
* Finished GANDW, fixed some bugs and still fixing bugs, almost done!
* DONE
* Begun development on tambourine
* Working Dough Polish
* Added many animations for tambourine
* Added Events
* Inputs added, near completion
* Miss Anims
* Animation changes
* DONE
* fix
* FIXED???
* FIXED FOR REAL
* Begun fixing lockstep, just needs small fixes and features
* Smol fix-ish
* Started work on mr upbeat
* MrUpbeat fixed, finishing up lockstep
* Added BG to lockstep
* Added bg colour change
* Done with my part
2023-01-23 22:48:05 +00:00
|
|
|
},
|
2023-03-27 02:26:01 +00:00
|
|
|
new GameAction("set colours", "Set Colours")
|
Playable lockstep + Mr. Upbeat fix! (Lockstep is missing recolorable switchsteppers, many of them, and bach portraits) (#227)
* Added sfx, sprites and folders neccesary. And also made an empty game object for working dough
* Started work on the background
* Implemented all unanimated sprites
* Added Init
* Added Prefabs
* Added Jumping and Idle Animatins for the Dough Dudes
* SmallFix
* Start Interval Event Implemented
* Added Audio and Small and Big Ball events
* Code Improvement + starting making the balls
* Added bezier curves
* Added First Rendition of Balls
* Added NPC Balls and starting doing small transporting animations
* SmallFixes
* SmallSoundChanges
* Implemented Audio and prefunction, not done with it though
* In process of fixing set interval
* Added more prefunction stuff and also started working on player input
* Tried adding player balls, not done, many bugs to fix
* Reverted trying to make the playerenterdoughball handle inputs, gonna do it through the main script instead
* Sat up input code for later
* Input works now! Need to add barely and wrong input animations and fix bugs
* Tiny fix
* Added first draft of wronginput animations
* Finished all input anims, trying to fix bugs
* Added finished Spaceship animations
* Added Mr Game and Watch WIP and lifting dough dudes
* Finished GANDW, fixed some bugs and still fixing bugs, almost done!
* DONE
* Begun development on tambourine
* Working Dough Polish
* Added many animations for tambourine
* Added Events
* Inputs added, near completion
* Miss Anims
* Animation changes
* DONE
* fix
* FIXED???
* FIXED FOR REAL
* Begun fixing lockstep, just needs small fixes and features
* Smol fix-ish
* Started work on mr upbeat
* MrUpbeat fixed, finishing up lockstep
* Added BG to lockstep
* Added bg colour change
* Done with my part
2023-01-23 22:48:05 +00:00
|
|
|
{
|
2023-03-27 02:26:01 +00:00
|
|
|
function = delegate {var e = eventCaller.currentEntity; Lockstep.instance.SetBackgroundColours(e["colorA"], e["colorB"], e["objColA"], e["objColB"], e["objColC"]); },
|
Playable lockstep + Mr. Upbeat fix! (Lockstep is missing recolorable switchsteppers, many of them, and bach portraits) (#227)
* Added sfx, sprites and folders neccesary. And also made an empty game object for working dough
* Started work on the background
* Implemented all unanimated sprites
* Added Init
* Added Prefabs
* Added Jumping and Idle Animatins for the Dough Dudes
* SmallFix
* Start Interval Event Implemented
* Added Audio and Small and Big Ball events
* Code Improvement + starting making the balls
* Added bezier curves
* Added First Rendition of Balls
* Added NPC Balls and starting doing small transporting animations
* SmallFixes
* SmallSoundChanges
* Implemented Audio and prefunction, not done with it though
* In process of fixing set interval
* Added more prefunction stuff and also started working on player input
* Tried adding player balls, not done, many bugs to fix
* Reverted trying to make the playerenterdoughball handle inputs, gonna do it through the main script instead
* Sat up input code for later
* Input works now! Need to add barely and wrong input animations and fix bugs
* Tiny fix
* Added first draft of wronginput animations
* Finished all input anims, trying to fix bugs
* Added finished Spaceship animations
* Added Mr Game and Watch WIP and lifting dough dudes
* Finished GANDW, fixed some bugs and still fixing bugs, almost done!
* DONE
* Begun development on tambourine
* Working Dough Polish
* Added many animations for tambourine
* Added Events
* Inputs added, near completion
* Miss Anims
* Animation changes
* DONE
* fix
* FIXED???
* FIXED FOR REAL
* Begun fixing lockstep, just needs small fixes and features
* Smol fix-ish
* Started work on mr upbeat
* MrUpbeat fixed, finishing up lockstep
* Added BG to lockstep
* Added bg colour change
* Done with my part
2023-01-23 22:48:05 +00:00
|
|
|
parameters = new List<Param>()
|
2023-01-17 04:29:05 +00:00
|
|
|
{
|
2023-03-27 02:26:01 +00:00
|
|
|
new Param("colorA", Lockstep.defaultBGColorOn, "Background Onbeat", "Select the color that appears for the onbeat."),
|
|
|
|
new Param("colorB", Lockstep.defaultBGColorOff, "Background Offbeat", "Select the color that appears for the offbeat."),
|
|
|
|
new Param("objColA", Lockstep.stepperOut, "Stepper Outline", "Select the color used for the outline of the stepswitchers."),
|
|
|
|
new Param("objColB", Lockstep.stepperDark, "Stepper Dark", "Select the color that appears for the dark side of the stepwitchers."),
|
|
|
|
new Param("objColC", Lockstep.stepperLight, "Stepper Light", "Select the color that appears for the light side of the stepwitchers."),
|
2023-01-17 04:29:05 +00:00
|
|
|
},
|
Playable lockstep + Mr. Upbeat fix! (Lockstep is missing recolorable switchsteppers, many of them, and bach portraits) (#227)
* Added sfx, sprites and folders neccesary. And also made an empty game object for working dough
* Started work on the background
* Implemented all unanimated sprites
* Added Init
* Added Prefabs
* Added Jumping and Idle Animatins for the Dough Dudes
* SmallFix
* Start Interval Event Implemented
* Added Audio and Small and Big Ball events
* Code Improvement + starting making the balls
* Added bezier curves
* Added First Rendition of Balls
* Added NPC Balls and starting doing small transporting animations
* SmallFixes
* SmallSoundChanges
* Implemented Audio and prefunction, not done with it though
* In process of fixing set interval
* Added more prefunction stuff and also started working on player input
* Tried adding player balls, not done, many bugs to fix
* Reverted trying to make the playerenterdoughball handle inputs, gonna do it through the main script instead
* Sat up input code for later
* Input works now! Need to add barely and wrong input animations and fix bugs
* Tiny fix
* Added first draft of wronginput animations
* Finished all input anims, trying to fix bugs
* Added finished Spaceship animations
* Added Mr Game and Watch WIP and lifting dough dudes
* Finished GANDW, fixed some bugs and still fixing bugs, almost done!
* DONE
* Begun development on tambourine
* Working Dough Polish
* Added many animations for tambourine
* Added Events
* Inputs added, near completion
* Miss Anims
* Animation changes
* DONE
* fix
* FIXED???
* FIXED FOR REAL
* Begun fixing lockstep, just needs small fixes and features
* Smol fix-ish
* Started work on mr upbeat
* MrUpbeat fixed, finishing up lockstep
* Added BG to lockstep
* Added bg colour change
* Done with my part
2023-01-23 22:48:05 +00:00
|
|
|
defaultLength = 0.5f,
|
|
|
|
}
|
2023-05-28 17:34:44 +00:00
|
|
|
},
|
|
|
|
new List<string>() {"ntr", "keep"},
|
|
|
|
"ntrbackbeat", "en",
|
|
|
|
new List<string>() {}
|
|
|
|
);
|
2023-01-17 04:29:05 +00:00
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
namespace HeavenStudio.Games
|
|
|
|
{
|
|
|
|
// using Scripts_Lockstep;
|
|
|
|
public class Lockstep : Minigame
|
|
|
|
{
|
Playable lockstep + Mr. Upbeat fix! (Lockstep is missing recolorable switchsteppers, many of them, and bach portraits) (#227)
* Added sfx, sprites and folders neccesary. And also made an empty game object for working dough
* Started work on the background
* Implemented all unanimated sprites
* Added Init
* Added Prefabs
* Added Jumping and Idle Animatins for the Dough Dudes
* SmallFix
* Start Interval Event Implemented
* Added Audio and Small and Big Ball events
* Code Improvement + starting making the balls
* Added bezier curves
* Added First Rendition of Balls
* Added NPC Balls and starting doing small transporting animations
* SmallFixes
* SmallSoundChanges
* Implemented Audio and prefunction, not done with it though
* In process of fixing set interval
* Added more prefunction stuff and also started working on player input
* Tried adding player balls, not done, many bugs to fix
* Reverted trying to make the playerenterdoughball handle inputs, gonna do it through the main script instead
* Sat up input code for later
* Input works now! Need to add barely and wrong input animations and fix bugs
* Tiny fix
* Added first draft of wronginput animations
* Finished all input anims, trying to fix bugs
* Added finished Spaceship animations
* Added Mr Game and Watch WIP and lifting dough dudes
* Finished GANDW, fixed some bugs and still fixing bugs, almost done!
* DONE
* Begun development on tambourine
* Working Dough Polish
* Added many animations for tambourine
* Added Events
* Inputs added, near completion
* Miss Anims
* Animation changes
* DONE
* fix
* FIXED???
* FIXED FOR REAL
* Begun fixing lockstep, just needs small fixes and features
* Smol fix-ish
* Started work on mr upbeat
* MrUpbeat fixed, finishing up lockstep
* Added BG to lockstep
* Added bg colour change
* Done with my part
2023-01-23 22:48:05 +00:00
|
|
|
private static Color _defaultBGColorOn;
|
|
|
|
public static Color defaultBGColorOn
|
|
|
|
{
|
|
|
|
get
|
|
|
|
{
|
|
|
|
ColorUtility.TryParseHtmlString("#f0338d", out _defaultBGColorOn);
|
|
|
|
return _defaultBGColorOn;
|
|
|
|
}
|
|
|
|
}
|
2023-01-17 04:29:05 +00:00
|
|
|
|
Playable lockstep + Mr. Upbeat fix! (Lockstep is missing recolorable switchsteppers, many of them, and bach portraits) (#227)
* Added sfx, sprites and folders neccesary. And also made an empty game object for working dough
* Started work on the background
* Implemented all unanimated sprites
* Added Init
* Added Prefabs
* Added Jumping and Idle Animatins for the Dough Dudes
* SmallFix
* Start Interval Event Implemented
* Added Audio and Small and Big Ball events
* Code Improvement + starting making the balls
* Added bezier curves
* Added First Rendition of Balls
* Added NPC Balls and starting doing small transporting animations
* SmallFixes
* SmallSoundChanges
* Implemented Audio and prefunction, not done with it though
* In process of fixing set interval
* Added more prefunction stuff and also started working on player input
* Tried adding player balls, not done, many bugs to fix
* Reverted trying to make the playerenterdoughball handle inputs, gonna do it through the main script instead
* Sat up input code for later
* Input works now! Need to add barely and wrong input animations and fix bugs
* Tiny fix
* Added first draft of wronginput animations
* Finished all input anims, trying to fix bugs
* Added finished Spaceship animations
* Added Mr Game and Watch WIP and lifting dough dudes
* Finished GANDW, fixed some bugs and still fixing bugs, almost done!
* DONE
* Begun development on tambourine
* Working Dough Polish
* Added many animations for tambourine
* Added Events
* Inputs added, near completion
* Miss Anims
* Animation changes
* DONE
* fix
* FIXED???
* FIXED FOR REAL
* Begun fixing lockstep, just needs small fixes and features
* Smol fix-ish
* Started work on mr upbeat
* MrUpbeat fixed, finishing up lockstep
* Added BG to lockstep
* Added bg colour change
* Done with my part
2023-01-23 22:48:05 +00:00
|
|
|
private static Color _defaultBGColorOff;
|
|
|
|
public static Color defaultBGColorOff
|
|
|
|
{
|
|
|
|
get
|
|
|
|
{
|
|
|
|
ColorUtility.TryParseHtmlString("#BC318B", out _defaultBGColorOff);
|
|
|
|
return _defaultBGColorOff;
|
|
|
|
}
|
|
|
|
}
|
2023-01-17 04:29:05 +00:00
|
|
|
|
2023-03-27 02:26:01 +00:00
|
|
|
private static Color _stepperDark;
|
|
|
|
public static Color stepperDark
|
|
|
|
{
|
|
|
|
get
|
|
|
|
{
|
|
|
|
ColorUtility.TryParseHtmlString("#737373", out _stepperDark);
|
|
|
|
return _stepperDark;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
private static Color _stepperLight;
|
|
|
|
public static Color stepperLight
|
|
|
|
{
|
|
|
|
get
|
|
|
|
{
|
|
|
|
ColorUtility.TryParseHtmlString("#FFFFFF", out _stepperLight);
|
|
|
|
return _stepperLight;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
private static Color _stepperOut;
|
|
|
|
public static Color stepperOut
|
|
|
|
{
|
|
|
|
get
|
|
|
|
{
|
|
|
|
ColorUtility.TryParseHtmlString("#9A2760", out _stepperOut);
|
|
|
|
return _stepperOut;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
Playable lockstep + Mr. Upbeat fix! (Lockstep is missing recolorable switchsteppers, many of them, and bach portraits) (#227)
* Added sfx, sprites and folders neccesary. And also made an empty game object for working dough
* Started work on the background
* Implemented all unanimated sprites
* Added Init
* Added Prefabs
* Added Jumping and Idle Animatins for the Dough Dudes
* SmallFix
* Start Interval Event Implemented
* Added Audio and Small and Big Ball events
* Code Improvement + starting making the balls
* Added bezier curves
* Added First Rendition of Balls
* Added NPC Balls and starting doing small transporting animations
* SmallFixes
* SmallSoundChanges
* Implemented Audio and prefunction, not done with it though
* In process of fixing set interval
* Added more prefunction stuff and also started working on player input
* Tried adding player balls, not done, many bugs to fix
* Reverted trying to make the playerenterdoughball handle inputs, gonna do it through the main script instead
* Sat up input code for later
* Input works now! Need to add barely and wrong input animations and fix bugs
* Tiny fix
* Added first draft of wronginput animations
* Finished all input anims, trying to fix bugs
* Added finished Spaceship animations
* Added Mr Game and Watch WIP and lifting dough dudes
* Finished GANDW, fixed some bugs and still fixing bugs, almost done!
* DONE
* Begun development on tambourine
* Working Dough Polish
* Added many animations for tambourine
* Added Events
* Inputs added, near completion
* Miss Anims
* Animation changes
* DONE
* fix
* FIXED???
* FIXED FOR REAL
* Begun fixing lockstep, just needs small fixes and features
* Smol fix-ish
* Started work on mr upbeat
* MrUpbeat fixed, finishing up lockstep
* Added BG to lockstep
* Added bg colour change
* Done with my part
2023-01-23 22:48:05 +00:00
|
|
|
public Color currentBGOnColor;
|
|
|
|
public Color currentBGOffColor;
|
2023-01-17 04:29:05 +00:00
|
|
|
|
Playable lockstep + Mr. Upbeat fix! (Lockstep is missing recolorable switchsteppers, many of them, and bach portraits) (#227)
* Added sfx, sprites and folders neccesary. And also made an empty game object for working dough
* Started work on the background
* Implemented all unanimated sprites
* Added Init
* Added Prefabs
* Added Jumping and Idle Animatins for the Dough Dudes
* SmallFix
* Start Interval Event Implemented
* Added Audio and Small and Big Ball events
* Code Improvement + starting making the balls
* Added bezier curves
* Added First Rendition of Balls
* Added NPC Balls and starting doing small transporting animations
* SmallFixes
* SmallSoundChanges
* Implemented Audio and prefunction, not done with it though
* In process of fixing set interval
* Added more prefunction stuff and also started working on player input
* Tried adding player balls, not done, many bugs to fix
* Reverted trying to make the playerenterdoughball handle inputs, gonna do it through the main script instead
* Sat up input code for later
* Input works now! Need to add barely and wrong input animations and fix bugs
* Tiny fix
* Added first draft of wronginput animations
* Finished all input anims, trying to fix bugs
* Added finished Spaceship animations
* Added Mr Game and Watch WIP and lifting dough dudes
* Finished GANDW, fixed some bugs and still fixing bugs, almost done!
* DONE
* Begun development on tambourine
* Working Dough Polish
* Added many animations for tambourine
* Added Events
* Inputs added, near completion
* Miss Anims
* Animation changes
* DONE
* fix
* FIXED???
* FIXED FOR REAL
* Begun fixing lockstep, just needs small fixes and features
* Smol fix-ish
* Started work on mr upbeat
* MrUpbeat fixed, finishing up lockstep
* Added BG to lockstep
* Added bg colour change
* Done with my part
2023-01-23 22:48:05 +00:00
|
|
|
[Header("Components")]
|
2023-03-27 02:26:01 +00:00
|
|
|
[SerializeField] Animator stepswitcherPlayer;
|
|
|
|
[SerializeField] Animator stepswitcherLeft;
|
|
|
|
[SerializeField] Animator stepswitcherRight;
|
|
|
|
|
|
|
|
// master stepper dictates what sprite the slave steppers use
|
|
|
|
[SerializeField] Animator masterStepperAnim;
|
|
|
|
[SerializeField] SpriteRenderer masterStepperSprite;
|
|
|
|
|
|
|
|
// slave steppers copy the sprite of the master stepper
|
|
|
|
[SerializeField] SpriteRenderer[] slaveSteppers;
|
|
|
|
|
|
|
|
// rendertextures update when the slave steppers change sprites
|
|
|
|
[SerializeField] CustomRenderTexture[] renderTextures;
|
2023-01-17 04:29:05 +00:00
|
|
|
|
2023-03-27 02:26:01 +00:00
|
|
|
[SerializeField] SpriteRenderer background;
|
|
|
|
[SerializeField] Material stepperMaterial;
|
2023-01-17 04:29:05 +00:00
|
|
|
|
|
|
|
[Header("Properties")]
|
Playable lockstep + Mr. Upbeat fix! (Lockstep is missing recolorable switchsteppers, many of them, and bach portraits) (#227)
* Added sfx, sprites and folders neccesary. And also made an empty game object for working dough
* Started work on the background
* Implemented all unanimated sprites
* Added Init
* Added Prefabs
* Added Jumping and Idle Animatins for the Dough Dudes
* SmallFix
* Start Interval Event Implemented
* Added Audio and Small and Big Ball events
* Code Improvement + starting making the balls
* Added bezier curves
* Added First Rendition of Balls
* Added NPC Balls and starting doing small transporting animations
* SmallFixes
* SmallSoundChanges
* Implemented Audio and prefunction, not done with it though
* In process of fixing set interval
* Added more prefunction stuff and also started working on player input
* Tried adding player balls, not done, many bugs to fix
* Reverted trying to make the playerenterdoughball handle inputs, gonna do it through the main script instead
* Sat up input code for later
* Input works now! Need to add barely and wrong input animations and fix bugs
* Tiny fix
* Added first draft of wronginput animations
* Finished all input anims, trying to fix bugs
* Added finished Spaceship animations
* Added Mr Game and Watch WIP and lifting dough dudes
* Finished GANDW, fixed some bugs and still fixing bugs, almost done!
* DONE
* Begun development on tambourine
* Working Dough Polish
* Added many animations for tambourine
* Added Events
* Inputs added, near completion
* Miss Anims
* Animation changes
* DONE
* fix
* FIXED???
* FIXED FOR REAL
* Begun fixing lockstep, just needs small fixes and features
* Smol fix-ish
* Started work on mr upbeat
* MrUpbeat fixed, finishing up lockstep
* Added BG to lockstep
* Added bg colour change
* Done with my part
2023-01-23 22:48:05 +00:00
|
|
|
static List<float> queuedInputs = new List<float>();
|
2023-03-27 02:26:01 +00:00
|
|
|
Sprite masterSprite;
|
Playable lockstep + Mr. Upbeat fix! (Lockstep is missing recolorable switchsteppers, many of them, and bach portraits) (#227)
* Added sfx, sprites and folders neccesary. And also made an empty game object for working dough
* Started work on the background
* Implemented all unanimated sprites
* Added Init
* Added Prefabs
* Added Jumping and Idle Animatins for the Dough Dudes
* SmallFix
* Start Interval Event Implemented
* Added Audio and Small and Big Ball events
* Code Improvement + starting making the balls
* Added bezier curves
* Added First Rendition of Balls
* Added NPC Balls and starting doing small transporting animations
* SmallFixes
* SmallSoundChanges
* Implemented Audio and prefunction, not done with it though
* In process of fixing set interval
* Added more prefunction stuff and also started working on player input
* Tried adding player balls, not done, many bugs to fix
* Reverted trying to make the playerenterdoughball handle inputs, gonna do it through the main script instead
* Sat up input code for later
* Input works now! Need to add barely and wrong input animations and fix bugs
* Tiny fix
* Added first draft of wronginput animations
* Finished all input anims, trying to fix bugs
* Added finished Spaceship animations
* Added Mr Game and Watch WIP and lifting dough dudes
* Finished GANDW, fixed some bugs and still fixing bugs, almost done!
* DONE
* Begun development on tambourine
* Working Dough Polish
* Added many animations for tambourine
* Added Events
* Inputs added, near completion
* Miss Anims
* Animation changes
* DONE
* fix
* FIXED???
* FIXED FOR REAL
* Begun fixing lockstep, just needs small fixes and features
* Smol fix-ish
* Started work on mr upbeat
* MrUpbeat fixed, finishing up lockstep
* Added BG to lockstep
* Added bg colour change
* Done with my part
2023-01-23 22:48:05 +00:00
|
|
|
HowMissed currentMissStage;
|
2023-03-27 02:26:01 +00:00
|
|
|
bool lessSteppers = false;
|
Playable lockstep + Mr. Upbeat fix! (Lockstep is missing recolorable switchsteppers, many of them, and bach portraits) (#227)
* Added sfx, sprites and folders neccesary. And also made an empty game object for working dough
* Started work on the background
* Implemented all unanimated sprites
* Added Init
* Added Prefabs
* Added Jumping and Idle Animatins for the Dough Dudes
* SmallFix
* Start Interval Event Implemented
* Added Audio and Small and Big Ball events
* Code Improvement + starting making the balls
* Added bezier curves
* Added First Rendition of Balls
* Added NPC Balls and starting doing small transporting animations
* SmallFixes
* SmallSoundChanges
* Implemented Audio and prefunction, not done with it though
* In process of fixing set interval
* Added more prefunction stuff and also started working on player input
* Tried adding player balls, not done, many bugs to fix
* Reverted trying to make the playerenterdoughball handle inputs, gonna do it through the main script instead
* Sat up input code for later
* Input works now! Need to add barely and wrong input animations and fix bugs
* Tiny fix
* Added first draft of wronginput animations
* Finished all input anims, trying to fix bugs
* Added finished Spaceship animations
* Added Mr Game and Watch WIP and lifting dough dudes
* Finished GANDW, fixed some bugs and still fixing bugs, almost done!
* DONE
* Begun development on tambourine
* Working Dough Polish
* Added many animations for tambourine
* Added Events
* Inputs added, near completion
* Miss Anims
* Animation changes
* DONE
* fix
* FIXED???
* FIXED FOR REAL
* Begun fixing lockstep, just needs small fixes and features
* Smol fix-ish
* Started work on mr upbeat
* MrUpbeat fixed, finishing up lockstep
* Added BG to lockstep
* Added bg colour change
* Done with my part
2023-01-23 22:48:05 +00:00
|
|
|
public enum HowMissed
|
|
|
|
{
|
|
|
|
NotMissed = 0,
|
|
|
|
MissedOff = 1,
|
|
|
|
MissedOn = 2
|
|
|
|
}
|
|
|
|
bool offColorActive;
|
2023-03-07 17:22:32 +00:00
|
|
|
bool goBop;
|
|
|
|
public GameEvent bop = new GameEvent();
|
2023-01-17 04:29:05 +00:00
|
|
|
|
Playable lockstep + Mr. Upbeat fix! (Lockstep is missing recolorable switchsteppers, many of them, and bach portraits) (#227)
* Added sfx, sprites and folders neccesary. And also made an empty game object for working dough
* Started work on the background
* Implemented all unanimated sprites
* Added Init
* Added Prefabs
* Added Jumping and Idle Animatins for the Dough Dudes
* SmallFix
* Start Interval Event Implemented
* Added Audio and Small and Big Ball events
* Code Improvement + starting making the balls
* Added bezier curves
* Added First Rendition of Balls
* Added NPC Balls and starting doing small transporting animations
* SmallFixes
* SmallSoundChanges
* Implemented Audio and prefunction, not done with it though
* In process of fixing set interval
* Added more prefunction stuff and also started working on player input
* Tried adding player balls, not done, many bugs to fix
* Reverted trying to make the playerenterdoughball handle inputs, gonna do it through the main script instead
* Sat up input code for later
* Input works now! Need to add barely and wrong input animations and fix bugs
* Tiny fix
* Added first draft of wronginput animations
* Finished all input anims, trying to fix bugs
* Added finished Spaceship animations
* Added Mr Game and Watch WIP and lifting dough dudes
* Finished GANDW, fixed some bugs and still fixing bugs, almost done!
* DONE
* Begun development on tambourine
* Working Dough Polish
* Added many animations for tambourine
* Added Events
* Inputs added, near completion
* Miss Anims
* Animation changes
* DONE
* fix
* FIXED???
* FIXED FOR REAL
* Begun fixing lockstep, just needs small fixes and features
* Smol fix-ish
* Started work on mr upbeat
* MrUpbeat fixed, finishing up lockstep
* Added BG to lockstep
* Added bg colour change
* Done with my part
2023-01-23 22:48:05 +00:00
|
|
|
public static Lockstep instance;
|
2023-01-17 04:29:05 +00:00
|
|
|
|
|
|
|
void Awake()
|
|
|
|
{
|
|
|
|
instance = this;
|
Playable lockstep + Mr. Upbeat fix! (Lockstep is missing recolorable switchsteppers, many of them, and bach portraits) (#227)
* Added sfx, sprites and folders neccesary. And also made an empty game object for working dough
* Started work on the background
* Implemented all unanimated sprites
* Added Init
* Added Prefabs
* Added Jumping and Idle Animatins for the Dough Dudes
* SmallFix
* Start Interval Event Implemented
* Added Audio and Small and Big Ball events
* Code Improvement + starting making the balls
* Added bezier curves
* Added First Rendition of Balls
* Added NPC Balls and starting doing small transporting animations
* SmallFixes
* SmallSoundChanges
* Implemented Audio and prefunction, not done with it though
* In process of fixing set interval
* Added more prefunction stuff and also started working on player input
* Tried adding player balls, not done, many bugs to fix
* Reverted trying to make the playerenterdoughball handle inputs, gonna do it through the main script instead
* Sat up input code for later
* Input works now! Need to add barely and wrong input animations and fix bugs
* Tiny fix
* Added first draft of wronginput animations
* Finished all input anims, trying to fix bugs
* Added finished Spaceship animations
* Added Mr Game and Watch WIP and lifting dough dudes
* Finished GANDW, fixed some bugs and still fixing bugs, almost done!
* DONE
* Begun development on tambourine
* Working Dough Polish
* Added many animations for tambourine
* Added Events
* Inputs added, near completion
* Miss Anims
* Animation changes
* DONE
* fix
* FIXED???
* FIXED FOR REAL
* Begun fixing lockstep, just needs small fixes and features
* Smol fix-ish
* Started work on mr upbeat
* MrUpbeat fixed, finishing up lockstep
* Added BG to lockstep
* Added bg colour change
* Done with my part
2023-01-23 22:48:05 +00:00
|
|
|
currentBGOnColor = defaultBGColorOn;
|
|
|
|
currentBGOffColor = defaultBGColorOff;
|
2023-01-17 04:29:05 +00:00
|
|
|
}
|
|
|
|
|
2023-03-27 02:26:01 +00:00
|
|
|
void Start() {
|
|
|
|
stepperMaterial.SetColor("_ColorAlpha", stepperOut);
|
|
|
|
stepperMaterial.SetColor("_ColorBravo", stepperDark);
|
|
|
|
stepperMaterial.SetColor("_ColorDelta", stepperLight);
|
|
|
|
|
|
|
|
masterSprite = masterStepperSprite.sprite;
|
|
|
|
stepswitcherLeft.gameObject.SetActive(lessSteppers);
|
|
|
|
stepswitcherRight.gameObject.SetActive(lessSteppers);
|
|
|
|
masterStepperAnim.gameObject.SetActive(!lessSteppers);
|
|
|
|
|
|
|
|
UpdateAndRenderSlaves();
|
|
|
|
}
|
|
|
|
|
Playable lockstep + Mr. Upbeat fix! (Lockstep is missing recolorable switchsteppers, many of them, and bach portraits) (#227)
* Added sfx, sprites and folders neccesary. And also made an empty game object for working dough
* Started work on the background
* Implemented all unanimated sprites
* Added Init
* Added Prefabs
* Added Jumping and Idle Animatins for the Dough Dudes
* SmallFix
* Start Interval Event Implemented
* Added Audio and Small and Big Ball events
* Code Improvement + starting making the balls
* Added bezier curves
* Added First Rendition of Balls
* Added NPC Balls and starting doing small transporting animations
* SmallFixes
* SmallSoundChanges
* Implemented Audio and prefunction, not done with it though
* In process of fixing set interval
* Added more prefunction stuff and also started working on player input
* Tried adding player balls, not done, many bugs to fix
* Reverted trying to make the playerenterdoughball handle inputs, gonna do it through the main script instead
* Sat up input code for later
* Input works now! Need to add barely and wrong input animations and fix bugs
* Tiny fix
* Added first draft of wronginput animations
* Finished all input anims, trying to fix bugs
* Added finished Spaceship animations
* Added Mr Game and Watch WIP and lifting dough dudes
* Finished GANDW, fixed some bugs and still fixing bugs, almost done!
* DONE
* Begun development on tambourine
* Working Dough Polish
* Added many animations for tambourine
* Added Events
* Inputs added, near completion
* Miss Anims
* Animation changes
* DONE
* fix
* FIXED???
* FIXED FOR REAL
* Begun fixing lockstep, just needs small fixes and features
* Smol fix-ish
* Started work on mr upbeat
* MrUpbeat fixed, finishing up lockstep
* Added BG to lockstep
* Added bg colour change
* Done with my part
2023-01-23 22:48:05 +00:00
|
|
|
void OnDestroy()
|
2023-01-17 04:29:05 +00:00
|
|
|
{
|
2023-02-15 21:40:20 +00:00
|
|
|
if (queuedInputs.Count > 0) queuedInputs.Clear();
|
Playable lockstep + Mr. Upbeat fix! (Lockstep is missing recolorable switchsteppers, many of them, and bach portraits) (#227)
* Added sfx, sprites and folders neccesary. And also made an empty game object for working dough
* Started work on the background
* Implemented all unanimated sprites
* Added Init
* Added Prefabs
* Added Jumping and Idle Animatins for the Dough Dudes
* SmallFix
* Start Interval Event Implemented
* Added Audio and Small and Big Ball events
* Code Improvement + starting making the balls
* Added bezier curves
* Added First Rendition of Balls
* Added NPC Balls and starting doing small transporting animations
* SmallFixes
* SmallSoundChanges
* Implemented Audio and prefunction, not done with it though
* In process of fixing set interval
* Added more prefunction stuff and also started working on player input
* Tried adding player balls, not done, many bugs to fix
* Reverted trying to make the playerenterdoughball handle inputs, gonna do it through the main script instead
* Sat up input code for later
* Input works now! Need to add barely and wrong input animations and fix bugs
* Tiny fix
* Added first draft of wronginput animations
* Finished all input anims, trying to fix bugs
* Added finished Spaceship animations
* Added Mr Game and Watch WIP and lifting dough dudes
* Finished GANDW, fixed some bugs and still fixing bugs, almost done!
* DONE
* Begun development on tambourine
* Working Dough Polish
* Added many animations for tambourine
* Added Events
* Inputs added, near completion
* Miss Anims
* Animation changes
* DONE
* fix
* FIXED???
* FIXED FOR REAL
* Begun fixing lockstep, just needs small fixes and features
* Smol fix-ish
* Started work on mr upbeat
* MrUpbeat fixed, finishing up lockstep
* Added BG to lockstep
* Added bg colour change
* Done with my part
2023-01-23 22:48:05 +00:00
|
|
|
}
|
2023-01-17 04:29:05 +00:00
|
|
|
|
2023-03-27 02:26:01 +00:00
|
|
|
void UpdateAndRenderSlaves()
|
|
|
|
{
|
|
|
|
foreach (var stepper in slaveSteppers)
|
|
|
|
{
|
|
|
|
stepper.sprite = masterSprite;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
void PlayStepperAnim(string animName, bool player, float timescale = 1f, float startpos = 0f, int layer = -1)
|
|
|
|
{
|
|
|
|
if (player) stepswitcherPlayer.DoScaledAnimationAsync(animName, timescale, startpos, layer);
|
|
|
|
if (lessSteppers)
|
|
|
|
{
|
|
|
|
stepswitcherLeft.DoScaledAnimationAsync(animName, timescale, startpos, layer);
|
|
|
|
stepswitcherRight.DoScaledAnimationAsync(animName, timescale, startpos, layer);
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
masterStepperAnim.DoScaledAnimationAsync(animName, timescale, startpos, layer);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
Playable lockstep + Mr. Upbeat fix! (Lockstep is missing recolorable switchsteppers, many of them, and bach portraits) (#227)
* Added sfx, sprites and folders neccesary. And also made an empty game object for working dough
* Started work on the background
* Implemented all unanimated sprites
* Added Init
* Added Prefabs
* Added Jumping and Idle Animatins for the Dough Dudes
* SmallFix
* Start Interval Event Implemented
* Added Audio and Small and Big Ball events
* Code Improvement + starting making the balls
* Added bezier curves
* Added First Rendition of Balls
* Added NPC Balls and starting doing small transporting animations
* SmallFixes
* SmallSoundChanges
* Implemented Audio and prefunction, not done with it though
* In process of fixing set interval
* Added more prefunction stuff and also started working on player input
* Tried adding player balls, not done, many bugs to fix
* Reverted trying to make the playerenterdoughball handle inputs, gonna do it through the main script instead
* Sat up input code for later
* Input works now! Need to add barely and wrong input animations and fix bugs
* Tiny fix
* Added first draft of wronginput animations
* Finished all input anims, trying to fix bugs
* Added finished Spaceship animations
* Added Mr Game and Watch WIP and lifting dough dudes
* Finished GANDW, fixed some bugs and still fixing bugs, almost done!
* DONE
* Begun development on tambourine
* Working Dough Polish
* Added many animations for tambourine
* Added Events
* Inputs added, near completion
* Miss Anims
* Animation changes
* DONE
* fix
* FIXED???
* FIXED FOR REAL
* Begun fixing lockstep, just needs small fixes and features
* Smol fix-ish
* Started work on mr upbeat
* MrUpbeat fixed, finishing up lockstep
* Added BG to lockstep
* Added bg colour change
* Done with my part
2023-01-23 22:48:05 +00:00
|
|
|
public void Update()
|
|
|
|
{
|
2023-01-17 04:29:05 +00:00
|
|
|
var cond = Conductor.instance;
|
Playable lockstep + Mr. Upbeat fix! (Lockstep is missing recolorable switchsteppers, many of them, and bach portraits) (#227)
* Added sfx, sprites and folders neccesary. And also made an empty game object for working dough
* Started work on the background
* Implemented all unanimated sprites
* Added Init
* Added Prefabs
* Added Jumping and Idle Animatins for the Dough Dudes
* SmallFix
* Start Interval Event Implemented
* Added Audio and Small and Big Ball events
* Code Improvement + starting making the balls
* Added bezier curves
* Added First Rendition of Balls
* Added NPC Balls and starting doing small transporting animations
* SmallFixes
* SmallSoundChanges
* Implemented Audio and prefunction, not done with it though
* In process of fixing set interval
* Added more prefunction stuff and also started working on player input
* Tried adding player balls, not done, many bugs to fix
* Reverted trying to make the playerenterdoughball handle inputs, gonna do it through the main script instead
* Sat up input code for later
* Input works now! Need to add barely and wrong input animations and fix bugs
* Tiny fix
* Added first draft of wronginput animations
* Finished all input anims, trying to fix bugs
* Added finished Spaceship animations
* Added Mr Game and Watch WIP and lifting dough dudes
* Finished GANDW, fixed some bugs and still fixing bugs, almost done!
* DONE
* Begun development on tambourine
* Working Dough Polish
* Added many animations for tambourine
* Added Events
* Inputs added, near completion
* Miss Anims
* Animation changes
* DONE
* fix
* FIXED???
* FIXED FOR REAL
* Begun fixing lockstep, just needs small fixes and features
* Smol fix-ish
* Started work on mr upbeat
* MrUpbeat fixed, finishing up lockstep
* Added BG to lockstep
* Added bg colour change
* Done with my part
2023-01-23 22:48:05 +00:00
|
|
|
if (cond.isPlaying && !cond.isPaused)
|
2023-01-17 04:29:05 +00:00
|
|
|
{
|
2023-03-07 17:22:32 +00:00
|
|
|
if (cond.ReportBeat(ref bop.lastReportedBeat, bop.startBeat % 1))
|
|
|
|
{
|
|
|
|
if (goBop)
|
|
|
|
{
|
2023-03-27 02:26:01 +00:00
|
|
|
PlayStepperAnim("Bop", true, 0.5f);
|
2023-03-07 17:22:32 +00:00
|
|
|
}
|
|
|
|
}
|
Playable lockstep + Mr. Upbeat fix! (Lockstep is missing recolorable switchsteppers, many of them, and bach portraits) (#227)
* Added sfx, sprites and folders neccesary. And also made an empty game object for working dough
* Started work on the background
* Implemented all unanimated sprites
* Added Init
* Added Prefabs
* Added Jumping and Idle Animatins for the Dough Dudes
* SmallFix
* Start Interval Event Implemented
* Added Audio and Small and Big Ball events
* Code Improvement + starting making the balls
* Added bezier curves
* Added First Rendition of Balls
* Added NPC Balls and starting doing small transporting animations
* SmallFixes
* SmallSoundChanges
* Implemented Audio and prefunction, not done with it though
* In process of fixing set interval
* Added more prefunction stuff and also started working on player input
* Tried adding player balls, not done, many bugs to fix
* Reverted trying to make the playerenterdoughball handle inputs, gonna do it through the main script instead
* Sat up input code for later
* Input works now! Need to add barely and wrong input animations and fix bugs
* Tiny fix
* Added first draft of wronginput animations
* Finished all input anims, trying to fix bugs
* Added finished Spaceship animations
* Added Mr Game and Watch WIP and lifting dough dudes
* Finished GANDW, fixed some bugs and still fixing bugs, almost done!
* DONE
* Begun development on tambourine
* Working Dough Polish
* Added many animations for tambourine
* Added Events
* Inputs added, near completion
* Miss Anims
* Animation changes
* DONE
* fix
* FIXED???
* FIXED FOR REAL
* Begun fixing lockstep, just needs small fixes and features
* Smol fix-ish
* Started work on mr upbeat
* MrUpbeat fixed, finishing up lockstep
* Added BG to lockstep
* Added bg colour change
* Done with my part
2023-01-23 22:48:05 +00:00
|
|
|
if (queuedInputs.Count > 0)
|
2023-01-17 04:29:05 +00:00
|
|
|
{
|
Playable lockstep + Mr. Upbeat fix! (Lockstep is missing recolorable switchsteppers, many of them, and bach portraits) (#227)
* Added sfx, sprites and folders neccesary. And also made an empty game object for working dough
* Started work on the background
* Implemented all unanimated sprites
* Added Init
* Added Prefabs
* Added Jumping and Idle Animatins for the Dough Dudes
* SmallFix
* Start Interval Event Implemented
* Added Audio and Small and Big Ball events
* Code Improvement + starting making the balls
* Added bezier curves
* Added First Rendition of Balls
* Added NPC Balls and starting doing small transporting animations
* SmallFixes
* SmallSoundChanges
* Implemented Audio and prefunction, not done with it though
* In process of fixing set interval
* Added more prefunction stuff and also started working on player input
* Tried adding player balls, not done, many bugs to fix
* Reverted trying to make the playerenterdoughball handle inputs, gonna do it through the main script instead
* Sat up input code for later
* Input works now! Need to add barely and wrong input animations and fix bugs
* Tiny fix
* Added first draft of wronginput animations
* Finished all input anims, trying to fix bugs
* Added finished Spaceship animations
* Added Mr Game and Watch WIP and lifting dough dudes
* Finished GANDW, fixed some bugs and still fixing bugs, almost done!
* DONE
* Begun development on tambourine
* Working Dough Polish
* Added many animations for tambourine
* Added Events
* Inputs added, near completion
* Miss Anims
* Animation changes
* DONE
* fix
* FIXED???
* FIXED FOR REAL
* Begun fixing lockstep, just needs small fixes and features
* Smol fix-ish
* Started work on mr upbeat
* MrUpbeat fixed, finishing up lockstep
* Added BG to lockstep
* Added bg colour change
* Done with my part
2023-01-23 22:48:05 +00:00
|
|
|
foreach (var input in queuedInputs)
|
|
|
|
{
|
|
|
|
ScheduleInput(cond.songPositionInBeats, input - cond.songPositionInBeats, InputType.STANDARD_DOWN, Just, Miss, Nothing);
|
|
|
|
BeatAction.New(instance.gameObject, new List<BeatAction.Action>()
|
|
|
|
{
|
|
|
|
new BeatAction.Action(input, delegate { EvaluateMarch(); }),
|
|
|
|
});
|
|
|
|
}
|
|
|
|
queuedInputs.Clear();
|
|
|
|
}
|
|
|
|
if (PlayerInput.Pressed() && !IsExpectingInputNow(InputType.STANDARD_DOWN))
|
|
|
|
{
|
|
|
|
currentMissStage = HowMissed.NotMissed;
|
2023-03-27 02:26:01 +00:00
|
|
|
double beatAnimCheck = cond.songPositionInBeatsAsDouble - 0.25;
|
|
|
|
if (beatAnimCheck % 1.0 >= 0.5)
|
|
|
|
{
|
|
|
|
stepswitcherPlayer.DoScaledAnimationAsync("OnbeatMarch", 0.5f);
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
stepswitcherPlayer.DoScaledAnimationAsync("OffbeatMarch", 0.5f);
|
|
|
|
}
|
Playable lockstep + Mr. Upbeat fix! (Lockstep is missing recolorable switchsteppers, many of them, and bach portraits) (#227)
* Added sfx, sprites and folders neccesary. And also made an empty game object for working dough
* Started work on the background
* Implemented all unanimated sprites
* Added Init
* Added Prefabs
* Added Jumping and Idle Animatins for the Dough Dudes
* SmallFix
* Start Interval Event Implemented
* Added Audio and Small and Big Ball events
* Code Improvement + starting making the balls
* Added bezier curves
* Added First Rendition of Balls
* Added NPC Balls and starting doing small transporting animations
* SmallFixes
* SmallSoundChanges
* Implemented Audio and prefunction, not done with it though
* In process of fixing set interval
* Added more prefunction stuff and also started working on player input
* Tried adding player balls, not done, many bugs to fix
* Reverted trying to make the playerenterdoughball handle inputs, gonna do it through the main script instead
* Sat up input code for later
* Input works now! Need to add barely and wrong input animations and fix bugs
* Tiny fix
* Added first draft of wronginput animations
* Finished all input anims, trying to fix bugs
* Added finished Spaceship animations
* Added Mr Game and Watch WIP and lifting dough dudes
* Finished GANDW, fixed some bugs and still fixing bugs, almost done!
* DONE
* Begun development on tambourine
* Working Dough Polish
* Added many animations for tambourine
* Added Events
* Inputs added, near completion
* Miss Anims
* Animation changes
* DONE
* fix
* FIXED???
* FIXED FOR REAL
* Begun fixing lockstep, just needs small fixes and features
* Smol fix-ish
* Started work on mr upbeat
* MrUpbeat fixed, finishing up lockstep
* Added BG to lockstep
* Added bg colour change
* Done with my part
2023-01-23 22:48:05 +00:00
|
|
|
Jukebox.PlayOneShotGame("lockstep/miss");
|
2023-01-25 03:54:19 +00:00
|
|
|
ScoreMiss();
|
2023-01-17 04:29:05 +00:00
|
|
|
}
|
|
|
|
}
|
2023-03-27 02:26:01 +00:00
|
|
|
if (masterSprite != masterStepperSprite.sprite)
|
|
|
|
{
|
|
|
|
masterSprite = masterStepperSprite.sprite;
|
|
|
|
UpdateAndRenderSlaves();
|
|
|
|
}
|
2023-01-17 04:29:05 +00:00
|
|
|
}
|
|
|
|
|
2023-03-07 17:22:32 +00:00
|
|
|
public void Bop(float beat, float length, bool shouldBop, bool autoBop)
|
2023-01-17 04:29:05 +00:00
|
|
|
{
|
2023-03-07 17:22:32 +00:00
|
|
|
goBop = autoBop;
|
|
|
|
if (shouldBop)
|
2023-01-17 04:29:05 +00:00
|
|
|
{
|
2023-03-07 17:22:32 +00:00
|
|
|
for (int i = 0; i < length; i++)
|
|
|
|
{
|
|
|
|
BeatAction.New(instance.gameObject, new List<BeatAction.Action>()
|
|
|
|
{
|
|
|
|
new BeatAction.Action(beat + i, delegate
|
|
|
|
{
|
2023-03-27 02:26:01 +00:00
|
|
|
PlayStepperAnim("Bop", true, 0.5f);
|
2023-03-07 17:22:32 +00:00
|
|
|
})
|
|
|
|
});
|
|
|
|
}
|
2023-01-17 04:29:05 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
public void Hai(float beat)
|
|
|
|
{
|
|
|
|
Jukebox.PlayOneShotGame("lockstep/switch1");
|
|
|
|
}
|
|
|
|
|
2023-01-24 19:31:59 +00:00
|
|
|
public void Ho(float beat)
|
|
|
|
{
|
|
|
|
Jukebox.PlayOneShotGame("lockstep/switch4");
|
|
|
|
}
|
|
|
|
|
Playable lockstep + Mr. Upbeat fix! (Lockstep is missing recolorable switchsteppers, many of them, and bach portraits) (#227)
* Added sfx, sprites and folders neccesary. And also made an empty game object for working dough
* Started work on the background
* Implemented all unanimated sprites
* Added Init
* Added Prefabs
* Added Jumping and Idle Animatins for the Dough Dudes
* SmallFix
* Start Interval Event Implemented
* Added Audio and Small and Big Ball events
* Code Improvement + starting making the balls
* Added bezier curves
* Added First Rendition of Balls
* Added NPC Balls and starting doing small transporting animations
* SmallFixes
* SmallSoundChanges
* Implemented Audio and prefunction, not done with it though
* In process of fixing set interval
* Added more prefunction stuff and also started working on player input
* Tried adding player balls, not done, many bugs to fix
* Reverted trying to make the playerenterdoughball handle inputs, gonna do it through the main script instead
* Sat up input code for later
* Input works now! Need to add barely and wrong input animations and fix bugs
* Tiny fix
* Added first draft of wronginput animations
* Finished all input anims, trying to fix bugs
* Added finished Spaceship animations
* Added Mr Game and Watch WIP and lifting dough dudes
* Finished GANDW, fixed some bugs and still fixing bugs, almost done!
* DONE
* Begun development on tambourine
* Working Dough Polish
* Added many animations for tambourine
* Added Events
* Inputs added, near completion
* Miss Anims
* Animation changes
* DONE
* fix
* FIXED???
* FIXED FOR REAL
* Begun fixing lockstep, just needs small fixes and features
* Smol fix-ish
* Started work on mr upbeat
* MrUpbeat fixed, finishing up lockstep
* Added BG to lockstep
* Added bg colour change
* Done with my part
2023-01-23 22:48:05 +00:00
|
|
|
public static void OnbeatSwitch(float beat)
|
2023-01-17 04:29:05 +00:00
|
|
|
{
|
Playable lockstep + Mr. Upbeat fix! (Lockstep is missing recolorable switchsteppers, many of them, and bach portraits) (#227)
* Added sfx, sprites and folders neccesary. And also made an empty game object for working dough
* Started work on the background
* Implemented all unanimated sprites
* Added Init
* Added Prefabs
* Added Jumping and Idle Animatins for the Dough Dudes
* SmallFix
* Start Interval Event Implemented
* Added Audio and Small and Big Ball events
* Code Improvement + starting making the balls
* Added bezier curves
* Added First Rendition of Balls
* Added NPC Balls and starting doing small transporting animations
* SmallFixes
* SmallSoundChanges
* Implemented Audio and prefunction, not done with it though
* In process of fixing set interval
* Added more prefunction stuff and also started working on player input
* Tried adding player balls, not done, many bugs to fix
* Reverted trying to make the playerenterdoughball handle inputs, gonna do it through the main script instead
* Sat up input code for later
* Input works now! Need to add barely and wrong input animations and fix bugs
* Tiny fix
* Added first draft of wronginput animations
* Finished all input anims, trying to fix bugs
* Added finished Spaceship animations
* Added Mr Game and Watch WIP and lifting dough dudes
* Finished GANDW, fixed some bugs and still fixing bugs, almost done!
* DONE
* Begun development on tambourine
* Working Dough Polish
* Added many animations for tambourine
* Added Events
* Inputs added, near completion
* Miss Anims
* Animation changes
* DONE
* fix
* FIXED???
* FIXED FOR REAL
* Begun fixing lockstep, just needs small fixes and features
* Smol fix-ish
* Started work on mr upbeat
* MrUpbeat fixed, finishing up lockstep
* Added BG to lockstep
* Added bg colour change
* Done with my part
2023-01-23 22:48:05 +00:00
|
|
|
MultiSound.Play(new MultiSound.Sound[]
|
|
|
|
{
|
|
|
|
new MultiSound.Sound("lockstep/switch5", beat),
|
|
|
|
new MultiSound.Sound("lockstep/switch6", beat + 0.5f),
|
|
|
|
new MultiSound.Sound("lockstep/switch5", beat + 1f),
|
|
|
|
new MultiSound.Sound("lockstep/switch6", beat + 1.5f)
|
|
|
|
}, forcePlay: true);
|
2023-01-17 04:29:05 +00:00
|
|
|
|
|
|
|
BeatAction.New(instance.gameObject, new List<BeatAction.Action>()
|
Playable lockstep + Mr. Upbeat fix! (Lockstep is missing recolorable switchsteppers, many of them, and bach portraits) (#227)
* Added sfx, sprites and folders neccesary. And also made an empty game object for working dough
* Started work on the background
* Implemented all unanimated sprites
* Added Init
* Added Prefabs
* Added Jumping and Idle Animatins for the Dough Dudes
* SmallFix
* Start Interval Event Implemented
* Added Audio and Small and Big Ball events
* Code Improvement + starting making the balls
* Added bezier curves
* Added First Rendition of Balls
* Added NPC Balls and starting doing small transporting animations
* SmallFixes
* SmallSoundChanges
* Implemented Audio and prefunction, not done with it though
* In process of fixing set interval
* Added more prefunction stuff and also started working on player input
* Tried adding player balls, not done, many bugs to fix
* Reverted trying to make the playerenterdoughball handle inputs, gonna do it through the main script instead
* Sat up input code for later
* Input works now! Need to add barely and wrong input animations and fix bugs
* Tiny fix
* Added first draft of wronginput animations
* Finished all input anims, trying to fix bugs
* Added finished Spaceship animations
* Added Mr Game and Watch WIP and lifting dough dudes
* Finished GANDW, fixed some bugs and still fixing bugs, almost done!
* DONE
* Begun development on tambourine
* Working Dough Polish
* Added many animations for tambourine
* Added Events
* Inputs added, near completion
* Miss Anims
* Animation changes
* DONE
* fix
* FIXED???
* FIXED FOR REAL
* Begun fixing lockstep, just needs small fixes and features
* Smol fix-ish
* Started work on mr upbeat
* MrUpbeat fixed, finishing up lockstep
* Added BG to lockstep
* Added bg colour change
* Done with my part
2023-01-23 22:48:05 +00:00
|
|
|
{
|
|
|
|
new BeatAction.Action(beat, delegate { if (GameManager.instance.currentGame == "lockstep") Lockstep.instance.ChangeBeatBackGroundColour(false); }),
|
|
|
|
new BeatAction.Action(beat + 0.5f, delegate { if (GameManager.instance.currentGame == "lockstep") Lockstep.instance.ChangeBeatBackGroundColour(true); }),
|
|
|
|
new BeatAction.Action(beat + 1f, delegate { if (GameManager.instance.currentGame == "lockstep") Lockstep.instance.ChangeBeatBackGroundColour(false); }),
|
|
|
|
new BeatAction.Action(beat + 1.5f, delegate { if (GameManager.instance.currentGame == "lockstep") Lockstep.instance.ChangeBeatBackGroundColour(true); }),
|
|
|
|
new BeatAction.Action(beat + 2f, delegate { if (GameManager.instance.currentGame == "lockstep") Lockstep.instance.ChangeBeatBackGroundColour(false); }),
|
|
|
|
});
|
2023-01-17 04:29:05 +00:00
|
|
|
}
|
|
|
|
|
Playable lockstep + Mr. Upbeat fix! (Lockstep is missing recolorable switchsteppers, many of them, and bach portraits) (#227)
* Added sfx, sprites and folders neccesary. And also made an empty game object for working dough
* Started work on the background
* Implemented all unanimated sprites
* Added Init
* Added Prefabs
* Added Jumping and Idle Animatins for the Dough Dudes
* SmallFix
* Start Interval Event Implemented
* Added Audio and Small and Big Ball events
* Code Improvement + starting making the balls
* Added bezier curves
* Added First Rendition of Balls
* Added NPC Balls and starting doing small transporting animations
* SmallFixes
* SmallSoundChanges
* Implemented Audio and prefunction, not done with it though
* In process of fixing set interval
* Added more prefunction stuff and also started working on player input
* Tried adding player balls, not done, many bugs to fix
* Reverted trying to make the playerenterdoughball handle inputs, gonna do it through the main script instead
* Sat up input code for later
* Input works now! Need to add barely and wrong input animations and fix bugs
* Tiny fix
* Added first draft of wronginput animations
* Finished all input anims, trying to fix bugs
* Added finished Spaceship animations
* Added Mr Game and Watch WIP and lifting dough dudes
* Finished GANDW, fixed some bugs and still fixing bugs, almost done!
* DONE
* Begun development on tambourine
* Working Dough Polish
* Added many animations for tambourine
* Added Events
* Inputs added, near completion
* Miss Anims
* Animation changes
* DONE
* fix
* FIXED???
* FIXED FOR REAL
* Begun fixing lockstep, just needs small fixes and features
* Smol fix-ish
* Started work on mr upbeat
* MrUpbeat fixed, finishing up lockstep
* Added BG to lockstep
* Added bg colour change
* Done with my part
2023-01-23 22:48:05 +00:00
|
|
|
public static void OffbeatSwitch(float beat)
|
2023-01-17 04:29:05 +00:00
|
|
|
{
|
|
|
|
MultiSound.Play(new MultiSound.Sound[]
|
Playable lockstep + Mr. Upbeat fix! (Lockstep is missing recolorable switchsteppers, many of them, and bach portraits) (#227)
* Added sfx, sprites and folders neccesary. And also made an empty game object for working dough
* Started work on the background
* Implemented all unanimated sprites
* Added Init
* Added Prefabs
* Added Jumping and Idle Animatins for the Dough Dudes
* SmallFix
* Start Interval Event Implemented
* Added Audio and Small and Big Ball events
* Code Improvement + starting making the balls
* Added bezier curves
* Added First Rendition of Balls
* Added NPC Balls and starting doing small transporting animations
* SmallFixes
* SmallSoundChanges
* Implemented Audio and prefunction, not done with it though
* In process of fixing set interval
* Added more prefunction stuff and also started working on player input
* Tried adding player balls, not done, many bugs to fix
* Reverted trying to make the playerenterdoughball handle inputs, gonna do it through the main script instead
* Sat up input code for later
* Input works now! Need to add barely and wrong input animations and fix bugs
* Tiny fix
* Added first draft of wronginput animations
* Finished all input anims, trying to fix bugs
* Added finished Spaceship animations
* Added Mr Game and Watch WIP and lifting dough dudes
* Finished GANDW, fixed some bugs and still fixing bugs, almost done!
* DONE
* Begun development on tambourine
* Working Dough Polish
* Added many animations for tambourine
* Added Events
* Inputs added, near completion
* Miss Anims
* Animation changes
* DONE
* fix
* FIXED???
* FIXED FOR REAL
* Begun fixing lockstep, just needs small fixes and features
* Smol fix-ish
* Started work on mr upbeat
* MrUpbeat fixed, finishing up lockstep
* Added BG to lockstep
* Added bg colour change
* Done with my part
2023-01-23 22:48:05 +00:00
|
|
|
{
|
2023-01-17 04:29:05 +00:00
|
|
|
new MultiSound.Sound("lockstep/switch1", beat),
|
|
|
|
new MultiSound.Sound("lockstep/switch1", beat + 1f),
|
|
|
|
new MultiSound.Sound("lockstep/switch1", beat + 2f),
|
|
|
|
new MultiSound.Sound("lockstep/switch2", beat + 3f),
|
|
|
|
new MultiSound.Sound("lockstep/switch3", beat + 3.5f),
|
Playable lockstep + Mr. Upbeat fix! (Lockstep is missing recolorable switchsteppers, many of them, and bach portraits) (#227)
* Added sfx, sprites and folders neccesary. And also made an empty game object for working dough
* Started work on the background
* Implemented all unanimated sprites
* Added Init
* Added Prefabs
* Added Jumping and Idle Animatins for the Dough Dudes
* SmallFix
* Start Interval Event Implemented
* Added Audio and Small and Big Ball events
* Code Improvement + starting making the balls
* Added bezier curves
* Added First Rendition of Balls
* Added NPC Balls and starting doing small transporting animations
* SmallFixes
* SmallSoundChanges
* Implemented Audio and prefunction, not done with it though
* In process of fixing set interval
* Added more prefunction stuff and also started working on player input
* Tried adding player balls, not done, many bugs to fix
* Reverted trying to make the playerenterdoughball handle inputs, gonna do it through the main script instead
* Sat up input code for later
* Input works now! Need to add barely and wrong input animations and fix bugs
* Tiny fix
* Added first draft of wronginput animations
* Finished all input anims, trying to fix bugs
* Added finished Spaceship animations
* Added Mr Game and Watch WIP and lifting dough dudes
* Finished GANDW, fixed some bugs and still fixing bugs, almost done!
* DONE
* Begun development on tambourine
* Working Dough Polish
* Added many animations for tambourine
* Added Events
* Inputs added, near completion
* Miss Anims
* Animation changes
* DONE
* fix
* FIXED???
* FIXED FOR REAL
* Begun fixing lockstep, just needs small fixes and features
* Smol fix-ish
* Started work on mr upbeat
* MrUpbeat fixed, finishing up lockstep
* Added BG to lockstep
* Added bg colour change
* Done with my part
2023-01-23 22:48:05 +00:00
|
|
|
}, forcePlay: true);
|
|
|
|
|
|
|
|
BeatAction.New(instance.gameObject, new List<BeatAction.Action>()
|
|
|
|
{
|
|
|
|
new BeatAction.Action(beat, delegate { if (GameManager.instance.currentGame == "lockstep") Lockstep.instance.ChangeBeatBackGroundColour(true); }),
|
|
|
|
new BeatAction.Action(beat + 1f, delegate { if (GameManager.instance.currentGame == "lockstep") Lockstep.instance.ChangeBeatBackGroundColour(false); }),
|
|
|
|
new BeatAction.Action(beat + 2f, delegate { if (GameManager.instance.currentGame == "lockstep") Lockstep.instance.ChangeBeatBackGroundColour(true); }),
|
|
|
|
new BeatAction.Action(beat + 3f, delegate { if (GameManager.instance.currentGame == "lockstep") Lockstep.instance.ChangeBeatBackGroundColour(false); }),
|
|
|
|
new BeatAction.Action(beat + 3.5f, delegate { if (GameManager.instance.currentGame == "lockstep") Lockstep.instance.ChangeBeatBackGroundColour(true); }),
|
|
|
|
});
|
2023-01-17 04:29:05 +00:00
|
|
|
}
|
|
|
|
|
Playable lockstep + Mr. Upbeat fix! (Lockstep is missing recolorable switchsteppers, many of them, and bach portraits) (#227)
* Added sfx, sprites and folders neccesary. And also made an empty game object for working dough
* Started work on the background
* Implemented all unanimated sprites
* Added Init
* Added Prefabs
* Added Jumping and Idle Animatins for the Dough Dudes
* SmallFix
* Start Interval Event Implemented
* Added Audio and Small and Big Ball events
* Code Improvement + starting making the balls
* Added bezier curves
* Added First Rendition of Balls
* Added NPC Balls and starting doing small transporting animations
* SmallFixes
* SmallSoundChanges
* Implemented Audio and prefunction, not done with it though
* In process of fixing set interval
* Added more prefunction stuff and also started working on player input
* Tried adding player balls, not done, many bugs to fix
* Reverted trying to make the playerenterdoughball handle inputs, gonna do it through the main script instead
* Sat up input code for later
* Input works now! Need to add barely and wrong input animations and fix bugs
* Tiny fix
* Added first draft of wronginput animations
* Finished all input anims, trying to fix bugs
* Added finished Spaceship animations
* Added Mr Game and Watch WIP and lifting dough dudes
* Finished GANDW, fixed some bugs and still fixing bugs, almost done!
* DONE
* Begun development on tambourine
* Working Dough Polish
* Added many animations for tambourine
* Added Events
* Inputs added, near completion
* Miss Anims
* Animation changes
* DONE
* fix
* FIXED???
* FIXED FOR REAL
* Begun fixing lockstep, just needs small fixes and features
* Smol fix-ish
* Started work on mr upbeat
* MrUpbeat fixed, finishing up lockstep
* Added BG to lockstep
* Added bg colour change
* Done with my part
2023-01-23 22:48:05 +00:00
|
|
|
public static void Marching(float beat, float length)
|
2023-01-17 04:29:05 +00:00
|
|
|
{
|
Playable lockstep + Mr. Upbeat fix! (Lockstep is missing recolorable switchsteppers, many of them, and bach portraits) (#227)
* Added sfx, sprites and folders neccesary. And also made an empty game object for working dough
* Started work on the background
* Implemented all unanimated sprites
* Added Init
* Added Prefabs
* Added Jumping and Idle Animatins for the Dough Dudes
* SmallFix
* Start Interval Event Implemented
* Added Audio and Small and Big Ball events
* Code Improvement + starting making the balls
* Added bezier curves
* Added First Rendition of Balls
* Added NPC Balls and starting doing small transporting animations
* SmallFixes
* SmallSoundChanges
* Implemented Audio and prefunction, not done with it though
* In process of fixing set interval
* Added more prefunction stuff and also started working on player input
* Tried adding player balls, not done, many bugs to fix
* Reverted trying to make the playerenterdoughball handle inputs, gonna do it through the main script instead
* Sat up input code for later
* Input works now! Need to add barely and wrong input animations and fix bugs
* Tiny fix
* Added first draft of wronginput animations
* Finished all input anims, trying to fix bugs
* Added finished Spaceship animations
* Added Mr Game and Watch WIP and lifting dough dudes
* Finished GANDW, fixed some bugs and still fixing bugs, almost done!
* DONE
* Begun development on tambourine
* Working Dough Polish
* Added many animations for tambourine
* Added Events
* Inputs added, near completion
* Miss Anims
* Animation changes
* DONE
* fix
* FIXED???
* FIXED FOR REAL
* Begun fixing lockstep, just needs small fixes and features
* Smol fix-ish
* Started work on mr upbeat
* MrUpbeat fixed, finishing up lockstep
* Added BG to lockstep
* Added bg colour change
* Done with my part
2023-01-23 22:48:05 +00:00
|
|
|
if (GameManager.instance.currentGame == "lockstep")
|
|
|
|
{
|
2023-03-27 02:26:01 +00:00
|
|
|
List<BeatAction.Action> actions = new List<BeatAction.Action>();
|
2023-02-15 21:40:20 +00:00
|
|
|
for (int i = 0; i < length; i++)
|
2023-01-17 04:29:05 +00:00
|
|
|
{
|
Playable lockstep + Mr. Upbeat fix! (Lockstep is missing recolorable switchsteppers, many of them, and bach portraits) (#227)
* Added sfx, sprites and folders neccesary. And also made an empty game object for working dough
* Started work on the background
* Implemented all unanimated sprites
* Added Init
* Added Prefabs
* Added Jumping and Idle Animatins for the Dough Dudes
* SmallFix
* Start Interval Event Implemented
* Added Audio and Small and Big Ball events
* Code Improvement + starting making the balls
* Added bezier curves
* Added First Rendition of Balls
* Added NPC Balls and starting doing small transporting animations
* SmallFixes
* SmallSoundChanges
* Implemented Audio and prefunction, not done with it though
* In process of fixing set interval
* Added more prefunction stuff and also started working on player input
* Tried adding player balls, not done, many bugs to fix
* Reverted trying to make the playerenterdoughball handle inputs, gonna do it through the main script instead
* Sat up input code for later
* Input works now! Need to add barely and wrong input animations and fix bugs
* Tiny fix
* Added first draft of wronginput animations
* Finished all input anims, trying to fix bugs
* Added finished Spaceship animations
* Added Mr Game and Watch WIP and lifting dough dudes
* Finished GANDW, fixed some bugs and still fixing bugs, almost done!
* DONE
* Begun development on tambourine
* Working Dough Polish
* Added many animations for tambourine
* Added Events
* Inputs added, near completion
* Miss Anims
* Animation changes
* DONE
* fix
* FIXED???
* FIXED FOR REAL
* Begun fixing lockstep, just needs small fixes and features
* Smol fix-ish
* Started work on mr upbeat
* MrUpbeat fixed, finishing up lockstep
* Added BG to lockstep
* Added bg colour change
* Done with my part
2023-01-23 22:48:05 +00:00
|
|
|
Lockstep.instance.ScheduleInput(beat - 1, 1 + i, InputType.STANDARD_DOWN, Lockstep.instance.Just, Lockstep.instance.Miss, Lockstep.instance.Nothing);
|
2023-03-27 02:26:01 +00:00
|
|
|
actions.Add(new BeatAction.Action(beat + i, delegate { Lockstep.instance.EvaluateMarch(); }));
|
Playable lockstep + Mr. Upbeat fix! (Lockstep is missing recolorable switchsteppers, many of them, and bach portraits) (#227)
* Added sfx, sprites and folders neccesary. And also made an empty game object for working dough
* Started work on the background
* Implemented all unanimated sprites
* Added Init
* Added Prefabs
* Added Jumping and Idle Animatins for the Dough Dudes
* SmallFix
* Start Interval Event Implemented
* Added Audio and Small and Big Ball events
* Code Improvement + starting making the balls
* Added bezier curves
* Added First Rendition of Balls
* Added NPC Balls and starting doing small transporting animations
* SmallFixes
* SmallSoundChanges
* Implemented Audio and prefunction, not done with it though
* In process of fixing set interval
* Added more prefunction stuff and also started working on player input
* Tried adding player balls, not done, many bugs to fix
* Reverted trying to make the playerenterdoughball handle inputs, gonna do it through the main script instead
* Sat up input code for later
* Input works now! Need to add barely and wrong input animations and fix bugs
* Tiny fix
* Added first draft of wronginput animations
* Finished all input anims, trying to fix bugs
* Added finished Spaceship animations
* Added Mr Game and Watch WIP and lifting dough dudes
* Finished GANDW, fixed some bugs and still fixing bugs, almost done!
* DONE
* Begun development on tambourine
* Working Dough Polish
* Added many animations for tambourine
* Added Events
* Inputs added, near completion
* Miss Anims
* Animation changes
* DONE
* fix
* FIXED???
* FIXED FOR REAL
* Begun fixing lockstep, just needs small fixes and features
* Smol fix-ish
* Started work on mr upbeat
* MrUpbeat fixed, finishing up lockstep
* Added BG to lockstep
* Added bg colour change
* Done with my part
2023-01-23 22:48:05 +00:00
|
|
|
}
|
2023-03-27 02:26:01 +00:00
|
|
|
BeatAction.New(instance.gameObject, actions);
|
Playable lockstep + Mr. Upbeat fix! (Lockstep is missing recolorable switchsteppers, many of them, and bach portraits) (#227)
* Added sfx, sprites and folders neccesary. And also made an empty game object for working dough
* Started work on the background
* Implemented all unanimated sprites
* Added Init
* Added Prefabs
* Added Jumping and Idle Animatins for the Dough Dudes
* SmallFix
* Start Interval Event Implemented
* Added Audio and Small and Big Ball events
* Code Improvement + starting making the balls
* Added bezier curves
* Added First Rendition of Balls
* Added NPC Balls and starting doing small transporting animations
* SmallFixes
* SmallSoundChanges
* Implemented Audio and prefunction, not done with it though
* In process of fixing set interval
* Added more prefunction stuff and also started working on player input
* Tried adding player balls, not done, many bugs to fix
* Reverted trying to make the playerenterdoughball handle inputs, gonna do it through the main script instead
* Sat up input code for later
* Input works now! Need to add barely and wrong input animations and fix bugs
* Tiny fix
* Added first draft of wronginput animations
* Finished all input anims, trying to fix bugs
* Added finished Spaceship animations
* Added Mr Game and Watch WIP and lifting dough dudes
* Finished GANDW, fixed some bugs and still fixing bugs, almost done!
* DONE
* Begun development on tambourine
* Working Dough Polish
* Added many animations for tambourine
* Added Events
* Inputs added, near completion
* Miss Anims
* Animation changes
* DONE
* fix
* FIXED???
* FIXED FOR REAL
* Begun fixing lockstep, just needs small fixes and features
* Smol fix-ish
* Started work on mr upbeat
* MrUpbeat fixed, finishing up lockstep
* Added BG to lockstep
* Added bg colour change
* Done with my part
2023-01-23 22:48:05 +00:00
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
2023-02-15 21:40:20 +00:00
|
|
|
for (int i = 0; i < length; i++)
|
Playable lockstep + Mr. Upbeat fix! (Lockstep is missing recolorable switchsteppers, many of them, and bach portraits) (#227)
* Added sfx, sprites and folders neccesary. And also made an empty game object for working dough
* Started work on the background
* Implemented all unanimated sprites
* Added Init
* Added Prefabs
* Added Jumping and Idle Animatins for the Dough Dudes
* SmallFix
* Start Interval Event Implemented
* Added Audio and Small and Big Ball events
* Code Improvement + starting making the balls
* Added bezier curves
* Added First Rendition of Balls
* Added NPC Balls and starting doing small transporting animations
* SmallFixes
* SmallSoundChanges
* Implemented Audio and prefunction, not done with it though
* In process of fixing set interval
* Added more prefunction stuff and also started working on player input
* Tried adding player balls, not done, many bugs to fix
* Reverted trying to make the playerenterdoughball handle inputs, gonna do it through the main script instead
* Sat up input code for later
* Input works now! Need to add barely and wrong input animations and fix bugs
* Tiny fix
* Added first draft of wronginput animations
* Finished all input anims, trying to fix bugs
* Added finished Spaceship animations
* Added Mr Game and Watch WIP and lifting dough dudes
* Finished GANDW, fixed some bugs and still fixing bugs, almost done!
* DONE
* Begun development on tambourine
* Working Dough Polish
* Added many animations for tambourine
* Added Events
* Inputs added, near completion
* Miss Anims
* Animation changes
* DONE
* fix
* FIXED???
* FIXED FOR REAL
* Begun fixing lockstep, just needs small fixes and features
* Smol fix-ish
* Started work on mr upbeat
* MrUpbeat fixed, finishing up lockstep
* Added BG to lockstep
* Added bg colour change
* Done with my part
2023-01-23 22:48:05 +00:00
|
|
|
{
|
|
|
|
queuedInputs.Add(beat + i);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2023-01-17 04:29:05 +00:00
|
|
|
|
Playable lockstep + Mr. Upbeat fix! (Lockstep is missing recolorable switchsteppers, many of them, and bach portraits) (#227)
* Added sfx, sprites and folders neccesary. And also made an empty game object for working dough
* Started work on the background
* Implemented all unanimated sprites
* Added Init
* Added Prefabs
* Added Jumping and Idle Animatins for the Dough Dudes
* SmallFix
* Start Interval Event Implemented
* Added Audio and Small and Big Ball events
* Code Improvement + starting making the balls
* Added bezier curves
* Added First Rendition of Balls
* Added NPC Balls and starting doing small transporting animations
* SmallFixes
* SmallSoundChanges
* Implemented Audio and prefunction, not done with it though
* In process of fixing set interval
* Added more prefunction stuff and also started working on player input
* Tried adding player balls, not done, many bugs to fix
* Reverted trying to make the playerenterdoughball handle inputs, gonna do it through the main script instead
* Sat up input code for later
* Input works now! Need to add barely and wrong input animations and fix bugs
* Tiny fix
* Added first draft of wronginput animations
* Finished all input anims, trying to fix bugs
* Added finished Spaceship animations
* Added Mr Game and Watch WIP and lifting dough dudes
* Finished GANDW, fixed some bugs and still fixing bugs, almost done!
* DONE
* Begun development on tambourine
* Working Dough Polish
* Added many animations for tambourine
* Added Events
* Inputs added, near completion
* Miss Anims
* Animation changes
* DONE
* fix
* FIXED???
* FIXED FOR REAL
* Begun fixing lockstep, just needs small fixes and features
* Smol fix-ish
* Started work on mr upbeat
* MrUpbeat fixed, finishing up lockstep
* Added BG to lockstep
* Added bg colour change
* Done with my part
2023-01-23 22:48:05 +00:00
|
|
|
public void EvaluateMarch()
|
|
|
|
{
|
|
|
|
var cond = Conductor.instance;
|
|
|
|
var beatAnimCheck = Math.Round(cond.songPositionInBeats * 2);
|
|
|
|
if (beatAnimCheck % 2 != 0)
|
|
|
|
{
|
2023-03-27 02:26:01 +00:00
|
|
|
PlayStepperAnim("OffbeatMarch", false, 0.5f);
|
Playable lockstep + Mr. Upbeat fix! (Lockstep is missing recolorable switchsteppers, many of them, and bach portraits) (#227)
* Added sfx, sprites and folders neccesary. And also made an empty game object for working dough
* Started work on the background
* Implemented all unanimated sprites
* Added Init
* Added Prefabs
* Added Jumping and Idle Animatins for the Dough Dudes
* SmallFix
* Start Interval Event Implemented
* Added Audio and Small and Big Ball events
* Code Improvement + starting making the balls
* Added bezier curves
* Added First Rendition of Balls
* Added NPC Balls and starting doing small transporting animations
* SmallFixes
* SmallSoundChanges
* Implemented Audio and prefunction, not done with it though
* In process of fixing set interval
* Added more prefunction stuff and also started working on player input
* Tried adding player balls, not done, many bugs to fix
* Reverted trying to make the playerenterdoughball handle inputs, gonna do it through the main script instead
* Sat up input code for later
* Input works now! Need to add barely and wrong input animations and fix bugs
* Tiny fix
* Added first draft of wronginput animations
* Finished all input anims, trying to fix bugs
* Added finished Spaceship animations
* Added Mr Game and Watch WIP and lifting dough dudes
* Finished GANDW, fixed some bugs and still fixing bugs, almost done!
* DONE
* Begun development on tambourine
* Working Dough Polish
* Added many animations for tambourine
* Added Events
* Inputs added, near completion
* Miss Anims
* Animation changes
* DONE
* fix
* FIXED???
* FIXED FOR REAL
* Begun fixing lockstep, just needs small fixes and features
* Smol fix-ish
* Started work on mr upbeat
* MrUpbeat fixed, finishing up lockstep
* Added BG to lockstep
* Added bg colour change
* Done with my part
2023-01-23 22:48:05 +00:00
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
2023-03-27 02:26:01 +00:00
|
|
|
PlayStepperAnim("OnbeatMarch", false, 0.5f);
|
Playable lockstep + Mr. Upbeat fix! (Lockstep is missing recolorable switchsteppers, many of them, and bach portraits) (#227)
* Added sfx, sprites and folders neccesary. And also made an empty game object for working dough
* Started work on the background
* Implemented all unanimated sprites
* Added Init
* Added Prefabs
* Added Jumping and Idle Animatins for the Dough Dudes
* SmallFix
* Start Interval Event Implemented
* Added Audio and Small and Big Ball events
* Code Improvement + starting making the balls
* Added bezier curves
* Added First Rendition of Balls
* Added NPC Balls and starting doing small transporting animations
* SmallFixes
* SmallSoundChanges
* Implemented Audio and prefunction, not done with it though
* In process of fixing set interval
* Added more prefunction stuff and also started working on player input
* Tried adding player balls, not done, many bugs to fix
* Reverted trying to make the playerenterdoughball handle inputs, gonna do it through the main script instead
* Sat up input code for later
* Input works now! Need to add barely and wrong input animations and fix bugs
* Tiny fix
* Added first draft of wronginput animations
* Finished all input anims, trying to fix bugs
* Added finished Spaceship animations
* Added Mr Game and Watch WIP and lifting dough dudes
* Finished GANDW, fixed some bugs and still fixing bugs, almost done!
* DONE
* Begun development on tambourine
* Working Dough Polish
* Added many animations for tambourine
* Added Events
* Inputs added, near completion
* Miss Anims
* Animation changes
* DONE
* fix
* FIXED???
* FIXED FOR REAL
* Begun fixing lockstep, just needs small fixes and features
* Smol fix-ish
* Started work on mr upbeat
* MrUpbeat fixed, finishing up lockstep
* Added BG to lockstep
* Added bg colour change
* Done with my part
2023-01-23 22:48:05 +00:00
|
|
|
}
|
2023-01-17 04:29:05 +00:00
|
|
|
}
|
|
|
|
|
Playable lockstep + Mr. Upbeat fix! (Lockstep is missing recolorable switchsteppers, many of them, and bach portraits) (#227)
* Added sfx, sprites and folders neccesary. And also made an empty game object for working dough
* Started work on the background
* Implemented all unanimated sprites
* Added Init
* Added Prefabs
* Added Jumping and Idle Animatins for the Dough Dudes
* SmallFix
* Start Interval Event Implemented
* Added Audio and Small and Big Ball events
* Code Improvement + starting making the balls
* Added bezier curves
* Added First Rendition of Balls
* Added NPC Balls and starting doing small transporting animations
* SmallFixes
* SmallSoundChanges
* Implemented Audio and prefunction, not done with it though
* In process of fixing set interval
* Added more prefunction stuff and also started working on player input
* Tried adding player balls, not done, many bugs to fix
* Reverted trying to make the playerenterdoughball handle inputs, gonna do it through the main script instead
* Sat up input code for later
* Input works now! Need to add barely and wrong input animations and fix bugs
* Tiny fix
* Added first draft of wronginput animations
* Finished all input anims, trying to fix bugs
* Added finished Spaceship animations
* Added Mr Game and Watch WIP and lifting dough dudes
* Finished GANDW, fixed some bugs and still fixing bugs, almost done!
* DONE
* Begun development on tambourine
* Working Dough Polish
* Added many animations for tambourine
* Added Events
* Inputs added, near completion
* Miss Anims
* Animation changes
* DONE
* fix
* FIXED???
* FIXED FOR REAL
* Begun fixing lockstep, just needs small fixes and features
* Smol fix-ish
* Started work on mr upbeat
* MrUpbeat fixed, finishing up lockstep
* Added BG to lockstep
* Added bg colour change
* Done with my part
2023-01-23 22:48:05 +00:00
|
|
|
public void Just(PlayerActionEvent caller, float state)
|
2023-01-17 04:29:05 +00:00
|
|
|
{
|
Playable lockstep + Mr. Upbeat fix! (Lockstep is missing recolorable switchsteppers, many of them, and bach portraits) (#227)
* Added sfx, sprites and folders neccesary. And also made an empty game object for working dough
* Started work on the background
* Implemented all unanimated sprites
* Added Init
* Added Prefabs
* Added Jumping and Idle Animatins for the Dough Dudes
* SmallFix
* Start Interval Event Implemented
* Added Audio and Small and Big Ball events
* Code Improvement + starting making the balls
* Added bezier curves
* Added First Rendition of Balls
* Added NPC Balls and starting doing small transporting animations
* SmallFixes
* SmallSoundChanges
* Implemented Audio and prefunction, not done with it though
* In process of fixing set interval
* Added more prefunction stuff and also started working on player input
* Tried adding player balls, not done, many bugs to fix
* Reverted trying to make the playerenterdoughball handle inputs, gonna do it through the main script instead
* Sat up input code for later
* Input works now! Need to add barely and wrong input animations and fix bugs
* Tiny fix
* Added first draft of wronginput animations
* Finished all input anims, trying to fix bugs
* Added finished Spaceship animations
* Added Mr Game and Watch WIP and lifting dough dudes
* Finished GANDW, fixed some bugs and still fixing bugs, almost done!
* DONE
* Begun development on tambourine
* Working Dough Polish
* Added many animations for tambourine
* Added Events
* Inputs added, near completion
* Miss Anims
* Animation changes
* DONE
* fix
* FIXED???
* FIXED FOR REAL
* Begun fixing lockstep, just needs small fixes and features
* Smol fix-ish
* Started work on mr upbeat
* MrUpbeat fixed, finishing up lockstep
* Added BG to lockstep
* Added bg colour change
* Done with my part
2023-01-23 22:48:05 +00:00
|
|
|
currentMissStage = HowMissed.NotMissed;
|
2023-03-27 02:26:01 +00:00
|
|
|
var cond = Conductor.instance;
|
Playable lockstep + Mr. Upbeat fix! (Lockstep is missing recolorable switchsteppers, many of them, and bach portraits) (#227)
* Added sfx, sprites and folders neccesary. And also made an empty game object for working dough
* Started work on the background
* Implemented all unanimated sprites
* Added Init
* Added Prefabs
* Added Jumping and Idle Animatins for the Dough Dudes
* SmallFix
* Start Interval Event Implemented
* Added Audio and Small and Big Ball events
* Code Improvement + starting making the balls
* Added bezier curves
* Added First Rendition of Balls
* Added NPC Balls and starting doing small transporting animations
* SmallFixes
* SmallSoundChanges
* Implemented Audio and prefunction, not done with it though
* In process of fixing set interval
* Added more prefunction stuff and also started working on player input
* Tried adding player balls, not done, many bugs to fix
* Reverted trying to make the playerenterdoughball handle inputs, gonna do it through the main script instead
* Sat up input code for later
* Input works now! Need to add barely and wrong input animations and fix bugs
* Tiny fix
* Added first draft of wronginput animations
* Finished all input anims, trying to fix bugs
* Added finished Spaceship animations
* Added Mr Game and Watch WIP and lifting dough dudes
* Finished GANDW, fixed some bugs and still fixing bugs, almost done!
* DONE
* Begun development on tambourine
* Working Dough Polish
* Added many animations for tambourine
* Added Events
* Inputs added, near completion
* Miss Anims
* Animation changes
* DONE
* fix
* FIXED???
* FIXED FOR REAL
* Begun fixing lockstep, just needs small fixes and features
* Smol fix-ish
* Started work on mr upbeat
* MrUpbeat fixed, finishing up lockstep
* Added BG to lockstep
* Added bg colour change
* Done with my part
2023-01-23 22:48:05 +00:00
|
|
|
if (state >= 1f || state <= -1f)
|
|
|
|
{
|
2023-03-27 02:26:01 +00:00
|
|
|
double beatAnimCheck = cond.songPositionInBeatsAsDouble - 0.25;
|
|
|
|
if (beatAnimCheck % 1.0 >= 0.5)
|
Playable lockstep + Mr. Upbeat fix! (Lockstep is missing recolorable switchsteppers, many of them, and bach portraits) (#227)
* Added sfx, sprites and folders neccesary. And also made an empty game object for working dough
* Started work on the background
* Implemented all unanimated sprites
* Added Init
* Added Prefabs
* Added Jumping and Idle Animatins for the Dough Dudes
* SmallFix
* Start Interval Event Implemented
* Added Audio and Small and Big Ball events
* Code Improvement + starting making the balls
* Added bezier curves
* Added First Rendition of Balls
* Added NPC Balls and starting doing small transporting animations
* SmallFixes
* SmallSoundChanges
* Implemented Audio and prefunction, not done with it though
* In process of fixing set interval
* Added more prefunction stuff and also started working on player input
* Tried adding player balls, not done, many bugs to fix
* Reverted trying to make the playerenterdoughball handle inputs, gonna do it through the main script instead
* Sat up input code for later
* Input works now! Need to add barely and wrong input animations and fix bugs
* Tiny fix
* Added first draft of wronginput animations
* Finished all input anims, trying to fix bugs
* Added finished Spaceship animations
* Added Mr Game and Watch WIP and lifting dough dudes
* Finished GANDW, fixed some bugs and still fixing bugs, almost done!
* DONE
* Begun development on tambourine
* Working Dough Polish
* Added many animations for tambourine
* Added Events
* Inputs added, near completion
* Miss Anims
* Animation changes
* DONE
* fix
* FIXED???
* FIXED FOR REAL
* Begun fixing lockstep, just needs small fixes and features
* Smol fix-ish
* Started work on mr upbeat
* MrUpbeat fixed, finishing up lockstep
* Added BG to lockstep
* Added bg colour change
* Done with my part
2023-01-23 22:48:05 +00:00
|
|
|
{
|
|
|
|
Jukebox.PlayOneShotGame("lockstep/tink");
|
2023-03-27 02:26:01 +00:00
|
|
|
stepswitcherPlayer.DoScaledAnimationAsync("OnbeatMarch", 0.5f);
|
Playable lockstep + Mr. Upbeat fix! (Lockstep is missing recolorable switchsteppers, many of them, and bach portraits) (#227)
* Added sfx, sprites and folders neccesary. And also made an empty game object for working dough
* Started work on the background
* Implemented all unanimated sprites
* Added Init
* Added Prefabs
* Added Jumping and Idle Animatins for the Dough Dudes
* SmallFix
* Start Interval Event Implemented
* Added Audio and Small and Big Ball events
* Code Improvement + starting making the balls
* Added bezier curves
* Added First Rendition of Balls
* Added NPC Balls and starting doing small transporting animations
* SmallFixes
* SmallSoundChanges
* Implemented Audio and prefunction, not done with it though
* In process of fixing set interval
* Added more prefunction stuff and also started working on player input
* Tried adding player balls, not done, many bugs to fix
* Reverted trying to make the playerenterdoughball handle inputs, gonna do it through the main script instead
* Sat up input code for later
* Input works now! Need to add barely and wrong input animations and fix bugs
* Tiny fix
* Added first draft of wronginput animations
* Finished all input anims, trying to fix bugs
* Added finished Spaceship animations
* Added Mr Game and Watch WIP and lifting dough dudes
* Finished GANDW, fixed some bugs and still fixing bugs, almost done!
* DONE
* Begun development on tambourine
* Working Dough Polish
* Added many animations for tambourine
* Added Events
* Inputs added, near completion
* Miss Anims
* Animation changes
* DONE
* fix
* FIXED???
* FIXED FOR REAL
* Begun fixing lockstep, just needs small fixes and features
* Smol fix-ish
* Started work on mr upbeat
* MrUpbeat fixed, finishing up lockstep
* Added BG to lockstep
* Added bg colour change
* Done with my part
2023-01-23 22:48:05 +00:00
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
Jukebox.PlayOneShotGame("lockstep/tink");
|
2023-03-27 02:26:01 +00:00
|
|
|
stepswitcherPlayer.DoScaledAnimationAsync("OffbeatMarch", 0.5f);
|
Playable lockstep + Mr. Upbeat fix! (Lockstep is missing recolorable switchsteppers, many of them, and bach portraits) (#227)
* Added sfx, sprites and folders neccesary. And also made an empty game object for working dough
* Started work on the background
* Implemented all unanimated sprites
* Added Init
* Added Prefabs
* Added Jumping and Idle Animatins for the Dough Dudes
* SmallFix
* Start Interval Event Implemented
* Added Audio and Small and Big Ball events
* Code Improvement + starting making the balls
* Added bezier curves
* Added First Rendition of Balls
* Added NPC Balls and starting doing small transporting animations
* SmallFixes
* SmallSoundChanges
* Implemented Audio and prefunction, not done with it though
* In process of fixing set interval
* Added more prefunction stuff and also started working on player input
* Tried adding player balls, not done, many bugs to fix
* Reverted trying to make the playerenterdoughball handle inputs, gonna do it through the main script instead
* Sat up input code for later
* Input works now! Need to add barely and wrong input animations and fix bugs
* Tiny fix
* Added first draft of wronginput animations
* Finished all input anims, trying to fix bugs
* Added finished Spaceship animations
* Added Mr Game and Watch WIP and lifting dough dudes
* Finished GANDW, fixed some bugs and still fixing bugs, almost done!
* DONE
* Begun development on tambourine
* Working Dough Polish
* Added many animations for tambourine
* Added Events
* Inputs added, near completion
* Miss Anims
* Animation changes
* DONE
* fix
* FIXED???
* FIXED FOR REAL
* Begun fixing lockstep, just needs small fixes and features
* Smol fix-ish
* Started work on mr upbeat
* MrUpbeat fixed, finishing up lockstep
* Added BG to lockstep
* Added bg colour change
* Done with my part
2023-01-23 22:48:05 +00:00
|
|
|
}
|
|
|
|
return;
|
|
|
|
}
|
2023-03-27 02:26:01 +00:00
|
|
|
Success(cond.songPositionInBeatsAsDouble);
|
2023-01-17 04:29:05 +00:00
|
|
|
}
|
|
|
|
|
2023-03-27 02:26:01 +00:00
|
|
|
public void Success(double beat)
|
2023-01-17 04:29:05 +00:00
|
|
|
{
|
2023-03-27 02:26:01 +00:00
|
|
|
double beatAnimCheck = beat - 0.25;
|
|
|
|
if (beatAnimCheck % 1.0 >= 0.5)
|
Playable lockstep + Mr. Upbeat fix! (Lockstep is missing recolorable switchsteppers, many of them, and bach portraits) (#227)
* Added sfx, sprites and folders neccesary. And also made an empty game object for working dough
* Started work on the background
* Implemented all unanimated sprites
* Added Init
* Added Prefabs
* Added Jumping and Idle Animatins for the Dough Dudes
* SmallFix
* Start Interval Event Implemented
* Added Audio and Small and Big Ball events
* Code Improvement + starting making the balls
* Added bezier curves
* Added First Rendition of Balls
* Added NPC Balls and starting doing small transporting animations
* SmallFixes
* SmallSoundChanges
* Implemented Audio and prefunction, not done with it though
* In process of fixing set interval
* Added more prefunction stuff and also started working on player input
* Tried adding player balls, not done, many bugs to fix
* Reverted trying to make the playerenterdoughball handle inputs, gonna do it through the main script instead
* Sat up input code for later
* Input works now! Need to add barely and wrong input animations and fix bugs
* Tiny fix
* Added first draft of wronginput animations
* Finished all input anims, trying to fix bugs
* Added finished Spaceship animations
* Added Mr Game and Watch WIP and lifting dough dudes
* Finished GANDW, fixed some bugs and still fixing bugs, almost done!
* DONE
* Begun development on tambourine
* Working Dough Polish
* Added many animations for tambourine
* Added Events
* Inputs added, near completion
* Miss Anims
* Animation changes
* DONE
* fix
* FIXED???
* FIXED FOR REAL
* Begun fixing lockstep, just needs small fixes and features
* Smol fix-ish
* Started work on mr upbeat
* MrUpbeat fixed, finishing up lockstep
* Added BG to lockstep
* Added bg colour change
* Done with my part
2023-01-23 22:48:05 +00:00
|
|
|
{
|
2023-03-27 02:26:01 +00:00
|
|
|
Jukebox.PlayOneShotGame($"lockstep/marchOnbeat{UnityEngine.Random.Range(1, 3)}");
|
|
|
|
stepswitcherPlayer.DoScaledAnimationAsync("OnbeatMarch", 0.5f);
|
Playable lockstep + Mr. Upbeat fix! (Lockstep is missing recolorable switchsteppers, many of them, and bach portraits) (#227)
* Added sfx, sprites and folders neccesary. And also made an empty game object for working dough
* Started work on the background
* Implemented all unanimated sprites
* Added Init
* Added Prefabs
* Added Jumping and Idle Animatins for the Dough Dudes
* SmallFix
* Start Interval Event Implemented
* Added Audio and Small and Big Ball events
* Code Improvement + starting making the balls
* Added bezier curves
* Added First Rendition of Balls
* Added NPC Balls and starting doing small transporting animations
* SmallFixes
* SmallSoundChanges
* Implemented Audio and prefunction, not done with it though
* In process of fixing set interval
* Added more prefunction stuff and also started working on player input
* Tried adding player balls, not done, many bugs to fix
* Reverted trying to make the playerenterdoughball handle inputs, gonna do it through the main script instead
* Sat up input code for later
* Input works now! Need to add barely and wrong input animations and fix bugs
* Tiny fix
* Added first draft of wronginput animations
* Finished all input anims, trying to fix bugs
* Added finished Spaceship animations
* Added Mr Game and Watch WIP and lifting dough dudes
* Finished GANDW, fixed some bugs and still fixing bugs, almost done!
* DONE
* Begun development on tambourine
* Working Dough Polish
* Added many animations for tambourine
* Added Events
* Inputs added, near completion
* Miss Anims
* Animation changes
* DONE
* fix
* FIXED???
* FIXED FOR REAL
* Begun fixing lockstep, just needs small fixes and features
* Smol fix-ish
* Started work on mr upbeat
* MrUpbeat fixed, finishing up lockstep
* Added BG to lockstep
* Added bg colour change
* Done with my part
2023-01-23 22:48:05 +00:00
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
2023-03-27 02:26:01 +00:00
|
|
|
Jukebox.PlayOneShotGame($"lockstep/marchOffbeat{UnityEngine.Random.Range(1, 3)}");
|
|
|
|
stepswitcherPlayer.DoScaledAnimationAsync("OffbeatMarch", 0.5f);
|
Playable lockstep + Mr. Upbeat fix! (Lockstep is missing recolorable switchsteppers, many of them, and bach portraits) (#227)
* Added sfx, sprites and folders neccesary. And also made an empty game object for working dough
* Started work on the background
* Implemented all unanimated sprites
* Added Init
* Added Prefabs
* Added Jumping and Idle Animatins for the Dough Dudes
* SmallFix
* Start Interval Event Implemented
* Added Audio and Small and Big Ball events
* Code Improvement + starting making the balls
* Added bezier curves
* Added First Rendition of Balls
* Added NPC Balls and starting doing small transporting animations
* SmallFixes
* SmallSoundChanges
* Implemented Audio and prefunction, not done with it though
* In process of fixing set interval
* Added more prefunction stuff and also started working on player input
* Tried adding player balls, not done, many bugs to fix
* Reverted trying to make the playerenterdoughball handle inputs, gonna do it through the main script instead
* Sat up input code for later
* Input works now! Need to add barely and wrong input animations and fix bugs
* Tiny fix
* Added first draft of wronginput animations
* Finished all input anims, trying to fix bugs
* Added finished Spaceship animations
* Added Mr Game and Watch WIP and lifting dough dudes
* Finished GANDW, fixed some bugs and still fixing bugs, almost done!
* DONE
* Begun development on tambourine
* Working Dough Polish
* Added many animations for tambourine
* Added Events
* Inputs added, near completion
* Miss Anims
* Animation changes
* DONE
* fix
* FIXED???
* FIXED FOR REAL
* Begun fixing lockstep, just needs small fixes and features
* Smol fix-ish
* Started work on mr upbeat
* MrUpbeat fixed, finishing up lockstep
* Added BG to lockstep
* Added bg colour change
* Done with my part
2023-01-23 22:48:05 +00:00
|
|
|
}
|
|
|
|
}
|
2023-01-17 04:29:05 +00:00
|
|
|
|
Playable lockstep + Mr. Upbeat fix! (Lockstep is missing recolorable switchsteppers, many of them, and bach portraits) (#227)
* Added sfx, sprites and folders neccesary. And also made an empty game object for working dough
* Started work on the background
* Implemented all unanimated sprites
* Added Init
* Added Prefabs
* Added Jumping and Idle Animatins for the Dough Dudes
* SmallFix
* Start Interval Event Implemented
* Added Audio and Small and Big Ball events
* Code Improvement + starting making the balls
* Added bezier curves
* Added First Rendition of Balls
* Added NPC Balls and starting doing small transporting animations
* SmallFixes
* SmallSoundChanges
* Implemented Audio and prefunction, not done with it though
* In process of fixing set interval
* Added more prefunction stuff and also started working on player input
* Tried adding player balls, not done, many bugs to fix
* Reverted trying to make the playerenterdoughball handle inputs, gonna do it through the main script instead
* Sat up input code for later
* Input works now! Need to add barely and wrong input animations and fix bugs
* Tiny fix
* Added first draft of wronginput animations
* Finished all input anims, trying to fix bugs
* Added finished Spaceship animations
* Added Mr Game and Watch WIP and lifting dough dudes
* Finished GANDW, fixed some bugs and still fixing bugs, almost done!
* DONE
* Begun development on tambourine
* Working Dough Polish
* Added many animations for tambourine
* Added Events
* Inputs added, near completion
* Miss Anims
* Animation changes
* DONE
* fix
* FIXED???
* FIXED FOR REAL
* Begun fixing lockstep, just needs small fixes and features
* Smol fix-ish
* Started work on mr upbeat
* MrUpbeat fixed, finishing up lockstep
* Added BG to lockstep
* Added bg colour change
* Done with my part
2023-01-23 22:48:05 +00:00
|
|
|
public void Miss(PlayerActionEvent caller)
|
|
|
|
{
|
2023-01-25 15:29:09 +00:00
|
|
|
var beatAnimCheck = Math.Round(caller.startBeat * 2);
|
Playable lockstep + Mr. Upbeat fix! (Lockstep is missing recolorable switchsteppers, many of them, and bach portraits) (#227)
* Added sfx, sprites and folders neccesary. And also made an empty game object for working dough
* Started work on the background
* Implemented all unanimated sprites
* Added Init
* Added Prefabs
* Added Jumping and Idle Animatins for the Dough Dudes
* SmallFix
* Start Interval Event Implemented
* Added Audio and Small and Big Ball events
* Code Improvement + starting making the balls
* Added bezier curves
* Added First Rendition of Balls
* Added NPC Balls and starting doing small transporting animations
* SmallFixes
* SmallSoundChanges
* Implemented Audio and prefunction, not done with it though
* In process of fixing set interval
* Added more prefunction stuff and also started working on player input
* Tried adding player balls, not done, many bugs to fix
* Reverted trying to make the playerenterdoughball handle inputs, gonna do it through the main script instead
* Sat up input code for later
* Input works now! Need to add barely and wrong input animations and fix bugs
* Tiny fix
* Added first draft of wronginput animations
* Finished all input anims, trying to fix bugs
* Added finished Spaceship animations
* Added Mr Game and Watch WIP and lifting dough dudes
* Finished GANDW, fixed some bugs and still fixing bugs, almost done!
* DONE
* Begun development on tambourine
* Working Dough Polish
* Added many animations for tambourine
* Added Events
* Inputs added, near completion
* Miss Anims
* Animation changes
* DONE
* fix
* FIXED???
* FIXED FOR REAL
* Begun fixing lockstep, just needs small fixes and features
* Smol fix-ish
* Started work on mr upbeat
* MrUpbeat fixed, finishing up lockstep
* Added BG to lockstep
* Added bg colour change
* Done with my part
2023-01-23 22:48:05 +00:00
|
|
|
|
|
|
|
if (beatAnimCheck % 2 != 0 && currentMissStage != HowMissed.MissedOff)
|
|
|
|
{
|
2023-03-27 02:26:01 +00:00
|
|
|
stepswitcherPlayer.Play("OffbeatMiss", 0, 0);
|
Playable lockstep + Mr. Upbeat fix! (Lockstep is missing recolorable switchsteppers, many of them, and bach portraits) (#227)
* Added sfx, sprites and folders neccesary. And also made an empty game object for working dough
* Started work on the background
* Implemented all unanimated sprites
* Added Init
* Added Prefabs
* Added Jumping and Idle Animatins for the Dough Dudes
* SmallFix
* Start Interval Event Implemented
* Added Audio and Small and Big Ball events
* Code Improvement + starting making the balls
* Added bezier curves
* Added First Rendition of Balls
* Added NPC Balls and starting doing small transporting animations
* SmallFixes
* SmallSoundChanges
* Implemented Audio and prefunction, not done with it though
* In process of fixing set interval
* Added more prefunction stuff and also started working on player input
* Tried adding player balls, not done, many bugs to fix
* Reverted trying to make the playerenterdoughball handle inputs, gonna do it through the main script instead
* Sat up input code for later
* Input works now! Need to add barely and wrong input animations and fix bugs
* Tiny fix
* Added first draft of wronginput animations
* Finished all input anims, trying to fix bugs
* Added finished Spaceship animations
* Added Mr Game and Watch WIP and lifting dough dudes
* Finished GANDW, fixed some bugs and still fixing bugs, almost done!
* DONE
* Begun development on tambourine
* Working Dough Polish
* Added many animations for tambourine
* Added Events
* Inputs added, near completion
* Miss Anims
* Animation changes
* DONE
* fix
* FIXED???
* FIXED FOR REAL
* Begun fixing lockstep, just needs small fixes and features
* Smol fix-ish
* Started work on mr upbeat
* MrUpbeat fixed, finishing up lockstep
* Added BG to lockstep
* Added bg colour change
* Done with my part
2023-01-23 22:48:05 +00:00
|
|
|
Jukebox.PlayOneShotGame("lockstep/wayOff");
|
|
|
|
currentMissStage = HowMissed.MissedOff;
|
|
|
|
}
|
|
|
|
else if (beatAnimCheck % 2 == 0 && currentMissStage != HowMissed.MissedOn)
|
|
|
|
{
|
2023-03-27 02:26:01 +00:00
|
|
|
stepswitcherPlayer.Play("OnbeatMiss", 0, 0);
|
Playable lockstep + Mr. Upbeat fix! (Lockstep is missing recolorable switchsteppers, many of them, and bach portraits) (#227)
* Added sfx, sprites and folders neccesary. And also made an empty game object for working dough
* Started work on the background
* Implemented all unanimated sprites
* Added Init
* Added Prefabs
* Added Jumping and Idle Animatins for the Dough Dudes
* SmallFix
* Start Interval Event Implemented
* Added Audio and Small and Big Ball events
* Code Improvement + starting making the balls
* Added bezier curves
* Added First Rendition of Balls
* Added NPC Balls and starting doing small transporting animations
* SmallFixes
* SmallSoundChanges
* Implemented Audio and prefunction, not done with it though
* In process of fixing set interval
* Added more prefunction stuff and also started working on player input
* Tried adding player balls, not done, many bugs to fix
* Reverted trying to make the playerenterdoughball handle inputs, gonna do it through the main script instead
* Sat up input code for later
* Input works now! Need to add barely and wrong input animations and fix bugs
* Tiny fix
* Added first draft of wronginput animations
* Finished all input anims, trying to fix bugs
* Added finished Spaceship animations
* Added Mr Game and Watch WIP and lifting dough dudes
* Finished GANDW, fixed some bugs and still fixing bugs, almost done!
* DONE
* Begun development on tambourine
* Working Dough Polish
* Added many animations for tambourine
* Added Events
* Inputs added, near completion
* Miss Anims
* Animation changes
* DONE
* fix
* FIXED???
* FIXED FOR REAL
* Begun fixing lockstep, just needs small fixes and features
* Smol fix-ish
* Started work on mr upbeat
* MrUpbeat fixed, finishing up lockstep
* Added BG to lockstep
* Added bg colour change
* Done with my part
2023-01-23 22:48:05 +00:00
|
|
|
Jukebox.PlayOneShotGame("lockstep/wayOff");
|
|
|
|
currentMissStage = HowMissed.MissedOn;
|
|
|
|
}
|
|
|
|
}
|
2023-01-17 04:29:05 +00:00
|
|
|
|
Playable lockstep + Mr. Upbeat fix! (Lockstep is missing recolorable switchsteppers, many of them, and bach portraits) (#227)
* Added sfx, sprites and folders neccesary. And also made an empty game object for working dough
* Started work on the background
* Implemented all unanimated sprites
* Added Init
* Added Prefabs
* Added Jumping and Idle Animatins for the Dough Dudes
* SmallFix
* Start Interval Event Implemented
* Added Audio and Small and Big Ball events
* Code Improvement + starting making the balls
* Added bezier curves
* Added First Rendition of Balls
* Added NPC Balls and starting doing small transporting animations
* SmallFixes
* SmallSoundChanges
* Implemented Audio and prefunction, not done with it though
* In process of fixing set interval
* Added more prefunction stuff and also started working on player input
* Tried adding player balls, not done, many bugs to fix
* Reverted trying to make the playerenterdoughball handle inputs, gonna do it through the main script instead
* Sat up input code for later
* Input works now! Need to add barely and wrong input animations and fix bugs
* Tiny fix
* Added first draft of wronginput animations
* Finished all input anims, trying to fix bugs
* Added finished Spaceship animations
* Added Mr Game and Watch WIP and lifting dough dudes
* Finished GANDW, fixed some bugs and still fixing bugs, almost done!
* DONE
* Begun development on tambourine
* Working Dough Polish
* Added many animations for tambourine
* Added Events
* Inputs added, near completion
* Miss Anims
* Animation changes
* DONE
* fix
* FIXED???
* FIXED FOR REAL
* Begun fixing lockstep, just needs small fixes and features
* Smol fix-ish
* Started work on mr upbeat
* MrUpbeat fixed, finishing up lockstep
* Added BG to lockstep
* Added bg colour change
* Done with my part
2023-01-23 22:48:05 +00:00
|
|
|
public void ChangeBeatBackGroundColour(bool off)
|
|
|
|
{
|
|
|
|
if (off)
|
|
|
|
{
|
|
|
|
background.color = currentBGOffColor;
|
|
|
|
offColorActive = true;
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
background.color = currentBGOnColor;
|
|
|
|
offColorActive = false;
|
|
|
|
}
|
|
|
|
}
|
2023-01-17 04:29:05 +00:00
|
|
|
|
2023-03-27 02:26:01 +00:00
|
|
|
public void SetBackgroundColours(Color onColor, Color offColor, Color outlineColor, Color darkColor, Color lightColor)
|
Playable lockstep + Mr. Upbeat fix! (Lockstep is missing recolorable switchsteppers, many of them, and bach portraits) (#227)
* Added sfx, sprites and folders neccesary. And also made an empty game object for working dough
* Started work on the background
* Implemented all unanimated sprites
* Added Init
* Added Prefabs
* Added Jumping and Idle Animatins for the Dough Dudes
* SmallFix
* Start Interval Event Implemented
* Added Audio and Small and Big Ball events
* Code Improvement + starting making the balls
* Added bezier curves
* Added First Rendition of Balls
* Added NPC Balls and starting doing small transporting animations
* SmallFixes
* SmallSoundChanges
* Implemented Audio and prefunction, not done with it though
* In process of fixing set interval
* Added more prefunction stuff and also started working on player input
* Tried adding player balls, not done, many bugs to fix
* Reverted trying to make the playerenterdoughball handle inputs, gonna do it through the main script instead
* Sat up input code for later
* Input works now! Need to add barely and wrong input animations and fix bugs
* Tiny fix
* Added first draft of wronginput animations
* Finished all input anims, trying to fix bugs
* Added finished Spaceship animations
* Added Mr Game and Watch WIP and lifting dough dudes
* Finished GANDW, fixed some bugs and still fixing bugs, almost done!
* DONE
* Begun development on tambourine
* Working Dough Polish
* Added many animations for tambourine
* Added Events
* Inputs added, near completion
* Miss Anims
* Animation changes
* DONE
* fix
* FIXED???
* FIXED FOR REAL
* Begun fixing lockstep, just needs small fixes and features
* Smol fix-ish
* Started work on mr upbeat
* MrUpbeat fixed, finishing up lockstep
* Added BG to lockstep
* Added bg colour change
* Done with my part
2023-01-23 22:48:05 +00:00
|
|
|
{
|
|
|
|
currentBGOnColor = onColor;
|
|
|
|
currentBGOffColor = offColor;
|
2023-01-17 04:29:05 +00:00
|
|
|
|
Playable lockstep + Mr. Upbeat fix! (Lockstep is missing recolorable switchsteppers, many of them, and bach portraits) (#227)
* Added sfx, sprites and folders neccesary. And also made an empty game object for working dough
* Started work on the background
* Implemented all unanimated sprites
* Added Init
* Added Prefabs
* Added Jumping and Idle Animatins for the Dough Dudes
* SmallFix
* Start Interval Event Implemented
* Added Audio and Small and Big Ball events
* Code Improvement + starting making the balls
* Added bezier curves
* Added First Rendition of Balls
* Added NPC Balls and starting doing small transporting animations
* SmallFixes
* SmallSoundChanges
* Implemented Audio and prefunction, not done with it though
* In process of fixing set interval
* Added more prefunction stuff and also started working on player input
* Tried adding player balls, not done, many bugs to fix
* Reverted trying to make the playerenterdoughball handle inputs, gonna do it through the main script instead
* Sat up input code for later
* Input works now! Need to add barely and wrong input animations and fix bugs
* Tiny fix
* Added first draft of wronginput animations
* Finished all input anims, trying to fix bugs
* Added finished Spaceship animations
* Added Mr Game and Watch WIP and lifting dough dudes
* Finished GANDW, fixed some bugs and still fixing bugs, almost done!
* DONE
* Begun development on tambourine
* Working Dough Polish
* Added many animations for tambourine
* Added Events
* Inputs added, near completion
* Miss Anims
* Animation changes
* DONE
* fix
* FIXED???
* FIXED FOR REAL
* Begun fixing lockstep, just needs small fixes and features
* Smol fix-ish
* Started work on mr upbeat
* MrUpbeat fixed, finishing up lockstep
* Added BG to lockstep
* Added bg colour change
* Done with my part
2023-01-23 22:48:05 +00:00
|
|
|
if (offColorActive)
|
|
|
|
{
|
|
|
|
background.color = currentBGOffColor;
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
background.color = currentBGOnColor;
|
|
|
|
}
|
2023-03-27 02:26:01 +00:00
|
|
|
|
|
|
|
stepperMaterial.SetColor("_ColorAlpha", outlineColor);
|
|
|
|
stepperMaterial.SetColor("_ColorBravo", darkColor);
|
|
|
|
stepperMaterial.SetColor("_ColorDelta", lightColor);
|
2023-01-17 04:29:05 +00:00
|
|
|
}
|
|
|
|
|
Playable lockstep + Mr. Upbeat fix! (Lockstep is missing recolorable switchsteppers, many of them, and bach portraits) (#227)
* Added sfx, sprites and folders neccesary. And also made an empty game object for working dough
* Started work on the background
* Implemented all unanimated sprites
* Added Init
* Added Prefabs
* Added Jumping and Idle Animatins for the Dough Dudes
* SmallFix
* Start Interval Event Implemented
* Added Audio and Small and Big Ball events
* Code Improvement + starting making the balls
* Added bezier curves
* Added First Rendition of Balls
* Added NPC Balls and starting doing small transporting animations
* SmallFixes
* SmallSoundChanges
* Implemented Audio and prefunction, not done with it though
* In process of fixing set interval
* Added more prefunction stuff and also started working on player input
* Tried adding player balls, not done, many bugs to fix
* Reverted trying to make the playerenterdoughball handle inputs, gonna do it through the main script instead
* Sat up input code for later
* Input works now! Need to add barely and wrong input animations and fix bugs
* Tiny fix
* Added first draft of wronginput animations
* Finished all input anims, trying to fix bugs
* Added finished Spaceship animations
* Added Mr Game and Watch WIP and lifting dough dudes
* Finished GANDW, fixed some bugs and still fixing bugs, almost done!
* DONE
* Begun development on tambourine
* Working Dough Polish
* Added many animations for tambourine
* Added Events
* Inputs added, near completion
* Miss Anims
* Animation changes
* DONE
* fix
* FIXED???
* FIXED FOR REAL
* Begun fixing lockstep, just needs small fixes and features
* Smol fix-ish
* Started work on mr upbeat
* MrUpbeat fixed, finishing up lockstep
* Added BG to lockstep
* Added bg colour change
* Done with my part
2023-01-23 22:48:05 +00:00
|
|
|
public void Nothing(PlayerActionEvent caller) {}
|
2023-01-17 04:29:05 +00:00
|
|
|
}
|
|
|
|
}
|