HeavenStudioPlus/Assets/Scripts/Games/SumoBrothers/SumoBrothers.cs

1327 lines
62 KiB
C#
Raw Normal View History

Sumo brothers (#706) * Lockstep fansodnason * More Lockstep Implemented the new sprites (still needs work). Added new Icon. * More lockstep stuff i have no clue * Animation Tweaking I fiddled around with numbers weeeeeeeeeeeeeeee * Merge branch 'master' of https://github.com/RaffyTaffy14/HS * Background Has basic background * End Pose Start Adds the End Pose cue's tweeting sound (took so long but felt so cool) * Inu Sensei Start Inu Sensei added to scene. He can bop, crouch, or do neither * Temp Sumo Brothers Icon Made by Donfen * Inu Sensei Tweeting Inu Sensei now does his animation during the duration of the End Pose cue. * Crouch Block Rework Reworked crouch block to be a stretchable cue instead of a toggle (like KM prepare stance) * Bop Block Rework Bop block reworked to be a toggle. Also made a few minor tweaks to random things. * Added the Brothers The Sumo Brothers from Sumo Brothers are now in Sumo Brothers (minus the sumo) * Imported Upscaled Sumou_BG Higher resolution background and Inu Sensei sprites. * Imported REAL Upscaled Sumou_BG oops * Slap & Stomp Signals the domg buncus and tink tonks * Twiddling my Thumbs Random, Insignificant changes to random things in the code * idk random cleanup after I finally got HS to not be in shambles * more stuff dunno * Input for Pose this should not have taken this long * uh waste of 4gb atm, need 4gb atm, may need this not atm * Modernized Bops & WIP Stomps/Slaps Made the bop system to have automatic/stretchy settings like all new games. Also got a WIP implementation of stomping/slapping * quite honest i do not know let's just update HS * Prepare Slap Animation Prepare Slap animation has been animated and implemented * Sumo Prefab some stuff went down yesterday when updating the fork that involved the sumo prefab randomly downgrading to an older version, so I'm hoping that this commit will make sure that the current prefab wont just vanish into oblivion * Slapping Animation v1 Spent a few hours animating the front-hand slapping animation. Also added a "Look at Camera" event that makes the brotheren look at the camera while slapping. * Stomping Animations All stomp and stomp prepare animations are animated and coded into the game (except for the miss one) * Slapping Animation v2 finally animated the alternate slapping animation where those sumo brothers slap with their other hand * Slapping to Stomping Transition Added the slapping animation for when the Bros transition from slapping to stomping as well as all the accompanying code to get it to function. Also tweaked the two other slapping animations to fix the interpolation of those speed lines. * Inu Sensei Complete Added redone inu sensei spritesheet (thanks Mage!), animated all inu sensei animations, and coded all the inu sensei functionality. This is all really coming together now * Sumo Miss anims & more Added the Slap/Stomp miss animations. Coded the ability to whiff inputs. Replaced all the SFX with Kievit-approved rips. Added the little slap impact effect for successful slap inputs. Getting ready to make stomps pretty. Fixed misc bugs. * Sumo Pose anims & more Added the first set of pose animations. Also added animations for transitioning from posing to something else. Stomps aint getting pretty this time. Fixed misc bugs. * Sumo Pose anims v2 Animated the whole 2nd set of sumo pose animations. Fixed some various bugs with poses. Added a random setting for the poses (although it doesn't work well with only 2 poses). Getting ready for the PR * Random Bug Fixes Fixed random pose option, fixed an animation that accidentally left loop on, and added monologue. Getting ready for pr in a few days. * New Icon & Bug Fixes Added a shiny new icon made by Seanski2, fixed a bug about poses in tap mode being a bit bugged and fixed the Slap-to-Stomp slap animation being able to be played too soon. --------- Co-authored-by: minenice55 <star.elementa@gmail.com>
2024-02-19 01:25:26 +00:00
// Hello my brothers, it is RaffyTaffy14 here in the code comments with another monologue.
// I still do not know much crap about Unity or C#.
// Despite that, I have managed to cobble together Sumo Brothers in a fairly functional state.
// A lot of the code may be very weird or just useless (especially the older stuff), but it works for now.
// I started making Sumo Brothers for Heaven Studio all the way back in January of 2023 (13 months ago!)
// Sumo Brothers at that time was VERY janky. Heck, I used blurry screenshots from videos as reference guides for everything.
// Progress on Sumo stopped a few weeks into the project, being as functional as how I left Lockstep for rasmus to pick up.
// In June, I finally learned how to cue inputs (I was doing something wrong for the longest time), so now Finishing Poses could be cued.
// Nothing happened until December, when I coded most of the functionality for the Slapping/Stomping/Posing
// switching, which is how it currently works now.
// From the end of January 2024 to the middle of February 2024, I spent dozens of hours meticulously animating
// every animation (there's *74* when you factor out duplicate animations for the Glasses Brother) for the game, from "SumoSlapPrepare" all
// the way to "SumoPoseGBopMiss2".
// No one thought that there would be anyone crazy enough to hecking animate Sumo Brothers.
// People said that it would be animator suicide to even attempt to animate Sumo Brothers.
// Yet, here I am, still alive and still too crazy.
// Sometime during the mass animation process, I managed to get back in contact with the upscaler for this game for a potential
// redo of the Inu Sensei sprites.
// Let's just say that the sprites got a MASSIVE glow up (thx UnbrokenMage)
// Animation for Sumo Brothers still isn't done, as I am yet to animate the 3rd and 4th poses which are (currently) absent.
// Despite the absense for those 20 animations (yes 2 poses takes up 20 animations), I have managed to do a whopping 54 animations
// during my ~2 week grind.
// I hope that whomever may be reading this shall enjoy the wonders of Sumo Brothers and have a great rest of your day.
using HeavenStudio.Util;
using HeavenStudio.InputSystem;
using System;
using System.Collections.Generic;
Sumo brothers is FINISHED* (#867) * Pose Backgrounds The cool backgrounds that appear on a successful pose are now fully added. Also implemented the new upscales. * Stomp Camera Shake The way it is coded is not good at all, but the stomp shakes look *ok* when the game runs at triple digit tempos. * Better Stomp Shake & Alternate BGs Made the stomp shake look MUCH better, and added an option to poses to automatically alternate between background types. * Sumo Pose anims v4 Animated most of all the remaining pose animations, missing the miss animations + glasses being thrown. Also will want to add a version where the glasses aren't thrown. Pig? * Sumo Pose anims v4.5 Added the missing miss animations. Added the glasses actually being thrown. Fixed a bug with head layering w/ the Look at Camera event. Fixed some other bugs that aren't important. * New Icon i made it myself * Sumo Pose anims v4.9 You can now toggle if the blue sumo bro will throw his glasses on the finale pose. Also changed selecting the pose type from an integer slider to a dropdown menu. You can also now change which direction the sumo brothers begin stomping in. * Sumo Pose anims v5 D se dab * Finalizing stuff Changed ALL the animations (minus InuTweet) to use linear interpolation instead of the default setting since that's what megamix does afaik. Combined the two sumohead animators into one just to allow for more play animation shenanigans. Assigned all the sumo assets to a new ctrsumou asset bundle to get ready for packing it all up. Added new nerd bg because Mage just happened to make one * Bug Fixed + Tweaks + Finish Fixed a bug where the game would end up cueing inputs that extended into other games. It wouldn't do anything until you went back to Sumo Brothers where all those extra cues would run the frame the game loaded. Tweaked all the BG sliding in animations to be accurate to the original game. I started implementing asset bundles, but for some reason actually using them breaks the Blue Sumo Bro's animations for *some* reason. I forgot to include this in *one* of the previous change notes, but you can now change which direction the Bros start stomping in. * Kill reference images Removed ALL of the reference images from the files there were like 135 images
2024-04-16 01:45:56 +00:00
using System.Linq;
Sumo brothers (#706) * Lockstep fansodnason * More Lockstep Implemented the new sprites (still needs work). Added new Icon. * More lockstep stuff i have no clue * Animation Tweaking I fiddled around with numbers weeeeeeeeeeeeeeee * Merge branch 'master' of https://github.com/RaffyTaffy14/HS * Background Has basic background * End Pose Start Adds the End Pose cue's tweeting sound (took so long but felt so cool) * Inu Sensei Start Inu Sensei added to scene. He can bop, crouch, or do neither * Temp Sumo Brothers Icon Made by Donfen * Inu Sensei Tweeting Inu Sensei now does his animation during the duration of the End Pose cue. * Crouch Block Rework Reworked crouch block to be a stretchable cue instead of a toggle (like KM prepare stance) * Bop Block Rework Bop block reworked to be a toggle. Also made a few minor tweaks to random things. * Added the Brothers The Sumo Brothers from Sumo Brothers are now in Sumo Brothers (minus the sumo) * Imported Upscaled Sumou_BG Higher resolution background and Inu Sensei sprites. * Imported REAL Upscaled Sumou_BG oops * Slap & Stomp Signals the domg buncus and tink tonks * Twiddling my Thumbs Random, Insignificant changes to random things in the code * idk random cleanup after I finally got HS to not be in shambles * more stuff dunno * Input for Pose this should not have taken this long * uh waste of 4gb atm, need 4gb atm, may need this not atm * Modernized Bops & WIP Stomps/Slaps Made the bop system to have automatic/stretchy settings like all new games. Also got a WIP implementation of stomping/slapping * quite honest i do not know let's just update HS * Prepare Slap Animation Prepare Slap animation has been animated and implemented * Sumo Prefab some stuff went down yesterday when updating the fork that involved the sumo prefab randomly downgrading to an older version, so I'm hoping that this commit will make sure that the current prefab wont just vanish into oblivion * Slapping Animation v1 Spent a few hours animating the front-hand slapping animation. Also added a "Look at Camera" event that makes the brotheren look at the camera while slapping. * Stomping Animations All stomp and stomp prepare animations are animated and coded into the game (except for the miss one) * Slapping Animation v2 finally animated the alternate slapping animation where those sumo brothers slap with their other hand * Slapping to Stomping Transition Added the slapping animation for when the Bros transition from slapping to stomping as well as all the accompanying code to get it to function. Also tweaked the two other slapping animations to fix the interpolation of those speed lines. * Inu Sensei Complete Added redone inu sensei spritesheet (thanks Mage!), animated all inu sensei animations, and coded all the inu sensei functionality. This is all really coming together now * Sumo Miss anims & more Added the Slap/Stomp miss animations. Coded the ability to whiff inputs. Replaced all the SFX with Kievit-approved rips. Added the little slap impact effect for successful slap inputs. Getting ready to make stomps pretty. Fixed misc bugs. * Sumo Pose anims & more Added the first set of pose animations. Also added animations for transitioning from posing to something else. Stomps aint getting pretty this time. Fixed misc bugs. * Sumo Pose anims v2 Animated the whole 2nd set of sumo pose animations. Fixed some various bugs with poses. Added a random setting for the poses (although it doesn't work well with only 2 poses). Getting ready for the PR * Random Bug Fixes Fixed random pose option, fixed an animation that accidentally left loop on, and added monologue. Getting ready for pr in a few days. * New Icon & Bug Fixes Added a shiny new icon made by Seanski2, fixed a bug about poses in tap mode being a bit bugged and fixed the Slap-to-Stomp slap animation being able to be played too soon. --------- Co-authored-by: minenice55 <star.elementa@gmail.com>
2024-02-19 01:25:26 +00:00
using UnityEngine;
using DG.Tweening;
Sumo brothers (#706) * Lockstep fansodnason * More Lockstep Implemented the new sprites (still needs work). Added new Icon. * More lockstep stuff i have no clue * Animation Tweaking I fiddled around with numbers weeeeeeeeeeeeeeee * Merge branch 'master' of https://github.com/RaffyTaffy14/HS * Background Has basic background * End Pose Start Adds the End Pose cue's tweeting sound (took so long but felt so cool) * Inu Sensei Start Inu Sensei added to scene. He can bop, crouch, or do neither * Temp Sumo Brothers Icon Made by Donfen * Inu Sensei Tweeting Inu Sensei now does his animation during the duration of the End Pose cue. * Crouch Block Rework Reworked crouch block to be a stretchable cue instead of a toggle (like KM prepare stance) * Bop Block Rework Bop block reworked to be a toggle. Also made a few minor tweaks to random things. * Added the Brothers The Sumo Brothers from Sumo Brothers are now in Sumo Brothers (minus the sumo) * Imported Upscaled Sumou_BG Higher resolution background and Inu Sensei sprites. * Imported REAL Upscaled Sumou_BG oops * Slap & Stomp Signals the domg buncus and tink tonks * Twiddling my Thumbs Random, Insignificant changes to random things in the code * idk random cleanup after I finally got HS to not be in shambles * more stuff dunno * Input for Pose this should not have taken this long * uh waste of 4gb atm, need 4gb atm, may need this not atm * Modernized Bops & WIP Stomps/Slaps Made the bop system to have automatic/stretchy settings like all new games. Also got a WIP implementation of stomping/slapping * quite honest i do not know let's just update HS * Prepare Slap Animation Prepare Slap animation has been animated and implemented * Sumo Prefab some stuff went down yesterday when updating the fork that involved the sumo prefab randomly downgrading to an older version, so I'm hoping that this commit will make sure that the current prefab wont just vanish into oblivion * Slapping Animation v1 Spent a few hours animating the front-hand slapping animation. Also added a "Look at Camera" event that makes the brotheren look at the camera while slapping. * Stomping Animations All stomp and stomp prepare animations are animated and coded into the game (except for the miss one) * Slapping Animation v2 finally animated the alternate slapping animation where those sumo brothers slap with their other hand * Slapping to Stomping Transition Added the slapping animation for when the Bros transition from slapping to stomping as well as all the accompanying code to get it to function. Also tweaked the two other slapping animations to fix the interpolation of those speed lines. * Inu Sensei Complete Added redone inu sensei spritesheet (thanks Mage!), animated all inu sensei animations, and coded all the inu sensei functionality. This is all really coming together now * Sumo Miss anims & more Added the Slap/Stomp miss animations. Coded the ability to whiff inputs. Replaced all the SFX with Kievit-approved rips. Added the little slap impact effect for successful slap inputs. Getting ready to make stomps pretty. Fixed misc bugs. * Sumo Pose anims & more Added the first set of pose animations. Also added animations for transitioning from posing to something else. Stomps aint getting pretty this time. Fixed misc bugs. * Sumo Pose anims v2 Animated the whole 2nd set of sumo pose animations. Fixed some various bugs with poses. Added a random setting for the poses (although it doesn't work well with only 2 poses). Getting ready for the PR * Random Bug Fixes Fixed random pose option, fixed an animation that accidentally left loop on, and added monologue. Getting ready for pr in a few days. * New Icon & Bug Fixes Added a shiny new icon made by Seanski2, fixed a bug about poses in tap mode being a bit bugged and fixed the Slap-to-Stomp slap animation being able to be played too soon. --------- Co-authored-by: minenice55 <star.elementa@gmail.com>
2024-02-19 01:25:26 +00:00
namespace HeavenStudio.Games.Loaders
{
using static Minigames;
public static class CtrSumouLoader
{
public static Minigame AddGame(EventCaller eventCaller)
{
return new Minigame("sumoBrothers", "Sumo Brothers", "EDED15", false, false, new List<GameAction>()
{
new GameAction("bop", "Bop")
{
function = delegate { var e = eventCaller.currentEntity; SumoBrothers.instance.Bop(e.beat, e.length, e["bopInu"], e["bopSumo"], e["bopInuAuto"], e["bopSumoAuto"]); },
parameters = new List<Param>()
{
new Param("bopInu", true, "Inu Sensei", "Whether Inu Sensei should bop."),
new Param("bopSumo", true, "Sumo Brothers", "Whether the Sumo Brothers should bop."),
new Param("bopInuAuto", false, "Inu Sensei (Auto)", "Whether Inu Sensei should bop automatically."),
new Param("bopSumoAuto", false, "Sumo Brothers (Auto)", "Whether the Sumo Brothers should bop automatically."),
Sumo brothers (#706) * Lockstep fansodnason * More Lockstep Implemented the new sprites (still needs work). Added new Icon. * More lockstep stuff i have no clue * Animation Tweaking I fiddled around with numbers weeeeeeeeeeeeeeee * Merge branch 'master' of https://github.com/RaffyTaffy14/HS * Background Has basic background * End Pose Start Adds the End Pose cue's tweeting sound (took so long but felt so cool) * Inu Sensei Start Inu Sensei added to scene. He can bop, crouch, or do neither * Temp Sumo Brothers Icon Made by Donfen * Inu Sensei Tweeting Inu Sensei now does his animation during the duration of the End Pose cue. * Crouch Block Rework Reworked crouch block to be a stretchable cue instead of a toggle (like KM prepare stance) * Bop Block Rework Bop block reworked to be a toggle. Also made a few minor tweaks to random things. * Added the Brothers The Sumo Brothers from Sumo Brothers are now in Sumo Brothers (minus the sumo) * Imported Upscaled Sumou_BG Higher resolution background and Inu Sensei sprites. * Imported REAL Upscaled Sumou_BG oops * Slap & Stomp Signals the domg buncus and tink tonks * Twiddling my Thumbs Random, Insignificant changes to random things in the code * idk random cleanup after I finally got HS to not be in shambles * more stuff dunno * Input for Pose this should not have taken this long * uh waste of 4gb atm, need 4gb atm, may need this not atm * Modernized Bops & WIP Stomps/Slaps Made the bop system to have automatic/stretchy settings like all new games. Also got a WIP implementation of stomping/slapping * quite honest i do not know let's just update HS * Prepare Slap Animation Prepare Slap animation has been animated and implemented * Sumo Prefab some stuff went down yesterday when updating the fork that involved the sumo prefab randomly downgrading to an older version, so I'm hoping that this commit will make sure that the current prefab wont just vanish into oblivion * Slapping Animation v1 Spent a few hours animating the front-hand slapping animation. Also added a "Look at Camera" event that makes the brotheren look at the camera while slapping. * Stomping Animations All stomp and stomp prepare animations are animated and coded into the game (except for the miss one) * Slapping Animation v2 finally animated the alternate slapping animation where those sumo brothers slap with their other hand * Slapping to Stomping Transition Added the slapping animation for when the Bros transition from slapping to stomping as well as all the accompanying code to get it to function. Also tweaked the two other slapping animations to fix the interpolation of those speed lines. * Inu Sensei Complete Added redone inu sensei spritesheet (thanks Mage!), animated all inu sensei animations, and coded all the inu sensei functionality. This is all really coming together now * Sumo Miss anims & more Added the Slap/Stomp miss animations. Coded the ability to whiff inputs. Replaced all the SFX with Kievit-approved rips. Added the little slap impact effect for successful slap inputs. Getting ready to make stomps pretty. Fixed misc bugs. * Sumo Pose anims & more Added the first set of pose animations. Also added animations for transitioning from posing to something else. Stomps aint getting pretty this time. Fixed misc bugs. * Sumo Pose anims v2 Animated the whole 2nd set of sumo pose animations. Fixed some various bugs with poses. Added a random setting for the poses (although it doesn't work well with only 2 poses). Getting ready for the PR * Random Bug Fixes Fixed random pose option, fixed an animation that accidentally left loop on, and added monologue. Getting ready for pr in a few days. * New Icon & Bug Fixes Added a shiny new icon made by Seanski2, fixed a bug about poses in tap mode being a bit bugged and fixed the Slap-to-Stomp slap animation being able to be played too soon. --------- Co-authored-by: minenice55 <star.elementa@gmail.com>
2024-02-19 01:25:26 +00:00
},
defaultLength = 1f,
resizable = true
},
new GameAction("crouch", "Crouch")
{
function = delegate { var e = eventCaller.currentEntity; SumoBrothers.instance.Crouch(e.beat, e.length, e["inuT"], e["sumoT"]); },
parameters = new List<Param>()
{
new Param("inuT", true, "Inu Sensei", "Whether Inu Sensei should crouch."),
new Param("sumoT", true, "Sumo Brothers", "Whether the Sumo Brothers should crouch.")
},
defaultLength = 1f,
resizable = true
},
new GameAction("stompSignal", "Stomp Signal")
{
Sumo brothers is FINISHED* (#867) * Pose Backgrounds The cool backgrounds that appear on a successful pose are now fully added. Also implemented the new upscales. * Stomp Camera Shake The way it is coded is not good at all, but the stomp shakes look *ok* when the game runs at triple digit tempos. * Better Stomp Shake & Alternate BGs Made the stomp shake look MUCH better, and added an option to poses to automatically alternate between background types. * Sumo Pose anims v4 Animated most of all the remaining pose animations, missing the miss animations + glasses being thrown. Also will want to add a version where the glasses aren't thrown. Pig? * Sumo Pose anims v4.5 Added the missing miss animations. Added the glasses actually being thrown. Fixed a bug with head layering w/ the Look at Camera event. Fixed some other bugs that aren't important. * New Icon i made it myself * Sumo Pose anims v4.9 You can now toggle if the blue sumo bro will throw his glasses on the finale pose. Also changed selecting the pose type from an integer slider to a dropdown menu. You can also now change which direction the sumo brothers begin stomping in. * Sumo Pose anims v5 D se dab * Finalizing stuff Changed ALL the animations (minus InuTweet) to use linear interpolation instead of the default setting since that's what megamix does afaik. Combined the two sumohead animators into one just to allow for more play animation shenanigans. Assigned all the sumo assets to a new ctrsumou asset bundle to get ready for packing it all up. Added new nerd bg because Mage just happened to make one * Bug Fixed + Tweaks + Finish Fixed a bug where the game would end up cueing inputs that extended into other games. It wouldn't do anything until you went back to Sumo Brothers where all those extra cues would run the frame the game loaded. Tweaked all the BG sliding in animations to be accurate to the original game. I started implementing asset bundles, but for some reason actually using them breaks the Blue Sumo Bro's animations for *some* reason. I forgot to include this in *one* of the previous change notes, but you can now change which direction the Bros start stomping in. * Kill reference images Removed ALL of the reference images from the files there were like 135 images
2024-04-16 01:45:56 +00:00
function = delegate { var e = eventCaller.currentEntity; SumoBrothers.instance.StompSignal(e.beat, e["mute"], !e["mute"], e["look"], e["direction"]); },
Sumo brothers (#706) * Lockstep fansodnason * More Lockstep Implemented the new sprites (still needs work). Added new Icon. * More lockstep stuff i have no clue * Animation Tweaking I fiddled around with numbers weeeeeeeeeeeeeeee * Merge branch 'master' of https://github.com/RaffyTaffy14/HS * Background Has basic background * End Pose Start Adds the End Pose cue's tweeting sound (took so long but felt so cool) * Inu Sensei Start Inu Sensei added to scene. He can bop, crouch, or do neither * Temp Sumo Brothers Icon Made by Donfen * Inu Sensei Tweeting Inu Sensei now does his animation during the duration of the End Pose cue. * Crouch Block Rework Reworked crouch block to be a stretchable cue instead of a toggle (like KM prepare stance) * Bop Block Rework Bop block reworked to be a toggle. Also made a few minor tweaks to random things. * Added the Brothers The Sumo Brothers from Sumo Brothers are now in Sumo Brothers (minus the sumo) * Imported Upscaled Sumou_BG Higher resolution background and Inu Sensei sprites. * Imported REAL Upscaled Sumou_BG oops * Slap & Stomp Signals the domg buncus and tink tonks * Twiddling my Thumbs Random, Insignificant changes to random things in the code * idk random cleanup after I finally got HS to not be in shambles * more stuff dunno * Input for Pose this should not have taken this long * uh waste of 4gb atm, need 4gb atm, may need this not atm * Modernized Bops & WIP Stomps/Slaps Made the bop system to have automatic/stretchy settings like all new games. Also got a WIP implementation of stomping/slapping * quite honest i do not know let's just update HS * Prepare Slap Animation Prepare Slap animation has been animated and implemented * Sumo Prefab some stuff went down yesterday when updating the fork that involved the sumo prefab randomly downgrading to an older version, so I'm hoping that this commit will make sure that the current prefab wont just vanish into oblivion * Slapping Animation v1 Spent a few hours animating the front-hand slapping animation. Also added a "Look at Camera" event that makes the brotheren look at the camera while slapping. * Stomping Animations All stomp and stomp prepare animations are animated and coded into the game (except for the miss one) * Slapping Animation v2 finally animated the alternate slapping animation where those sumo brothers slap with their other hand * Slapping to Stomping Transition Added the slapping animation for when the Bros transition from slapping to stomping as well as all the accompanying code to get it to function. Also tweaked the two other slapping animations to fix the interpolation of those speed lines. * Inu Sensei Complete Added redone inu sensei spritesheet (thanks Mage!), animated all inu sensei animations, and coded all the inu sensei functionality. This is all really coming together now * Sumo Miss anims & more Added the Slap/Stomp miss animations. Coded the ability to whiff inputs. Replaced all the SFX with Kievit-approved rips. Added the little slap impact effect for successful slap inputs. Getting ready to make stomps pretty. Fixed misc bugs. * Sumo Pose anims & more Added the first set of pose animations. Also added animations for transitioning from posing to something else. Stomps aint getting pretty this time. Fixed misc bugs. * Sumo Pose anims v2 Animated the whole 2nd set of sumo pose animations. Fixed some various bugs with poses. Added a random setting for the poses (although it doesn't work well with only 2 poses). Getting ready for the PR * Random Bug Fixes Fixed random pose option, fixed an animation that accidentally left loop on, and added monologue. Getting ready for pr in a few days. * New Icon & Bug Fixes Added a shiny new icon made by Seanski2, fixed a bug about poses in tap mode being a bit bugged and fixed the Slap-to-Stomp slap animation being able to be played too soon. --------- Co-authored-by: minenice55 <star.elementa@gmail.com>
2024-02-19 01:25:26 +00:00
parameters = new List<Param>()
{
new Param("mute", false, "Mute", "Disables Inu Sensei's sound cues and animations."),
Sumo brothers is FINISHED* (#867) * Pose Backgrounds The cool backgrounds that appear on a successful pose are now fully added. Also implemented the new upscales. * Stomp Camera Shake The way it is coded is not good at all, but the stomp shakes look *ok* when the game runs at triple digit tempos. * Better Stomp Shake & Alternate BGs Made the stomp shake look MUCH better, and added an option to poses to automatically alternate between background types. * Sumo Pose anims v4 Animated most of all the remaining pose animations, missing the miss animations + glasses being thrown. Also will want to add a version where the glasses aren't thrown. Pig? * Sumo Pose anims v4.5 Added the missing miss animations. Added the glasses actually being thrown. Fixed a bug with head layering w/ the Look at Camera event. Fixed some other bugs that aren't important. * New Icon i made it myself * Sumo Pose anims v4.9 You can now toggle if the blue sumo bro will throw his glasses on the finale pose. Also changed selecting the pose type from an integer slider to a dropdown menu. You can also now change which direction the sumo brothers begin stomping in. * Sumo Pose anims v5 D se dab * Finalizing stuff Changed ALL the animations (minus InuTweet) to use linear interpolation instead of the default setting since that's what megamix does afaik. Combined the two sumohead animators into one just to allow for more play animation shenanigans. Assigned all the sumo assets to a new ctrsumou asset bundle to get ready for packing it all up. Added new nerd bg because Mage just happened to make one * Bug Fixed + Tweaks + Finish Fixed a bug where the game would end up cueing inputs that extended into other games. It wouldn't do anything until you went back to Sumo Brothers where all those extra cues would run the frame the game loaded. Tweaked all the BG sliding in animations to be accurate to the original game. I started implementing asset bundles, but for some reason actually using them breaks the Blue Sumo Bro's animations for *some* reason. I forgot to include this in *one* of the previous change notes, but you can now change which direction the Bros start stomping in. * Kill reference images Removed ALL of the reference images from the files there were like 135 images
2024-04-16 01:45:56 +00:00
new Param("look", true, "Look at Camera", "The Sumo Brothers will look at the camera if transitioning from slapping."),
new Param("direction", SumoBrothers.StompDirection.Automatic, "Stomp Direction", "Which direction the Sumo Brothers will begin stomping in."),
Sumo brothers (#706) * Lockstep fansodnason * More Lockstep Implemented the new sprites (still needs work). Added new Icon. * More lockstep stuff i have no clue * Animation Tweaking I fiddled around with numbers weeeeeeeeeeeeeeee * Merge branch 'master' of https://github.com/RaffyTaffy14/HS * Background Has basic background * End Pose Start Adds the End Pose cue's tweeting sound (took so long but felt so cool) * Inu Sensei Start Inu Sensei added to scene. He can bop, crouch, or do neither * Temp Sumo Brothers Icon Made by Donfen * Inu Sensei Tweeting Inu Sensei now does his animation during the duration of the End Pose cue. * Crouch Block Rework Reworked crouch block to be a stretchable cue instead of a toggle (like KM prepare stance) * Bop Block Rework Bop block reworked to be a toggle. Also made a few minor tweaks to random things. * Added the Brothers The Sumo Brothers from Sumo Brothers are now in Sumo Brothers (minus the sumo) * Imported Upscaled Sumou_BG Higher resolution background and Inu Sensei sprites. * Imported REAL Upscaled Sumou_BG oops * Slap & Stomp Signals the domg buncus and tink tonks * Twiddling my Thumbs Random, Insignificant changes to random things in the code * idk random cleanup after I finally got HS to not be in shambles * more stuff dunno * Input for Pose this should not have taken this long * uh waste of 4gb atm, need 4gb atm, may need this not atm * Modernized Bops & WIP Stomps/Slaps Made the bop system to have automatic/stretchy settings like all new games. Also got a WIP implementation of stomping/slapping * quite honest i do not know let's just update HS * Prepare Slap Animation Prepare Slap animation has been animated and implemented * Sumo Prefab some stuff went down yesterday when updating the fork that involved the sumo prefab randomly downgrading to an older version, so I'm hoping that this commit will make sure that the current prefab wont just vanish into oblivion * Slapping Animation v1 Spent a few hours animating the front-hand slapping animation. Also added a "Look at Camera" event that makes the brotheren look at the camera while slapping. * Stomping Animations All stomp and stomp prepare animations are animated and coded into the game (except for the miss one) * Slapping Animation v2 finally animated the alternate slapping animation where those sumo brothers slap with their other hand * Slapping to Stomping Transition Added the slapping animation for when the Bros transition from slapping to stomping as well as all the accompanying code to get it to function. Also tweaked the two other slapping animations to fix the interpolation of those speed lines. * Inu Sensei Complete Added redone inu sensei spritesheet (thanks Mage!), animated all inu sensei animations, and coded all the inu sensei functionality. This is all really coming together now * Sumo Miss anims & more Added the Slap/Stomp miss animations. Coded the ability to whiff inputs. Replaced all the SFX with Kievit-approved rips. Added the little slap impact effect for successful slap inputs. Getting ready to make stomps pretty. Fixed misc bugs. * Sumo Pose anims & more Added the first set of pose animations. Also added animations for transitioning from posing to something else. Stomps aint getting pretty this time. Fixed misc bugs. * Sumo Pose anims v2 Animated the whole 2nd set of sumo pose animations. Fixed some various bugs with poses. Added a random setting for the poses (although it doesn't work well with only 2 poses). Getting ready for the PR * Random Bug Fixes Fixed random pose option, fixed an animation that accidentally left loop on, and added monologue. Getting ready for pr in a few days. * New Icon & Bug Fixes Added a shiny new icon made by Seanski2, fixed a bug about poses in tap mode being a bit bugged and fixed the Slap-to-Stomp slap animation being able to be played too soon. --------- Co-authored-by: minenice55 <star.elementa@gmail.com>
2024-02-19 01:25:26 +00:00
},
inactiveFunction = delegate { var e = eventCaller.currentEntity; if (!e["mute"]) { SumoBrothers.StompSignalSound(e.beat);} },
defaultLength = 4f,
Sumo brothers (#706) * Lockstep fansodnason * More Lockstep Implemented the new sprites (still needs work). Added new Icon. * More lockstep stuff i have no clue * Animation Tweaking I fiddled around with numbers weeeeeeeeeeeeeeee * Merge branch 'master' of https://github.com/RaffyTaffy14/HS * Background Has basic background * End Pose Start Adds the End Pose cue's tweeting sound (took so long but felt so cool) * Inu Sensei Start Inu Sensei added to scene. He can bop, crouch, or do neither * Temp Sumo Brothers Icon Made by Donfen * Inu Sensei Tweeting Inu Sensei now does his animation during the duration of the End Pose cue. * Crouch Block Rework Reworked crouch block to be a stretchable cue instead of a toggle (like KM prepare stance) * Bop Block Rework Bop block reworked to be a toggle. Also made a few minor tweaks to random things. * Added the Brothers The Sumo Brothers from Sumo Brothers are now in Sumo Brothers (minus the sumo) * Imported Upscaled Sumou_BG Higher resolution background and Inu Sensei sprites. * Imported REAL Upscaled Sumou_BG oops * Slap & Stomp Signals the domg buncus and tink tonks * Twiddling my Thumbs Random, Insignificant changes to random things in the code * idk random cleanup after I finally got HS to not be in shambles * more stuff dunno * Input for Pose this should not have taken this long * uh waste of 4gb atm, need 4gb atm, may need this not atm * Modernized Bops & WIP Stomps/Slaps Made the bop system to have automatic/stretchy settings like all new games. Also got a WIP implementation of stomping/slapping * quite honest i do not know let's just update HS * Prepare Slap Animation Prepare Slap animation has been animated and implemented * Sumo Prefab some stuff went down yesterday when updating the fork that involved the sumo prefab randomly downgrading to an older version, so I'm hoping that this commit will make sure that the current prefab wont just vanish into oblivion * Slapping Animation v1 Spent a few hours animating the front-hand slapping animation. Also added a "Look at Camera" event that makes the brotheren look at the camera while slapping. * Stomping Animations All stomp and stomp prepare animations are animated and coded into the game (except for the miss one) * Slapping Animation v2 finally animated the alternate slapping animation where those sumo brothers slap with their other hand * Slapping to Stomping Transition Added the slapping animation for when the Bros transition from slapping to stomping as well as all the accompanying code to get it to function. Also tweaked the two other slapping animations to fix the interpolation of those speed lines. * Inu Sensei Complete Added redone inu sensei spritesheet (thanks Mage!), animated all inu sensei animations, and coded all the inu sensei functionality. This is all really coming together now * Sumo Miss anims & more Added the Slap/Stomp miss animations. Coded the ability to whiff inputs. Replaced all the SFX with Kievit-approved rips. Added the little slap impact effect for successful slap inputs. Getting ready to make stomps pretty. Fixed misc bugs. * Sumo Pose anims & more Added the first set of pose animations. Also added animations for transitioning from posing to something else. Stomps aint getting pretty this time. Fixed misc bugs. * Sumo Pose anims v2 Animated the whole 2nd set of sumo pose animations. Fixed some various bugs with poses. Added a random setting for the poses (although it doesn't work well with only 2 poses). Getting ready for the PR * Random Bug Fixes Fixed random pose option, fixed an animation that accidentally left loop on, and added monologue. Getting ready for pr in a few days. * New Icon & Bug Fixes Added a shiny new icon made by Seanski2, fixed a bug about poses in tap mode being a bit bugged and fixed the Slap-to-Stomp slap animation being able to be played too soon. --------- Co-authored-by: minenice55 <star.elementa@gmail.com>
2024-02-19 01:25:26 +00:00
priority = 4
},
new GameAction("slapSignal", "Slap Signal")
{
function = delegate { var e = eventCaller.currentEntity; SumoBrothers.instance.SlapSignal(e.beat, e["mute"], !e["mute"]); },
Sumo brothers (#706) * Lockstep fansodnason * More Lockstep Implemented the new sprites (still needs work). Added new Icon. * More lockstep stuff i have no clue * Animation Tweaking I fiddled around with numbers weeeeeeeeeeeeeeee * Merge branch 'master' of https://github.com/RaffyTaffy14/HS * Background Has basic background * End Pose Start Adds the End Pose cue's tweeting sound (took so long but felt so cool) * Inu Sensei Start Inu Sensei added to scene. He can bop, crouch, or do neither * Temp Sumo Brothers Icon Made by Donfen * Inu Sensei Tweeting Inu Sensei now does his animation during the duration of the End Pose cue. * Crouch Block Rework Reworked crouch block to be a stretchable cue instead of a toggle (like KM prepare stance) * Bop Block Rework Bop block reworked to be a toggle. Also made a few minor tweaks to random things. * Added the Brothers The Sumo Brothers from Sumo Brothers are now in Sumo Brothers (minus the sumo) * Imported Upscaled Sumou_BG Higher resolution background and Inu Sensei sprites. * Imported REAL Upscaled Sumou_BG oops * Slap & Stomp Signals the domg buncus and tink tonks * Twiddling my Thumbs Random, Insignificant changes to random things in the code * idk random cleanup after I finally got HS to not be in shambles * more stuff dunno * Input for Pose this should not have taken this long * uh waste of 4gb atm, need 4gb atm, may need this not atm * Modernized Bops & WIP Stomps/Slaps Made the bop system to have automatic/stretchy settings like all new games. Also got a WIP implementation of stomping/slapping * quite honest i do not know let's just update HS * Prepare Slap Animation Prepare Slap animation has been animated and implemented * Sumo Prefab some stuff went down yesterday when updating the fork that involved the sumo prefab randomly downgrading to an older version, so I'm hoping that this commit will make sure that the current prefab wont just vanish into oblivion * Slapping Animation v1 Spent a few hours animating the front-hand slapping animation. Also added a "Look at Camera" event that makes the brotheren look at the camera while slapping. * Stomping Animations All stomp and stomp prepare animations are animated and coded into the game (except for the miss one) * Slapping Animation v2 finally animated the alternate slapping animation where those sumo brothers slap with their other hand * Slapping to Stomping Transition Added the slapping animation for when the Bros transition from slapping to stomping as well as all the accompanying code to get it to function. Also tweaked the two other slapping animations to fix the interpolation of those speed lines. * Inu Sensei Complete Added redone inu sensei spritesheet (thanks Mage!), animated all inu sensei animations, and coded all the inu sensei functionality. This is all really coming together now * Sumo Miss anims & more Added the Slap/Stomp miss animations. Coded the ability to whiff inputs. Replaced all the SFX with Kievit-approved rips. Added the little slap impact effect for successful slap inputs. Getting ready to make stomps pretty. Fixed misc bugs. * Sumo Pose anims & more Added the first set of pose animations. Also added animations for transitioning from posing to something else. Stomps aint getting pretty this time. Fixed misc bugs. * Sumo Pose anims v2 Animated the whole 2nd set of sumo pose animations. Fixed some various bugs with poses. Added a random setting for the poses (although it doesn't work well with only 2 poses). Getting ready for the PR * Random Bug Fixes Fixed random pose option, fixed an animation that accidentally left loop on, and added monologue. Getting ready for pr in a few days. * New Icon & Bug Fixes Added a shiny new icon made by Seanski2, fixed a bug about poses in tap mode being a bit bugged and fixed the Slap-to-Stomp slap animation being able to be played too soon. --------- Co-authored-by: minenice55 <star.elementa@gmail.com>
2024-02-19 01:25:26 +00:00
parameters = new List<Param>()
{
new Param("mute", false, "Mute", "Disables Inu Sensei's sound cues and animations.")
},
inactiveFunction = delegate { var e = eventCaller.currentEntity; if (!e["mute"]) { SumoBrothers.SlapSignalSound(e.beat);} },
Sumo brothers (#706) * Lockstep fansodnason * More Lockstep Implemented the new sprites (still needs work). Added new Icon. * More lockstep stuff i have no clue * Animation Tweaking I fiddled around with numbers weeeeeeeeeeeeeeee * Merge branch 'master' of https://github.com/RaffyTaffy14/HS * Background Has basic background * End Pose Start Adds the End Pose cue's tweeting sound (took so long but felt so cool) * Inu Sensei Start Inu Sensei added to scene. He can bop, crouch, or do neither * Temp Sumo Brothers Icon Made by Donfen * Inu Sensei Tweeting Inu Sensei now does his animation during the duration of the End Pose cue. * Crouch Block Rework Reworked crouch block to be a stretchable cue instead of a toggle (like KM prepare stance) * Bop Block Rework Bop block reworked to be a toggle. Also made a few minor tweaks to random things. * Added the Brothers The Sumo Brothers from Sumo Brothers are now in Sumo Brothers (minus the sumo) * Imported Upscaled Sumou_BG Higher resolution background and Inu Sensei sprites. * Imported REAL Upscaled Sumou_BG oops * Slap & Stomp Signals the domg buncus and tink tonks * Twiddling my Thumbs Random, Insignificant changes to random things in the code * idk random cleanup after I finally got HS to not be in shambles * more stuff dunno * Input for Pose this should not have taken this long * uh waste of 4gb atm, need 4gb atm, may need this not atm * Modernized Bops & WIP Stomps/Slaps Made the bop system to have automatic/stretchy settings like all new games. Also got a WIP implementation of stomping/slapping * quite honest i do not know let's just update HS * Prepare Slap Animation Prepare Slap animation has been animated and implemented * Sumo Prefab some stuff went down yesterday when updating the fork that involved the sumo prefab randomly downgrading to an older version, so I'm hoping that this commit will make sure that the current prefab wont just vanish into oblivion * Slapping Animation v1 Spent a few hours animating the front-hand slapping animation. Also added a "Look at Camera" event that makes the brotheren look at the camera while slapping. * Stomping Animations All stomp and stomp prepare animations are animated and coded into the game (except for the miss one) * Slapping Animation v2 finally animated the alternate slapping animation where those sumo brothers slap with their other hand * Slapping to Stomping Transition Added the slapping animation for when the Bros transition from slapping to stomping as well as all the accompanying code to get it to function. Also tweaked the two other slapping animations to fix the interpolation of those speed lines. * Inu Sensei Complete Added redone inu sensei spritesheet (thanks Mage!), animated all inu sensei animations, and coded all the inu sensei functionality. This is all really coming together now * Sumo Miss anims & more Added the Slap/Stomp miss animations. Coded the ability to whiff inputs. Replaced all the SFX with Kievit-approved rips. Added the little slap impact effect for successful slap inputs. Getting ready to make stomps pretty. Fixed misc bugs. * Sumo Pose anims & more Added the first set of pose animations. Also added animations for transitioning from posing to something else. Stomps aint getting pretty this time. Fixed misc bugs. * Sumo Pose anims v2 Animated the whole 2nd set of sumo pose animations. Fixed some various bugs with poses. Added a random setting for the poses (although it doesn't work well with only 2 poses). Getting ready for the PR * Random Bug Fixes Fixed random pose option, fixed an animation that accidentally left loop on, and added monologue. Getting ready for pr in a few days. * New Icon & Bug Fixes Added a shiny new icon made by Seanski2, fixed a bug about poses in tap mode being a bit bugged and fixed the Slap-to-Stomp slap animation being able to be played too soon. --------- Co-authored-by: minenice55 <star.elementa@gmail.com>
2024-02-19 01:25:26 +00:00
defaultLength = 4f,
priority = 3
},
new GameAction("endPose", "Finishing Pose")
{
Sumo brothers is FINISHED* (#867) * Pose Backgrounds The cool backgrounds that appear on a successful pose are now fully added. Also implemented the new upscales. * Stomp Camera Shake The way it is coded is not good at all, but the stomp shakes look *ok* when the game runs at triple digit tempos. * Better Stomp Shake & Alternate BGs Made the stomp shake look MUCH better, and added an option to poses to automatically alternate between background types. * Sumo Pose anims v4 Animated most of all the remaining pose animations, missing the miss animations + glasses being thrown. Also will want to add a version where the glasses aren't thrown. Pig? * Sumo Pose anims v4.5 Added the missing miss animations. Added the glasses actually being thrown. Fixed a bug with head layering w/ the Look at Camera event. Fixed some other bugs that aren't important. * New Icon i made it myself * Sumo Pose anims v4.9 You can now toggle if the blue sumo bro will throw his glasses on the finale pose. Also changed selecting the pose type from an integer slider to a dropdown menu. You can also now change which direction the sumo brothers begin stomping in. * Sumo Pose anims v5 D se dab * Finalizing stuff Changed ALL the animations (minus InuTweet) to use linear interpolation instead of the default setting since that's what megamix does afaik. Combined the two sumohead animators into one just to allow for more play animation shenanigans. Assigned all the sumo assets to a new ctrsumou asset bundle to get ready for packing it all up. Added new nerd bg because Mage just happened to make one * Bug Fixed + Tweaks + Finish Fixed a bug where the game would end up cueing inputs that extended into other games. It wouldn't do anything until you went back to Sumo Brothers where all those extra cues would run the frame the game loaded. Tweaked all the BG sliding in animations to be accurate to the original game. I started implementing asset bundles, but for some reason actually using them breaks the Blue Sumo Bro's animations for *some* reason. I forgot to include this in *one* of the previous change notes, but you can now change which direction the Bros start stomping in. * Kill reference images Removed ALL of the reference images from the files there were like 135 images
2024-04-16 01:45:56 +00:00
function = delegate { var e = eventCaller.currentEntity; SumoBrothers.instance.EndPose(e.beat, e["random"], e["type"], e["bg"], e["confetti"], e["alternate"], e["throw"]); },
Sumo brothers (#706) * Lockstep fansodnason * More Lockstep Implemented the new sprites (still needs work). Added new Icon. * More lockstep stuff i have no clue * Animation Tweaking I fiddled around with numbers weeeeeeeeeeeeeeee * Merge branch 'master' of https://github.com/RaffyTaffy14/HS * Background Has basic background * End Pose Start Adds the End Pose cue's tweeting sound (took so long but felt so cool) * Inu Sensei Start Inu Sensei added to scene. He can bop, crouch, or do neither * Temp Sumo Brothers Icon Made by Donfen * Inu Sensei Tweeting Inu Sensei now does his animation during the duration of the End Pose cue. * Crouch Block Rework Reworked crouch block to be a stretchable cue instead of a toggle (like KM prepare stance) * Bop Block Rework Bop block reworked to be a toggle. Also made a few minor tweaks to random things. * Added the Brothers The Sumo Brothers from Sumo Brothers are now in Sumo Brothers (minus the sumo) * Imported Upscaled Sumou_BG Higher resolution background and Inu Sensei sprites. * Imported REAL Upscaled Sumou_BG oops * Slap & Stomp Signals the domg buncus and tink tonks * Twiddling my Thumbs Random, Insignificant changes to random things in the code * idk random cleanup after I finally got HS to not be in shambles * more stuff dunno * Input for Pose this should not have taken this long * uh waste of 4gb atm, need 4gb atm, may need this not atm * Modernized Bops & WIP Stomps/Slaps Made the bop system to have automatic/stretchy settings like all new games. Also got a WIP implementation of stomping/slapping * quite honest i do not know let's just update HS * Prepare Slap Animation Prepare Slap animation has been animated and implemented * Sumo Prefab some stuff went down yesterday when updating the fork that involved the sumo prefab randomly downgrading to an older version, so I'm hoping that this commit will make sure that the current prefab wont just vanish into oblivion * Slapping Animation v1 Spent a few hours animating the front-hand slapping animation. Also added a "Look at Camera" event that makes the brotheren look at the camera while slapping. * Stomping Animations All stomp and stomp prepare animations are animated and coded into the game (except for the miss one) * Slapping Animation v2 finally animated the alternate slapping animation where those sumo brothers slap with their other hand * Slapping to Stomping Transition Added the slapping animation for when the Bros transition from slapping to stomping as well as all the accompanying code to get it to function. Also tweaked the two other slapping animations to fix the interpolation of those speed lines. * Inu Sensei Complete Added redone inu sensei spritesheet (thanks Mage!), animated all inu sensei animations, and coded all the inu sensei functionality. This is all really coming together now * Sumo Miss anims & more Added the Slap/Stomp miss animations. Coded the ability to whiff inputs. Replaced all the SFX with Kievit-approved rips. Added the little slap impact effect for successful slap inputs. Getting ready to make stomps pretty. Fixed misc bugs. * Sumo Pose anims & more Added the first set of pose animations. Also added animations for transitioning from posing to something else. Stomps aint getting pretty this time. Fixed misc bugs. * Sumo Pose anims v2 Animated the whole 2nd set of sumo pose animations. Fixed some various bugs with poses. Added a random setting for the poses (although it doesn't work well with only 2 poses). Getting ready for the PR * Random Bug Fixes Fixed random pose option, fixed an animation that accidentally left loop on, and added monologue. Getting ready for pr in a few days. * New Icon & Bug Fixes Added a shiny new icon made by Seanski2, fixed a bug about poses in tap mode being a bit bugged and fixed the Slap-to-Stomp slap animation being able to be played too soon. --------- Co-authored-by: minenice55 <star.elementa@gmail.com>
2024-02-19 01:25:26 +00:00
parameters = new List<Param>()
{ new Param("random", true, "Random Pose", "Picks a random pose that will play on a successful input. Does not include the finale pose.", new List<Param.CollapseParam>()
{
new Param.CollapseParam((x, _) => !(bool)x, new string[] { "type" })
}),
Sumo brothers is FINISHED* (#867) * Pose Backgrounds The cool backgrounds that appear on a successful pose are now fully added. Also implemented the new upscales. * Stomp Camera Shake The way it is coded is not good at all, but the stomp shakes look *ok* when the game runs at triple digit tempos. * Better Stomp Shake & Alternate BGs Made the stomp shake look MUCH better, and added an option to poses to automatically alternate between background types. * Sumo Pose anims v4 Animated most of all the remaining pose animations, missing the miss animations + glasses being thrown. Also will want to add a version where the glasses aren't thrown. Pig? * Sumo Pose anims v4.5 Added the missing miss animations. Added the glasses actually being thrown. Fixed a bug with head layering w/ the Look at Camera event. Fixed some other bugs that aren't important. * New Icon i made it myself * Sumo Pose anims v4.9 You can now toggle if the blue sumo bro will throw his glasses on the finale pose. Also changed selecting the pose type from an integer slider to a dropdown menu. You can also now change which direction the sumo brothers begin stomping in. * Sumo Pose anims v5 D se dab * Finalizing stuff Changed ALL the animations (minus InuTweet) to use linear interpolation instead of the default setting since that's what megamix does afaik. Combined the two sumohead animators into one just to allow for more play animation shenanigans. Assigned all the sumo assets to a new ctrsumou asset bundle to get ready for packing it all up. Added new nerd bg because Mage just happened to make one * Bug Fixed + Tweaks + Finish Fixed a bug where the game would end up cueing inputs that extended into other games. It wouldn't do anything until you went back to Sumo Brothers where all those extra cues would run the frame the game loaded. Tweaked all the BG sliding in animations to be accurate to the original game. I started implementing asset bundles, but for some reason actually using them breaks the Blue Sumo Bro's animations for *some* reason. I forgot to include this in *one* of the previous change notes, but you can now change which direction the Bros start stomping in. * Kill reference images Removed ALL of the reference images from the files there were like 135 images
2024-04-16 01:45:56 +00:00
new Param("type", SumoBrothers.PoseType.Squat, "Pose", "The pose variant that the Sumo Brothers perform on a successful input.", new List<Param.CollapseParam>()
{
new Param.CollapseParam((x, _) => (int)x == (int)SumoBrothers.PoseType.Finale, new string[] { "throw" })
}),
new Param("throw", true, "Throw Glasses", "If the Blue Sumo Brother will throw his glasses on a successful input."),
new Param("alternate", true, "Alternate Background", "Alternates between which of the backgrounds appear on a successful input. Persists between game switches.", new List<Param.CollapseParam>()
Sumo brothers is FINISHED* (#867) * Pose Backgrounds The cool backgrounds that appear on a successful pose are now fully added. Also implemented the new upscales. * Stomp Camera Shake The way it is coded is not good at all, but the stomp shakes look *ok* when the game runs at triple digit tempos. * Better Stomp Shake & Alternate BGs Made the stomp shake look MUCH better, and added an option to poses to automatically alternate between background types. * Sumo Pose anims v4 Animated most of all the remaining pose animations, missing the miss animations + glasses being thrown. Also will want to add a version where the glasses aren't thrown. Pig? * Sumo Pose anims v4.5 Added the missing miss animations. Added the glasses actually being thrown. Fixed a bug with head layering w/ the Look at Camera event. Fixed some other bugs that aren't important. * New Icon i made it myself * Sumo Pose anims v4.9 You can now toggle if the blue sumo bro will throw his glasses on the finale pose. Also changed selecting the pose type from an integer slider to a dropdown menu. You can also now change which direction the sumo brothers begin stomping in. * Sumo Pose anims v5 D se dab * Finalizing stuff Changed ALL the animations (minus InuTweet) to use linear interpolation instead of the default setting since that's what megamix does afaik. Combined the two sumohead animators into one just to allow for more play animation shenanigans. Assigned all the sumo assets to a new ctrsumou asset bundle to get ready for packing it all up. Added new nerd bg because Mage just happened to make one * Bug Fixed + Tweaks + Finish Fixed a bug where the game would end up cueing inputs that extended into other games. It wouldn't do anything until you went back to Sumo Brothers where all those extra cues would run the frame the game loaded. Tweaked all the BG sliding in animations to be accurate to the original game. I started implementing asset bundles, but for some reason actually using them breaks the Blue Sumo Bro's animations for *some* reason. I forgot to include this in *one* of the previous change notes, but you can now change which direction the Bros start stomping in. * Kill reference images Removed ALL of the reference images from the files there were like 135 images
2024-04-16 01:45:56 +00:00
{
new Param.CollapseParam((x, _) => !(bool)x, new string[] { "bg" })
}),
new Param("bg", SumoBrothers.BGType.GreatWave, "Background", "The background that appears on a successful input."),
new Param("confetti", true, "Confetti (WIP)", "Confetti particles will fly everywhere on a successful input.")
Sumo brothers (#706) * Lockstep fansodnason * More Lockstep Implemented the new sprites (still needs work). Added new Icon. * More lockstep stuff i have no clue * Animation Tweaking I fiddled around with numbers weeeeeeeeeeeeeeee * Merge branch 'master' of https://github.com/RaffyTaffy14/HS * Background Has basic background * End Pose Start Adds the End Pose cue's tweeting sound (took so long but felt so cool) * Inu Sensei Start Inu Sensei added to scene. He can bop, crouch, or do neither * Temp Sumo Brothers Icon Made by Donfen * Inu Sensei Tweeting Inu Sensei now does his animation during the duration of the End Pose cue. * Crouch Block Rework Reworked crouch block to be a stretchable cue instead of a toggle (like KM prepare stance) * Bop Block Rework Bop block reworked to be a toggle. Also made a few minor tweaks to random things. * Added the Brothers The Sumo Brothers from Sumo Brothers are now in Sumo Brothers (minus the sumo) * Imported Upscaled Sumou_BG Higher resolution background and Inu Sensei sprites. * Imported REAL Upscaled Sumou_BG oops * Slap & Stomp Signals the domg buncus and tink tonks * Twiddling my Thumbs Random, Insignificant changes to random things in the code * idk random cleanup after I finally got HS to not be in shambles * more stuff dunno * Input for Pose this should not have taken this long * uh waste of 4gb atm, need 4gb atm, may need this not atm * Modernized Bops & WIP Stomps/Slaps Made the bop system to have automatic/stretchy settings like all new games. Also got a WIP implementation of stomping/slapping * quite honest i do not know let's just update HS * Prepare Slap Animation Prepare Slap animation has been animated and implemented * Sumo Prefab some stuff went down yesterday when updating the fork that involved the sumo prefab randomly downgrading to an older version, so I'm hoping that this commit will make sure that the current prefab wont just vanish into oblivion * Slapping Animation v1 Spent a few hours animating the front-hand slapping animation. Also added a "Look at Camera" event that makes the brotheren look at the camera while slapping. * Stomping Animations All stomp and stomp prepare animations are animated and coded into the game (except for the miss one) * Slapping Animation v2 finally animated the alternate slapping animation where those sumo brothers slap with their other hand * Slapping to Stomping Transition Added the slapping animation for when the Bros transition from slapping to stomping as well as all the accompanying code to get it to function. Also tweaked the two other slapping animations to fix the interpolation of those speed lines. * Inu Sensei Complete Added redone inu sensei spritesheet (thanks Mage!), animated all inu sensei animations, and coded all the inu sensei functionality. This is all really coming together now * Sumo Miss anims & more Added the Slap/Stomp miss animations. Coded the ability to whiff inputs. Replaced all the SFX with Kievit-approved rips. Added the little slap impact effect for successful slap inputs. Getting ready to make stomps pretty. Fixed misc bugs. * Sumo Pose anims & more Added the first set of pose animations. Also added animations for transitioning from posing to something else. Stomps aint getting pretty this time. Fixed misc bugs. * Sumo Pose anims v2 Animated the whole 2nd set of sumo pose animations. Fixed some various bugs with poses. Added a random setting for the poses (although it doesn't work well with only 2 poses). Getting ready for the PR * Random Bug Fixes Fixed random pose option, fixed an animation that accidentally left loop on, and added monologue. Getting ready for pr in a few days. * New Icon & Bug Fixes Added a shiny new icon made by Seanski2, fixed a bug about poses in tap mode being a bit bugged and fixed the Slap-to-Stomp slap animation being able to be played too soon. --------- Co-authored-by: minenice55 <star.elementa@gmail.com>
2024-02-19 01:25:26 +00:00
},
defaultLength = 5f,
priority = 2
},
new GameAction("background color", "Background Appearance")
{
function = delegate { var e = eventCaller.currentEntity; SumoBrothers.instance.BackgroundColor(e.beat, e.length, e["colorFrom"], e["colorTo"], e["colorFrom2"], e["colorTo2"], e["ease"]); },
defaultLength = 0.5f,
resizable = true,
parameters = new List<Param>()
{
new Param("colorFrom", SumoBrothers.defaultBgTopColor, "Color A Start", "Set the top-most color of the background gradient at the start of the event."),
new Param("colorTo", SumoBrothers.defaultBgTopColor, "Color A End", "Set the top-most color of the background gradient at the end of the event."),
new Param("colorFrom2", SumoBrothers.defaultBgBtmColor, "Color B Start", "Set the bottom-most color of the background gradient at the start of the event."),
new Param("colorTo2", SumoBrothers.defaultBgBtmColor, "Color B End", "Set the bottom-most color of the background gradient at the end of the event."),
new Param("ease", Util.EasingFunction.Ease.Linear, "Ease", "Set the easing of the action.")
},
},
Sumo brothers is FINISHED* (#867) * Pose Backgrounds The cool backgrounds that appear on a successful pose are now fully added. Also implemented the new upscales. * Stomp Camera Shake The way it is coded is not good at all, but the stomp shakes look *ok* when the game runs at triple digit tempos. * Better Stomp Shake & Alternate BGs Made the stomp shake look MUCH better, and added an option to poses to automatically alternate between background types. * Sumo Pose anims v4 Animated most of all the remaining pose animations, missing the miss animations + glasses being thrown. Also will want to add a version where the glasses aren't thrown. Pig? * Sumo Pose anims v4.5 Added the missing miss animations. Added the glasses actually being thrown. Fixed a bug with head layering w/ the Look at Camera event. Fixed some other bugs that aren't important. * New Icon i made it myself * Sumo Pose anims v4.9 You can now toggle if the blue sumo bro will throw his glasses on the finale pose. Also changed selecting the pose type from an integer slider to a dropdown menu. You can also now change which direction the sumo brothers begin stomping in. * Sumo Pose anims v5 D se dab * Finalizing stuff Changed ALL the animations (minus InuTweet) to use linear interpolation instead of the default setting since that's what megamix does afaik. Combined the two sumohead animators into one just to allow for more play animation shenanigans. Assigned all the sumo assets to a new ctrsumou asset bundle to get ready for packing it all up. Added new nerd bg because Mage just happened to make one * Bug Fixed + Tweaks + Finish Fixed a bug where the game would end up cueing inputs that extended into other games. It wouldn't do anything until you went back to Sumo Brothers where all those extra cues would run the frame the game loaded. Tweaked all the BG sliding in animations to be accurate to the original game. I started implementing asset bundles, but for some reason actually using them breaks the Blue Sumo Bro's animations for *some* reason. I forgot to include this in *one* of the previous change notes, but you can now change which direction the Bros start stomping in. * Kill reference images Removed ALL of the reference images from the files there were like 135 images
2024-04-16 01:45:56 +00:00
new GameAction("look", "Look at Camera")
Sumo brothers (#706) * Lockstep fansodnason * More Lockstep Implemented the new sprites (still needs work). Added new Icon. * More lockstep stuff i have no clue * Animation Tweaking I fiddled around with numbers weeeeeeeeeeeeeeee * Merge branch 'master' of https://github.com/RaffyTaffy14/HS * Background Has basic background * End Pose Start Adds the End Pose cue's tweeting sound (took so long but felt so cool) * Inu Sensei Start Inu Sensei added to scene. He can bop, crouch, or do neither * Temp Sumo Brothers Icon Made by Donfen * Inu Sensei Tweeting Inu Sensei now does his animation during the duration of the End Pose cue. * Crouch Block Rework Reworked crouch block to be a stretchable cue instead of a toggle (like KM prepare stance) * Bop Block Rework Bop block reworked to be a toggle. Also made a few minor tweaks to random things. * Added the Brothers The Sumo Brothers from Sumo Brothers are now in Sumo Brothers (minus the sumo) * Imported Upscaled Sumou_BG Higher resolution background and Inu Sensei sprites. * Imported REAL Upscaled Sumou_BG oops * Slap & Stomp Signals the domg buncus and tink tonks * Twiddling my Thumbs Random, Insignificant changes to random things in the code * idk random cleanup after I finally got HS to not be in shambles * more stuff dunno * Input for Pose this should not have taken this long * uh waste of 4gb atm, need 4gb atm, may need this not atm * Modernized Bops & WIP Stomps/Slaps Made the bop system to have automatic/stretchy settings like all new games. Also got a WIP implementation of stomping/slapping * quite honest i do not know let's just update HS * Prepare Slap Animation Prepare Slap animation has been animated and implemented * Sumo Prefab some stuff went down yesterday when updating the fork that involved the sumo prefab randomly downgrading to an older version, so I'm hoping that this commit will make sure that the current prefab wont just vanish into oblivion * Slapping Animation v1 Spent a few hours animating the front-hand slapping animation. Also added a "Look at Camera" event that makes the brotheren look at the camera while slapping. * Stomping Animations All stomp and stomp prepare animations are animated and coded into the game (except for the miss one) * Slapping Animation v2 finally animated the alternate slapping animation where those sumo brothers slap with their other hand * Slapping to Stomping Transition Added the slapping animation for when the Bros transition from slapping to stomping as well as all the accompanying code to get it to function. Also tweaked the two other slapping animations to fix the interpolation of those speed lines. * Inu Sensei Complete Added redone inu sensei spritesheet (thanks Mage!), animated all inu sensei animations, and coded all the inu sensei functionality. This is all really coming together now * Sumo Miss anims & more Added the Slap/Stomp miss animations. Coded the ability to whiff inputs. Replaced all the SFX with Kievit-approved rips. Added the little slap impact effect for successful slap inputs. Getting ready to make stomps pretty. Fixed misc bugs. * Sumo Pose anims & more Added the first set of pose animations. Also added animations for transitioning from posing to something else. Stomps aint getting pretty this time. Fixed misc bugs. * Sumo Pose anims v2 Animated the whole 2nd set of sumo pose animations. Fixed some various bugs with poses. Added a random setting for the poses (although it doesn't work well with only 2 poses). Getting ready for the PR * Random Bug Fixes Fixed random pose option, fixed an animation that accidentally left loop on, and added monologue. Getting ready for pr in a few days. * New Icon & Bug Fixes Added a shiny new icon made by Seanski2, fixed a bug about poses in tap mode being a bit bugged and fixed the Slap-to-Stomp slap animation being able to be played too soon. --------- Co-authored-by: minenice55 <star.elementa@gmail.com>
2024-02-19 01:25:26 +00:00
{
function = delegate { var e = eventCaller.currentEntity; SumoBrothers.instance.LookAtCamera(e.beat, e.length); },
/*parameters = new List<Param>()
{
new Param("look", true, "Look at Camera", "Whether the Sumo Brothers will look at the camera while slapping."),
},*/
defaultLength = 1f,
resizable = true
},
new GameAction("forceinput", "Force Slapping / Stomping")
{
preFunction = delegate { var e = eventCaller.currentEntity; SumoBrothers.instance.ForceInputs(e.beat, e.length, e["type"], e["direction"], e["center"], e["switch"], e["prepare"]); },
parameters = new List<Param>()
{
new Param("type", SumoBrothers.ForceInputType.Slap, "Input Type", "Will the Sumo Brothers Slap or Stomp?", new List<Param.CollapseParam>()
{
new Param.CollapseParam((x, _) => (int)x == (int)SumoBrothers.ForceInputType.Slap, new string[] { "switch" }),
new Param.CollapseParam((x, _) => (int)x == (int)SumoBrothers.ForceInputType.Stomp, new string[] { "direction", "center" })
}),
new Param("direction", SumoBrothers.StompDirection.Automatic, "Stomp Direction", "Which direction the Sumo Brothers will begin stomping in."),
new Param("center", false, "Center Stomp", "The Sumo Brothers' first stomp will be toward the middle before resuming the direction selected above. Has no ready animation."),
new Param("switch", false, "Transition to Stomp", "The Sumo Brothers will play an alternate slap animation to signify transitioning into a stomp for the last slap."),
new Param("prepare", true, "Prepare Animation", "If the Sumo Brothers shall play the starting prepare animation."),
},
defaultLength = 1f,
resizable = true,
preFunctionLength = 1,
},
/*new GameAction("inusoundslol", "Inu Sounds (Only here because I can't build the damn asset bundles without everything breaking)")
{
function = delegate { var e = eventCaller.currentEntity; SumoBrothers.instance.InuSoundsLol(e.beat, e["type"]); },
parameters = new List<Param>()
{
new Param("type", new EntityTypes.Integer(0, 1, 0), "sound", "i am so desperate to get my showcase thingy out lol."),
},
defaultLength = 1.69f,
},*/
},
// Sumo asset bundles are really bugged for some reason, having almost all the head animations break
//new List<string>() { "ctr", "keep" },
Sumo brothers is FINISHED* (#867) * Pose Backgrounds The cool backgrounds that appear on a successful pose are now fully added. Also implemented the new upscales. * Stomp Camera Shake The way it is coded is not good at all, but the stomp shakes look *ok* when the game runs at triple digit tempos. * Better Stomp Shake & Alternate BGs Made the stomp shake look MUCH better, and added an option to poses to automatically alternate between background types. * Sumo Pose anims v4 Animated most of all the remaining pose animations, missing the miss animations + glasses being thrown. Also will want to add a version where the glasses aren't thrown. Pig? * Sumo Pose anims v4.5 Added the missing miss animations. Added the glasses actually being thrown. Fixed a bug with head layering w/ the Look at Camera event. Fixed some other bugs that aren't important. * New Icon i made it myself * Sumo Pose anims v4.9 You can now toggle if the blue sumo bro will throw his glasses on the finale pose. Also changed selecting the pose type from an integer slider to a dropdown menu. You can also now change which direction the sumo brothers begin stomping in. * Sumo Pose anims v5 D se dab * Finalizing stuff Changed ALL the animations (minus InuTweet) to use linear interpolation instead of the default setting since that's what megamix does afaik. Combined the two sumohead animators into one just to allow for more play animation shenanigans. Assigned all the sumo assets to a new ctrsumou asset bundle to get ready for packing it all up. Added new nerd bg because Mage just happened to make one * Bug Fixed + Tweaks + Finish Fixed a bug where the game would end up cueing inputs that extended into other games. It wouldn't do anything until you went back to Sumo Brothers where all those extra cues would run the frame the game loaded. Tweaked all the BG sliding in animations to be accurate to the original game. I started implementing asset bundles, but for some reason actually using them breaks the Blue Sumo Bro's animations for *some* reason. I forgot to include this in *one* of the previous change notes, but you can now change which direction the Bros start stomping in. * Kill reference images Removed ALL of the reference images from the files there were like 135 images
2024-04-16 01:45:56 +00:00
//"ctrsumou", "en",
new List<string>() { },
chronologicalSortKey: 31
);
Sumo brothers (#706) * Lockstep fansodnason * More Lockstep Implemented the new sprites (still needs work). Added new Icon. * More lockstep stuff i have no clue * Animation Tweaking I fiddled around with numbers weeeeeeeeeeeeeeee * Merge branch 'master' of https://github.com/RaffyTaffy14/HS * Background Has basic background * End Pose Start Adds the End Pose cue's tweeting sound (took so long but felt so cool) * Inu Sensei Start Inu Sensei added to scene. He can bop, crouch, or do neither * Temp Sumo Brothers Icon Made by Donfen * Inu Sensei Tweeting Inu Sensei now does his animation during the duration of the End Pose cue. * Crouch Block Rework Reworked crouch block to be a stretchable cue instead of a toggle (like KM prepare stance) * Bop Block Rework Bop block reworked to be a toggle. Also made a few minor tweaks to random things. * Added the Brothers The Sumo Brothers from Sumo Brothers are now in Sumo Brothers (minus the sumo) * Imported Upscaled Sumou_BG Higher resolution background and Inu Sensei sprites. * Imported REAL Upscaled Sumou_BG oops * Slap & Stomp Signals the domg buncus and tink tonks * Twiddling my Thumbs Random, Insignificant changes to random things in the code * idk random cleanup after I finally got HS to not be in shambles * more stuff dunno * Input for Pose this should not have taken this long * uh waste of 4gb atm, need 4gb atm, may need this not atm * Modernized Bops & WIP Stomps/Slaps Made the bop system to have automatic/stretchy settings like all new games. Also got a WIP implementation of stomping/slapping * quite honest i do not know let's just update HS * Prepare Slap Animation Prepare Slap animation has been animated and implemented * Sumo Prefab some stuff went down yesterday when updating the fork that involved the sumo prefab randomly downgrading to an older version, so I'm hoping that this commit will make sure that the current prefab wont just vanish into oblivion * Slapping Animation v1 Spent a few hours animating the front-hand slapping animation. Also added a "Look at Camera" event that makes the brotheren look at the camera while slapping. * Stomping Animations All stomp and stomp prepare animations are animated and coded into the game (except for the miss one) * Slapping Animation v2 finally animated the alternate slapping animation where those sumo brothers slap with their other hand * Slapping to Stomping Transition Added the slapping animation for when the Bros transition from slapping to stomping as well as all the accompanying code to get it to function. Also tweaked the two other slapping animations to fix the interpolation of those speed lines. * Inu Sensei Complete Added redone inu sensei spritesheet (thanks Mage!), animated all inu sensei animations, and coded all the inu sensei functionality. This is all really coming together now * Sumo Miss anims & more Added the Slap/Stomp miss animations. Coded the ability to whiff inputs. Replaced all the SFX with Kievit-approved rips. Added the little slap impact effect for successful slap inputs. Getting ready to make stomps pretty. Fixed misc bugs. * Sumo Pose anims & more Added the first set of pose animations. Also added animations for transitioning from posing to something else. Stomps aint getting pretty this time. Fixed misc bugs. * Sumo Pose anims v2 Animated the whole 2nd set of sumo pose animations. Fixed some various bugs with poses. Added a random setting for the poses (although it doesn't work well with only 2 poses). Getting ready for the PR * Random Bug Fixes Fixed random pose option, fixed an animation that accidentally left loop on, and added monologue. Getting ready for pr in a few days. * New Icon & Bug Fixes Added a shiny new icon made by Seanski2, fixed a bug about poses in tap mode being a bit bugged and fixed the Slap-to-Stomp slap animation being able to be played too soon. --------- Co-authored-by: minenice55 <star.elementa@gmail.com>
2024-02-19 01:25:26 +00:00
}
}
}
namespace HeavenStudio.Games
{
// using Scripts_SumoBrothers;
public class SumoBrothers : Minigame
{
private static Color _defaultBgTopColor;
public static Color defaultBgTopColor
{
get
{
ColorUtility.TryParseHtmlString("#FFFF02", out _defaultBgTopColor);
return _defaultBgTopColor;
}
}
private static Color _defaultBgBtmColor;
public static Color defaultBgBtmColor
{
get
{
ColorUtility.TryParseHtmlString("#FFFF73", out _defaultBgBtmColor);
return _defaultBgBtmColor;
}
}
Sumo brothers is FINISHED* (#867) * Pose Backgrounds The cool backgrounds that appear on a successful pose are now fully added. Also implemented the new upscales. * Stomp Camera Shake The way it is coded is not good at all, but the stomp shakes look *ok* when the game runs at triple digit tempos. * Better Stomp Shake & Alternate BGs Made the stomp shake look MUCH better, and added an option to poses to automatically alternate between background types. * Sumo Pose anims v4 Animated most of all the remaining pose animations, missing the miss animations + glasses being thrown. Also will want to add a version where the glasses aren't thrown. Pig? * Sumo Pose anims v4.5 Added the missing miss animations. Added the glasses actually being thrown. Fixed a bug with head layering w/ the Look at Camera event. Fixed some other bugs that aren't important. * New Icon i made it myself * Sumo Pose anims v4.9 You can now toggle if the blue sumo bro will throw his glasses on the finale pose. Also changed selecting the pose type from an integer slider to a dropdown menu. You can also now change which direction the sumo brothers begin stomping in. * Sumo Pose anims v5 D se dab * Finalizing stuff Changed ALL the animations (minus InuTweet) to use linear interpolation instead of the default setting since that's what megamix does afaik. Combined the two sumohead animators into one just to allow for more play animation shenanigans. Assigned all the sumo assets to a new ctrsumou asset bundle to get ready for packing it all up. Added new nerd bg because Mage just happened to make one * Bug Fixed + Tweaks + Finish Fixed a bug where the game would end up cueing inputs that extended into other games. It wouldn't do anything until you went back to Sumo Brothers where all those extra cues would run the frame the game loaded. Tweaked all the BG sliding in animations to be accurate to the original game. I started implementing asset bundles, but for some reason actually using them breaks the Blue Sumo Bro's animations for *some* reason. I forgot to include this in *one* of the previous change notes, but you can now change which direction the Bros start stomping in. * Kill reference images Removed ALL of the reference images from the files there were like 135 images
2024-04-16 01:45:56 +00:00
[Header("Animators")]
Sumo brothers (#706) * Lockstep fansodnason * More Lockstep Implemented the new sprites (still needs work). Added new Icon. * More lockstep stuff i have no clue * Animation Tweaking I fiddled around with numbers weeeeeeeeeeeeeeee * Merge branch 'master' of https://github.com/RaffyTaffy14/HS * Background Has basic background * End Pose Start Adds the End Pose cue's tweeting sound (took so long but felt so cool) * Inu Sensei Start Inu Sensei added to scene. He can bop, crouch, or do neither * Temp Sumo Brothers Icon Made by Donfen * Inu Sensei Tweeting Inu Sensei now does his animation during the duration of the End Pose cue. * Crouch Block Rework Reworked crouch block to be a stretchable cue instead of a toggle (like KM prepare stance) * Bop Block Rework Bop block reworked to be a toggle. Also made a few minor tweaks to random things. * Added the Brothers The Sumo Brothers from Sumo Brothers are now in Sumo Brothers (minus the sumo) * Imported Upscaled Sumou_BG Higher resolution background and Inu Sensei sprites. * Imported REAL Upscaled Sumou_BG oops * Slap & Stomp Signals the domg buncus and tink tonks * Twiddling my Thumbs Random, Insignificant changes to random things in the code * idk random cleanup after I finally got HS to not be in shambles * more stuff dunno * Input for Pose this should not have taken this long * uh waste of 4gb atm, need 4gb atm, may need this not atm * Modernized Bops & WIP Stomps/Slaps Made the bop system to have automatic/stretchy settings like all new games. Also got a WIP implementation of stomping/slapping * quite honest i do not know let's just update HS * Prepare Slap Animation Prepare Slap animation has been animated and implemented * Sumo Prefab some stuff went down yesterday when updating the fork that involved the sumo prefab randomly downgrading to an older version, so I'm hoping that this commit will make sure that the current prefab wont just vanish into oblivion * Slapping Animation v1 Spent a few hours animating the front-hand slapping animation. Also added a "Look at Camera" event that makes the brotheren look at the camera while slapping. * Stomping Animations All stomp and stomp prepare animations are animated and coded into the game (except for the miss one) * Slapping Animation v2 finally animated the alternate slapping animation where those sumo brothers slap with their other hand * Slapping to Stomping Transition Added the slapping animation for when the Bros transition from slapping to stomping as well as all the accompanying code to get it to function. Also tweaked the two other slapping animations to fix the interpolation of those speed lines. * Inu Sensei Complete Added redone inu sensei spritesheet (thanks Mage!), animated all inu sensei animations, and coded all the inu sensei functionality. This is all really coming together now * Sumo Miss anims & more Added the Slap/Stomp miss animations. Coded the ability to whiff inputs. Replaced all the SFX with Kievit-approved rips. Added the little slap impact effect for successful slap inputs. Getting ready to make stomps pretty. Fixed misc bugs. * Sumo Pose anims & more Added the first set of pose animations. Also added animations for transitioning from posing to something else. Stomps aint getting pretty this time. Fixed misc bugs. * Sumo Pose anims v2 Animated the whole 2nd set of sumo pose animations. Fixed some various bugs with poses. Added a random setting for the poses (although it doesn't work well with only 2 poses). Getting ready for the PR * Random Bug Fixes Fixed random pose option, fixed an animation that accidentally left loop on, and added monologue. Getting ready for pr in a few days. * New Icon & Bug Fixes Added a shiny new icon made by Seanski2, fixed a bug about poses in tap mode being a bit bugged and fixed the Slap-to-Stomp slap animation being able to be played too soon. --------- Co-authored-by: minenice55 <star.elementa@gmail.com>
2024-02-19 01:25:26 +00:00
[SerializeField] Animator inuSensei;
[SerializeField] Animator sumoBrotherP;
[SerializeField] Animator sumoBrotherG;
[SerializeField] Animator sumoBrotherGHead;
[SerializeField] Animator sumoBrotherPHead;
[SerializeField] Animator impact;
Sumo brothers is FINISHED* (#867) * Pose Backgrounds The cool backgrounds that appear on a successful pose are now fully added. Also implemented the new upscales. * Stomp Camera Shake The way it is coded is not good at all, but the stomp shakes look *ok* when the game runs at triple digit tempos. * Better Stomp Shake & Alternate BGs Made the stomp shake look MUCH better, and added an option to poses to automatically alternate between background types. * Sumo Pose anims v4 Animated most of all the remaining pose animations, missing the miss animations + glasses being thrown. Also will want to add a version where the glasses aren't thrown. Pig? * Sumo Pose anims v4.5 Added the missing miss animations. Added the glasses actually being thrown. Fixed a bug with head layering w/ the Look at Camera event. Fixed some other bugs that aren't important. * New Icon i made it myself * Sumo Pose anims v4.9 You can now toggle if the blue sumo bro will throw his glasses on the finale pose. Also changed selecting the pose type from an integer slider to a dropdown menu. You can also now change which direction the sumo brothers begin stomping in. * Sumo Pose anims v5 D se dab * Finalizing stuff Changed ALL the animations (minus InuTweet) to use linear interpolation instead of the default setting since that's what megamix does afaik. Combined the two sumohead animators into one just to allow for more play animation shenanigans. Assigned all the sumo assets to a new ctrsumou asset bundle to get ready for packing it all up. Added new nerd bg because Mage just happened to make one * Bug Fixed + Tweaks + Finish Fixed a bug where the game would end up cueing inputs that extended into other games. It wouldn't do anything until you went back to Sumo Brothers where all those extra cues would run the frame the game loaded. Tweaked all the BG sliding in animations to be accurate to the original game. I started implementing asset bundles, but for some reason actually using them breaks the Blue Sumo Bro's animations for *some* reason. I forgot to include this in *one* of the previous change notes, but you can now change which direction the Bros start stomping in. * Kill reference images Removed ALL of the reference images from the files there were like 135 images
2024-04-16 01:45:56 +00:00
[SerializeField] Animator glasses;
Sumo brothers (#706) * Lockstep fansodnason * More Lockstep Implemented the new sprites (still needs work). Added new Icon. * More lockstep stuff i have no clue * Animation Tweaking I fiddled around with numbers weeeeeeeeeeeeeeee * Merge branch 'master' of https://github.com/RaffyTaffy14/HS * Background Has basic background * End Pose Start Adds the End Pose cue's tweeting sound (took so long but felt so cool) * Inu Sensei Start Inu Sensei added to scene. He can bop, crouch, or do neither * Temp Sumo Brothers Icon Made by Donfen * Inu Sensei Tweeting Inu Sensei now does his animation during the duration of the End Pose cue. * Crouch Block Rework Reworked crouch block to be a stretchable cue instead of a toggle (like KM prepare stance) * Bop Block Rework Bop block reworked to be a toggle. Also made a few minor tweaks to random things. * Added the Brothers The Sumo Brothers from Sumo Brothers are now in Sumo Brothers (minus the sumo) * Imported Upscaled Sumou_BG Higher resolution background and Inu Sensei sprites. * Imported REAL Upscaled Sumou_BG oops * Slap & Stomp Signals the domg buncus and tink tonks * Twiddling my Thumbs Random, Insignificant changes to random things in the code * idk random cleanup after I finally got HS to not be in shambles * more stuff dunno * Input for Pose this should not have taken this long * uh waste of 4gb atm, need 4gb atm, may need this not atm * Modernized Bops & WIP Stomps/Slaps Made the bop system to have automatic/stretchy settings like all new games. Also got a WIP implementation of stomping/slapping * quite honest i do not know let's just update HS * Prepare Slap Animation Prepare Slap animation has been animated and implemented * Sumo Prefab some stuff went down yesterday when updating the fork that involved the sumo prefab randomly downgrading to an older version, so I'm hoping that this commit will make sure that the current prefab wont just vanish into oblivion * Slapping Animation v1 Spent a few hours animating the front-hand slapping animation. Also added a "Look at Camera" event that makes the brotheren look at the camera while slapping. * Stomping Animations All stomp and stomp prepare animations are animated and coded into the game (except for the miss one) * Slapping Animation v2 finally animated the alternate slapping animation where those sumo brothers slap with their other hand * Slapping to Stomping Transition Added the slapping animation for when the Bros transition from slapping to stomping as well as all the accompanying code to get it to function. Also tweaked the two other slapping animations to fix the interpolation of those speed lines. * Inu Sensei Complete Added redone inu sensei spritesheet (thanks Mage!), animated all inu sensei animations, and coded all the inu sensei functionality. This is all really coming together now * Sumo Miss anims & more Added the Slap/Stomp miss animations. Coded the ability to whiff inputs. Replaced all the SFX with Kievit-approved rips. Added the little slap impact effect for successful slap inputs. Getting ready to make stomps pretty. Fixed misc bugs. * Sumo Pose anims & more Added the first set of pose animations. Also added animations for transitioning from posing to something else. Stomps aint getting pretty this time. Fixed misc bugs. * Sumo Pose anims v2 Animated the whole 2nd set of sumo pose animations. Fixed some various bugs with poses. Added a random setting for the poses (although it doesn't work well with only 2 poses). Getting ready for the PR * Random Bug Fixes Fixed random pose option, fixed an animation that accidentally left loop on, and added monologue. Getting ready for pr in a few days. * New Icon & Bug Fixes Added a shiny new icon made by Seanski2, fixed a bug about poses in tap mode being a bit bugged and fixed the Slap-to-Stomp slap animation being able to be played too soon. --------- Co-authored-by: minenice55 <star.elementa@gmail.com>
2024-02-19 01:25:26 +00:00
[SerializeField] Animator dust;
Sumo brothers is FINISHED* (#867) * Pose Backgrounds The cool backgrounds that appear on a successful pose are now fully added. Also implemented the new upscales. * Stomp Camera Shake The way it is coded is not good at all, but the stomp shakes look *ok* when the game runs at triple digit tempos. * Better Stomp Shake & Alternate BGs Made the stomp shake look MUCH better, and added an option to poses to automatically alternate between background types. * Sumo Pose anims v4 Animated most of all the remaining pose animations, missing the miss animations + glasses being thrown. Also will want to add a version where the glasses aren't thrown. Pig? * Sumo Pose anims v4.5 Added the missing miss animations. Added the glasses actually being thrown. Fixed a bug with head layering w/ the Look at Camera event. Fixed some other bugs that aren't important. * New Icon i made it myself * Sumo Pose anims v4.9 You can now toggle if the blue sumo bro will throw his glasses on the finale pose. Also changed selecting the pose type from an integer slider to a dropdown menu. You can also now change which direction the sumo brothers begin stomping in. * Sumo Pose anims v5 D se dab * Finalizing stuff Changed ALL the animations (minus InuTweet) to use linear interpolation instead of the default setting since that's what megamix does afaik. Combined the two sumohead animators into one just to allow for more play animation shenanigans. Assigned all the sumo assets to a new ctrsumou asset bundle to get ready for packing it all up. Added new nerd bg because Mage just happened to make one * Bug Fixed + Tweaks + Finish Fixed a bug where the game would end up cueing inputs that extended into other games. It wouldn't do anything until you went back to Sumo Brothers where all those extra cues would run the frame the game loaded. Tweaked all the BG sliding in animations to be accurate to the original game. I started implementing asset bundles, but for some reason actually using them breaks the Blue Sumo Bro's animations for *some* reason. I forgot to include this in *one* of the previous change notes, but you can now change which direction the Bros start stomping in. * Kill reference images Removed ALL of the reference images from the files there were like 135 images
2024-04-16 01:45:56 +00:00
[SerializeField] Animator bgMove;
[SerializeField] Animator bgStatic;
Sumo brothers (#706) * Lockstep fansodnason * More Lockstep Implemented the new sprites (still needs work). Added new Icon. * More lockstep stuff i have no clue * Animation Tweaking I fiddled around with numbers weeeeeeeeeeeeeeee * Merge branch 'master' of https://github.com/RaffyTaffy14/HS * Background Has basic background * End Pose Start Adds the End Pose cue's tweeting sound (took so long but felt so cool) * Inu Sensei Start Inu Sensei added to scene. He can bop, crouch, or do neither * Temp Sumo Brothers Icon Made by Donfen * Inu Sensei Tweeting Inu Sensei now does his animation during the duration of the End Pose cue. * Crouch Block Rework Reworked crouch block to be a stretchable cue instead of a toggle (like KM prepare stance) * Bop Block Rework Bop block reworked to be a toggle. Also made a few minor tweaks to random things. * Added the Brothers The Sumo Brothers from Sumo Brothers are now in Sumo Brothers (minus the sumo) * Imported Upscaled Sumou_BG Higher resolution background and Inu Sensei sprites. * Imported REAL Upscaled Sumou_BG oops * Slap & Stomp Signals the domg buncus and tink tonks * Twiddling my Thumbs Random, Insignificant changes to random things in the code * idk random cleanup after I finally got HS to not be in shambles * more stuff dunno * Input for Pose this should not have taken this long * uh waste of 4gb atm, need 4gb atm, may need this not atm * Modernized Bops & WIP Stomps/Slaps Made the bop system to have automatic/stretchy settings like all new games. Also got a WIP implementation of stomping/slapping * quite honest i do not know let's just update HS * Prepare Slap Animation Prepare Slap animation has been animated and implemented * Sumo Prefab some stuff went down yesterday when updating the fork that involved the sumo prefab randomly downgrading to an older version, so I'm hoping that this commit will make sure that the current prefab wont just vanish into oblivion * Slapping Animation v1 Spent a few hours animating the front-hand slapping animation. Also added a "Look at Camera" event that makes the brotheren look at the camera while slapping. * Stomping Animations All stomp and stomp prepare animations are animated and coded into the game (except for the miss one) * Slapping Animation v2 finally animated the alternate slapping animation where those sumo brothers slap with their other hand * Slapping to Stomping Transition Added the slapping animation for when the Bros transition from slapping to stomping as well as all the accompanying code to get it to function. Also tweaked the two other slapping animations to fix the interpolation of those speed lines. * Inu Sensei Complete Added redone inu sensei spritesheet (thanks Mage!), animated all inu sensei animations, and coded all the inu sensei functionality. This is all really coming together now * Sumo Miss anims & more Added the Slap/Stomp miss animations. Coded the ability to whiff inputs. Replaced all the SFX with Kievit-approved rips. Added the little slap impact effect for successful slap inputs. Getting ready to make stomps pretty. Fixed misc bugs. * Sumo Pose anims & more Added the first set of pose animations. Also added animations for transitioning from posing to something else. Stomps aint getting pretty this time. Fixed misc bugs. * Sumo Pose anims v2 Animated the whole 2nd set of sumo pose animations. Fixed some various bugs with poses. Added a random setting for the poses (although it doesn't work well with only 2 poses). Getting ready for the PR * Random Bug Fixes Fixed random pose option, fixed an animation that accidentally left loop on, and added monologue. Getting ready for pr in a few days. * New Icon & Bug Fixes Added a shiny new icon made by Seanski2, fixed a bug about poses in tap mode being a bit bugged and fixed the Slap-to-Stomp slap animation being able to be played too soon. --------- Co-authored-by: minenice55 <star.elementa@gmail.com>
2024-02-19 01:25:26 +00:00
[Header("Background Colors")]
public Material backgroundMaterial;
public SpriteRenderer bgTop;
public SpriteRenderer bgBtm;
// copypasted my stolen code from clap trap lmao
// i stole these from rhythm tweezers lol
private double colorStartBeat = -1;
private float colorLength = 0f;
private Color colorTopStart; //obviously put to the default color of the game
private Color colorBtmStart;
private Color colorTopEnd;
private Color colorBtmEnd;
private Util.EasingFunction.Ease colorEase; //putting Util in case this game is using jukebox
Tween bgColorTween;
private SpriteRenderer backgroundTopColor;
private SpriteRenderer backgroundBtmColor;
Sumo brothers (#706) * Lockstep fansodnason * More Lockstep Implemented the new sprites (still needs work). Added new Icon. * More lockstep stuff i have no clue * Animation Tweaking I fiddled around with numbers weeeeeeeeeeeeeeee * Merge branch 'master' of https://github.com/RaffyTaffy14/HS * Background Has basic background * End Pose Start Adds the End Pose cue's tweeting sound (took so long but felt so cool) * Inu Sensei Start Inu Sensei added to scene. He can bop, crouch, or do neither * Temp Sumo Brothers Icon Made by Donfen * Inu Sensei Tweeting Inu Sensei now does his animation during the duration of the End Pose cue. * Crouch Block Rework Reworked crouch block to be a stretchable cue instead of a toggle (like KM prepare stance) * Bop Block Rework Bop block reworked to be a toggle. Also made a few minor tweaks to random things. * Added the Brothers The Sumo Brothers from Sumo Brothers are now in Sumo Brothers (minus the sumo) * Imported Upscaled Sumou_BG Higher resolution background and Inu Sensei sprites. * Imported REAL Upscaled Sumou_BG oops * Slap & Stomp Signals the domg buncus and tink tonks * Twiddling my Thumbs Random, Insignificant changes to random things in the code * idk random cleanup after I finally got HS to not be in shambles * more stuff dunno * Input for Pose this should not have taken this long * uh waste of 4gb atm, need 4gb atm, may need this not atm * Modernized Bops & WIP Stomps/Slaps Made the bop system to have automatic/stretchy settings like all new games. Also got a WIP implementation of stomping/slapping * quite honest i do not know let's just update HS * Prepare Slap Animation Prepare Slap animation has been animated and implemented * Sumo Prefab some stuff went down yesterday when updating the fork that involved the sumo prefab randomly downgrading to an older version, so I'm hoping that this commit will make sure that the current prefab wont just vanish into oblivion * Slapping Animation v1 Spent a few hours animating the front-hand slapping animation. Also added a "Look at Camera" event that makes the brotheren look at the camera while slapping. * Stomping Animations All stomp and stomp prepare animations are animated and coded into the game (except for the miss one) * Slapping Animation v2 finally animated the alternate slapping animation where those sumo brothers slap with their other hand * Slapping to Stomping Transition Added the slapping animation for when the Bros transition from slapping to stomping as well as all the accompanying code to get it to function. Also tweaked the two other slapping animations to fix the interpolation of those speed lines. * Inu Sensei Complete Added redone inu sensei spritesheet (thanks Mage!), animated all inu sensei animations, and coded all the inu sensei functionality. This is all really coming together now * Sumo Miss anims & more Added the Slap/Stomp miss animations. Coded the ability to whiff inputs. Replaced all the SFX with Kievit-approved rips. Added the little slap impact effect for successful slap inputs. Getting ready to make stomps pretty. Fixed misc bugs. * Sumo Pose anims & more Added the first set of pose animations. Also added animations for transitioning from posing to something else. Stomps aint getting pretty this time. Fixed misc bugs. * Sumo Pose anims v2 Animated the whole 2nd set of sumo pose animations. Fixed some various bugs with poses. Added a random setting for the poses (although it doesn't work well with only 2 poses). Getting ready for the PR * Random Bug Fixes Fixed random pose option, fixed an animation that accidentally left loop on, and added monologue. Getting ready for pr in a few days. * New Icon & Bug Fixes Added a shiny new icon made by Seanski2, fixed a bug about poses in tap mode being a bit bugged and fixed the Slap-to-Stomp slap animation being able to be played too soon. --------- Co-authored-by: minenice55 <star.elementa@gmail.com>
2024-02-19 01:25:26 +00:00
[Header("Properties")]
/*static List<queuedSumoInputs> queuedInputs = new List<queuedSumoInputs>();
public struct queuedSumoInputs
{
public float beat;
public int cue;
public int poseType;
public int poseBG;
}*/
Sumo brothers is FINISHED* (#867) * Pose Backgrounds The cool backgrounds that appear on a successful pose are now fully added. Also implemented the new upscales. * Stomp Camera Shake The way it is coded is not good at all, but the stomp shakes look *ok* when the game runs at triple digit tempos. * Better Stomp Shake & Alternate BGs Made the stomp shake look MUCH better, and added an option to poses to automatically alternate between background types. * Sumo Pose anims v4 Animated most of all the remaining pose animations, missing the miss animations + glasses being thrown. Also will want to add a version where the glasses aren't thrown. Pig? * Sumo Pose anims v4.5 Added the missing miss animations. Added the glasses actually being thrown. Fixed a bug with head layering w/ the Look at Camera event. Fixed some other bugs that aren't important. * New Icon i made it myself * Sumo Pose anims v4.9 You can now toggle if the blue sumo bro will throw his glasses on the finale pose. Also changed selecting the pose type from an integer slider to a dropdown menu. You can also now change which direction the sumo brothers begin stomping in. * Sumo Pose anims v5 D se dab * Finalizing stuff Changed ALL the animations (minus InuTweet) to use linear interpolation instead of the default setting since that's what megamix does afaik. Combined the two sumohead animators into one just to allow for more play animation shenanigans. Assigned all the sumo assets to a new ctrsumou asset bundle to get ready for packing it all up. Added new nerd bg because Mage just happened to make one * Bug Fixed + Tweaks + Finish Fixed a bug where the game would end up cueing inputs that extended into other games. It wouldn't do anything until you went back to Sumo Brothers where all those extra cues would run the frame the game loaded. Tweaked all the BG sliding in animations to be accurate to the original game. I started implementing asset bundles, but for some reason actually using them breaks the Blue Sumo Bro's animations for *some* reason. I forgot to include this in *one* of the previous change notes, but you can now change which direction the Bros start stomping in. * Kill reference images Removed ALL of the reference images from the files there were like 135 images
2024-04-16 01:45:56 +00:00
[SerializeField] private Transform camera;
public float cameraX = 0f;
public float cameraXNew = 0f;
private double justStompBeat;
private double stompShakeLength;
public double stompShakeSpeed;
public List<double> stompShakeTimings = new List<double>();
public List<float> stompShakeValues = new List<float>();
Sumo brothers (#706) * Lockstep fansodnason * More Lockstep Implemented the new sprites (still needs work). Added new Icon. * More lockstep stuff i have no clue * Animation Tweaking I fiddled around with numbers weeeeeeeeeeeeeeee * Merge branch 'master' of https://github.com/RaffyTaffy14/HS * Background Has basic background * End Pose Start Adds the End Pose cue's tweeting sound (took so long but felt so cool) * Inu Sensei Start Inu Sensei added to scene. He can bop, crouch, or do neither * Temp Sumo Brothers Icon Made by Donfen * Inu Sensei Tweeting Inu Sensei now does his animation during the duration of the End Pose cue. * Crouch Block Rework Reworked crouch block to be a stretchable cue instead of a toggle (like KM prepare stance) * Bop Block Rework Bop block reworked to be a toggle. Also made a few minor tweaks to random things. * Added the Brothers The Sumo Brothers from Sumo Brothers are now in Sumo Brothers (minus the sumo) * Imported Upscaled Sumou_BG Higher resolution background and Inu Sensei sprites. * Imported REAL Upscaled Sumou_BG oops * Slap & Stomp Signals the domg buncus and tink tonks * Twiddling my Thumbs Random, Insignificant changes to random things in the code * idk random cleanup after I finally got HS to not be in shambles * more stuff dunno * Input for Pose this should not have taken this long * uh waste of 4gb atm, need 4gb atm, may need this not atm * Modernized Bops & WIP Stomps/Slaps Made the bop system to have automatic/stretchy settings like all new games. Also got a WIP implementation of stomping/slapping * quite honest i do not know let's just update HS * Prepare Slap Animation Prepare Slap animation has been animated and implemented * Sumo Prefab some stuff went down yesterday when updating the fork that involved the sumo prefab randomly downgrading to an older version, so I'm hoping that this commit will make sure that the current prefab wont just vanish into oblivion * Slapping Animation v1 Spent a few hours animating the front-hand slapping animation. Also added a "Look at Camera" event that makes the brotheren look at the camera while slapping. * Stomping Animations All stomp and stomp prepare animations are animated and coded into the game (except for the miss one) * Slapping Animation v2 finally animated the alternate slapping animation where those sumo brothers slap with their other hand * Slapping to Stomping Transition Added the slapping animation for when the Bros transition from slapping to stomping as well as all the accompanying code to get it to function. Also tweaked the two other slapping animations to fix the interpolation of those speed lines. * Inu Sensei Complete Added redone inu sensei spritesheet (thanks Mage!), animated all inu sensei animations, and coded all the inu sensei functionality. This is all really coming together now * Sumo Miss anims & more Added the Slap/Stomp miss animations. Coded the ability to whiff inputs. Replaced all the SFX with Kievit-approved rips. Added the little slap impact effect for successful slap inputs. Getting ready to make stomps pretty. Fixed misc bugs. * Sumo Pose anims & more Added the first set of pose animations. Also added animations for transitioning from posing to something else. Stomps aint getting pretty this time. Fixed misc bugs. * Sumo Pose anims v2 Animated the whole 2nd set of sumo pose animations. Fixed some various bugs with poses. Added a random setting for the poses (although it doesn't work well with only 2 poses). Getting ready for the PR * Random Bug Fixes Fixed random pose option, fixed an animation that accidentally left loop on, and added monologue. Getting ready for pr in a few days. * New Icon & Bug Fixes Added a shiny new icon made by Seanski2, fixed a bug about poses in tap mode being a bit bugged and fixed the Slap-to-Stomp slap animation being able to be played too soon. --------- Co-authored-by: minenice55 <star.elementa@gmail.com>
2024-02-19 01:25:26 +00:00
private bool goBopSumo;
private bool goBopInu;
private bool allowBopSumo;
private bool allowBopInu;
private bool sumoStompDir;
private int sumoSlapDir;
private int sumoPoseType;
private string sumoPoseTypeCurrent = "1";
private int sumoPoseTypeNext;
Sumo brothers is FINISHED* (#867) * Pose Backgrounds The cool backgrounds that appear on a successful pose are now fully added. Also implemented the new upscales. * Stomp Camera Shake The way it is coded is not good at all, but the stomp shakes look *ok* when the game runs at triple digit tempos. * Better Stomp Shake & Alternate BGs Made the stomp shake look MUCH better, and added an option to poses to automatically alternate between background types. * Sumo Pose anims v4 Animated most of all the remaining pose animations, missing the miss animations + glasses being thrown. Also will want to add a version where the glasses aren't thrown. Pig? * Sumo Pose anims v4.5 Added the missing miss animations. Added the glasses actually being thrown. Fixed a bug with head layering w/ the Look at Camera event. Fixed some other bugs that aren't important. * New Icon i made it myself * Sumo Pose anims v4.9 You can now toggle if the blue sumo bro will throw his glasses on the finale pose. Also changed selecting the pose type from an integer slider to a dropdown menu. You can also now change which direction the sumo brothers begin stomping in. * Sumo Pose anims v5 D se dab * Finalizing stuff Changed ALL the animations (minus InuTweet) to use linear interpolation instead of the default setting since that's what megamix does afaik. Combined the two sumohead animators into one just to allow for more play animation shenanigans. Assigned all the sumo assets to a new ctrsumou asset bundle to get ready for packing it all up. Added new nerd bg because Mage just happened to make one * Bug Fixed + Tweaks + Finish Fixed a bug where the game would end up cueing inputs that extended into other games. It wouldn't do anything until you went back to Sumo Brothers where all those extra cues would run the frame the game loaded. Tweaked all the BG sliding in animations to be accurate to the original game. I started implementing asset bundles, but for some reason actually using them breaks the Blue Sumo Bro's animations for *some* reason. I forgot to include this in *one* of the previous change notes, but you can now change which direction the Bros start stomping in. * Kill reference images Removed ALL of the reference images from the files there were like 135 images
2024-04-16 01:45:56 +00:00
private double nextGameswitchBeat = -1;
Sumo brothers (#706) * Lockstep fansodnason * More Lockstep Implemented the new sprites (still needs work). Added new Icon. * More lockstep stuff i have no clue * Animation Tweaking I fiddled around with numbers weeeeeeeeeeeeeeee * Merge branch 'master' of https://github.com/RaffyTaffy14/HS * Background Has basic background * End Pose Start Adds the End Pose cue's tweeting sound (took so long but felt so cool) * Inu Sensei Start Inu Sensei added to scene. He can bop, crouch, or do neither * Temp Sumo Brothers Icon Made by Donfen * Inu Sensei Tweeting Inu Sensei now does his animation during the duration of the End Pose cue. * Crouch Block Rework Reworked crouch block to be a stretchable cue instead of a toggle (like KM prepare stance) * Bop Block Rework Bop block reworked to be a toggle. Also made a few minor tweaks to random things. * Added the Brothers The Sumo Brothers from Sumo Brothers are now in Sumo Brothers (minus the sumo) * Imported Upscaled Sumou_BG Higher resolution background and Inu Sensei sprites. * Imported REAL Upscaled Sumou_BG oops * Slap & Stomp Signals the domg buncus and tink tonks * Twiddling my Thumbs Random, Insignificant changes to random things in the code * idk random cleanup after I finally got HS to not be in shambles * more stuff dunno * Input for Pose this should not have taken this long * uh waste of 4gb atm, need 4gb atm, may need this not atm * Modernized Bops & WIP Stomps/Slaps Made the bop system to have automatic/stretchy settings like all new games. Also got a WIP implementation of stomping/slapping * quite honest i do not know let's just update HS * Prepare Slap Animation Prepare Slap animation has been animated and implemented * Sumo Prefab some stuff went down yesterday when updating the fork that involved the sumo prefab randomly downgrading to an older version, so I'm hoping that this commit will make sure that the current prefab wont just vanish into oblivion * Slapping Animation v1 Spent a few hours animating the front-hand slapping animation. Also added a "Look at Camera" event that makes the brotheren look at the camera while slapping. * Stomping Animations All stomp and stomp prepare animations are animated and coded into the game (except for the miss one) * Slapping Animation v2 finally animated the alternate slapping animation where those sumo brothers slap with their other hand * Slapping to Stomping Transition Added the slapping animation for when the Bros transition from slapping to stomping as well as all the accompanying code to get it to function. Also tweaked the two other slapping animations to fix the interpolation of those speed lines. * Inu Sensei Complete Added redone inu sensei spritesheet (thanks Mage!), animated all inu sensei animations, and coded all the inu sensei functionality. This is all really coming together now * Sumo Miss anims & more Added the Slap/Stomp miss animations. Coded the ability to whiff inputs. Replaced all the SFX with Kievit-approved rips. Added the little slap impact effect for successful slap inputs. Getting ready to make stomps pretty. Fixed misc bugs. * Sumo Pose anims & more Added the first set of pose animations. Also added animations for transitioning from posing to something else. Stomps aint getting pretty this time. Fixed misc bugs. * Sumo Pose anims v2 Animated the whole 2nd set of sumo pose animations. Fixed some various bugs with poses. Added a random setting for the poses (although it doesn't work well with only 2 poses). Getting ready for the PR * Random Bug Fixes Fixed random pose option, fixed an animation that accidentally left loop on, and added monologue. Getting ready for pr in a few days. * New Icon & Bug Fixes Added a shiny new icon made by Seanski2, fixed a bug about poses in tap mode being a bit bugged and fixed the Slap-to-Stomp slap animation being able to be played too soon. --------- Co-authored-by: minenice55 <star.elementa@gmail.com>
2024-02-19 01:25:26 +00:00
private bool lookingAtCamera = false;
//private double lastReportedBeat = 0f; Unused value - Marc
Sumo brothers (#706) * Lockstep fansodnason * More Lockstep Implemented the new sprites (still needs work). Added new Icon. * More lockstep stuff i have no clue * Animation Tweaking I fiddled around with numbers weeeeeeeeeeeeeeee * Merge branch 'master' of https://github.com/RaffyTaffy14/HS * Background Has basic background * End Pose Start Adds the End Pose cue's tweeting sound (took so long but felt so cool) * Inu Sensei Start Inu Sensei added to scene. He can bop, crouch, or do neither * Temp Sumo Brothers Icon Made by Donfen * Inu Sensei Tweeting Inu Sensei now does his animation during the duration of the End Pose cue. * Crouch Block Rework Reworked crouch block to be a stretchable cue instead of a toggle (like KM prepare stance) * Bop Block Rework Bop block reworked to be a toggle. Also made a few minor tweaks to random things. * Added the Brothers The Sumo Brothers from Sumo Brothers are now in Sumo Brothers (minus the sumo) * Imported Upscaled Sumou_BG Higher resolution background and Inu Sensei sprites. * Imported REAL Upscaled Sumou_BG oops * Slap & Stomp Signals the domg buncus and tink tonks * Twiddling my Thumbs Random, Insignificant changes to random things in the code * idk random cleanup after I finally got HS to not be in shambles * more stuff dunno * Input for Pose this should not have taken this long * uh waste of 4gb atm, need 4gb atm, may need this not atm * Modernized Bops & WIP Stomps/Slaps Made the bop system to have automatic/stretchy settings like all new games. Also got a WIP implementation of stomping/slapping * quite honest i do not know let's just update HS * Prepare Slap Animation Prepare Slap animation has been animated and implemented * Sumo Prefab some stuff went down yesterday when updating the fork that involved the sumo prefab randomly downgrading to an older version, so I'm hoping that this commit will make sure that the current prefab wont just vanish into oblivion * Slapping Animation v1 Spent a few hours animating the front-hand slapping animation. Also added a "Look at Camera" event that makes the brotheren look at the camera while slapping. * Stomping Animations All stomp and stomp prepare animations are animated and coded into the game (except for the miss one) * Slapping Animation v2 finally animated the alternate slapping animation where those sumo brothers slap with their other hand * Slapping to Stomping Transition Added the slapping animation for when the Bros transition from slapping to stomping as well as all the accompanying code to get it to function. Also tweaked the two other slapping animations to fix the interpolation of those speed lines. * Inu Sensei Complete Added redone inu sensei spritesheet (thanks Mage!), animated all inu sensei animations, and coded all the inu sensei functionality. This is all really coming together now * Sumo Miss anims & more Added the Slap/Stomp miss animations. Coded the ability to whiff inputs. Replaced all the SFX with Kievit-approved rips. Added the little slap impact effect for successful slap inputs. Getting ready to make stomps pretty. Fixed misc bugs. * Sumo Pose anims & more Added the first set of pose animations. Also added animations for transitioning from posing to something else. Stomps aint getting pretty this time. Fixed misc bugs. * Sumo Pose anims v2 Animated the whole 2nd set of sumo pose animations. Fixed some various bugs with poses. Added a random setting for the poses (although it doesn't work well with only 2 poses). Getting ready for the PR * Random Bug Fixes Fixed random pose option, fixed an animation that accidentally left loop on, and added monologue. Getting ready for pr in a few days. * New Icon & Bug Fixes Added a shiny new icon made by Seanski2, fixed a bug about poses in tap mode being a bit bugged and fixed the Slap-to-Stomp slap animation being able to be played too soon. --------- Co-authored-by: minenice55 <star.elementa@gmail.com>
2024-02-19 01:25:26 +00:00
private bool cueCurrentlyActive;
private double cueCurrentlyActiveBeat;
//private var stompInput;
const int IAAltDownCat = IAMAXCAT;
public static SumoBrothers instance;
Sumo brothers is FINISHED* (#867) * Pose Backgrounds The cool backgrounds that appear on a successful pose are now fully added. Also implemented the new upscales. * Stomp Camera Shake The way it is coded is not good at all, but the stomp shakes look *ok* when the game runs at triple digit tempos. * Better Stomp Shake & Alternate BGs Made the stomp shake look MUCH better, and added an option to poses to automatically alternate between background types. * Sumo Pose anims v4 Animated most of all the remaining pose animations, missing the miss animations + glasses being thrown. Also will want to add a version where the glasses aren't thrown. Pig? * Sumo Pose anims v4.5 Added the missing miss animations. Added the glasses actually being thrown. Fixed a bug with head layering w/ the Look at Camera event. Fixed some other bugs that aren't important. * New Icon i made it myself * Sumo Pose anims v4.9 You can now toggle if the blue sumo bro will throw his glasses on the finale pose. Also changed selecting the pose type from an integer slider to a dropdown menu. You can also now change which direction the sumo brothers begin stomping in. * Sumo Pose anims v5 D se dab * Finalizing stuff Changed ALL the animations (minus InuTweet) to use linear interpolation instead of the default setting since that's what megamix does afaik. Combined the two sumohead animators into one just to allow for more play animation shenanigans. Assigned all the sumo assets to a new ctrsumou asset bundle to get ready for packing it all up. Added new nerd bg because Mage just happened to make one * Bug Fixed + Tweaks + Finish Fixed a bug where the game would end up cueing inputs that extended into other games. It wouldn't do anything until you went back to Sumo Brothers where all those extra cues would run the frame the game loaded. Tweaked all the BG sliding in animations to be accurate to the original game. I started implementing asset bundles, but for some reason actually using them breaks the Blue Sumo Bro's animations for *some* reason. I forgot to include this in *one* of the previous change notes, but you can now change which direction the Bros start stomping in. * Kill reference images Removed ALL of the reference images from the files there were like 135 images
2024-04-16 01:45:56 +00:00
public enum PoseType
Sumo brothers (#706) * Lockstep fansodnason * More Lockstep Implemented the new sprites (still needs work). Added new Icon. * More lockstep stuff i have no clue * Animation Tweaking I fiddled around with numbers weeeeeeeeeeeeeeee * Merge branch 'master' of https://github.com/RaffyTaffy14/HS * Background Has basic background * End Pose Start Adds the End Pose cue's tweeting sound (took so long but felt so cool) * Inu Sensei Start Inu Sensei added to scene. He can bop, crouch, or do neither * Temp Sumo Brothers Icon Made by Donfen * Inu Sensei Tweeting Inu Sensei now does his animation during the duration of the End Pose cue. * Crouch Block Rework Reworked crouch block to be a stretchable cue instead of a toggle (like KM prepare stance) * Bop Block Rework Bop block reworked to be a toggle. Also made a few minor tweaks to random things. * Added the Brothers The Sumo Brothers from Sumo Brothers are now in Sumo Brothers (minus the sumo) * Imported Upscaled Sumou_BG Higher resolution background and Inu Sensei sprites. * Imported REAL Upscaled Sumou_BG oops * Slap & Stomp Signals the domg buncus and tink tonks * Twiddling my Thumbs Random, Insignificant changes to random things in the code * idk random cleanup after I finally got HS to not be in shambles * more stuff dunno * Input for Pose this should not have taken this long * uh waste of 4gb atm, need 4gb atm, may need this not atm * Modernized Bops & WIP Stomps/Slaps Made the bop system to have automatic/stretchy settings like all new games. Also got a WIP implementation of stomping/slapping * quite honest i do not know let's just update HS * Prepare Slap Animation Prepare Slap animation has been animated and implemented * Sumo Prefab some stuff went down yesterday when updating the fork that involved the sumo prefab randomly downgrading to an older version, so I'm hoping that this commit will make sure that the current prefab wont just vanish into oblivion * Slapping Animation v1 Spent a few hours animating the front-hand slapping animation. Also added a "Look at Camera" event that makes the brotheren look at the camera while slapping. * Stomping Animations All stomp and stomp prepare animations are animated and coded into the game (except for the miss one) * Slapping Animation v2 finally animated the alternate slapping animation where those sumo brothers slap with their other hand * Slapping to Stomping Transition Added the slapping animation for when the Bros transition from slapping to stomping as well as all the accompanying code to get it to function. Also tweaked the two other slapping animations to fix the interpolation of those speed lines. * Inu Sensei Complete Added redone inu sensei spritesheet (thanks Mage!), animated all inu sensei animations, and coded all the inu sensei functionality. This is all really coming together now * Sumo Miss anims & more Added the Slap/Stomp miss animations. Coded the ability to whiff inputs. Replaced all the SFX with Kievit-approved rips. Added the little slap impact effect for successful slap inputs. Getting ready to make stomps pretty. Fixed misc bugs. * Sumo Pose anims & more Added the first set of pose animations. Also added animations for transitioning from posing to something else. Stomps aint getting pretty this time. Fixed misc bugs. * Sumo Pose anims v2 Animated the whole 2nd set of sumo pose animations. Fixed some various bugs with poses. Added a random setting for the poses (although it doesn't work well with only 2 poses). Getting ready for the PR * Random Bug Fixes Fixed random pose option, fixed an animation that accidentally left loop on, and added monologue. Getting ready for pr in a few days. * New Icon & Bug Fixes Added a shiny new icon made by Seanski2, fixed a bug about poses in tap mode being a bit bugged and fixed the Slap-to-Stomp slap animation being able to be played too soon. --------- Co-authored-by: minenice55 <star.elementa@gmail.com>
2024-02-19 01:25:26 +00:00
{
Sumo brothers is FINISHED* (#867) * Pose Backgrounds The cool backgrounds that appear on a successful pose are now fully added. Also implemented the new upscales. * Stomp Camera Shake The way it is coded is not good at all, but the stomp shakes look *ok* when the game runs at triple digit tempos. * Better Stomp Shake & Alternate BGs Made the stomp shake look MUCH better, and added an option to poses to automatically alternate between background types. * Sumo Pose anims v4 Animated most of all the remaining pose animations, missing the miss animations + glasses being thrown. Also will want to add a version where the glasses aren't thrown. Pig? * Sumo Pose anims v4.5 Added the missing miss animations. Added the glasses actually being thrown. Fixed a bug with head layering w/ the Look at Camera event. Fixed some other bugs that aren't important. * New Icon i made it myself * Sumo Pose anims v4.9 You can now toggle if the blue sumo bro will throw his glasses on the finale pose. Also changed selecting the pose type from an integer slider to a dropdown menu. You can also now change which direction the sumo brothers begin stomping in. * Sumo Pose anims v5 D se dab * Finalizing stuff Changed ALL the animations (minus InuTweet) to use linear interpolation instead of the default setting since that's what megamix does afaik. Combined the two sumohead animators into one just to allow for more play animation shenanigans. Assigned all the sumo assets to a new ctrsumou asset bundle to get ready for packing it all up. Added new nerd bg because Mage just happened to make one * Bug Fixed + Tweaks + Finish Fixed a bug where the game would end up cueing inputs that extended into other games. It wouldn't do anything until you went back to Sumo Brothers where all those extra cues would run the frame the game loaded. Tweaked all the BG sliding in animations to be accurate to the original game. I started implementing asset bundles, but for some reason actually using them breaks the Blue Sumo Bro's animations for *some* reason. I forgot to include this in *one* of the previous change notes, but you can now change which direction the Bros start stomping in. * Kill reference images Removed ALL of the reference images from the files there were like 135 images
2024-04-16 01:45:56 +00:00
Squat = 1,
Stance = 2,
Pointing = 3,
Finale = 4,
// finale but without throwing glasses will just be = 5
Dab = 6,
}
Sumo brothers (#706) * Lockstep fansodnason * More Lockstep Implemented the new sprites (still needs work). Added new Icon. * More lockstep stuff i have no clue * Animation Tweaking I fiddled around with numbers weeeeeeeeeeeeeeee * Merge branch 'master' of https://github.com/RaffyTaffy14/HS * Background Has basic background * End Pose Start Adds the End Pose cue's tweeting sound (took so long but felt so cool) * Inu Sensei Start Inu Sensei added to scene. He can bop, crouch, or do neither * Temp Sumo Brothers Icon Made by Donfen * Inu Sensei Tweeting Inu Sensei now does his animation during the duration of the End Pose cue. * Crouch Block Rework Reworked crouch block to be a stretchable cue instead of a toggle (like KM prepare stance) * Bop Block Rework Bop block reworked to be a toggle. Also made a few minor tweaks to random things. * Added the Brothers The Sumo Brothers from Sumo Brothers are now in Sumo Brothers (minus the sumo) * Imported Upscaled Sumou_BG Higher resolution background and Inu Sensei sprites. * Imported REAL Upscaled Sumou_BG oops * Slap & Stomp Signals the domg buncus and tink tonks * Twiddling my Thumbs Random, Insignificant changes to random things in the code * idk random cleanup after I finally got HS to not be in shambles * more stuff dunno * Input for Pose this should not have taken this long * uh waste of 4gb atm, need 4gb atm, may need this not atm * Modernized Bops & WIP Stomps/Slaps Made the bop system to have automatic/stretchy settings like all new games. Also got a WIP implementation of stomping/slapping * quite honest i do not know let's just update HS * Prepare Slap Animation Prepare Slap animation has been animated and implemented * Sumo Prefab some stuff went down yesterday when updating the fork that involved the sumo prefab randomly downgrading to an older version, so I'm hoping that this commit will make sure that the current prefab wont just vanish into oblivion * Slapping Animation v1 Spent a few hours animating the front-hand slapping animation. Also added a "Look at Camera" event that makes the brotheren look at the camera while slapping. * Stomping Animations All stomp and stomp prepare animations are animated and coded into the game (except for the miss one) * Slapping Animation v2 finally animated the alternate slapping animation where those sumo brothers slap with their other hand * Slapping to Stomping Transition Added the slapping animation for when the Bros transition from slapping to stomping as well as all the accompanying code to get it to function. Also tweaked the two other slapping animations to fix the interpolation of those speed lines. * Inu Sensei Complete Added redone inu sensei spritesheet (thanks Mage!), animated all inu sensei animations, and coded all the inu sensei functionality. This is all really coming together now * Sumo Miss anims & more Added the Slap/Stomp miss animations. Coded the ability to whiff inputs. Replaced all the SFX with Kievit-approved rips. Added the little slap impact effect for successful slap inputs. Getting ready to make stomps pretty. Fixed misc bugs. * Sumo Pose anims & more Added the first set of pose animations. Also added animations for transitioning from posing to something else. Stomps aint getting pretty this time. Fixed misc bugs. * Sumo Pose anims v2 Animated the whole 2nd set of sumo pose animations. Fixed some various bugs with poses. Added a random setting for the poses (although it doesn't work well with only 2 poses). Getting ready for the PR * Random Bug Fixes Fixed random pose option, fixed an animation that accidentally left loop on, and added monologue. Getting ready for pr in a few days. * New Icon & Bug Fixes Added a shiny new icon made by Seanski2, fixed a bug about poses in tap mode being a bit bugged and fixed the Slap-to-Stomp slap animation being able to be played too soon. --------- Co-authored-by: minenice55 <star.elementa@gmail.com>
2024-02-19 01:25:26 +00:00
public enum BGType
{
Sumo brothers is FINISHED* (#867) * Pose Backgrounds The cool backgrounds that appear on a successful pose are now fully added. Also implemented the new upscales. * Stomp Camera Shake The way it is coded is not good at all, but the stomp shakes look *ok* when the game runs at triple digit tempos. * Better Stomp Shake & Alternate BGs Made the stomp shake look MUCH better, and added an option to poses to automatically alternate between background types. * Sumo Pose anims v4 Animated most of all the remaining pose animations, missing the miss animations + glasses being thrown. Also will want to add a version where the glasses aren't thrown. Pig? * Sumo Pose anims v4.5 Added the missing miss animations. Added the glasses actually being thrown. Fixed a bug with head layering w/ the Look at Camera event. Fixed some other bugs that aren't important. * New Icon i made it myself * Sumo Pose anims v4.9 You can now toggle if the blue sumo bro will throw his glasses on the finale pose. Also changed selecting the pose type from an integer slider to a dropdown menu. You can also now change which direction the sumo brothers begin stomping in. * Sumo Pose anims v5 D se dab * Finalizing stuff Changed ALL the animations (minus InuTweet) to use linear interpolation instead of the default setting since that's what megamix does afaik. Combined the two sumohead animators into one just to allow for more play animation shenanigans. Assigned all the sumo assets to a new ctrsumou asset bundle to get ready for packing it all up. Added new nerd bg because Mage just happened to make one * Bug Fixed + Tweaks + Finish Fixed a bug where the game would end up cueing inputs that extended into other games. It wouldn't do anything until you went back to Sumo Brothers where all those extra cues would run the frame the game loaded. Tweaked all the BG sliding in animations to be accurate to the original game. I started implementing asset bundles, but for some reason actually using them breaks the Blue Sumo Bro's animations for *some* reason. I forgot to include this in *one* of the previous change notes, but you can now change which direction the Bros start stomping in. * Kill reference images Removed ALL of the reference images from the files there were like 135 images
2024-04-16 01:45:56 +00:00
None = 2,
GreatWave = 0,
OtaniOniji = 1,
Nerd = 3,
}
private BGType bgType = BGType.None;
static public BGType bgTypeNext = BGType.None;
Sumo brothers is FINISHED* (#867) * Pose Backgrounds The cool backgrounds that appear on a successful pose are now fully added. Also implemented the new upscales. * Stomp Camera Shake The way it is coded is not good at all, but the stomp shakes look *ok* when the game runs at triple digit tempos. * Better Stomp Shake & Alternate BGs Made the stomp shake look MUCH better, and added an option to poses to automatically alternate between background types. * Sumo Pose anims v4 Animated most of all the remaining pose animations, missing the miss animations + glasses being thrown. Also will want to add a version where the glasses aren't thrown. Pig? * Sumo Pose anims v4.5 Added the missing miss animations. Added the glasses actually being thrown. Fixed a bug with head layering w/ the Look at Camera event. Fixed some other bugs that aren't important. * New Icon i made it myself * Sumo Pose anims v4.9 You can now toggle if the blue sumo bro will throw his glasses on the finale pose. Also changed selecting the pose type from an integer slider to a dropdown menu. You can also now change which direction the sumo brothers begin stomping in. * Sumo Pose anims v5 D se dab * Finalizing stuff Changed ALL the animations (minus InuTweet) to use linear interpolation instead of the default setting since that's what megamix does afaik. Combined the two sumohead animators into one just to allow for more play animation shenanigans. Assigned all the sumo assets to a new ctrsumou asset bundle to get ready for packing it all up. Added new nerd bg because Mage just happened to make one * Bug Fixed + Tweaks + Finish Fixed a bug where the game would end up cueing inputs that extended into other games. It wouldn't do anything until you went back to Sumo Brothers where all those extra cues would run the frame the game loaded. Tweaked all the BG sliding in animations to be accurate to the original game. I started implementing asset bundles, but for some reason actually using them breaks the Blue Sumo Bro's animations for *some* reason. I forgot to include this in *one* of the previous change notes, but you can now change which direction the Bros start stomping in. * Kill reference images Removed ALL of the reference images from the files there were like 135 images
2024-04-16 01:45:56 +00:00
public enum StompDirection
{
Automatic = 0,
Left = 1,
Right = 2,
Sumo brothers (#706) * Lockstep fansodnason * More Lockstep Implemented the new sprites (still needs work). Added new Icon. * More lockstep stuff i have no clue * Animation Tweaking I fiddled around with numbers weeeeeeeeeeeeeeee * Merge branch 'master' of https://github.com/RaffyTaffy14/HS * Background Has basic background * End Pose Start Adds the End Pose cue's tweeting sound (took so long but felt so cool) * Inu Sensei Start Inu Sensei added to scene. He can bop, crouch, or do neither * Temp Sumo Brothers Icon Made by Donfen * Inu Sensei Tweeting Inu Sensei now does his animation during the duration of the End Pose cue. * Crouch Block Rework Reworked crouch block to be a stretchable cue instead of a toggle (like KM prepare stance) * Bop Block Rework Bop block reworked to be a toggle. Also made a few minor tweaks to random things. * Added the Brothers The Sumo Brothers from Sumo Brothers are now in Sumo Brothers (minus the sumo) * Imported Upscaled Sumou_BG Higher resolution background and Inu Sensei sprites. * Imported REAL Upscaled Sumou_BG oops * Slap & Stomp Signals the domg buncus and tink tonks * Twiddling my Thumbs Random, Insignificant changes to random things in the code * idk random cleanup after I finally got HS to not be in shambles * more stuff dunno * Input for Pose this should not have taken this long * uh waste of 4gb atm, need 4gb atm, may need this not atm * Modernized Bops & WIP Stomps/Slaps Made the bop system to have automatic/stretchy settings like all new games. Also got a WIP implementation of stomping/slapping * quite honest i do not know let's just update HS * Prepare Slap Animation Prepare Slap animation has been animated and implemented * Sumo Prefab some stuff went down yesterday when updating the fork that involved the sumo prefab randomly downgrading to an older version, so I'm hoping that this commit will make sure that the current prefab wont just vanish into oblivion * Slapping Animation v1 Spent a few hours animating the front-hand slapping animation. Also added a "Look at Camera" event that makes the brotheren look at the camera while slapping. * Stomping Animations All stomp and stomp prepare animations are animated and coded into the game (except for the miss one) * Slapping Animation v2 finally animated the alternate slapping animation where those sumo brothers slap with their other hand * Slapping to Stomping Transition Added the slapping animation for when the Bros transition from slapping to stomping as well as all the accompanying code to get it to function. Also tweaked the two other slapping animations to fix the interpolation of those speed lines. * Inu Sensei Complete Added redone inu sensei spritesheet (thanks Mage!), animated all inu sensei animations, and coded all the inu sensei functionality. This is all really coming together now * Sumo Miss anims & more Added the Slap/Stomp miss animations. Coded the ability to whiff inputs. Replaced all the SFX with Kievit-approved rips. Added the little slap impact effect for successful slap inputs. Getting ready to make stomps pretty. Fixed misc bugs. * Sumo Pose anims & more Added the first set of pose animations. Also added animations for transitioning from posing to something else. Stomps aint getting pretty this time. Fixed misc bugs. * Sumo Pose anims v2 Animated the whole 2nd set of sumo pose animations. Fixed some various bugs with poses. Added a random setting for the poses (although it doesn't work well with only 2 poses). Getting ready for the PR * Random Bug Fixes Fixed random pose option, fixed an animation that accidentally left loop on, and added monologue. Getting ready for pr in a few days. * New Icon & Bug Fixes Added a shiny new icon made by Seanski2, fixed a bug about poses in tap mode being a bit bugged and fixed the Slap-to-Stomp slap animation being able to be played too soon. --------- Co-authored-by: minenice55 <star.elementa@gmail.com>
2024-02-19 01:25:26 +00:00
}
public enum ForceInputType
{
Stomp = 0,
Slap = 1,
//Pose? lolololololol
}
Sumo brothers (#706) * Lockstep fansodnason * More Lockstep Implemented the new sprites (still needs work). Added new Icon. * More lockstep stuff i have no clue * Animation Tweaking I fiddled around with numbers weeeeeeeeeeeeeeee * Merge branch 'master' of https://github.com/RaffyTaffy14/HS * Background Has basic background * End Pose Start Adds the End Pose cue's tweeting sound (took so long but felt so cool) * Inu Sensei Start Inu Sensei added to scene. He can bop, crouch, or do neither * Temp Sumo Brothers Icon Made by Donfen * Inu Sensei Tweeting Inu Sensei now does his animation during the duration of the End Pose cue. * Crouch Block Rework Reworked crouch block to be a stretchable cue instead of a toggle (like KM prepare stance) * Bop Block Rework Bop block reworked to be a toggle. Also made a few minor tweaks to random things. * Added the Brothers The Sumo Brothers from Sumo Brothers are now in Sumo Brothers (minus the sumo) * Imported Upscaled Sumou_BG Higher resolution background and Inu Sensei sprites. * Imported REAL Upscaled Sumou_BG oops * Slap & Stomp Signals the domg buncus and tink tonks * Twiddling my Thumbs Random, Insignificant changes to random things in the code * idk random cleanup after I finally got HS to not be in shambles * more stuff dunno * Input for Pose this should not have taken this long * uh waste of 4gb atm, need 4gb atm, may need this not atm * Modernized Bops & WIP Stomps/Slaps Made the bop system to have automatic/stretchy settings like all new games. Also got a WIP implementation of stomping/slapping * quite honest i do not know let's just update HS * Prepare Slap Animation Prepare Slap animation has been animated and implemented * Sumo Prefab some stuff went down yesterday when updating the fork that involved the sumo prefab randomly downgrading to an older version, so I'm hoping that this commit will make sure that the current prefab wont just vanish into oblivion * Slapping Animation v1 Spent a few hours animating the front-hand slapping animation. Also added a "Look at Camera" event that makes the brotheren look at the camera while slapping. * Stomping Animations All stomp and stomp prepare animations are animated and coded into the game (except for the miss one) * Slapping Animation v2 finally animated the alternate slapping animation where those sumo brothers slap with their other hand * Slapping to Stomping Transition Added the slapping animation for when the Bros transition from slapping to stomping as well as all the accompanying code to get it to function. Also tweaked the two other slapping animations to fix the interpolation of those speed lines. * Inu Sensei Complete Added redone inu sensei spritesheet (thanks Mage!), animated all inu sensei animations, and coded all the inu sensei functionality. This is all really coming together now * Sumo Miss anims & more Added the Slap/Stomp miss animations. Coded the ability to whiff inputs. Replaced all the SFX with Kievit-approved rips. Added the little slap impact effect for successful slap inputs. Getting ready to make stomps pretty. Fixed misc bugs. * Sumo Pose anims & more Added the first set of pose animations. Also added animations for transitioning from posing to something else. Stomps aint getting pretty this time. Fixed misc bugs. * Sumo Pose anims v2 Animated the whole 2nd set of sumo pose animations. Fixed some various bugs with poses. Added a random setting for the poses (although it doesn't work well with only 2 poses). Getting ready for the PR * Random Bug Fixes Fixed random pose option, fixed an animation that accidentally left loop on, and added monologue. Getting ready for pr in a few days. * New Icon & Bug Fixes Added a shiny new icon made by Seanski2, fixed a bug about poses in tap mode being a bit bugged and fixed the Slap-to-Stomp slap animation being able to be played too soon. --------- Co-authored-by: minenice55 <star.elementa@gmail.com>
2024-02-19 01:25:26 +00:00
private enum SumoState
{
Idle,
Slap,
Stomp,
Pose
}
private SumoState sumoState = SumoState.Idle;
private SumoState sumoStatePrevious = SumoState.Idle;
protected static bool IA_PadAltPress(out double dt)
{
return PlayerInput.GetPadDown(InputController.ActionsPad.South, out dt);
}
protected static bool IA_BatonAltPress(out double dt)
{
return PlayerInput.GetSqueezeDown(out dt);
}
protected static bool IA_TouchAltPress(out double dt)
{
return PlayerInput.GetTouchDown(InputController.ActionsTouch.Tap, out dt)
&& instance.IsExpectingInputNow(InputAction_Alt);
}
public static PlayerInput.InputAction InputAction_Alt =
Sumo brothers is FINISHED* (#867) * Pose Backgrounds The cool backgrounds that appear on a successful pose are now fully added. Also implemented the new upscales. * Stomp Camera Shake The way it is coded is not good at all, but the stomp shakes look *ok* when the game runs at triple digit tempos. * Better Stomp Shake & Alternate BGs Made the stomp shake look MUCH better, and added an option to poses to automatically alternate between background types. * Sumo Pose anims v4 Animated most of all the remaining pose animations, missing the miss animations + glasses being thrown. Also will want to add a version where the glasses aren't thrown. Pig? * Sumo Pose anims v4.5 Added the missing miss animations. Added the glasses actually being thrown. Fixed a bug with head layering w/ the Look at Camera event. Fixed some other bugs that aren't important. * New Icon i made it myself * Sumo Pose anims v4.9 You can now toggle if the blue sumo bro will throw his glasses on the finale pose. Also changed selecting the pose type from an integer slider to a dropdown menu. You can also now change which direction the sumo brothers begin stomping in. * Sumo Pose anims v5 D se dab * Finalizing stuff Changed ALL the animations (minus InuTweet) to use linear interpolation instead of the default setting since that's what megamix does afaik. Combined the two sumohead animators into one just to allow for more play animation shenanigans. Assigned all the sumo assets to a new ctrsumou asset bundle to get ready for packing it all up. Added new nerd bg because Mage just happened to make one * Bug Fixed + Tweaks + Finish Fixed a bug where the game would end up cueing inputs that extended into other games. It wouldn't do anything until you went back to Sumo Brothers where all those extra cues would run the frame the game loaded. Tweaked all the BG sliding in animations to be accurate to the original game. I started implementing asset bundles, but for some reason actually using them breaks the Blue Sumo Bro's animations for *some* reason. I forgot to include this in *one* of the previous change notes, but you can now change which direction the Bros start stomping in. * Kill reference images Removed ALL of the reference images from the files there were like 135 images
2024-04-16 01:45:56 +00:00
new("CtrSumouAlt", new int[] { IAAltDownCat, IAFlickCat, IAAltDownCat },
IA_PadAltPress, IA_TouchFlick, IA_BatonAltPress);
Sumo brothers (#706) * Lockstep fansodnason * More Lockstep Implemented the new sprites (still needs work). Added new Icon. * More lockstep stuff i have no clue * Animation Tweaking I fiddled around with numbers weeeeeeeeeeeeeeee * Merge branch 'master' of https://github.com/RaffyTaffy14/HS * Background Has basic background * End Pose Start Adds the End Pose cue's tweeting sound (took so long but felt so cool) * Inu Sensei Start Inu Sensei added to scene. He can bop, crouch, or do neither * Temp Sumo Brothers Icon Made by Donfen * Inu Sensei Tweeting Inu Sensei now does his animation during the duration of the End Pose cue. * Crouch Block Rework Reworked crouch block to be a stretchable cue instead of a toggle (like KM prepare stance) * Bop Block Rework Bop block reworked to be a toggle. Also made a few minor tweaks to random things. * Added the Brothers The Sumo Brothers from Sumo Brothers are now in Sumo Brothers (minus the sumo) * Imported Upscaled Sumou_BG Higher resolution background and Inu Sensei sprites. * Imported REAL Upscaled Sumou_BG oops * Slap & Stomp Signals the domg buncus and tink tonks * Twiddling my Thumbs Random, Insignificant changes to random things in the code * idk random cleanup after I finally got HS to not be in shambles * more stuff dunno * Input for Pose this should not have taken this long * uh waste of 4gb atm, need 4gb atm, may need this not atm * Modernized Bops & WIP Stomps/Slaps Made the bop system to have automatic/stretchy settings like all new games. Also got a WIP implementation of stomping/slapping * quite honest i do not know let's just update HS * Prepare Slap Animation Prepare Slap animation has been animated and implemented * Sumo Prefab some stuff went down yesterday when updating the fork that involved the sumo prefab randomly downgrading to an older version, so I'm hoping that this commit will make sure that the current prefab wont just vanish into oblivion * Slapping Animation v1 Spent a few hours animating the front-hand slapping animation. Also added a "Look at Camera" event that makes the brotheren look at the camera while slapping. * Stomping Animations All stomp and stomp prepare animations are animated and coded into the game (except for the miss one) * Slapping Animation v2 finally animated the alternate slapping animation where those sumo brothers slap with their other hand * Slapping to Stomping Transition Added the slapping animation for when the Bros transition from slapping to stomping as well as all the accompanying code to get it to function. Also tweaked the two other slapping animations to fix the interpolation of those speed lines. * Inu Sensei Complete Added redone inu sensei spritesheet (thanks Mage!), animated all inu sensei animations, and coded all the inu sensei functionality. This is all really coming together now * Sumo Miss anims & more Added the Slap/Stomp miss animations. Coded the ability to whiff inputs. Replaced all the SFX with Kievit-approved rips. Added the little slap impact effect for successful slap inputs. Getting ready to make stomps pretty. Fixed misc bugs. * Sumo Pose anims & more Added the first set of pose animations. Also added animations for transitioning from posing to something else. Stomps aint getting pretty this time. Fixed misc bugs. * Sumo Pose anims v2 Animated the whole 2nd set of sumo pose animations. Fixed some various bugs with poses. Added a random setting for the poses (although it doesn't work well with only 2 poses). Getting ready for the PR * Random Bug Fixes Fixed random pose option, fixed an animation that accidentally left loop on, and added monologue. Getting ready for pr in a few days. * New Icon & Bug Fixes Added a shiny new icon made by Seanski2, fixed a bug about poses in tap mode being a bit bugged and fixed the Slap-to-Stomp slap animation being able to be played too soon. --------- Co-authored-by: minenice55 <star.elementa@gmail.com>
2024-02-19 01:25:26 +00:00
// Start is called before the first frame update
void Awake()
{
goBopInu = true;
goBopSumo = true;
allowBopInu = true;
allowBopSumo = true;
instance = this;
cueCurrentlyActive = false;
sumoStompDir = false;
sumoSlapDir = 0;
sumoPoseType = 0;
sumoPoseTypeNext = 0;
Sumo brothers is FINISHED* (#867) * Pose Backgrounds The cool backgrounds that appear on a successful pose are now fully added. Also implemented the new upscales. * Stomp Camera Shake The way it is coded is not good at all, but the stomp shakes look *ok* when the game runs at triple digit tempos. * Better Stomp Shake & Alternate BGs Made the stomp shake look MUCH better, and added an option to poses to automatically alternate between background types. * Sumo Pose anims v4 Animated most of all the remaining pose animations, missing the miss animations + glasses being thrown. Also will want to add a version where the glasses aren't thrown. Pig? * Sumo Pose anims v4.5 Added the missing miss animations. Added the glasses actually being thrown. Fixed a bug with head layering w/ the Look at Camera event. Fixed some other bugs that aren't important. * New Icon i made it myself * Sumo Pose anims v4.9 You can now toggle if the blue sumo bro will throw his glasses on the finale pose. Also changed selecting the pose type from an integer slider to a dropdown menu. You can also now change which direction the sumo brothers begin stomping in. * Sumo Pose anims v5 D se dab * Finalizing stuff Changed ALL the animations (minus InuTweet) to use linear interpolation instead of the default setting since that's what megamix does afaik. Combined the two sumohead animators into one just to allow for more play animation shenanigans. Assigned all the sumo assets to a new ctrsumou asset bundle to get ready for packing it all up. Added new nerd bg because Mage just happened to make one * Bug Fixed + Tweaks + Finish Fixed a bug where the game would end up cueing inputs that extended into other games. It wouldn't do anything until you went back to Sumo Brothers where all those extra cues would run the frame the game loaded. Tweaked all the BG sliding in animations to be accurate to the original game. I started implementing asset bundles, but for some reason actually using them breaks the Blue Sumo Bro's animations for *some* reason. I forgot to include this in *one* of the previous change notes, but you can now change which direction the Bros start stomping in. * Kill reference images Removed ALL of the reference images from the files there were like 135 images
2024-04-16 01:45:56 +00:00
var beat = Conductor.instance.songPositionInBeatsAsDouble;
backgroundMaterial.SetColor("_ColorAlpha", defaultBgTopColor);
backgroundMaterial.SetColor("_ColorDelta", defaultBgBtmColor);
bgTop.color = defaultBgTopColor;
bgBtm.color = defaultBgBtmColor;
colorTopStart = defaultBgTopColor;
colorTopEnd = defaultBgTopColor;
colorBtmStart = defaultBgBtmColor;
colorBtmEnd = defaultBgBtmColor;
Sumo brothers (#706) * Lockstep fansodnason * More Lockstep Implemented the new sprites (still needs work). Added new Icon. * More lockstep stuff i have no clue * Animation Tweaking I fiddled around with numbers weeeeeeeeeeeeeeee * Merge branch 'master' of https://github.com/RaffyTaffy14/HS * Background Has basic background * End Pose Start Adds the End Pose cue's tweeting sound (took so long but felt so cool) * Inu Sensei Start Inu Sensei added to scene. He can bop, crouch, or do neither * Temp Sumo Brothers Icon Made by Donfen * Inu Sensei Tweeting Inu Sensei now does his animation during the duration of the End Pose cue. * Crouch Block Rework Reworked crouch block to be a stretchable cue instead of a toggle (like KM prepare stance) * Bop Block Rework Bop block reworked to be a toggle. Also made a few minor tweaks to random things. * Added the Brothers The Sumo Brothers from Sumo Brothers are now in Sumo Brothers (minus the sumo) * Imported Upscaled Sumou_BG Higher resolution background and Inu Sensei sprites. * Imported REAL Upscaled Sumou_BG oops * Slap & Stomp Signals the domg buncus and tink tonks * Twiddling my Thumbs Random, Insignificant changes to random things in the code * idk random cleanup after I finally got HS to not be in shambles * more stuff dunno * Input for Pose this should not have taken this long * uh waste of 4gb atm, need 4gb atm, may need this not atm * Modernized Bops & WIP Stomps/Slaps Made the bop system to have automatic/stretchy settings like all new games. Also got a WIP implementation of stomping/slapping * quite honest i do not know let's just update HS * Prepare Slap Animation Prepare Slap animation has been animated and implemented * Sumo Prefab some stuff went down yesterday when updating the fork that involved the sumo prefab randomly downgrading to an older version, so I'm hoping that this commit will make sure that the current prefab wont just vanish into oblivion * Slapping Animation v1 Spent a few hours animating the front-hand slapping animation. Also added a "Look at Camera" event that makes the brotheren look at the camera while slapping. * Stomping Animations All stomp and stomp prepare animations are animated and coded into the game (except for the miss one) * Slapping Animation v2 finally animated the alternate slapping animation where those sumo brothers slap with their other hand * Slapping to Stomping Transition Added the slapping animation for when the Bros transition from slapping to stomping as well as all the accompanying code to get it to function. Also tweaked the two other slapping animations to fix the interpolation of those speed lines. * Inu Sensei Complete Added redone inu sensei spritesheet (thanks Mage!), animated all inu sensei animations, and coded all the inu sensei functionality. This is all really coming together now * Sumo Miss anims & more Added the Slap/Stomp miss animations. Coded the ability to whiff inputs. Replaced all the SFX with Kievit-approved rips. Added the little slap impact effect for successful slap inputs. Getting ready to make stomps pretty. Fixed misc bugs. * Sumo Pose anims & more Added the first set of pose animations. Also added animations for transitioning from posing to something else. Stomps aint getting pretty this time. Fixed misc bugs. * Sumo Pose anims v2 Animated the whole 2nd set of sumo pose animations. Fixed some various bugs with poses. Added a random setting for the poses (although it doesn't work well with only 2 poses). Getting ready for the PR * Random Bug Fixes Fixed random pose option, fixed an animation that accidentally left loop on, and added monologue. Getting ready for pr in a few days. * New Icon & Bug Fixes Added a shiny new icon made by Seanski2, fixed a bug about poses in tap mode being a bit bugged and fixed the Slap-to-Stomp slap animation being able to be played too soon. --------- Co-authored-by: minenice55 <star.elementa@gmail.com>
2024-02-19 01:25:26 +00:00
}
void OnDestroy()
{
/*if (!Conductor.instance.isPlaying || Conductor.instance.isPaused)
{
if (queuedInputs.Count > 0) queuedInputs.Clear();
}*/
}
// Update is called once per frame
void Update()
{
var cond = Conductor.instance;
if (PlayerInput.GetIsAction(InputAction_BasicPress) && !IsExpectingInputNow(InputAction_BasicPress) && !IsExpectingInputNow(InputAction_Alt))
{
// Slap whiffs
if (sumoStatePrevious == SumoState.Slap || sumoStatePrevious == SumoState.Idle)
{
SoundByte.PlayOneShotGame("sumoBrothers/whiff");
if (lookingAtCamera) {
sumoBrotherPHead.DoScaledAnimationAsync("SumoPSlapLook");
} else {
sumoBrotherPHead.DoScaledAnimationAsync("SumoPSlap");
}
if (sumoSlapDir == 2) {
sumoBrotherP.DoScaledAnimationAsync("SumoSlapToStomp", 0.5f);
} else if (sumoSlapDir == 1) {
sumoBrotherP.DoScaledAnimationAsync("SumoSlapFront", 0.5f);
} else {
sumoBrotherP.DoScaledAnimationAsync("SumoSlapBack", 0.5f);
}
}
// Stomp whiffs
if (sumoStatePrevious == SumoState.Stomp && !sumoBrotherP.IsPlayingAnimationNames("SumoStompMiss"))
{
SoundByte.PlayOneShotGame("sumoBrothers/miss");
inuSensei.DoScaledAnimationAsync("InuFloatMiss", 0.5f);
sumoBrotherP.DoScaledAnimationAsync("SumoStompMiss", 0.5f);
sumoBrotherPHead.DoScaledAnimationAsync("SumoPMiss");
}
}
Sumo brothers is FINISHED* (#867) * Pose Backgrounds The cool backgrounds that appear on a successful pose are now fully added. Also implemented the new upscales. * Stomp Camera Shake The way it is coded is not good at all, but the stomp shakes look *ok* when the game runs at triple digit tempos. * Better Stomp Shake & Alternate BGs Made the stomp shake look MUCH better, and added an option to poses to automatically alternate between background types. * Sumo Pose anims v4 Animated most of all the remaining pose animations, missing the miss animations + glasses being thrown. Also will want to add a version where the glasses aren't thrown. Pig? * Sumo Pose anims v4.5 Added the missing miss animations. Added the glasses actually being thrown. Fixed a bug with head layering w/ the Look at Camera event. Fixed some other bugs that aren't important. * New Icon i made it myself * Sumo Pose anims v4.9 You can now toggle if the blue sumo bro will throw his glasses on the finale pose. Also changed selecting the pose type from an integer slider to a dropdown menu. You can also now change which direction the sumo brothers begin stomping in. * Sumo Pose anims v5 D se dab * Finalizing stuff Changed ALL the animations (minus InuTweet) to use linear interpolation instead of the default setting since that's what megamix does afaik. Combined the two sumohead animators into one just to allow for more play animation shenanigans. Assigned all the sumo assets to a new ctrsumou asset bundle to get ready for packing it all up. Added new nerd bg because Mage just happened to make one * Bug Fixed + Tweaks + Finish Fixed a bug where the game would end up cueing inputs that extended into other games. It wouldn't do anything until you went back to Sumo Brothers where all those extra cues would run the frame the game loaded. Tweaked all the BG sliding in animations to be accurate to the original game. I started implementing asset bundles, but for some reason actually using them breaks the Blue Sumo Bro's animations for *some* reason. I forgot to include this in *one* of the previous change notes, but you can now change which direction the Bros start stomping in. * Kill reference images Removed ALL of the reference images from the files there were like 135 images
2024-04-16 01:45:56 +00:00
StompShake();
BackgroundColorUpdate();
Sumo brothers (#706) * Lockstep fansodnason * More Lockstep Implemented the new sprites (still needs work). Added new Icon. * More lockstep stuff i have no clue * Animation Tweaking I fiddled around with numbers weeeeeeeeeeeeeeee * Merge branch 'master' of https://github.com/RaffyTaffy14/HS * Background Has basic background * End Pose Start Adds the End Pose cue's tweeting sound (took so long but felt so cool) * Inu Sensei Start Inu Sensei added to scene. He can bop, crouch, or do neither * Temp Sumo Brothers Icon Made by Donfen * Inu Sensei Tweeting Inu Sensei now does his animation during the duration of the End Pose cue. * Crouch Block Rework Reworked crouch block to be a stretchable cue instead of a toggle (like KM prepare stance) * Bop Block Rework Bop block reworked to be a toggle. Also made a few minor tweaks to random things. * Added the Brothers The Sumo Brothers from Sumo Brothers are now in Sumo Brothers (minus the sumo) * Imported Upscaled Sumou_BG Higher resolution background and Inu Sensei sprites. * Imported REAL Upscaled Sumou_BG oops * Slap & Stomp Signals the domg buncus and tink tonks * Twiddling my Thumbs Random, Insignificant changes to random things in the code * idk random cleanup after I finally got HS to not be in shambles * more stuff dunno * Input for Pose this should not have taken this long * uh waste of 4gb atm, need 4gb atm, may need this not atm * Modernized Bops & WIP Stomps/Slaps Made the bop system to have automatic/stretchy settings like all new games. Also got a WIP implementation of stomping/slapping * quite honest i do not know let's just update HS * Prepare Slap Animation Prepare Slap animation has been animated and implemented * Sumo Prefab some stuff went down yesterday when updating the fork that involved the sumo prefab randomly downgrading to an older version, so I'm hoping that this commit will make sure that the current prefab wont just vanish into oblivion * Slapping Animation v1 Spent a few hours animating the front-hand slapping animation. Also added a "Look at Camera" event that makes the brotheren look at the camera while slapping. * Stomping Animations All stomp and stomp prepare animations are animated and coded into the game (except for the miss one) * Slapping Animation v2 finally animated the alternate slapping animation where those sumo brothers slap with their other hand * Slapping to Stomping Transition Added the slapping animation for when the Bros transition from slapping to stomping as well as all the accompanying code to get it to function. Also tweaked the two other slapping animations to fix the interpolation of those speed lines. * Inu Sensei Complete Added redone inu sensei spritesheet (thanks Mage!), animated all inu sensei animations, and coded all the inu sensei functionality. This is all really coming together now * Sumo Miss anims & more Added the Slap/Stomp miss animations. Coded the ability to whiff inputs. Replaced all the SFX with Kievit-approved rips. Added the little slap impact effect for successful slap inputs. Getting ready to make stomps pretty. Fixed misc bugs. * Sumo Pose anims & more Added the first set of pose animations. Also added animations for transitioning from posing to something else. Stomps aint getting pretty this time. Fixed misc bugs. * Sumo Pose anims v2 Animated the whole 2nd set of sumo pose animations. Fixed some various bugs with poses. Added a random setting for the poses (although it doesn't work well with only 2 poses). Getting ready for the PR * Random Bug Fixes Fixed random pose option, fixed an animation that accidentally left loop on, and added monologue. Getting ready for pr in a few days. * New Icon & Bug Fixes Added a shiny new icon made by Seanski2, fixed a bug about poses in tap mode being a bit bugged and fixed the Slap-to-Stomp slap animation being able to be played too soon. --------- Co-authored-by: minenice55 <star.elementa@gmail.com>
2024-02-19 01:25:26 +00:00
}
public override void OnGameSwitch(double beat) // stole code from manzai
{
FindNextGameswitchBeat(beat);
PersistColor(beat);
foreach(var entity in GameManager.instance.Beatmap.Entities)
{
if(entity.beat > beat) //the list is sorted based on the beat of the entity, so this should work fine.
{
break;
}
if((entity.datamodel != "sumoBrothers/stompSignal" && entity.datamodel != "sumoBrothers/slapSignal") || entity.beat + entity.length < beat)
{
continue;
}
bool isOnGameSwitchBeat = entity.beat == beat;
if(entity.datamodel == "sumoBrothers/stompSignal") {StompSignal(entity.beat, true, true, entity["look"], entity["direction"]);}
if(entity.datamodel == "sumoBrothers/slapSignal") {SlapSignal(entity.beat, true, true);}
}
Sumo brothers is FINISHED* (#867) * Pose Backgrounds The cool backgrounds that appear on a successful pose are now fully added. Also implemented the new upscales. * Stomp Camera Shake The way it is coded is not good at all, but the stomp shakes look *ok* when the game runs at triple digit tempos. * Better Stomp Shake & Alternate BGs Made the stomp shake look MUCH better, and added an option to poses to automatically alternate between background types. * Sumo Pose anims v4 Animated most of all the remaining pose animations, missing the miss animations + glasses being thrown. Also will want to add a version where the glasses aren't thrown. Pig? * Sumo Pose anims v4.5 Added the missing miss animations. Added the glasses actually being thrown. Fixed a bug with head layering w/ the Look at Camera event. Fixed some other bugs that aren't important. * New Icon i made it myself * Sumo Pose anims v4.9 You can now toggle if the blue sumo bro will throw his glasses on the finale pose. Also changed selecting the pose type from an integer slider to a dropdown menu. You can also now change which direction the sumo brothers begin stomping in. * Sumo Pose anims v5 D se dab * Finalizing stuff Changed ALL the animations (minus InuTweet) to use linear interpolation instead of the default setting since that's what megamix does afaik. Combined the two sumohead animators into one just to allow for more play animation shenanigans. Assigned all the sumo assets to a new ctrsumou asset bundle to get ready for packing it all up. Added new nerd bg because Mage just happened to make one * Bug Fixed + Tweaks + Finish Fixed a bug where the game would end up cueing inputs that extended into other games. It wouldn't do anything until you went back to Sumo Brothers where all those extra cues would run the frame the game loaded. Tweaked all the BG sliding in animations to be accurate to the original game. I started implementing asset bundles, but for some reason actually using them breaks the Blue Sumo Bro's animations for *some* reason. I forgot to include this in *one* of the previous change notes, but you can now change which direction the Bros start stomping in. * Kill reference images Removed ALL of the reference images from the files there were like 135 images
2024-04-16 01:45:56 +00:00
}
public override void OnPlay(double beat)
{
bgTypeNext = BGType.None;
Sumo brothers is FINISHED* (#867) * Pose Backgrounds The cool backgrounds that appear on a successful pose are now fully added. Also implemented the new upscales. * Stomp Camera Shake The way it is coded is not good at all, but the stomp shakes look *ok* when the game runs at triple digit tempos. * Better Stomp Shake & Alternate BGs Made the stomp shake look MUCH better, and added an option to poses to automatically alternate between background types. * Sumo Pose anims v4 Animated most of all the remaining pose animations, missing the miss animations + glasses being thrown. Also will want to add a version where the glasses aren't thrown. Pig? * Sumo Pose anims v4.5 Added the missing miss animations. Added the glasses actually being thrown. Fixed a bug with head layering w/ the Look at Camera event. Fixed some other bugs that aren't important. * New Icon i made it myself * Sumo Pose anims v4.9 You can now toggle if the blue sumo bro will throw his glasses on the finale pose. Also changed selecting the pose type from an integer slider to a dropdown menu. You can also now change which direction the sumo brothers begin stomping in. * Sumo Pose anims v5 D se dab * Finalizing stuff Changed ALL the animations (minus InuTweet) to use linear interpolation instead of the default setting since that's what megamix does afaik. Combined the two sumohead animators into one just to allow for more play animation shenanigans. Assigned all the sumo assets to a new ctrsumou asset bundle to get ready for packing it all up. Added new nerd bg because Mage just happened to make one * Bug Fixed + Tweaks + Finish Fixed a bug where the game would end up cueing inputs that extended into other games. It wouldn't do anything until you went back to Sumo Brothers where all those extra cues would run the frame the game loaded. Tweaked all the BG sliding in animations to be accurate to the original game. I started implementing asset bundles, but for some reason actually using them breaks the Blue Sumo Bro's animations for *some* reason. I forgot to include this in *one* of the previous change notes, but you can now change which direction the Bros start stomping in. * Kill reference images Removed ALL of the reference images from the files there were like 135 images
2024-04-16 01:45:56 +00:00
FindNextGameswitchBeat(beat);
PersistColor(beat);
Sumo brothers is FINISHED* (#867) * Pose Backgrounds The cool backgrounds that appear on a successful pose are now fully added. Also implemented the new upscales. * Stomp Camera Shake The way it is coded is not good at all, but the stomp shakes look *ok* when the game runs at triple digit tempos. * Better Stomp Shake & Alternate BGs Made the stomp shake look MUCH better, and added an option to poses to automatically alternate between background types. * Sumo Pose anims v4 Animated most of all the remaining pose animations, missing the miss animations + glasses being thrown. Also will want to add a version where the glasses aren't thrown. Pig? * Sumo Pose anims v4.5 Added the missing miss animations. Added the glasses actually being thrown. Fixed a bug with head layering w/ the Look at Camera event. Fixed some other bugs that aren't important. * New Icon i made it myself * Sumo Pose anims v4.9 You can now toggle if the blue sumo bro will throw his glasses on the finale pose. Also changed selecting the pose type from an integer slider to a dropdown menu. You can also now change which direction the sumo brothers begin stomping in. * Sumo Pose anims v5 D se dab * Finalizing stuff Changed ALL the animations (minus InuTweet) to use linear interpolation instead of the default setting since that's what megamix does afaik. Combined the two sumohead animators into one just to allow for more play animation shenanigans. Assigned all the sumo assets to a new ctrsumou asset bundle to get ready for packing it all up. Added new nerd bg because Mage just happened to make one * Bug Fixed + Tweaks + Finish Fixed a bug where the game would end up cueing inputs that extended into other games. It wouldn't do anything until you went back to Sumo Brothers where all those extra cues would run the frame the game loaded. Tweaked all the BG sliding in animations to be accurate to the original game. I started implementing asset bundles, but for some reason actually using them breaks the Blue Sumo Bro's animations for *some* reason. I forgot to include this in *one* of the previous change notes, but you can now change which direction the Bros start stomping in. * Kill reference images Removed ALL of the reference images from the files there were like 135 images
2024-04-16 01:45:56 +00:00
}
private void FindNextGameswitchBeat(double beat)
{ // some of this code was made by astrl thanks
var nextGameswitch = gameManager.Beatmap.Entities.Find(e => e.beat > beat && e.datamodel != "gameManager/switchGame/sumoBrothers" && e.datamodel.Length >= "gameManager/switchGame".Length && e.datamodel[..("gameManager/switchGame".Length)] == "gameManager/switchGame");
if ( nextGameswitch != null) { nextGameswitchBeat = nextGameswitch.beat; } else { nextGameswitchBeat = double.MaxValue;}
//print(nextGameswitchBeat);
}
Sumo brothers (#706) * Lockstep fansodnason * More Lockstep Implemented the new sprites (still needs work). Added new Icon. * More lockstep stuff i have no clue * Animation Tweaking I fiddled around with numbers weeeeeeeeeeeeeeee * Merge branch 'master' of https://github.com/RaffyTaffy14/HS * Background Has basic background * End Pose Start Adds the End Pose cue's tweeting sound (took so long but felt so cool) * Inu Sensei Start Inu Sensei added to scene. He can bop, crouch, or do neither * Temp Sumo Brothers Icon Made by Donfen * Inu Sensei Tweeting Inu Sensei now does his animation during the duration of the End Pose cue. * Crouch Block Rework Reworked crouch block to be a stretchable cue instead of a toggle (like KM prepare stance) * Bop Block Rework Bop block reworked to be a toggle. Also made a few minor tweaks to random things. * Added the Brothers The Sumo Brothers from Sumo Brothers are now in Sumo Brothers (minus the sumo) * Imported Upscaled Sumou_BG Higher resolution background and Inu Sensei sprites. * Imported REAL Upscaled Sumou_BG oops * Slap & Stomp Signals the domg buncus and tink tonks * Twiddling my Thumbs Random, Insignificant changes to random things in the code * idk random cleanup after I finally got HS to not be in shambles * more stuff dunno * Input for Pose this should not have taken this long * uh waste of 4gb atm, need 4gb atm, may need this not atm * Modernized Bops & WIP Stomps/Slaps Made the bop system to have automatic/stretchy settings like all new games. Also got a WIP implementation of stomping/slapping * quite honest i do not know let's just update HS * Prepare Slap Animation Prepare Slap animation has been animated and implemented * Sumo Prefab some stuff went down yesterday when updating the fork that involved the sumo prefab randomly downgrading to an older version, so I'm hoping that this commit will make sure that the current prefab wont just vanish into oblivion * Slapping Animation v1 Spent a few hours animating the front-hand slapping animation. Also added a "Look at Camera" event that makes the brotheren look at the camera while slapping. * Stomping Animations All stomp and stomp prepare animations are animated and coded into the game (except for the miss one) * Slapping Animation v2 finally animated the alternate slapping animation where those sumo brothers slap with their other hand * Slapping to Stomping Transition Added the slapping animation for when the Bros transition from slapping to stomping as well as all the accompanying code to get it to function. Also tweaked the two other slapping animations to fix the interpolation of those speed lines. * Inu Sensei Complete Added redone inu sensei spritesheet (thanks Mage!), animated all inu sensei animations, and coded all the inu sensei functionality. This is all really coming together now * Sumo Miss anims & more Added the Slap/Stomp miss animations. Coded the ability to whiff inputs. Replaced all the SFX with Kievit-approved rips. Added the little slap impact effect for successful slap inputs. Getting ready to make stomps pretty. Fixed misc bugs. * Sumo Pose anims & more Added the first set of pose animations. Also added animations for transitioning from posing to something else. Stomps aint getting pretty this time. Fixed misc bugs. * Sumo Pose anims v2 Animated the whole 2nd set of sumo pose animations. Fixed some various bugs with poses. Added a random setting for the poses (although it doesn't work well with only 2 poses). Getting ready for the PR * Random Bug Fixes Fixed random pose option, fixed an animation that accidentally left loop on, and added monologue. Getting ready for pr in a few days. * New Icon & Bug Fixes Added a shiny new icon made by Seanski2, fixed a bug about poses in tap mode being a bit bugged and fixed the Slap-to-Stomp slap animation being able to be played too soon. --------- Co-authored-by: minenice55 <star.elementa@gmail.com>
2024-02-19 01:25:26 +00:00
public override void OnLateBeatPulse(double beat)
{
if (allowBopInu)
{
if (goBopInu)
{
inuSensei.DoScaledAnimationAsync("InuBop", 0.5f);
}
else
{
// inuSensei.DoScaledAnimationAsync("InuIdle", 0.5f);
}
}
if (allowBopSumo)
{
if(goBopSumo)
{
BrosBop();
}
else
{
// sumoBrotherP.DoScaledAnimationAsync("SumoIdle", 0.5f);
// sumoBrotherG.DoScaledAnimationAsync("SumoIdle", 0.5f);
}
}
Sumo brothers is FINISHED* (#867) * Pose Backgrounds The cool backgrounds that appear on a successful pose are now fully added. Also implemented the new upscales. * Stomp Camera Shake The way it is coded is not good at all, but the stomp shakes look *ok* when the game runs at triple digit tempos. * Better Stomp Shake & Alternate BGs Made the stomp shake look MUCH better, and added an option to poses to automatically alternate between background types. * Sumo Pose anims v4 Animated most of all the remaining pose animations, missing the miss animations + glasses being thrown. Also will want to add a version where the glasses aren't thrown. Pig? * Sumo Pose anims v4.5 Added the missing miss animations. Added the glasses actually being thrown. Fixed a bug with head layering w/ the Look at Camera event. Fixed some other bugs that aren't important. * New Icon i made it myself * Sumo Pose anims v4.9 You can now toggle if the blue sumo bro will throw his glasses on the finale pose. Also changed selecting the pose type from an integer slider to a dropdown menu. You can also now change which direction the sumo brothers begin stomping in. * Sumo Pose anims v5 D se dab * Finalizing stuff Changed ALL the animations (minus InuTweet) to use linear interpolation instead of the default setting since that's what megamix does afaik. Combined the two sumohead animators into one just to allow for more play animation shenanigans. Assigned all the sumo assets to a new ctrsumou asset bundle to get ready for packing it all up. Added new nerd bg because Mage just happened to make one * Bug Fixed + Tweaks + Finish Fixed a bug where the game would end up cueing inputs that extended into other games. It wouldn't do anything until you went back to Sumo Brothers where all those extra cues would run the frame the game loaded. Tweaked all the BG sliding in animations to be accurate to the original game. I started implementing asset bundles, but for some reason actually using them breaks the Blue Sumo Bro's animations for *some* reason. I forgot to include this in *one* of the previous change notes, but you can now change which direction the Bros start stomping in. * Kill reference images Removed ALL of the reference images from the files there were like 135 images
2024-04-16 01:45:56 +00:00
//print("current sumo state: " + sumoState + " and previous sumo state: " + sumoStatePrevious);
//print("sumo pose type: " + sumoPoseType);
Sumo brothers (#706) * Lockstep fansodnason * More Lockstep Implemented the new sprites (still needs work). Added new Icon. * More lockstep stuff i have no clue * Animation Tweaking I fiddled around with numbers weeeeeeeeeeeeeeee * Merge branch 'master' of https://github.com/RaffyTaffy14/HS * Background Has basic background * End Pose Start Adds the End Pose cue's tweeting sound (took so long but felt so cool) * Inu Sensei Start Inu Sensei added to scene. He can bop, crouch, or do neither * Temp Sumo Brothers Icon Made by Donfen * Inu Sensei Tweeting Inu Sensei now does his animation during the duration of the End Pose cue. * Crouch Block Rework Reworked crouch block to be a stretchable cue instead of a toggle (like KM prepare stance) * Bop Block Rework Bop block reworked to be a toggle. Also made a few minor tweaks to random things. * Added the Brothers The Sumo Brothers from Sumo Brothers are now in Sumo Brothers (minus the sumo) * Imported Upscaled Sumou_BG Higher resolution background and Inu Sensei sprites. * Imported REAL Upscaled Sumou_BG oops * Slap & Stomp Signals the domg buncus and tink tonks * Twiddling my Thumbs Random, Insignificant changes to random things in the code * idk random cleanup after I finally got HS to not be in shambles * more stuff dunno * Input for Pose this should not have taken this long * uh waste of 4gb atm, need 4gb atm, may need this not atm * Modernized Bops & WIP Stomps/Slaps Made the bop system to have automatic/stretchy settings like all new games. Also got a WIP implementation of stomping/slapping * quite honest i do not know let's just update HS * Prepare Slap Animation Prepare Slap animation has been animated and implemented * Sumo Prefab some stuff went down yesterday when updating the fork that involved the sumo prefab randomly downgrading to an older version, so I'm hoping that this commit will make sure that the current prefab wont just vanish into oblivion * Slapping Animation v1 Spent a few hours animating the front-hand slapping animation. Also added a "Look at Camera" event that makes the brotheren look at the camera while slapping. * Stomping Animations All stomp and stomp prepare animations are animated and coded into the game (except for the miss one) * Slapping Animation v2 finally animated the alternate slapping animation where those sumo brothers slap with their other hand * Slapping to Stomping Transition Added the slapping animation for when the Bros transition from slapping to stomping as well as all the accompanying code to get it to function. Also tweaked the two other slapping animations to fix the interpolation of those speed lines. * Inu Sensei Complete Added redone inu sensei spritesheet (thanks Mage!), animated all inu sensei animations, and coded all the inu sensei functionality. This is all really coming together now * Sumo Miss anims & more Added the Slap/Stomp miss animations. Coded the ability to whiff inputs. Replaced all the SFX with Kievit-approved rips. Added the little slap impact effect for successful slap inputs. Getting ready to make stomps pretty. Fixed misc bugs. * Sumo Pose anims & more Added the first set of pose animations. Also added animations for transitioning from posing to something else. Stomps aint getting pretty this time. Fixed misc bugs. * Sumo Pose anims v2 Animated the whole 2nd set of sumo pose animations. Fixed some various bugs with poses. Added a random setting for the poses (although it doesn't work well with only 2 poses). Getting ready for the PR * Random Bug Fixes Fixed random pose option, fixed an animation that accidentally left loop on, and added monologue. Getting ready for pr in a few days. * New Icon & Bug Fixes Added a shiny new icon made by Seanski2, fixed a bug about poses in tap mode being a bit bugged and fixed the Slap-to-Stomp slap animation being able to be played too soon. --------- Co-authored-by: minenice55 <star.elementa@gmail.com>
2024-02-19 01:25:26 +00:00
}
public void Bop(double beat, float length, bool inu, bool sumo, bool inuAuto, bool sumoAuto)
{
goBopInu = inuAuto;
goBopSumo = sumoAuto;
if (inu || sumo)
{
List<BeatAction.Action> bops = new List<BeatAction.Action>();
for (int i = 0; i < length; i++)
{
bops.Add(new BeatAction.Action(beat + i, delegate
{
if (inu)
{
inuSensei.DoScaledAnimationAsync("InuBop", 0.5f);
}
if (sumo)
{
BrosBop();
}
}));
}
BeatAction.New(instance, bops);
}
}
private void BrosBop()
{
if (sumoStatePrevious == SumoState.Idle) {
sumoBrotherP.DoScaledAnimationAsync("SumoBop", 0.5f);
sumoBrotherG.DoScaledAnimationAsync("SumoBop", 0.5f);
sumoBrotherPHead.DoScaledAnimationAsync("SumoPIdle", 0.5f);
sumoBrotherGHead.DoScaledAnimationAsync("SumoGIdle", 0.5f);
} else if (sumoStatePrevious == SumoState.Pose) {
sumoBrotherP.DoScaledAnimationAsync("SumoPosePBop" + sumoPoseTypeCurrent, 0.5f);
sumoBrotherG.DoScaledAnimationAsync("SumoPoseGBop" + sumoPoseTypeCurrent, 0.5f);
}
}
Sumo brothers is FINISHED* (#867) * Pose Backgrounds The cool backgrounds that appear on a successful pose are now fully added. Also implemented the new upscales. * Stomp Camera Shake The way it is coded is not good at all, but the stomp shakes look *ok* when the game runs at triple digit tempos. * Better Stomp Shake & Alternate BGs Made the stomp shake look MUCH better, and added an option to poses to automatically alternate between background types. * Sumo Pose anims v4 Animated most of all the remaining pose animations, missing the miss animations + glasses being thrown. Also will want to add a version where the glasses aren't thrown. Pig? * Sumo Pose anims v4.5 Added the missing miss animations. Added the glasses actually being thrown. Fixed a bug with head layering w/ the Look at Camera event. Fixed some other bugs that aren't important. * New Icon i made it myself * Sumo Pose anims v4.9 You can now toggle if the blue sumo bro will throw his glasses on the finale pose. Also changed selecting the pose type from an integer slider to a dropdown menu. You can also now change which direction the sumo brothers begin stomping in. * Sumo Pose anims v5 D se dab * Finalizing stuff Changed ALL the animations (minus InuTweet) to use linear interpolation instead of the default setting since that's what megamix does afaik. Combined the two sumohead animators into one just to allow for more play animation shenanigans. Assigned all the sumo assets to a new ctrsumou asset bundle to get ready for packing it all up. Added new nerd bg because Mage just happened to make one * Bug Fixed + Tweaks + Finish Fixed a bug where the game would end up cueing inputs that extended into other games. It wouldn't do anything until you went back to Sumo Brothers where all those extra cues would run the frame the game loaded. Tweaked all the BG sliding in animations to be accurate to the original game. I started implementing asset bundles, but for some reason actually using them breaks the Blue Sumo Bro's animations for *some* reason. I forgot to include this in *one* of the previous change notes, but you can now change which direction the Bros start stomping in. * Kill reference images Removed ALL of the reference images from the files there were like 135 images
2024-04-16 01:45:56 +00:00
public void StompSignal(double beat, bool mute, bool inu, bool lookatcam, int startingDirection)
Sumo brothers (#706) * Lockstep fansodnason * More Lockstep Implemented the new sprites (still needs work). Added new Icon. * More lockstep stuff i have no clue * Animation Tweaking I fiddled around with numbers weeeeeeeeeeeeeeee * Merge branch 'master' of https://github.com/RaffyTaffy14/HS * Background Has basic background * End Pose Start Adds the End Pose cue's tweeting sound (took so long but felt so cool) * Inu Sensei Start Inu Sensei added to scene. He can bop, crouch, or do neither * Temp Sumo Brothers Icon Made by Donfen * Inu Sensei Tweeting Inu Sensei now does his animation during the duration of the End Pose cue. * Crouch Block Rework Reworked crouch block to be a stretchable cue instead of a toggle (like KM prepare stance) * Bop Block Rework Bop block reworked to be a toggle. Also made a few minor tweaks to random things. * Added the Brothers The Sumo Brothers from Sumo Brothers are now in Sumo Brothers (minus the sumo) * Imported Upscaled Sumou_BG Higher resolution background and Inu Sensei sprites. * Imported REAL Upscaled Sumou_BG oops * Slap & Stomp Signals the domg buncus and tink tonks * Twiddling my Thumbs Random, Insignificant changes to random things in the code * idk random cleanup after I finally got HS to not be in shambles * more stuff dunno * Input for Pose this should not have taken this long * uh waste of 4gb atm, need 4gb atm, may need this not atm * Modernized Bops & WIP Stomps/Slaps Made the bop system to have automatic/stretchy settings like all new games. Also got a WIP implementation of stomping/slapping * quite honest i do not know let's just update HS * Prepare Slap Animation Prepare Slap animation has been animated and implemented * Sumo Prefab some stuff went down yesterday when updating the fork that involved the sumo prefab randomly downgrading to an older version, so I'm hoping that this commit will make sure that the current prefab wont just vanish into oblivion * Slapping Animation v1 Spent a few hours animating the front-hand slapping animation. Also added a "Look at Camera" event that makes the brotheren look at the camera while slapping. * Stomping Animations All stomp and stomp prepare animations are animated and coded into the game (except for the miss one) * Slapping Animation v2 finally animated the alternate slapping animation where those sumo brothers slap with their other hand * Slapping to Stomping Transition Added the slapping animation for when the Bros transition from slapping to stomping as well as all the accompanying code to get it to function. Also tweaked the two other slapping animations to fix the interpolation of those speed lines. * Inu Sensei Complete Added redone inu sensei spritesheet (thanks Mage!), animated all inu sensei animations, and coded all the inu sensei functionality. This is all really coming together now * Sumo Miss anims & more Added the Slap/Stomp miss animations. Coded the ability to whiff inputs. Replaced all the SFX with Kievit-approved rips. Added the little slap impact effect for successful slap inputs. Getting ready to make stomps pretty. Fixed misc bugs. * Sumo Pose anims & more Added the first set of pose animations. Also added animations for transitioning from posing to something else. Stomps aint getting pretty this time. Fixed misc bugs. * Sumo Pose anims v2 Animated the whole 2nd set of sumo pose animations. Fixed some various bugs with poses. Added a random setting for the poses (although it doesn't work well with only 2 poses). Getting ready for the PR * Random Bug Fixes Fixed random pose option, fixed an animation that accidentally left loop on, and added monologue. Getting ready for pr in a few days. * New Icon & Bug Fixes Added a shiny new icon made by Seanski2, fixed a bug about poses in tap mode being a bit bugged and fixed the Slap-to-Stomp slap animation being able to be played too soon. --------- Co-authored-by: minenice55 <star.elementa@gmail.com>
2024-02-19 01:25:26 +00:00
{
if (sumoState == SumoState.Stomp || cueCurrentlyActive)
{
return;
}
CueRunning(beat + 3);
Sumo brothers is FINISHED* (#867) * Pose Backgrounds The cool backgrounds that appear on a successful pose are now fully added. Also implemented the new upscales. * Stomp Camera Shake The way it is coded is not good at all, but the stomp shakes look *ok* when the game runs at triple digit tempos. * Better Stomp Shake & Alternate BGs Made the stomp shake look MUCH better, and added an option to poses to automatically alternate between background types. * Sumo Pose anims v4 Animated most of all the remaining pose animations, missing the miss animations + glasses being thrown. Also will want to add a version where the glasses aren't thrown. Pig? * Sumo Pose anims v4.5 Added the missing miss animations. Added the glasses actually being thrown. Fixed a bug with head layering w/ the Look at Camera event. Fixed some other bugs that aren't important. * New Icon i made it myself * Sumo Pose anims v4.9 You can now toggle if the blue sumo bro will throw his glasses on the finale pose. Also changed selecting the pose type from an integer slider to a dropdown menu. You can also now change which direction the sumo brothers begin stomping in. * Sumo Pose anims v5 D se dab * Finalizing stuff Changed ALL the animations (minus InuTweet) to use linear interpolation instead of the default setting since that's what megamix does afaik. Combined the two sumohead animators into one just to allow for more play animation shenanigans. Assigned all the sumo assets to a new ctrsumou asset bundle to get ready for packing it all up. Added new nerd bg because Mage just happened to make one * Bug Fixed + Tweaks + Finish Fixed a bug where the game would end up cueing inputs that extended into other games. It wouldn't do anything until you went back to Sumo Brothers where all those extra cues would run the frame the game loaded. Tweaked all the BG sliding in animations to be accurate to the original game. I started implementing asset bundles, but for some reason actually using them breaks the Blue Sumo Bro's animations for *some* reason. I forgot to include this in *one* of the previous change notes, but you can now change which direction the Bros start stomping in. * Kill reference images Removed ALL of the reference images from the files there were like 135 images
2024-04-16 01:45:56 +00:00
// true = left, false = right
// Automatic = 0, Left = 1, Right = 2
/*if (startingDirection != 2)
{
sumoStompDir = true;
} else {
sumoStompDir = false;
}*/
Sumo brothers (#706) * Lockstep fansodnason * More Lockstep Implemented the new sprites (still needs work). Added new Icon. * More lockstep stuff i have no clue * Animation Tweaking I fiddled around with numbers weeeeeeeeeeeeeeee * Merge branch 'master' of https://github.com/RaffyTaffy14/HS * Background Has basic background * End Pose Start Adds the End Pose cue's tweeting sound (took so long but felt so cool) * Inu Sensei Start Inu Sensei added to scene. He can bop, crouch, or do neither * Temp Sumo Brothers Icon Made by Donfen * Inu Sensei Tweeting Inu Sensei now does his animation during the duration of the End Pose cue. * Crouch Block Rework Reworked crouch block to be a stretchable cue instead of a toggle (like KM prepare stance) * Bop Block Rework Bop block reworked to be a toggle. Also made a few minor tweaks to random things. * Added the Brothers The Sumo Brothers from Sumo Brothers are now in Sumo Brothers (minus the sumo) * Imported Upscaled Sumou_BG Higher resolution background and Inu Sensei sprites. * Imported REAL Upscaled Sumou_BG oops * Slap & Stomp Signals the domg buncus and tink tonks * Twiddling my Thumbs Random, Insignificant changes to random things in the code * idk random cleanup after I finally got HS to not be in shambles * more stuff dunno * Input for Pose this should not have taken this long * uh waste of 4gb atm, need 4gb atm, may need this not atm * Modernized Bops & WIP Stomps/Slaps Made the bop system to have automatic/stretchy settings like all new games. Also got a WIP implementation of stomping/slapping * quite honest i do not know let's just update HS * Prepare Slap Animation Prepare Slap animation has been animated and implemented * Sumo Prefab some stuff went down yesterday when updating the fork that involved the sumo prefab randomly downgrading to an older version, so I'm hoping that this commit will make sure that the current prefab wont just vanish into oblivion * Slapping Animation v1 Spent a few hours animating the front-hand slapping animation. Also added a "Look at Camera" event that makes the brotheren look at the camera while slapping. * Stomping Animations All stomp and stomp prepare animations are animated and coded into the game (except for the miss one) * Slapping Animation v2 finally animated the alternate slapping animation where those sumo brothers slap with their other hand * Slapping to Stomping Transition Added the slapping animation for when the Bros transition from slapping to stomping as well as all the accompanying code to get it to function. Also tweaked the two other slapping animations to fix the interpolation of those speed lines. * Inu Sensei Complete Added redone inu sensei spritesheet (thanks Mage!), animated all inu sensei animations, and coded all the inu sensei functionality. This is all really coming together now * Sumo Miss anims & more Added the Slap/Stomp miss animations. Coded the ability to whiff inputs. Replaced all the SFX with Kievit-approved rips. Added the little slap impact effect for successful slap inputs. Getting ready to make stomps pretty. Fixed misc bugs. * Sumo Pose anims & more Added the first set of pose animations. Also added animations for transitioning from posing to something else. Stomps aint getting pretty this time. Fixed misc bugs. * Sumo Pose anims v2 Animated the whole 2nd set of sumo pose animations. Fixed some various bugs with poses. Added a random setting for the poses (although it doesn't work well with only 2 poses). Getting ready for the PR * Random Bug Fixes Fixed random pose option, fixed an animation that accidentally left loop on, and added monologue. Getting ready for pr in a few days. * New Icon & Bug Fixes Added a shiny new icon made by Seanski2, fixed a bug about poses in tap mode being a bit bugged and fixed the Slap-to-Stomp slap animation being able to be played too soon. --------- Co-authored-by: minenice55 <star.elementa@gmail.com>
2024-02-19 01:25:26 +00:00
if (lookatcam && sumoState == SumoState.Slap) {
lookingAtCamera = true;
sumoBrotherPHead.DoScaledAnimationAsync("SumoPSlapLook", 0.5f);
sumoBrotherGHead.DoScaledAnimationAsync("SumoGSlapLook", 0.5f);
}
BeatAction.New(instance, new List<BeatAction.Action>()
{
new BeatAction.Action(beat + 3, delegate { allowBopSumo = false; })
});
if (inu && conductor.songPosBeat <= beat + 2)
Sumo brothers (#706) * Lockstep fansodnason * More Lockstep Implemented the new sprites (still needs work). Added new Icon. * More lockstep stuff i have no clue * Animation Tweaking I fiddled around with numbers weeeeeeeeeeeeeeee * Merge branch 'master' of https://github.com/RaffyTaffy14/HS * Background Has basic background * End Pose Start Adds the End Pose cue's tweeting sound (took so long but felt so cool) * Inu Sensei Start Inu Sensei added to scene. He can bop, crouch, or do neither * Temp Sumo Brothers Icon Made by Donfen * Inu Sensei Tweeting Inu Sensei now does his animation during the duration of the End Pose cue. * Crouch Block Rework Reworked crouch block to be a stretchable cue instead of a toggle (like KM prepare stance) * Bop Block Rework Bop block reworked to be a toggle. Also made a few minor tweaks to random things. * Added the Brothers The Sumo Brothers from Sumo Brothers are now in Sumo Brothers (minus the sumo) * Imported Upscaled Sumou_BG Higher resolution background and Inu Sensei sprites. * Imported REAL Upscaled Sumou_BG oops * Slap & Stomp Signals the domg buncus and tink tonks * Twiddling my Thumbs Random, Insignificant changes to random things in the code * idk random cleanup after I finally got HS to not be in shambles * more stuff dunno * Input for Pose this should not have taken this long * uh waste of 4gb atm, need 4gb atm, may need this not atm * Modernized Bops & WIP Stomps/Slaps Made the bop system to have automatic/stretchy settings like all new games. Also got a WIP implementation of stomping/slapping * quite honest i do not know let's just update HS * Prepare Slap Animation Prepare Slap animation has been animated and implemented * Sumo Prefab some stuff went down yesterday when updating the fork that involved the sumo prefab randomly downgrading to an older version, so I'm hoping that this commit will make sure that the current prefab wont just vanish into oblivion * Slapping Animation v1 Spent a few hours animating the front-hand slapping animation. Also added a "Look at Camera" event that makes the brotheren look at the camera while slapping. * Stomping Animations All stomp and stomp prepare animations are animated and coded into the game (except for the miss one) * Slapping Animation v2 finally animated the alternate slapping animation where those sumo brothers slap with their other hand * Slapping to Stomping Transition Added the slapping animation for when the Bros transition from slapping to stomping as well as all the accompanying code to get it to function. Also tweaked the two other slapping animations to fix the interpolation of those speed lines. * Inu Sensei Complete Added redone inu sensei spritesheet (thanks Mage!), animated all inu sensei animations, and coded all the inu sensei functionality. This is all really coming together now * Sumo Miss anims & more Added the Slap/Stomp miss animations. Coded the ability to whiff inputs. Replaced all the SFX with Kievit-approved rips. Added the little slap impact effect for successful slap inputs. Getting ready to make stomps pretty. Fixed misc bugs. * Sumo Pose anims & more Added the first set of pose animations. Also added animations for transitioning from posing to something else. Stomps aint getting pretty this time. Fixed misc bugs. * Sumo Pose anims v2 Animated the whole 2nd set of sumo pose animations. Fixed some various bugs with poses. Added a random setting for the poses (although it doesn't work well with only 2 poses). Getting ready for the PR * Random Bug Fixes Fixed random pose option, fixed an animation that accidentally left loop on, and added monologue. Getting ready for pr in a few days. * New Icon & Bug Fixes Added a shiny new icon made by Seanski2, fixed a bug about poses in tap mode being a bit bugged and fixed the Slap-to-Stomp slap animation being able to be played too soon. --------- Co-authored-by: minenice55 <star.elementa@gmail.com>
2024-02-19 01:25:26 +00:00
{
BeatAction.New(instance, new List<BeatAction.Action>()
{
new BeatAction.Action(beat, delegate { allowBopInu = false; }),
new BeatAction.Action(beat, delegate { inuSensei.DoScaledAnimationAsync("InuBeatChange", 0.5f); }),
new BeatAction.Action(beat + 2, delegate { inuSensei.DoScaledAnimationAsync("InuBeatChange", 0.5f); })
});
}
if (mute == false) { StompSignalSound(beat); }
Sumo brothers (#706) * Lockstep fansodnason * More Lockstep Implemented the new sprites (still needs work). Added new Icon. * More lockstep stuff i have no clue * Animation Tweaking I fiddled around with numbers weeeeeeeeeeeeeeee * Merge branch 'master' of https://github.com/RaffyTaffy14/HS * Background Has basic background * End Pose Start Adds the End Pose cue's tweeting sound (took so long but felt so cool) * Inu Sensei Start Inu Sensei added to scene. He can bop, crouch, or do neither * Temp Sumo Brothers Icon Made by Donfen * Inu Sensei Tweeting Inu Sensei now does his animation during the duration of the End Pose cue. * Crouch Block Rework Reworked crouch block to be a stretchable cue instead of a toggle (like KM prepare stance) * Bop Block Rework Bop block reworked to be a toggle. Also made a few minor tweaks to random things. * Added the Brothers The Sumo Brothers from Sumo Brothers are now in Sumo Brothers (minus the sumo) * Imported Upscaled Sumou_BG Higher resolution background and Inu Sensei sprites. * Imported REAL Upscaled Sumou_BG oops * Slap & Stomp Signals the domg buncus and tink tonks * Twiddling my Thumbs Random, Insignificant changes to random things in the code * idk random cleanup after I finally got HS to not be in shambles * more stuff dunno * Input for Pose this should not have taken this long * uh waste of 4gb atm, need 4gb atm, may need this not atm * Modernized Bops & WIP Stomps/Slaps Made the bop system to have automatic/stretchy settings like all new games. Also got a WIP implementation of stomping/slapping * quite honest i do not know let's just update HS * Prepare Slap Animation Prepare Slap animation has been animated and implemented * Sumo Prefab some stuff went down yesterday when updating the fork that involved the sumo prefab randomly downgrading to an older version, so I'm hoping that this commit will make sure that the current prefab wont just vanish into oblivion * Slapping Animation v1 Spent a few hours animating the front-hand slapping animation. Also added a "Look at Camera" event that makes the brotheren look at the camera while slapping. * Stomping Animations All stomp and stomp prepare animations are animated and coded into the game (except for the miss one) * Slapping Animation v2 finally animated the alternate slapping animation where those sumo brothers slap with their other hand * Slapping to Stomping Transition Added the slapping animation for when the Bros transition from slapping to stomping as well as all the accompanying code to get it to function. Also tweaked the two other slapping animations to fix the interpolation of those speed lines. * Inu Sensei Complete Added redone inu sensei spritesheet (thanks Mage!), animated all inu sensei animations, and coded all the inu sensei functionality. This is all really coming together now * Sumo Miss anims & more Added the Slap/Stomp miss animations. Coded the ability to whiff inputs. Replaced all the SFX with Kievit-approved rips. Added the little slap impact effect for successful slap inputs. Getting ready to make stomps pretty. Fixed misc bugs. * Sumo Pose anims & more Added the first set of pose animations. Also added animations for transitioning from posing to something else. Stomps aint getting pretty this time. Fixed misc bugs. * Sumo Pose anims v2 Animated the whole 2nd set of sumo pose animations. Fixed some various bugs with poses. Added a random setting for the poses (although it doesn't work well with only 2 poses). Getting ready for the PR * Random Bug Fixes Fixed random pose option, fixed an animation that accidentally left loop on, and added monologue. Getting ready for pr in a few days. * New Icon & Bug Fixes Added a shiny new icon made by Seanski2, fixed a bug about poses in tap mode being a bit bugged and fixed the Slap-to-Stomp slap animation being able to be played too soon. --------- Co-authored-by: minenice55 <star.elementa@gmail.com>
2024-02-19 01:25:26 +00:00
sumoStatePrevious = sumoState;
sumoState = SumoState.Stomp;
int stompType = 1;
Sumo brothers is FINISHED* (#867) * Pose Backgrounds The cool backgrounds that appear on a successful pose are now fully added. Also implemented the new upscales. * Stomp Camera Shake The way it is coded is not good at all, but the stomp shakes look *ok* when the game runs at triple digit tempos. * Better Stomp Shake & Alternate BGs Made the stomp shake look MUCH better, and added an option to poses to automatically alternate between background types. * Sumo Pose anims v4 Animated most of all the remaining pose animations, missing the miss animations + glasses being thrown. Also will want to add a version where the glasses aren't thrown. Pig? * Sumo Pose anims v4.5 Added the missing miss animations. Added the glasses actually being thrown. Fixed a bug with head layering w/ the Look at Camera event. Fixed some other bugs that aren't important. * New Icon i made it myself * Sumo Pose anims v4.9 You can now toggle if the blue sumo bro will throw his glasses on the finale pose. Also changed selecting the pose type from an integer slider to a dropdown menu. You can also now change which direction the sumo brothers begin stomping in. * Sumo Pose anims v5 D se dab * Finalizing stuff Changed ALL the animations (minus InuTweet) to use linear interpolation instead of the default setting since that's what megamix does afaik. Combined the two sumohead animators into one just to allow for more play animation shenanigans. Assigned all the sumo assets to a new ctrsumou asset bundle to get ready for packing it all up. Added new nerd bg because Mage just happened to make one * Bug Fixed + Tweaks + Finish Fixed a bug where the game would end up cueing inputs that extended into other games. It wouldn't do anything until you went back to Sumo Brothers where all those extra cues would run the frame the game loaded. Tweaked all the BG sliding in animations to be accurate to the original game. I started implementing asset bundles, but for some reason actually using them breaks the Blue Sumo Bro's animations for *some* reason. I forgot to include this in *one* of the previous change notes, but you can now change which direction the Bros start stomping in. * Kill reference images Removed ALL of the reference images from the files there were like 135 images
2024-04-16 01:45:56 +00:00
bool startingLeftAfterTransition = false;
bool prepareAnimation = true;
Sumo brothers is FINISHED* (#867) * Pose Backgrounds The cool backgrounds that appear on a successful pose are now fully added. Also implemented the new upscales. * Stomp Camera Shake The way it is coded is not good at all, but the stomp shakes look *ok* when the game runs at triple digit tempos. * Better Stomp Shake & Alternate BGs Made the stomp shake look MUCH better, and added an option to poses to automatically alternate between background types. * Sumo Pose anims v4 Animated most of all the remaining pose animations, missing the miss animations + glasses being thrown. Also will want to add a version where the glasses aren't thrown. Pig? * Sumo Pose anims v4.5 Added the missing miss animations. Added the glasses actually being thrown. Fixed a bug with head layering w/ the Look at Camera event. Fixed some other bugs that aren't important. * New Icon i made it myself * Sumo Pose anims v4.9 You can now toggle if the blue sumo bro will throw his glasses on the finale pose. Also changed selecting the pose type from an integer slider to a dropdown menu. You can also now change which direction the sumo brothers begin stomping in. * Sumo Pose anims v5 D se dab * Finalizing stuff Changed ALL the animations (minus InuTweet) to use linear interpolation instead of the default setting since that's what megamix does afaik. Combined the two sumohead animators into one just to allow for more play animation shenanigans. Assigned all the sumo assets to a new ctrsumou asset bundle to get ready for packing it all up. Added new nerd bg because Mage just happened to make one * Bug Fixed + Tweaks + Finish Fixed a bug where the game would end up cueing inputs that extended into other games. It wouldn't do anything until you went back to Sumo Brothers where all those extra cues would run the frame the game loaded. Tweaked all the BG sliding in animations to be accurate to the original game. I started implementing asset bundles, but for some reason actually using them breaks the Blue Sumo Bro's animations for *some* reason. I forgot to include this in *one* of the previous change notes, but you can now change which direction the Bros start stomping in. * Kill reference images Removed ALL of the reference images from the files there were like 135 images
2024-04-16 01:45:56 +00:00
if (startingDirection == 1)
{
startingLeftAfterTransition = true;
}
if (startingDirection == 2)
{
stompType = 2;
}
Sumo brothers (#706) * Lockstep fansodnason * More Lockstep Implemented the new sprites (still needs work). Added new Icon. * More lockstep stuff i have no clue * Animation Tweaking I fiddled around with numbers weeeeeeeeeeeeeeee * Merge branch 'master' of https://github.com/RaffyTaffy14/HS * Background Has basic background * End Pose Start Adds the End Pose cue's tweeting sound (took so long but felt so cool) * Inu Sensei Start Inu Sensei added to scene. He can bop, crouch, or do neither * Temp Sumo Brothers Icon Made by Donfen * Inu Sensei Tweeting Inu Sensei now does his animation during the duration of the End Pose cue. * Crouch Block Rework Reworked crouch block to be a stretchable cue instead of a toggle (like KM prepare stance) * Bop Block Rework Bop block reworked to be a toggle. Also made a few minor tweaks to random things. * Added the Brothers The Sumo Brothers from Sumo Brothers are now in Sumo Brothers (minus the sumo) * Imported Upscaled Sumou_BG Higher resolution background and Inu Sensei sprites. * Imported REAL Upscaled Sumou_BG oops * Slap & Stomp Signals the domg buncus and tink tonks * Twiddling my Thumbs Random, Insignificant changes to random things in the code * idk random cleanup after I finally got HS to not be in shambles * more stuff dunno * Input for Pose this should not have taken this long * uh waste of 4gb atm, need 4gb atm, may need this not atm * Modernized Bops & WIP Stomps/Slaps Made the bop system to have automatic/stretchy settings like all new games. Also got a WIP implementation of stomping/slapping * quite honest i do not know let's just update HS * Prepare Slap Animation Prepare Slap animation has been animated and implemented * Sumo Prefab some stuff went down yesterday when updating the fork that involved the sumo prefab randomly downgrading to an older version, so I'm hoping that this commit will make sure that the current prefab wont just vanish into oblivion * Slapping Animation v1 Spent a few hours animating the front-hand slapping animation. Also added a "Look at Camera" event that makes the brotheren look at the camera while slapping. * Stomping Animations All stomp and stomp prepare animations are animated and coded into the game (except for the miss one) * Slapping Animation v2 finally animated the alternate slapping animation where those sumo brothers slap with their other hand * Slapping to Stomping Transition Added the slapping animation for when the Bros transition from slapping to stomping as well as all the accompanying code to get it to function. Also tweaked the two other slapping animations to fix the interpolation of those speed lines. * Inu Sensei Complete Added redone inu sensei spritesheet (thanks Mage!), animated all inu sensei animations, and coded all the inu sensei functionality. This is all really coming together now * Sumo Miss anims & more Added the Slap/Stomp miss animations. Coded the ability to whiff inputs. Replaced all the SFX with Kievit-approved rips. Added the little slap impact effect for successful slap inputs. Getting ready to make stomps pretty. Fixed misc bugs. * Sumo Pose anims & more Added the first set of pose animations. Also added animations for transitioning from posing to something else. Stomps aint getting pretty this time. Fixed misc bugs. * Sumo Pose anims v2 Animated the whole 2nd set of sumo pose animations. Fixed some various bugs with poses. Added a random setting for the poses (although it doesn't work well with only 2 poses). Getting ready for the PR * Random Bug Fixes Fixed random pose option, fixed an animation that accidentally left loop on, and added monologue. Getting ready for pr in a few days. * New Icon & Bug Fixes Added a shiny new icon made by Seanski2, fixed a bug about poses in tap mode being a bit bugged and fixed the Slap-to-Stomp slap animation being able to be played too soon. --------- Co-authored-by: minenice55 <star.elementa@gmail.com>
2024-02-19 01:25:26 +00:00
if (sumoStatePrevious == SumoState.Slap) {
stompType = 3;
prepareAnimation = false;
Sumo brothers (#706) * Lockstep fansodnason * More Lockstep Implemented the new sprites (still needs work). Added new Icon. * More lockstep stuff i have no clue * Animation Tweaking I fiddled around with numbers weeeeeeeeeeeeeeee * Merge branch 'master' of https://github.com/RaffyTaffy14/HS * Background Has basic background * End Pose Start Adds the End Pose cue's tweeting sound (took so long but felt so cool) * Inu Sensei Start Inu Sensei added to scene. He can bop, crouch, or do neither * Temp Sumo Brothers Icon Made by Donfen * Inu Sensei Tweeting Inu Sensei now does his animation during the duration of the End Pose cue. * Crouch Block Rework Reworked crouch block to be a stretchable cue instead of a toggle (like KM prepare stance) * Bop Block Rework Bop block reworked to be a toggle. Also made a few minor tweaks to random things. * Added the Brothers The Sumo Brothers from Sumo Brothers are now in Sumo Brothers (minus the sumo) * Imported Upscaled Sumou_BG Higher resolution background and Inu Sensei sprites. * Imported REAL Upscaled Sumou_BG oops * Slap & Stomp Signals the domg buncus and tink tonks * Twiddling my Thumbs Random, Insignificant changes to random things in the code * idk random cleanup after I finally got HS to not be in shambles * more stuff dunno * Input for Pose this should not have taken this long * uh waste of 4gb atm, need 4gb atm, may need this not atm * Modernized Bops & WIP Stomps/Slaps Made the bop system to have automatic/stretchy settings like all new games. Also got a WIP implementation of stomping/slapping * quite honest i do not know let's just update HS * Prepare Slap Animation Prepare Slap animation has been animated and implemented * Sumo Prefab some stuff went down yesterday when updating the fork that involved the sumo prefab randomly downgrading to an older version, so I'm hoping that this commit will make sure that the current prefab wont just vanish into oblivion * Slapping Animation v1 Spent a few hours animating the front-hand slapping animation. Also added a "Look at Camera" event that makes the brotheren look at the camera while slapping. * Stomping Animations All stomp and stomp prepare animations are animated and coded into the game (except for the miss one) * Slapping Animation v2 finally animated the alternate slapping animation where those sumo brothers slap with their other hand * Slapping to Stomping Transition Added the slapping animation for when the Bros transition from slapping to stomping as well as all the accompanying code to get it to function. Also tweaked the two other slapping animations to fix the interpolation of those speed lines. * Inu Sensei Complete Added redone inu sensei spritesheet (thanks Mage!), animated all inu sensei animations, and coded all the inu sensei functionality. This is all really coming together now * Sumo Miss anims & more Added the Slap/Stomp miss animations. Coded the ability to whiff inputs. Replaced all the SFX with Kievit-approved rips. Added the little slap impact effect for successful slap inputs. Getting ready to make stomps pretty. Fixed misc bugs. * Sumo Pose anims & more Added the first set of pose animations. Also added animations for transitioning from posing to something else. Stomps aint getting pretty this time. Fixed misc bugs. * Sumo Pose anims v2 Animated the whole 2nd set of sumo pose animations. Fixed some various bugs with poses. Added a random setting for the poses (although it doesn't work well with only 2 poses). Getting ready for the PR * Random Bug Fixes Fixed random pose option, fixed an animation that accidentally left loop on, and added monologue. Getting ready for pr in a few days. * New Icon & Bug Fixes Added a shiny new icon made by Seanski2, fixed a bug about poses in tap mode being a bit bugged and fixed the Slap-to-Stomp slap animation being able to be played too soon. --------- Co-authored-by: minenice55 <star.elementa@gmail.com>
2024-02-19 01:25:26 +00:00
} else if (sumoStatePrevious == SumoState.Pose) {
stompType = 4;
prepareAnimation = false;
Sumo brothers (#706) * Lockstep fansodnason * More Lockstep Implemented the new sprites (still needs work). Added new Icon. * More lockstep stuff i have no clue * Animation Tweaking I fiddled around with numbers weeeeeeeeeeeeeeee * Merge branch 'master' of https://github.com/RaffyTaffy14/HS * Background Has basic background * End Pose Start Adds the End Pose cue's tweeting sound (took so long but felt so cool) * Inu Sensei Start Inu Sensei added to scene. He can bop, crouch, or do neither * Temp Sumo Brothers Icon Made by Donfen * Inu Sensei Tweeting Inu Sensei now does his animation during the duration of the End Pose cue. * Crouch Block Rework Reworked crouch block to be a stretchable cue instead of a toggle (like KM prepare stance) * Bop Block Rework Bop block reworked to be a toggle. Also made a few minor tweaks to random things. * Added the Brothers The Sumo Brothers from Sumo Brothers are now in Sumo Brothers (minus the sumo) * Imported Upscaled Sumou_BG Higher resolution background and Inu Sensei sprites. * Imported REAL Upscaled Sumou_BG oops * Slap & Stomp Signals the domg buncus and tink tonks * Twiddling my Thumbs Random, Insignificant changes to random things in the code * idk random cleanup after I finally got HS to not be in shambles * more stuff dunno * Input for Pose this should not have taken this long * uh waste of 4gb atm, need 4gb atm, may need this not atm * Modernized Bops & WIP Stomps/Slaps Made the bop system to have automatic/stretchy settings like all new games. Also got a WIP implementation of stomping/slapping * quite honest i do not know let's just update HS * Prepare Slap Animation Prepare Slap animation has been animated and implemented * Sumo Prefab some stuff went down yesterday when updating the fork that involved the sumo prefab randomly downgrading to an older version, so I'm hoping that this commit will make sure that the current prefab wont just vanish into oblivion * Slapping Animation v1 Spent a few hours animating the front-hand slapping animation. Also added a "Look at Camera" event that makes the brotheren look at the camera while slapping. * Stomping Animations All stomp and stomp prepare animations are animated and coded into the game (except for the miss one) * Slapping Animation v2 finally animated the alternate slapping animation where those sumo brothers slap with their other hand * Slapping to Stomping Transition Added the slapping animation for when the Bros transition from slapping to stomping as well as all the accompanying code to get it to function. Also tweaked the two other slapping animations to fix the interpolation of those speed lines. * Inu Sensei Complete Added redone inu sensei spritesheet (thanks Mage!), animated all inu sensei animations, and coded all the inu sensei functionality. This is all really coming together now * Sumo Miss anims & more Added the Slap/Stomp miss animations. Coded the ability to whiff inputs. Replaced all the SFX with Kievit-approved rips. Added the little slap impact effect for successful slap inputs. Getting ready to make stomps pretty. Fixed misc bugs. * Sumo Pose anims & more Added the first set of pose animations. Also added animations for transitioning from posing to something else. Stomps aint getting pretty this time. Fixed misc bugs. * Sumo Pose anims v2 Animated the whole 2nd set of sumo pose animations. Fixed some various bugs with poses. Added a random setting for the poses (although it doesn't work well with only 2 poses). Getting ready for the PR * Random Bug Fixes Fixed random pose option, fixed an animation that accidentally left loop on, and added monologue. Getting ready for pr in a few days. * New Icon & Bug Fixes Added a shiny new icon made by Seanski2, fixed a bug about poses in tap mode being a bit bugged and fixed the Slap-to-Stomp slap animation being able to be played too soon. --------- Co-authored-by: minenice55 <star.elementa@gmail.com>
2024-02-19 01:25:26 +00:00
}
StompRecursive(beat + 3, 1, stompType, startingLeftAfterTransition, false, prepareAnimation);
Sumo brothers (#706) * Lockstep fansodnason * More Lockstep Implemented the new sprites (still needs work). Added new Icon. * More lockstep stuff i have no clue * Animation Tweaking I fiddled around with numbers weeeeeeeeeeeeeeee * Merge branch 'master' of https://github.com/RaffyTaffy14/HS * Background Has basic background * End Pose Start Adds the End Pose cue's tweeting sound (took so long but felt so cool) * Inu Sensei Start Inu Sensei added to scene. He can bop, crouch, or do neither * Temp Sumo Brothers Icon Made by Donfen * Inu Sensei Tweeting Inu Sensei now does his animation during the duration of the End Pose cue. * Crouch Block Rework Reworked crouch block to be a stretchable cue instead of a toggle (like KM prepare stance) * Bop Block Rework Bop block reworked to be a toggle. Also made a few minor tweaks to random things. * Added the Brothers The Sumo Brothers from Sumo Brothers are now in Sumo Brothers (minus the sumo) * Imported Upscaled Sumou_BG Higher resolution background and Inu Sensei sprites. * Imported REAL Upscaled Sumou_BG oops * Slap & Stomp Signals the domg buncus and tink tonks * Twiddling my Thumbs Random, Insignificant changes to random things in the code * idk random cleanup after I finally got HS to not be in shambles * more stuff dunno * Input for Pose this should not have taken this long * uh waste of 4gb atm, need 4gb atm, may need this not atm * Modernized Bops & WIP Stomps/Slaps Made the bop system to have automatic/stretchy settings like all new games. Also got a WIP implementation of stomping/slapping * quite honest i do not know let's just update HS * Prepare Slap Animation Prepare Slap animation has been animated and implemented * Sumo Prefab some stuff went down yesterday when updating the fork that involved the sumo prefab randomly downgrading to an older version, so I'm hoping that this commit will make sure that the current prefab wont just vanish into oblivion * Slapping Animation v1 Spent a few hours animating the front-hand slapping animation. Also added a "Look at Camera" event that makes the brotheren look at the camera while slapping. * Stomping Animations All stomp and stomp prepare animations are animated and coded into the game (except for the miss one) * Slapping Animation v2 finally animated the alternate slapping animation where those sumo brothers slap with their other hand * Slapping to Stomping Transition Added the slapping animation for when the Bros transition from slapping to stomping as well as all the accompanying code to get it to function. Also tweaked the two other slapping animations to fix the interpolation of those speed lines. * Inu Sensei Complete Added redone inu sensei spritesheet (thanks Mage!), animated all inu sensei animations, and coded all the inu sensei functionality. This is all really coming together now * Sumo Miss anims & more Added the Slap/Stomp miss animations. Coded the ability to whiff inputs. Replaced all the SFX with Kievit-approved rips. Added the little slap impact effect for successful slap inputs. Getting ready to make stomps pretty. Fixed misc bugs. * Sumo Pose anims & more Added the first set of pose animations. Also added animations for transitioning from posing to something else. Stomps aint getting pretty this time. Fixed misc bugs. * Sumo Pose anims v2 Animated the whole 2nd set of sumo pose animations. Fixed some various bugs with poses. Added a random setting for the poses (although it doesn't work well with only 2 poses). Getting ready for the PR * Random Bug Fixes Fixed random pose option, fixed an animation that accidentally left loop on, and added monologue. Getting ready for pr in a few days. * New Icon & Bug Fixes Added a shiny new icon made by Seanski2, fixed a bug about poses in tap mode being a bit bugged and fixed the Slap-to-Stomp slap animation being able to be played too soon. --------- Co-authored-by: minenice55 <star.elementa@gmail.com>
2024-02-19 01:25:26 +00:00
}
public static void StompSignalSound(double beat)
{
MultiSound.Play(new MultiSound.Sound[]
{
new MultiSound.Sound("sumoBrothers/stompsignal", beat),
new MultiSound.Sound("sumoBrothers/stompsignal", beat + 2f)
}, forcePlay: true);
}
private void StompRecursive(double beat, double remaining, int type, bool startingLeftAfterTransition, bool autoDecreaseRemaining, bool prepareAnimation)
Sumo brothers (#706) * Lockstep fansodnason * More Lockstep Implemented the new sprites (still needs work). Added new Icon. * More lockstep stuff i have no clue * Animation Tweaking I fiddled around with numbers weeeeeeeeeeeeeeee * Merge branch 'master' of https://github.com/RaffyTaffy14/HS * Background Has basic background * End Pose Start Adds the End Pose cue's tweeting sound (took so long but felt so cool) * Inu Sensei Start Inu Sensei added to scene. He can bop, crouch, or do neither * Temp Sumo Brothers Icon Made by Donfen * Inu Sensei Tweeting Inu Sensei now does his animation during the duration of the End Pose cue. * Crouch Block Rework Reworked crouch block to be a stretchable cue instead of a toggle (like KM prepare stance) * Bop Block Rework Bop block reworked to be a toggle. Also made a few minor tweaks to random things. * Added the Brothers The Sumo Brothers from Sumo Brothers are now in Sumo Brothers (minus the sumo) * Imported Upscaled Sumou_BG Higher resolution background and Inu Sensei sprites. * Imported REAL Upscaled Sumou_BG oops * Slap & Stomp Signals the domg buncus and tink tonks * Twiddling my Thumbs Random, Insignificant changes to random things in the code * idk random cleanup after I finally got HS to not be in shambles * more stuff dunno * Input for Pose this should not have taken this long * uh waste of 4gb atm, need 4gb atm, may need this not atm * Modernized Bops & WIP Stomps/Slaps Made the bop system to have automatic/stretchy settings like all new games. Also got a WIP implementation of stomping/slapping * quite honest i do not know let's just update HS * Prepare Slap Animation Prepare Slap animation has been animated and implemented * Sumo Prefab some stuff went down yesterday when updating the fork that involved the sumo prefab randomly downgrading to an older version, so I'm hoping that this commit will make sure that the current prefab wont just vanish into oblivion * Slapping Animation v1 Spent a few hours animating the front-hand slapping animation. Also added a "Look at Camera" event that makes the brotheren look at the camera while slapping. * Stomping Animations All stomp and stomp prepare animations are animated and coded into the game (except for the miss one) * Slapping Animation v2 finally animated the alternate slapping animation where those sumo brothers slap with their other hand * Slapping to Stomping Transition Added the slapping animation for when the Bros transition from slapping to stomping as well as all the accompanying code to get it to function. Also tweaked the two other slapping animations to fix the interpolation of those speed lines. * Inu Sensei Complete Added redone inu sensei spritesheet (thanks Mage!), animated all inu sensei animations, and coded all the inu sensei functionality. This is all really coming together now * Sumo Miss anims & more Added the Slap/Stomp miss animations. Coded the ability to whiff inputs. Replaced all the SFX with Kievit-approved rips. Added the little slap impact effect for successful slap inputs. Getting ready to make stomps pretty. Fixed misc bugs. * Sumo Pose anims & more Added the first set of pose animations. Also added animations for transitioning from posing to something else. Stomps aint getting pretty this time. Fixed misc bugs. * Sumo Pose anims v2 Animated the whole 2nd set of sumo pose animations. Fixed some various bugs with poses. Added a random setting for the poses (although it doesn't work well with only 2 poses). Getting ready for the PR * Random Bug Fixes Fixed random pose option, fixed an animation that accidentally left loop on, and added monologue. Getting ready for pr in a few days. * New Icon & Bug Fixes Added a shiny new icon made by Seanski2, fixed a bug about poses in tap mode being a bit bugged and fixed the Slap-to-Stomp slap animation being able to be played too soon. --------- Co-authored-by: minenice55 <star.elementa@gmail.com>
2024-02-19 01:25:26 +00:00
{
if (sumoState != SumoState.Stomp || autoDecreaseRemaining) { remaining -= 1; }
Sumo brothers is FINISHED* (#867) * Pose Backgrounds The cool backgrounds that appear on a successful pose are now fully added. Also implemented the new upscales. * Stomp Camera Shake The way it is coded is not good at all, but the stomp shakes look *ok* when the game runs at triple digit tempos. * Better Stomp Shake & Alternate BGs Made the stomp shake look MUCH better, and added an option to poses to automatically alternate between background types. * Sumo Pose anims v4 Animated most of all the remaining pose animations, missing the miss animations + glasses being thrown. Also will want to add a version where the glasses aren't thrown. Pig? * Sumo Pose anims v4.5 Added the missing miss animations. Added the glasses actually being thrown. Fixed a bug with head layering w/ the Look at Camera event. Fixed some other bugs that aren't important. * New Icon i made it myself * Sumo Pose anims v4.9 You can now toggle if the blue sumo bro will throw his glasses on the finale pose. Also changed selecting the pose type from an integer slider to a dropdown menu. You can also now change which direction the sumo brothers begin stomping in. * Sumo Pose anims v5 D se dab * Finalizing stuff Changed ALL the animations (minus InuTweet) to use linear interpolation instead of the default setting since that's what megamix does afaik. Combined the two sumohead animators into one just to allow for more play animation shenanigans. Assigned all the sumo assets to a new ctrsumou asset bundle to get ready for packing it all up. Added new nerd bg because Mage just happened to make one * Bug Fixed + Tweaks + Finish Fixed a bug where the game would end up cueing inputs that extended into other games. It wouldn't do anything until you went back to Sumo Brothers where all those extra cues would run the frame the game loaded. Tweaked all the BG sliding in animations to be accurate to the original game. I started implementing asset bundles, but for some reason actually using them breaks the Blue Sumo Bro's animations for *some* reason. I forgot to include this in *one* of the previous change notes, but you can now change which direction the Bros start stomping in. * Kill reference images Removed ALL of the reference images from the files there were like 135 images
2024-04-16 01:45:56 +00:00
if (beat >= nextGameswitchBeat - 1) { remaining = 0; }
Sumo brothers (#706) * Lockstep fansodnason * More Lockstep Implemented the new sprites (still needs work). Added new Icon. * More lockstep stuff i have no clue * Animation Tweaking I fiddled around with numbers weeeeeeeeeeeeeeee * Merge branch 'master' of https://github.com/RaffyTaffy14/HS * Background Has basic background * End Pose Start Adds the End Pose cue's tweeting sound (took so long but felt so cool) * Inu Sensei Start Inu Sensei added to scene. He can bop, crouch, or do neither * Temp Sumo Brothers Icon Made by Donfen * Inu Sensei Tweeting Inu Sensei now does his animation during the duration of the End Pose cue. * Crouch Block Rework Reworked crouch block to be a stretchable cue instead of a toggle (like KM prepare stance) * Bop Block Rework Bop block reworked to be a toggle. Also made a few minor tweaks to random things. * Added the Brothers The Sumo Brothers from Sumo Brothers are now in Sumo Brothers (minus the sumo) * Imported Upscaled Sumou_BG Higher resolution background and Inu Sensei sprites. * Imported REAL Upscaled Sumou_BG oops * Slap & Stomp Signals the domg buncus and tink tonks * Twiddling my Thumbs Random, Insignificant changes to random things in the code * idk random cleanup after I finally got HS to not be in shambles * more stuff dunno * Input for Pose this should not have taken this long * uh waste of 4gb atm, need 4gb atm, may need this not atm * Modernized Bops & WIP Stomps/Slaps Made the bop system to have automatic/stretchy settings like all new games. Also got a WIP implementation of stomping/slapping * quite honest i do not know let's just update HS * Prepare Slap Animation Prepare Slap animation has been animated and implemented * Sumo Prefab some stuff went down yesterday when updating the fork that involved the sumo prefab randomly downgrading to an older version, so I'm hoping that this commit will make sure that the current prefab wont just vanish into oblivion * Slapping Animation v1 Spent a few hours animating the front-hand slapping animation. Also added a "Look at Camera" event that makes the brotheren look at the camera while slapping. * Stomping Animations All stomp and stomp prepare animations are animated and coded into the game (except for the miss one) * Slapping Animation v2 finally animated the alternate slapping animation where those sumo brothers slap with their other hand * Slapping to Stomping Transition Added the slapping animation for when the Bros transition from slapping to stomping as well as all the accompanying code to get it to function. Also tweaked the two other slapping animations to fix the interpolation of those speed lines. * Inu Sensei Complete Added redone inu sensei spritesheet (thanks Mage!), animated all inu sensei animations, and coded all the inu sensei functionality. This is all really coming together now * Sumo Miss anims & more Added the Slap/Stomp miss animations. Coded the ability to whiff inputs. Replaced all the SFX with Kievit-approved rips. Added the little slap impact effect for successful slap inputs. Getting ready to make stomps pretty. Fixed misc bugs. * Sumo Pose anims & more Added the first set of pose animations. Also added animations for transitioning from posing to something else. Stomps aint getting pretty this time. Fixed misc bugs. * Sumo Pose anims v2 Animated the whole 2nd set of sumo pose animations. Fixed some various bugs with poses. Added a random setting for the poses (although it doesn't work well with only 2 poses). Getting ready for the PR * Random Bug Fixes Fixed random pose option, fixed an animation that accidentally left loop on, and added monologue. Getting ready for pr in a few days. * New Icon & Bug Fixes Added a shiny new icon made by Seanski2, fixed a bug about poses in tap mode being a bit bugged and fixed the Slap-to-Stomp slap animation being able to be played too soon. --------- Co-authored-by: minenice55 <star.elementa@gmail.com>
2024-02-19 01:25:26 +00:00
if (remaining <= 0) { return; }
if (type == 3) { // Stomp Animation - Transition from Slapping to Stomping
if (prepareAnimation)
{
BeatAction.New(instance, new List<BeatAction.Action>()
{
new BeatAction.Action(beat, delegate { sumoBrotherP.DoScaledAnimationAsync("SumoStompPrepareL", 0.5f); }),
new BeatAction.Action(beat, delegate { sumoBrotherG.DoScaledAnimationAsync("SumoStompPrepareL", 0.5f); }),
new BeatAction.Action(beat, delegate { sumoBrotherPHead.DoScaledAnimationAsync("SumoPStomp", 0.5f); }),
new BeatAction.Action(beat, delegate { sumoBrotherGHead.DoScaledAnimationAsync("SumoGStomp", 0.5f); }),
});
}
Sumo brothers (#706) * Lockstep fansodnason * More Lockstep Implemented the new sprites (still needs work). Added new Icon. * More lockstep stuff i have no clue * Animation Tweaking I fiddled around with numbers weeeeeeeeeeeeeeee * Merge branch 'master' of https://github.com/RaffyTaffy14/HS * Background Has basic background * End Pose Start Adds the End Pose cue's tweeting sound (took so long but felt so cool) * Inu Sensei Start Inu Sensei added to scene. He can bop, crouch, or do neither * Temp Sumo Brothers Icon Made by Donfen * Inu Sensei Tweeting Inu Sensei now does his animation during the duration of the End Pose cue. * Crouch Block Rework Reworked crouch block to be a stretchable cue instead of a toggle (like KM prepare stance) * Bop Block Rework Bop block reworked to be a toggle. Also made a few minor tweaks to random things. * Added the Brothers The Sumo Brothers from Sumo Brothers are now in Sumo Brothers (minus the sumo) * Imported Upscaled Sumou_BG Higher resolution background and Inu Sensei sprites. * Imported REAL Upscaled Sumou_BG oops * Slap & Stomp Signals the domg buncus and tink tonks * Twiddling my Thumbs Random, Insignificant changes to random things in the code * idk random cleanup after I finally got HS to not be in shambles * more stuff dunno * Input for Pose this should not have taken this long * uh waste of 4gb atm, need 4gb atm, may need this not atm * Modernized Bops & WIP Stomps/Slaps Made the bop system to have automatic/stretchy settings like all new games. Also got a WIP implementation of stomping/slapping * quite honest i do not know let's just update HS * Prepare Slap Animation Prepare Slap animation has been animated and implemented * Sumo Prefab some stuff went down yesterday when updating the fork that involved the sumo prefab randomly downgrading to an older version, so I'm hoping that this commit will make sure that the current prefab wont just vanish into oblivion * Slapping Animation v1 Spent a few hours animating the front-hand slapping animation. Also added a "Look at Camera" event that makes the brotheren look at the camera while slapping. * Stomping Animations All stomp and stomp prepare animations are animated and coded into the game (except for the miss one) * Slapping Animation v2 finally animated the alternate slapping animation where those sumo brothers slap with their other hand * Slapping to Stomping Transition Added the slapping animation for when the Bros transition from slapping to stomping as well as all the accompanying code to get it to function. Also tweaked the two other slapping animations to fix the interpolation of those speed lines. * Inu Sensei Complete Added redone inu sensei spritesheet (thanks Mage!), animated all inu sensei animations, and coded all the inu sensei functionality. This is all really coming together now * Sumo Miss anims & more Added the Slap/Stomp miss animations. Coded the ability to whiff inputs. Replaced all the SFX with Kievit-approved rips. Added the little slap impact effect for successful slap inputs. Getting ready to make stomps pretty. Fixed misc bugs. * Sumo Pose anims & more Added the first set of pose animations. Also added animations for transitioning from posing to something else. Stomps aint getting pretty this time. Fixed misc bugs. * Sumo Pose anims v2 Animated the whole 2nd set of sumo pose animations. Fixed some various bugs with poses. Added a random setting for the poses (although it doesn't work well with only 2 poses). Getting ready for the PR * Random Bug Fixes Fixed random pose option, fixed an animation that accidentally left loop on, and added monologue. Getting ready for pr in a few days. * New Icon & Bug Fixes Added a shiny new icon made by Seanski2, fixed a bug about poses in tap mode being a bit bugged and fixed the Slap-to-Stomp slap animation being able to be played too soon. --------- Co-authored-by: minenice55 <star.elementa@gmail.com>
2024-02-19 01:25:26 +00:00
BeatAction.New(instance, new List<BeatAction.Action>()
{
new BeatAction.Action(beat, delegate { sumoStompDir = true; }),
Sumo brothers (#706) * Lockstep fansodnason * More Lockstep Implemented the new sprites (still needs work). Added new Icon. * More lockstep stuff i have no clue * Animation Tweaking I fiddled around with numbers weeeeeeeeeeeeeeee * Merge branch 'master' of https://github.com/RaffyTaffy14/HS * Background Has basic background * End Pose Start Adds the End Pose cue's tweeting sound (took so long but felt so cool) * Inu Sensei Start Inu Sensei added to scene. He can bop, crouch, or do neither * Temp Sumo Brothers Icon Made by Donfen * Inu Sensei Tweeting Inu Sensei now does his animation during the duration of the End Pose cue. * Crouch Block Rework Reworked crouch block to be a stretchable cue instead of a toggle (like KM prepare stance) * Bop Block Rework Bop block reworked to be a toggle. Also made a few minor tweaks to random things. * Added the Brothers The Sumo Brothers from Sumo Brothers are now in Sumo Brothers (minus the sumo) * Imported Upscaled Sumou_BG Higher resolution background and Inu Sensei sprites. * Imported REAL Upscaled Sumou_BG oops * Slap & Stomp Signals the domg buncus and tink tonks * Twiddling my Thumbs Random, Insignificant changes to random things in the code * idk random cleanup after I finally got HS to not be in shambles * more stuff dunno * Input for Pose this should not have taken this long * uh waste of 4gb atm, need 4gb atm, may need this not atm * Modernized Bops & WIP Stomps/Slaps Made the bop system to have automatic/stretchy settings like all new games. Also got a WIP implementation of stomping/slapping * quite honest i do not know let's just update HS * Prepare Slap Animation Prepare Slap animation has been animated and implemented * Sumo Prefab some stuff went down yesterday when updating the fork that involved the sumo prefab randomly downgrading to an older version, so I'm hoping that this commit will make sure that the current prefab wont just vanish into oblivion * Slapping Animation v1 Spent a few hours animating the front-hand slapping animation. Also added a "Look at Camera" event that makes the brotheren look at the camera while slapping. * Stomping Animations All stomp and stomp prepare animations are animated and coded into the game (except for the miss one) * Slapping Animation v2 finally animated the alternate slapping animation where those sumo brothers slap with their other hand * Slapping to Stomping Transition Added the slapping animation for when the Bros transition from slapping to stomping as well as all the accompanying code to get it to function. Also tweaked the two other slapping animations to fix the interpolation of those speed lines. * Inu Sensei Complete Added redone inu sensei spritesheet (thanks Mage!), animated all inu sensei animations, and coded all the inu sensei functionality. This is all really coming together now * Sumo Miss anims & more Added the Slap/Stomp miss animations. Coded the ability to whiff inputs. Replaced all the SFX with Kievit-approved rips. Added the little slap impact effect for successful slap inputs. Getting ready to make stomps pretty. Fixed misc bugs. * Sumo Pose anims & more Added the first set of pose animations. Also added animations for transitioning from posing to something else. Stomps aint getting pretty this time. Fixed misc bugs. * Sumo Pose anims v2 Animated the whole 2nd set of sumo pose animations. Fixed some various bugs with poses. Added a random setting for the poses (although it doesn't work well with only 2 poses). Getting ready for the PR * Random Bug Fixes Fixed random pose option, fixed an animation that accidentally left loop on, and added monologue. Getting ready for pr in a few days. * New Icon & Bug Fixes Added a shiny new icon made by Seanski2, fixed a bug about poses in tap mode being a bit bugged and fixed the Slap-to-Stomp slap animation being able to be played too soon. --------- Co-authored-by: minenice55 <star.elementa@gmail.com>
2024-02-19 01:25:26 +00:00
new BeatAction.Action(beat + 1, delegate { sumoStatePrevious = SumoState.Stomp; }),
new BeatAction.Action(beat + 1, delegate { lookingAtCamera = false; }),
new BeatAction.Action(beat + 1, delegate { sumoBrotherG.DoScaledAnimationAsync("SumoStompL", 0.5f); }),
new BeatAction.Action(beat + 1, delegate { sumoBrotherGHead.DoScaledAnimationAsync("SumoGStomp", 0.5f); }),
new BeatAction.Action(beat + 1, delegate { if (sumoState == SumoState.Stomp && !inuSensei.IsPlayingAnimationNames("InuFloatMiss")) {inuSensei.DoScaledAnimationAsync("InuFloat", 0.5f);} })
});
} else if (type == 4) { // Stomp Animation - Transition from Posing to Stomping
Sumo brothers (#706) * Lockstep fansodnason * More Lockstep Implemented the new sprites (still needs work). Added new Icon. * More lockstep stuff i have no clue * Animation Tweaking I fiddled around with numbers weeeeeeeeeeeeeeee * Merge branch 'master' of https://github.com/RaffyTaffy14/HS * Background Has basic background * End Pose Start Adds the End Pose cue's tweeting sound (took so long but felt so cool) * Inu Sensei Start Inu Sensei added to scene. He can bop, crouch, or do neither * Temp Sumo Brothers Icon Made by Donfen * Inu Sensei Tweeting Inu Sensei now does his animation during the duration of the End Pose cue. * Crouch Block Rework Reworked crouch block to be a stretchable cue instead of a toggle (like KM prepare stance) * Bop Block Rework Bop block reworked to be a toggle. Also made a few minor tweaks to random things. * Added the Brothers The Sumo Brothers from Sumo Brothers are now in Sumo Brothers (minus the sumo) * Imported Upscaled Sumou_BG Higher resolution background and Inu Sensei sprites. * Imported REAL Upscaled Sumou_BG oops * Slap & Stomp Signals the domg buncus and tink tonks * Twiddling my Thumbs Random, Insignificant changes to random things in the code * idk random cleanup after I finally got HS to not be in shambles * more stuff dunno * Input for Pose this should not have taken this long * uh waste of 4gb atm, need 4gb atm, may need this not atm * Modernized Bops & WIP Stomps/Slaps Made the bop system to have automatic/stretchy settings like all new games. Also got a WIP implementation of stomping/slapping * quite honest i do not know let's just update HS * Prepare Slap Animation Prepare Slap animation has been animated and implemented * Sumo Prefab some stuff went down yesterday when updating the fork that involved the sumo prefab randomly downgrading to an older version, so I'm hoping that this commit will make sure that the current prefab wont just vanish into oblivion * Slapping Animation v1 Spent a few hours animating the front-hand slapping animation. Also added a "Look at Camera" event that makes the brotheren look at the camera while slapping. * Stomping Animations All stomp and stomp prepare animations are animated and coded into the game (except for the miss one) * Slapping Animation v2 finally animated the alternate slapping animation where those sumo brothers slap with their other hand * Slapping to Stomping Transition Added the slapping animation for when the Bros transition from slapping to stomping as well as all the accompanying code to get it to function. Also tweaked the two other slapping animations to fix the interpolation of those speed lines. * Inu Sensei Complete Added redone inu sensei spritesheet (thanks Mage!), animated all inu sensei animations, and coded all the inu sensei functionality. This is all really coming together now * Sumo Miss anims & more Added the Slap/Stomp miss animations. Coded the ability to whiff inputs. Replaced all the SFX with Kievit-approved rips. Added the little slap impact effect for successful slap inputs. Getting ready to make stomps pretty. Fixed misc bugs. * Sumo Pose anims & more Added the first set of pose animations. Also added animations for transitioning from posing to something else. Stomps aint getting pretty this time. Fixed misc bugs. * Sumo Pose anims v2 Animated the whole 2nd set of sumo pose animations. Fixed some various bugs with poses. Added a random setting for the poses (although it doesn't work well with only 2 poses). Getting ready for the PR * Random Bug Fixes Fixed random pose option, fixed an animation that accidentally left loop on, and added monologue. Getting ready for pr in a few days. * New Icon & Bug Fixes Added a shiny new icon made by Seanski2, fixed a bug about poses in tap mode being a bit bugged and fixed the Slap-to-Stomp slap animation being able to be played too soon. --------- Co-authored-by: minenice55 <star.elementa@gmail.com>
2024-02-19 01:25:26 +00:00
BeatAction.New(instance, new List<BeatAction.Action>()
{
new BeatAction.Action(beat, delegate { sumoStompDir = true; }),
Sumo brothers (#706) * Lockstep fansodnason * More Lockstep Implemented the new sprites (still needs work). Added new Icon. * More lockstep stuff i have no clue * Animation Tweaking I fiddled around with numbers weeeeeeeeeeeeeeee * Merge branch 'master' of https://github.com/RaffyTaffy14/HS * Background Has basic background * End Pose Start Adds the End Pose cue's tweeting sound (took so long but felt so cool) * Inu Sensei Start Inu Sensei added to scene. He can bop, crouch, or do neither * Temp Sumo Brothers Icon Made by Donfen * Inu Sensei Tweeting Inu Sensei now does his animation during the duration of the End Pose cue. * Crouch Block Rework Reworked crouch block to be a stretchable cue instead of a toggle (like KM prepare stance) * Bop Block Rework Bop block reworked to be a toggle. Also made a few minor tweaks to random things. * Added the Brothers The Sumo Brothers from Sumo Brothers are now in Sumo Brothers (minus the sumo) * Imported Upscaled Sumou_BG Higher resolution background and Inu Sensei sprites. * Imported REAL Upscaled Sumou_BG oops * Slap & Stomp Signals the domg buncus and tink tonks * Twiddling my Thumbs Random, Insignificant changes to random things in the code * idk random cleanup after I finally got HS to not be in shambles * more stuff dunno * Input for Pose this should not have taken this long * uh waste of 4gb atm, need 4gb atm, may need this not atm * Modernized Bops & WIP Stomps/Slaps Made the bop system to have automatic/stretchy settings like all new games. Also got a WIP implementation of stomping/slapping * quite honest i do not know let's just update HS * Prepare Slap Animation Prepare Slap animation has been animated and implemented * Sumo Prefab some stuff went down yesterday when updating the fork that involved the sumo prefab randomly downgrading to an older version, so I'm hoping that this commit will make sure that the current prefab wont just vanish into oblivion * Slapping Animation v1 Spent a few hours animating the front-hand slapping animation. Also added a "Look at Camera" event that makes the brotheren look at the camera while slapping. * Stomping Animations All stomp and stomp prepare animations are animated and coded into the game (except for the miss one) * Slapping Animation v2 finally animated the alternate slapping animation where those sumo brothers slap with their other hand * Slapping to Stomping Transition Added the slapping animation for when the Bros transition from slapping to stomping as well as all the accompanying code to get it to function. Also tweaked the two other slapping animations to fix the interpolation of those speed lines. * Inu Sensei Complete Added redone inu sensei spritesheet (thanks Mage!), animated all inu sensei animations, and coded all the inu sensei functionality. This is all really coming together now * Sumo Miss anims & more Added the Slap/Stomp miss animations. Coded the ability to whiff inputs. Replaced all the SFX with Kievit-approved rips. Added the little slap impact effect for successful slap inputs. Getting ready to make stomps pretty. Fixed misc bugs. * Sumo Pose anims & more Added the first set of pose animations. Also added animations for transitioning from posing to something else. Stomps aint getting pretty this time. Fixed misc bugs. * Sumo Pose anims v2 Animated the whole 2nd set of sumo pose animations. Fixed some various bugs with poses. Added a random setting for the poses (although it doesn't work well with only 2 poses). Getting ready for the PR * Random Bug Fixes Fixed random pose option, fixed an animation that accidentally left loop on, and added monologue. Getting ready for pr in a few days. * New Icon & Bug Fixes Added a shiny new icon made by Seanski2, fixed a bug about poses in tap mode being a bit bugged and fixed the Slap-to-Stomp slap animation being able to be played too soon. --------- Co-authored-by: minenice55 <star.elementa@gmail.com>
2024-02-19 01:25:26 +00:00
new BeatAction.Action(beat, delegate { sumoBrotherP.DoScaledAnimationAsync("SumoPoseSwitch",0.5f); }),
new BeatAction.Action(beat, delegate { sumoBrotherG.DoScaledAnimationAsync("SumoPoseSwitch",0.5f); }),
new BeatAction.Action(beat, delegate { sumoBrotherPHead.DoScaledAnimationAsync("SumoPStomp",0.5f); }),
new BeatAction.Action(beat, delegate { sumoBrotherGHead.DoScaledAnimationAsync("SumoGStomp",0.5f); }),
Sumo brothers is FINISHED* (#867) * Pose Backgrounds The cool backgrounds that appear on a successful pose are now fully added. Also implemented the new upscales. * Stomp Camera Shake The way it is coded is not good at all, but the stomp shakes look *ok* when the game runs at triple digit tempos. * Better Stomp Shake & Alternate BGs Made the stomp shake look MUCH better, and added an option to poses to automatically alternate between background types. * Sumo Pose anims v4 Animated most of all the remaining pose animations, missing the miss animations + glasses being thrown. Also will want to add a version where the glasses aren't thrown. Pig? * Sumo Pose anims v4.5 Added the missing miss animations. Added the glasses actually being thrown. Fixed a bug with head layering w/ the Look at Camera event. Fixed some other bugs that aren't important. * New Icon i made it myself * Sumo Pose anims v4.9 You can now toggle if the blue sumo bro will throw his glasses on the finale pose. Also changed selecting the pose type from an integer slider to a dropdown menu. You can also now change which direction the sumo brothers begin stomping in. * Sumo Pose anims v5 D se dab * Finalizing stuff Changed ALL the animations (minus InuTweet) to use linear interpolation instead of the default setting since that's what megamix does afaik. Combined the two sumohead animators into one just to allow for more play animation shenanigans. Assigned all the sumo assets to a new ctrsumou asset bundle to get ready for packing it all up. Added new nerd bg because Mage just happened to make one * Bug Fixed + Tweaks + Finish Fixed a bug where the game would end up cueing inputs that extended into other games. It wouldn't do anything until you went back to Sumo Brothers where all those extra cues would run the frame the game loaded. Tweaked all the BG sliding in animations to be accurate to the original game. I started implementing asset bundles, but for some reason actually using them breaks the Blue Sumo Bro's animations for *some* reason. I forgot to include this in *one* of the previous change notes, but you can now change which direction the Bros start stomping in. * Kill reference images Removed ALL of the reference images from the files there were like 135 images
2024-04-16 01:45:56 +00:00
new BeatAction.Action(beat, delegate { bgStatic.DoScaledAnimationAsync("empty", 0.5f); }),
new BeatAction.Action(beat, delegate { glasses.DoScaledAnimationAsync("glassesGone", 0.5f); }),
new BeatAction.Action(beat, delegate { bgType = BGType.None; }),
Sumo brothers (#706) * Lockstep fansodnason * More Lockstep Implemented the new sprites (still needs work). Added new Icon. * More lockstep stuff i have no clue * Animation Tweaking I fiddled around with numbers weeeeeeeeeeeeeeee * Merge branch 'master' of https://github.com/RaffyTaffy14/HS * Background Has basic background * End Pose Start Adds the End Pose cue's tweeting sound (took so long but felt so cool) * Inu Sensei Start Inu Sensei added to scene. He can bop, crouch, or do neither * Temp Sumo Brothers Icon Made by Donfen * Inu Sensei Tweeting Inu Sensei now does his animation during the duration of the End Pose cue. * Crouch Block Rework Reworked crouch block to be a stretchable cue instead of a toggle (like KM prepare stance) * Bop Block Rework Bop block reworked to be a toggle. Also made a few minor tweaks to random things. * Added the Brothers The Sumo Brothers from Sumo Brothers are now in Sumo Brothers (minus the sumo) * Imported Upscaled Sumou_BG Higher resolution background and Inu Sensei sprites. * Imported REAL Upscaled Sumou_BG oops * Slap & Stomp Signals the domg buncus and tink tonks * Twiddling my Thumbs Random, Insignificant changes to random things in the code * idk random cleanup after I finally got HS to not be in shambles * more stuff dunno * Input for Pose this should not have taken this long * uh waste of 4gb atm, need 4gb atm, may need this not atm * Modernized Bops & WIP Stomps/Slaps Made the bop system to have automatic/stretchy settings like all new games. Also got a WIP implementation of stomping/slapping * quite honest i do not know let's just update HS * Prepare Slap Animation Prepare Slap animation has been animated and implemented * Sumo Prefab some stuff went down yesterday when updating the fork that involved the sumo prefab randomly downgrading to an older version, so I'm hoping that this commit will make sure that the current prefab wont just vanish into oblivion * Slapping Animation v1 Spent a few hours animating the front-hand slapping animation. Also added a "Look at Camera" event that makes the brotheren look at the camera while slapping. * Stomping Animations All stomp and stomp prepare animations are animated and coded into the game (except for the miss one) * Slapping Animation v2 finally animated the alternate slapping animation where those sumo brothers slap with their other hand * Slapping to Stomping Transition Added the slapping animation for when the Bros transition from slapping to stomping as well as all the accompanying code to get it to function. Also tweaked the two other slapping animations to fix the interpolation of those speed lines. * Inu Sensei Complete Added redone inu sensei spritesheet (thanks Mage!), animated all inu sensei animations, and coded all the inu sensei functionality. This is all really coming together now * Sumo Miss anims & more Added the Slap/Stomp miss animations. Coded the ability to whiff inputs. Replaced all the SFX with Kievit-approved rips. Added the little slap impact effect for successful slap inputs. Getting ready to make stomps pretty. Fixed misc bugs. * Sumo Pose anims & more Added the first set of pose animations. Also added animations for transitioning from posing to something else. Stomps aint getting pretty this time. Fixed misc bugs. * Sumo Pose anims v2 Animated the whole 2nd set of sumo pose animations. Fixed some various bugs with poses. Added a random setting for the poses (although it doesn't work well with only 2 poses). Getting ready for the PR * Random Bug Fixes Fixed random pose option, fixed an animation that accidentally left loop on, and added monologue. Getting ready for pr in a few days. * New Icon & Bug Fixes Added a shiny new icon made by Seanski2, fixed a bug about poses in tap mode being a bit bugged and fixed the Slap-to-Stomp slap animation being able to be played too soon. --------- Co-authored-by: minenice55 <star.elementa@gmail.com>
2024-02-19 01:25:26 +00:00
new BeatAction.Action(beat + 1, delegate { sumoStatePrevious = SumoState.Stomp; }),
new BeatAction.Action(beat + 1, delegate { sumoBrotherG.DoScaledAnimationAsync("SumoStompR", 0.5f); }),
new BeatAction.Action(beat + 1, delegate { sumoBrotherGHead.DoScaledAnimationAsync("SumoGStomp", 0.5f); }),
new BeatAction.Action(beat + 1, delegate { if (sumoState == SumoState.Stomp && !inuSensei.IsPlayingAnimationNames("InuFloatMiss")) {inuSensei.DoScaledAnimationAsync("InuFloat", 0.5f);} })
});
} else if (type == 1) { // Stomp Animation - Left Stomp
if (prepareAnimation)
{
BeatAction.New(instance, new List<BeatAction.Action>()
{
new BeatAction.Action(beat, delegate { sumoBrotherP.DoScaledAnimationAsync("SumoStompPrepareL", 0.5f); }),
new BeatAction.Action(beat, delegate { sumoBrotherG.DoScaledAnimationAsync("SumoStompPrepareR", 0.5f); }),
new BeatAction.Action(beat, delegate { sumoBrotherPHead.DoScaledAnimationAsync("SumoPStomp", 0.5f); }),
new BeatAction.Action(beat, delegate { sumoBrotherGHead.DoScaledAnimationAsync("SumoGStomp", 0.5f); }),
});
}
Sumo brothers (#706) * Lockstep fansodnason * More Lockstep Implemented the new sprites (still needs work). Added new Icon. * More lockstep stuff i have no clue * Animation Tweaking I fiddled around with numbers weeeeeeeeeeeeeeee * Merge branch 'master' of https://github.com/RaffyTaffy14/HS * Background Has basic background * End Pose Start Adds the End Pose cue's tweeting sound (took so long but felt so cool) * Inu Sensei Start Inu Sensei added to scene. He can bop, crouch, or do neither * Temp Sumo Brothers Icon Made by Donfen * Inu Sensei Tweeting Inu Sensei now does his animation during the duration of the End Pose cue. * Crouch Block Rework Reworked crouch block to be a stretchable cue instead of a toggle (like KM prepare stance) * Bop Block Rework Bop block reworked to be a toggle. Also made a few minor tweaks to random things. * Added the Brothers The Sumo Brothers from Sumo Brothers are now in Sumo Brothers (minus the sumo) * Imported Upscaled Sumou_BG Higher resolution background and Inu Sensei sprites. * Imported REAL Upscaled Sumou_BG oops * Slap & Stomp Signals the domg buncus and tink tonks * Twiddling my Thumbs Random, Insignificant changes to random things in the code * idk random cleanup after I finally got HS to not be in shambles * more stuff dunno * Input for Pose this should not have taken this long * uh waste of 4gb atm, need 4gb atm, may need this not atm * Modernized Bops & WIP Stomps/Slaps Made the bop system to have automatic/stretchy settings like all new games. Also got a WIP implementation of stomping/slapping * quite honest i do not know let's just update HS * Prepare Slap Animation Prepare Slap animation has been animated and implemented * Sumo Prefab some stuff went down yesterday when updating the fork that involved the sumo prefab randomly downgrading to an older version, so I'm hoping that this commit will make sure that the current prefab wont just vanish into oblivion * Slapping Animation v1 Spent a few hours animating the front-hand slapping animation. Also added a "Look at Camera" event that makes the brotheren look at the camera while slapping. * Stomping Animations All stomp and stomp prepare animations are animated and coded into the game (except for the miss one) * Slapping Animation v2 finally animated the alternate slapping animation where those sumo brothers slap with their other hand * Slapping to Stomping Transition Added the slapping animation for when the Bros transition from slapping to stomping as well as all the accompanying code to get it to function. Also tweaked the two other slapping animations to fix the interpolation of those speed lines. * Inu Sensei Complete Added redone inu sensei spritesheet (thanks Mage!), animated all inu sensei animations, and coded all the inu sensei functionality. This is all really coming together now * Sumo Miss anims & more Added the Slap/Stomp miss animations. Coded the ability to whiff inputs. Replaced all the SFX with Kievit-approved rips. Added the little slap impact effect for successful slap inputs. Getting ready to make stomps pretty. Fixed misc bugs. * Sumo Pose anims & more Added the first set of pose animations. Also added animations for transitioning from posing to something else. Stomps aint getting pretty this time. Fixed misc bugs. * Sumo Pose anims v2 Animated the whole 2nd set of sumo pose animations. Fixed some various bugs with poses. Added a random setting for the poses (although it doesn't work well with only 2 poses). Getting ready for the PR * Random Bug Fixes Fixed random pose option, fixed an animation that accidentally left loop on, and added monologue. Getting ready for pr in a few days. * New Icon & Bug Fixes Added a shiny new icon made by Seanski2, fixed a bug about poses in tap mode being a bit bugged and fixed the Slap-to-Stomp slap animation being able to be played too soon. --------- Co-authored-by: minenice55 <star.elementa@gmail.com>
2024-02-19 01:25:26 +00:00
BeatAction.New(instance, new List<BeatAction.Action>()
{
new BeatAction.Action(beat, delegate { sumoStatePrevious = SumoState.Stomp; }),
new BeatAction.Action(beat, delegate { sumoStompDir = true; }),
new BeatAction.Action(beat + 1, delegate { sumoBrotherGHead.DoScaledAnimationAsync("SumoGStomp", 0.5f); }),
Sumo brothers (#706) * Lockstep fansodnason * More Lockstep Implemented the new sprites (still needs work). Added new Icon. * More lockstep stuff i have no clue * Animation Tweaking I fiddled around with numbers weeeeeeeeeeeeeeee * Merge branch 'master' of https://github.com/RaffyTaffy14/HS * Background Has basic background * End Pose Start Adds the End Pose cue's tweeting sound (took so long but felt so cool) * Inu Sensei Start Inu Sensei added to scene. He can bop, crouch, or do neither * Temp Sumo Brothers Icon Made by Donfen * Inu Sensei Tweeting Inu Sensei now does his animation during the duration of the End Pose cue. * Crouch Block Rework Reworked crouch block to be a stretchable cue instead of a toggle (like KM prepare stance) * Bop Block Rework Bop block reworked to be a toggle. Also made a few minor tweaks to random things. * Added the Brothers The Sumo Brothers from Sumo Brothers are now in Sumo Brothers (minus the sumo) * Imported Upscaled Sumou_BG Higher resolution background and Inu Sensei sprites. * Imported REAL Upscaled Sumou_BG oops * Slap & Stomp Signals the domg buncus and tink tonks * Twiddling my Thumbs Random, Insignificant changes to random things in the code * idk random cleanup after I finally got HS to not be in shambles * more stuff dunno * Input for Pose this should not have taken this long * uh waste of 4gb atm, need 4gb atm, may need this not atm * Modernized Bops & WIP Stomps/Slaps Made the bop system to have automatic/stretchy settings like all new games. Also got a WIP implementation of stomping/slapping * quite honest i do not know let's just update HS * Prepare Slap Animation Prepare Slap animation has been animated and implemented * Sumo Prefab some stuff went down yesterday when updating the fork that involved the sumo prefab randomly downgrading to an older version, so I'm hoping that this commit will make sure that the current prefab wont just vanish into oblivion * Slapping Animation v1 Spent a few hours animating the front-hand slapping animation. Also added a "Look at Camera" event that makes the brotheren look at the camera while slapping. * Stomping Animations All stomp and stomp prepare animations are animated and coded into the game (except for the miss one) * Slapping Animation v2 finally animated the alternate slapping animation where those sumo brothers slap with their other hand * Slapping to Stomping Transition Added the slapping animation for when the Bros transition from slapping to stomping as well as all the accompanying code to get it to function. Also tweaked the two other slapping animations to fix the interpolation of those speed lines. * Inu Sensei Complete Added redone inu sensei spritesheet (thanks Mage!), animated all inu sensei animations, and coded all the inu sensei functionality. This is all really coming together now * Sumo Miss anims & more Added the Slap/Stomp miss animations. Coded the ability to whiff inputs. Replaced all the SFX with Kievit-approved rips. Added the little slap impact effect for successful slap inputs. Getting ready to make stomps pretty. Fixed misc bugs. * Sumo Pose anims & more Added the first set of pose animations. Also added animations for transitioning from posing to something else. Stomps aint getting pretty this time. Fixed misc bugs. * Sumo Pose anims v2 Animated the whole 2nd set of sumo pose animations. Fixed some various bugs with poses. Added a random setting for the poses (although it doesn't work well with only 2 poses). Getting ready for the PR * Random Bug Fixes Fixed random pose option, fixed an animation that accidentally left loop on, and added monologue. Getting ready for pr in a few days. * New Icon & Bug Fixes Added a shiny new icon made by Seanski2, fixed a bug about poses in tap mode being a bit bugged and fixed the Slap-to-Stomp slap animation being able to be played too soon. --------- Co-authored-by: minenice55 <star.elementa@gmail.com>
2024-02-19 01:25:26 +00:00
new BeatAction.Action(beat + 1, delegate { sumoBrotherG.DoScaledAnimationAsync("SumoStompR", 0.5f); }),
new BeatAction.Action(beat + 1, delegate { if (sumoState == SumoState.Stomp && !inuSensei.IsPlayingAnimationNames("InuFloatMiss")) {inuSensei.DoScaledAnimationAsync("InuFloat", 0.5f);} })
});
} else if (type == 2) { // Stomp Animation - Right Stomp
if (prepareAnimation)
{
BeatAction.New(instance, new List<BeatAction.Action>()
{
new BeatAction.Action(beat, delegate { sumoBrotherP.DoScaledAnimationAsync("SumoStompPrepareR", 0.5f); }),
new BeatAction.Action(beat, delegate { sumoBrotherG.DoScaledAnimationAsync("SumoStompPrepareL", 0.5f); }),
new BeatAction.Action(beat, delegate { sumoBrotherPHead.DoScaledAnimationAsync("SumoPStomp", 0.5f); }),
new BeatAction.Action(beat, delegate { sumoBrotherGHead.DoScaledAnimationAsync("SumoGStomp", 0.5f); }),
});
}
Sumo brothers (#706) * Lockstep fansodnason * More Lockstep Implemented the new sprites (still needs work). Added new Icon. * More lockstep stuff i have no clue * Animation Tweaking I fiddled around with numbers weeeeeeeeeeeeeeee * Merge branch 'master' of https://github.com/RaffyTaffy14/HS * Background Has basic background * End Pose Start Adds the End Pose cue's tweeting sound (took so long but felt so cool) * Inu Sensei Start Inu Sensei added to scene. He can bop, crouch, or do neither * Temp Sumo Brothers Icon Made by Donfen * Inu Sensei Tweeting Inu Sensei now does his animation during the duration of the End Pose cue. * Crouch Block Rework Reworked crouch block to be a stretchable cue instead of a toggle (like KM prepare stance) * Bop Block Rework Bop block reworked to be a toggle. Also made a few minor tweaks to random things. * Added the Brothers The Sumo Brothers from Sumo Brothers are now in Sumo Brothers (minus the sumo) * Imported Upscaled Sumou_BG Higher resolution background and Inu Sensei sprites. * Imported REAL Upscaled Sumou_BG oops * Slap & Stomp Signals the domg buncus and tink tonks * Twiddling my Thumbs Random, Insignificant changes to random things in the code * idk random cleanup after I finally got HS to not be in shambles * more stuff dunno * Input for Pose this should not have taken this long * uh waste of 4gb atm, need 4gb atm, may need this not atm * Modernized Bops & WIP Stomps/Slaps Made the bop system to have automatic/stretchy settings like all new games. Also got a WIP implementation of stomping/slapping * quite honest i do not know let's just update HS * Prepare Slap Animation Prepare Slap animation has been animated and implemented * Sumo Prefab some stuff went down yesterday when updating the fork that involved the sumo prefab randomly downgrading to an older version, so I'm hoping that this commit will make sure that the current prefab wont just vanish into oblivion * Slapping Animation v1 Spent a few hours animating the front-hand slapping animation. Also added a "Look at Camera" event that makes the brotheren look at the camera while slapping. * Stomping Animations All stomp and stomp prepare animations are animated and coded into the game (except for the miss one) * Slapping Animation v2 finally animated the alternate slapping animation where those sumo brothers slap with their other hand * Slapping to Stomping Transition Added the slapping animation for when the Bros transition from slapping to stomping as well as all the accompanying code to get it to function. Also tweaked the two other slapping animations to fix the interpolation of those speed lines. * Inu Sensei Complete Added redone inu sensei spritesheet (thanks Mage!), animated all inu sensei animations, and coded all the inu sensei functionality. This is all really coming together now * Sumo Miss anims & more Added the Slap/Stomp miss animations. Coded the ability to whiff inputs. Replaced all the SFX with Kievit-approved rips. Added the little slap impact effect for successful slap inputs. Getting ready to make stomps pretty. Fixed misc bugs. * Sumo Pose anims & more Added the first set of pose animations. Also added animations for transitioning from posing to something else. Stomps aint getting pretty this time. Fixed misc bugs. * Sumo Pose anims v2 Animated the whole 2nd set of sumo pose animations. Fixed some various bugs with poses. Added a random setting for the poses (although it doesn't work well with only 2 poses). Getting ready for the PR * Random Bug Fixes Fixed random pose option, fixed an animation that accidentally left loop on, and added monologue. Getting ready for pr in a few days. * New Icon & Bug Fixes Added a shiny new icon made by Seanski2, fixed a bug about poses in tap mode being a bit bugged and fixed the Slap-to-Stomp slap animation being able to be played too soon. --------- Co-authored-by: minenice55 <star.elementa@gmail.com>
2024-02-19 01:25:26 +00:00
BeatAction.New(instance, new List<BeatAction.Action>()
{
new BeatAction.Action(beat, delegate { sumoStatePrevious = SumoState.Stomp; }),
new BeatAction.Action(beat, delegate { sumoStompDir = false; }),
new BeatAction.Action(beat + 1, delegate { sumoBrotherGHead.DoScaledAnimationAsync("SumoGStomp", 0.5f); }),
Sumo brothers (#706) * Lockstep fansodnason * More Lockstep Implemented the new sprites (still needs work). Added new Icon. * More lockstep stuff i have no clue * Animation Tweaking I fiddled around with numbers weeeeeeeeeeeeeeee * Merge branch 'master' of https://github.com/RaffyTaffy14/HS * Background Has basic background * End Pose Start Adds the End Pose cue's tweeting sound (took so long but felt so cool) * Inu Sensei Start Inu Sensei added to scene. He can bop, crouch, or do neither * Temp Sumo Brothers Icon Made by Donfen * Inu Sensei Tweeting Inu Sensei now does his animation during the duration of the End Pose cue. * Crouch Block Rework Reworked crouch block to be a stretchable cue instead of a toggle (like KM prepare stance) * Bop Block Rework Bop block reworked to be a toggle. Also made a few minor tweaks to random things. * Added the Brothers The Sumo Brothers from Sumo Brothers are now in Sumo Brothers (minus the sumo) * Imported Upscaled Sumou_BG Higher resolution background and Inu Sensei sprites. * Imported REAL Upscaled Sumou_BG oops * Slap & Stomp Signals the domg buncus and tink tonks * Twiddling my Thumbs Random, Insignificant changes to random things in the code * idk random cleanup after I finally got HS to not be in shambles * more stuff dunno * Input for Pose this should not have taken this long * uh waste of 4gb atm, need 4gb atm, may need this not atm * Modernized Bops & WIP Stomps/Slaps Made the bop system to have automatic/stretchy settings like all new games. Also got a WIP implementation of stomping/slapping * quite honest i do not know let's just update HS * Prepare Slap Animation Prepare Slap animation has been animated and implemented * Sumo Prefab some stuff went down yesterday when updating the fork that involved the sumo prefab randomly downgrading to an older version, so I'm hoping that this commit will make sure that the current prefab wont just vanish into oblivion * Slapping Animation v1 Spent a few hours animating the front-hand slapping animation. Also added a "Look at Camera" event that makes the brotheren look at the camera while slapping. * Stomping Animations All stomp and stomp prepare animations are animated and coded into the game (except for the miss one) * Slapping Animation v2 finally animated the alternate slapping animation where those sumo brothers slap with their other hand * Slapping to Stomping Transition Added the slapping animation for when the Bros transition from slapping to stomping as well as all the accompanying code to get it to function. Also tweaked the two other slapping animations to fix the interpolation of those speed lines. * Inu Sensei Complete Added redone inu sensei spritesheet (thanks Mage!), animated all inu sensei animations, and coded all the inu sensei functionality. This is all really coming together now * Sumo Miss anims & more Added the Slap/Stomp miss animations. Coded the ability to whiff inputs. Replaced all the SFX with Kievit-approved rips. Added the little slap impact effect for successful slap inputs. Getting ready to make stomps pretty. Fixed misc bugs. * Sumo Pose anims & more Added the first set of pose animations. Also added animations for transitioning from posing to something else. Stomps aint getting pretty this time. Fixed misc bugs. * Sumo Pose anims v2 Animated the whole 2nd set of sumo pose animations. Fixed some various bugs with poses. Added a random setting for the poses (although it doesn't work well with only 2 poses). Getting ready for the PR * Random Bug Fixes Fixed random pose option, fixed an animation that accidentally left loop on, and added monologue. Getting ready for pr in a few days. * New Icon & Bug Fixes Added a shiny new icon made by Seanski2, fixed a bug about poses in tap mode being a bit bugged and fixed the Slap-to-Stomp slap animation being able to be played too soon. --------- Co-authored-by: minenice55 <star.elementa@gmail.com>
2024-02-19 01:25:26 +00:00
new BeatAction.Action(beat + 1, delegate { sumoBrotherG.DoScaledAnimationAsync("SumoStompL", 0.5f); }),
new BeatAction.Action(beat + 1, delegate { if (sumoState == SumoState.Stomp && !inuSensei.IsPlayingAnimationNames("InuFloatMiss")) {inuSensei.DoScaledAnimationAsync("InuFloat", 0.5f);} })
});
}
if (type == 2) {type = 1;} else { type = 2; }
if (startingLeftAfterTransition && type == 3) {type = 1;}
Sumo brothers (#706) * Lockstep fansodnason * More Lockstep Implemented the new sprites (still needs work). Added new Icon. * More lockstep stuff i have no clue * Animation Tweaking I fiddled around with numbers weeeeeeeeeeeeeeee * Merge branch 'master' of https://github.com/RaffyTaffy14/HS * Background Has basic background * End Pose Start Adds the End Pose cue's tweeting sound (took so long but felt so cool) * Inu Sensei Start Inu Sensei added to scene. He can bop, crouch, or do neither * Temp Sumo Brothers Icon Made by Donfen * Inu Sensei Tweeting Inu Sensei now does his animation during the duration of the End Pose cue. * Crouch Block Rework Reworked crouch block to be a stretchable cue instead of a toggle (like KM prepare stance) * Bop Block Rework Bop block reworked to be a toggle. Also made a few minor tweaks to random things. * Added the Brothers The Sumo Brothers from Sumo Brothers are now in Sumo Brothers (minus the sumo) * Imported Upscaled Sumou_BG Higher resolution background and Inu Sensei sprites. * Imported REAL Upscaled Sumou_BG oops * Slap & Stomp Signals the domg buncus and tink tonks * Twiddling my Thumbs Random, Insignificant changes to random things in the code * idk random cleanup after I finally got HS to not be in shambles * more stuff dunno * Input for Pose this should not have taken this long * uh waste of 4gb atm, need 4gb atm, may need this not atm * Modernized Bops & WIP Stomps/Slaps Made the bop system to have automatic/stretchy settings like all new games. Also got a WIP implementation of stomping/slapping * quite honest i do not know let's just update HS * Prepare Slap Animation Prepare Slap animation has been animated and implemented * Sumo Prefab some stuff went down yesterday when updating the fork that involved the sumo prefab randomly downgrading to an older version, so I'm hoping that this commit will make sure that the current prefab wont just vanish into oblivion * Slapping Animation v1 Spent a few hours animating the front-hand slapping animation. Also added a "Look at Camera" event that makes the brotheren look at the camera while slapping. * Stomping Animations All stomp and stomp prepare animations are animated and coded into the game (except for the miss one) * Slapping Animation v2 finally animated the alternate slapping animation where those sumo brothers slap with their other hand * Slapping to Stomping Transition Added the slapping animation for when the Bros transition from slapping to stomping as well as all the accompanying code to get it to function. Also tweaked the two other slapping animations to fix the interpolation of those speed lines. * Inu Sensei Complete Added redone inu sensei spritesheet (thanks Mage!), animated all inu sensei animations, and coded all the inu sensei functionality. This is all really coming together now * Sumo Miss anims & more Added the Slap/Stomp miss animations. Coded the ability to whiff inputs. Replaced all the SFX with Kievit-approved rips. Added the little slap impact effect for successful slap inputs. Getting ready to make stomps pretty. Fixed misc bugs. * Sumo Pose anims & more Added the first set of pose animations. Also added animations for transitioning from posing to something else. Stomps aint getting pretty this time. Fixed misc bugs. * Sumo Pose anims v2 Animated the whole 2nd set of sumo pose animations. Fixed some various bugs with poses. Added a random setting for the poses (although it doesn't work well with only 2 poses). Getting ready for the PR * Random Bug Fixes Fixed random pose option, fixed an animation that accidentally left loop on, and added monologue. Getting ready for pr in a few days. * New Icon & Bug Fixes Added a shiny new icon made by Seanski2, fixed a bug about poses in tap mode being a bit bugged and fixed the Slap-to-Stomp slap animation being able to be played too soon. --------- Co-authored-by: minenice55 <star.elementa@gmail.com>
2024-02-19 01:25:26 +00:00
var stompInput = ScheduleInput(beat , 1, InputAction_BasicPress, StompHit, StompMiss, Nothing);
BeatAction.New(instance, new List<BeatAction.Action>()
{
new BeatAction.Action(beat, delegate { StompRecursive(beat + 2, remaining, type, false, autoDecreaseRemaining, true); })
Sumo brothers (#706) * Lockstep fansodnason * More Lockstep Implemented the new sprites (still needs work). Added new Icon. * More lockstep stuff i have no clue * Animation Tweaking I fiddled around with numbers weeeeeeeeeeeeeeee * Merge branch 'master' of https://github.com/RaffyTaffy14/HS * Background Has basic background * End Pose Start Adds the End Pose cue's tweeting sound (took so long but felt so cool) * Inu Sensei Start Inu Sensei added to scene. He can bop, crouch, or do neither * Temp Sumo Brothers Icon Made by Donfen * Inu Sensei Tweeting Inu Sensei now does his animation during the duration of the End Pose cue. * Crouch Block Rework Reworked crouch block to be a stretchable cue instead of a toggle (like KM prepare stance) * Bop Block Rework Bop block reworked to be a toggle. Also made a few minor tweaks to random things. * Added the Brothers The Sumo Brothers from Sumo Brothers are now in Sumo Brothers (minus the sumo) * Imported Upscaled Sumou_BG Higher resolution background and Inu Sensei sprites. * Imported REAL Upscaled Sumou_BG oops * Slap & Stomp Signals the domg buncus and tink tonks * Twiddling my Thumbs Random, Insignificant changes to random things in the code * idk random cleanup after I finally got HS to not be in shambles * more stuff dunno * Input for Pose this should not have taken this long * uh waste of 4gb atm, need 4gb atm, may need this not atm * Modernized Bops & WIP Stomps/Slaps Made the bop system to have automatic/stretchy settings like all new games. Also got a WIP implementation of stomping/slapping * quite honest i do not know let's just update HS * Prepare Slap Animation Prepare Slap animation has been animated and implemented * Sumo Prefab some stuff went down yesterday when updating the fork that involved the sumo prefab randomly downgrading to an older version, so I'm hoping that this commit will make sure that the current prefab wont just vanish into oblivion * Slapping Animation v1 Spent a few hours animating the front-hand slapping animation. Also added a "Look at Camera" event that makes the brotheren look at the camera while slapping. * Stomping Animations All stomp and stomp prepare animations are animated and coded into the game (except for the miss one) * Slapping Animation v2 finally animated the alternate slapping animation where those sumo brothers slap with their other hand * Slapping to Stomping Transition Added the slapping animation for when the Bros transition from slapping to stomping as well as all the accompanying code to get it to function. Also tweaked the two other slapping animations to fix the interpolation of those speed lines. * Inu Sensei Complete Added redone inu sensei spritesheet (thanks Mage!), animated all inu sensei animations, and coded all the inu sensei functionality. This is all really coming together now * Sumo Miss anims & more Added the Slap/Stomp miss animations. Coded the ability to whiff inputs. Replaced all the SFX with Kievit-approved rips. Added the little slap impact effect for successful slap inputs. Getting ready to make stomps pretty. Fixed misc bugs. * Sumo Pose anims & more Added the first set of pose animations. Also added animations for transitioning from posing to something else. Stomps aint getting pretty this time. Fixed misc bugs. * Sumo Pose anims v2 Animated the whole 2nd set of sumo pose animations. Fixed some various bugs with poses. Added a random setting for the poses (although it doesn't work well with only 2 poses). Getting ready for the PR * Random Bug Fixes Fixed random pose option, fixed an animation that accidentally left loop on, and added monologue. Getting ready for pr in a few days. * New Icon & Bug Fixes Added a shiny new icon made by Seanski2, fixed a bug about poses in tap mode being a bit bugged and fixed the Slap-to-Stomp slap animation being able to be played too soon. --------- Co-authored-by: minenice55 <star.elementa@gmail.com>
2024-02-19 01:25:26 +00:00
});
stompInput.IsHittable = () => {
return !sumoBrotherP.IsPlayingAnimationNames("SumoStompMiss");
};
Sumo brothers is FINISHED* (#867) * Pose Backgrounds The cool backgrounds that appear on a successful pose are now fully added. Also implemented the new upscales. * Stomp Camera Shake The way it is coded is not good at all, but the stomp shakes look *ok* when the game runs at triple digit tempos. * Better Stomp Shake & Alternate BGs Made the stomp shake look MUCH better, and added an option to poses to automatically alternate between background types. * Sumo Pose anims v4 Animated most of all the remaining pose animations, missing the miss animations + glasses being thrown. Also will want to add a version where the glasses aren't thrown. Pig? * Sumo Pose anims v4.5 Added the missing miss animations. Added the glasses actually being thrown. Fixed a bug with head layering w/ the Look at Camera event. Fixed some other bugs that aren't important. * New Icon i made it myself * Sumo Pose anims v4.9 You can now toggle if the blue sumo bro will throw his glasses on the finale pose. Also changed selecting the pose type from an integer slider to a dropdown menu. You can also now change which direction the sumo brothers begin stomping in. * Sumo Pose anims v5 D se dab * Finalizing stuff Changed ALL the animations (minus InuTweet) to use linear interpolation instead of the default setting since that's what megamix does afaik. Combined the two sumohead animators into one just to allow for more play animation shenanigans. Assigned all the sumo assets to a new ctrsumou asset bundle to get ready for packing it all up. Added new nerd bg because Mage just happened to make one * Bug Fixed + Tweaks + Finish Fixed a bug where the game would end up cueing inputs that extended into other games. It wouldn't do anything until you went back to Sumo Brothers where all those extra cues would run the frame the game loaded. Tweaked all the BG sliding in animations to be accurate to the original game. I started implementing asset bundles, but for some reason actually using them breaks the Blue Sumo Bro's animations for *some* reason. I forgot to include this in *one* of the previous change notes, but you can now change which direction the Bros start stomping in. * Kill reference images Removed ALL of the reference images from the files there were like 135 images
2024-04-16 01:45:56 +00:00
//print("sumo stomp dir: " + sumoStompDir);
Sumo brothers (#706) * Lockstep fansodnason * More Lockstep Implemented the new sprites (still needs work). Added new Icon. * More lockstep stuff i have no clue * Animation Tweaking I fiddled around with numbers weeeeeeeeeeeeeeee * Merge branch 'master' of https://github.com/RaffyTaffy14/HS * Background Has basic background * End Pose Start Adds the End Pose cue's tweeting sound (took so long but felt so cool) * Inu Sensei Start Inu Sensei added to scene. He can bop, crouch, or do neither * Temp Sumo Brothers Icon Made by Donfen * Inu Sensei Tweeting Inu Sensei now does his animation during the duration of the End Pose cue. * Crouch Block Rework Reworked crouch block to be a stretchable cue instead of a toggle (like KM prepare stance) * Bop Block Rework Bop block reworked to be a toggle. Also made a few minor tweaks to random things. * Added the Brothers The Sumo Brothers from Sumo Brothers are now in Sumo Brothers (minus the sumo) * Imported Upscaled Sumou_BG Higher resolution background and Inu Sensei sprites. * Imported REAL Upscaled Sumou_BG oops * Slap & Stomp Signals the domg buncus and tink tonks * Twiddling my Thumbs Random, Insignificant changes to random things in the code * idk random cleanup after I finally got HS to not be in shambles * more stuff dunno * Input for Pose this should not have taken this long * uh waste of 4gb atm, need 4gb atm, may need this not atm * Modernized Bops & WIP Stomps/Slaps Made the bop system to have automatic/stretchy settings like all new games. Also got a WIP implementation of stomping/slapping * quite honest i do not know let's just update HS * Prepare Slap Animation Prepare Slap animation has been animated and implemented * Sumo Prefab some stuff went down yesterday when updating the fork that involved the sumo prefab randomly downgrading to an older version, so I'm hoping that this commit will make sure that the current prefab wont just vanish into oblivion * Slapping Animation v1 Spent a few hours animating the front-hand slapping animation. Also added a "Look at Camera" event that makes the brotheren look at the camera while slapping. * Stomping Animations All stomp and stomp prepare animations are animated and coded into the game (except for the miss one) * Slapping Animation v2 finally animated the alternate slapping animation where those sumo brothers slap with their other hand * Slapping to Stomping Transition Added the slapping animation for when the Bros transition from slapping to stomping as well as all the accompanying code to get it to function. Also tweaked the two other slapping animations to fix the interpolation of those speed lines. * Inu Sensei Complete Added redone inu sensei spritesheet (thanks Mage!), animated all inu sensei animations, and coded all the inu sensei functionality. This is all really coming together now * Sumo Miss anims & more Added the Slap/Stomp miss animations. Coded the ability to whiff inputs. Replaced all the SFX with Kievit-approved rips. Added the little slap impact effect for successful slap inputs. Getting ready to make stomps pretty. Fixed misc bugs. * Sumo Pose anims & more Added the first set of pose animations. Also added animations for transitioning from posing to something else. Stomps aint getting pretty this time. Fixed misc bugs. * Sumo Pose anims v2 Animated the whole 2nd set of sumo pose animations. Fixed some various bugs with poses. Added a random setting for the poses (although it doesn't work well with only 2 poses). Getting ready for the PR * Random Bug Fixes Fixed random pose option, fixed an animation that accidentally left loop on, and added monologue. Getting ready for pr in a few days. * New Icon & Bug Fixes Added a shiny new icon made by Seanski2, fixed a bug about poses in tap mode being a bit bugged and fixed the Slap-to-Stomp slap animation being able to be played too soon. --------- Co-authored-by: minenice55 <star.elementa@gmail.com>
2024-02-19 01:25:26 +00:00
}
public void SlapSignal(double beat, bool mute, bool inu)
Sumo brothers (#706) * Lockstep fansodnason * More Lockstep Implemented the new sprites (still needs work). Added new Icon. * More lockstep stuff i have no clue * Animation Tweaking I fiddled around with numbers weeeeeeeeeeeeeeee * Merge branch 'master' of https://github.com/RaffyTaffy14/HS * Background Has basic background * End Pose Start Adds the End Pose cue's tweeting sound (took so long but felt so cool) * Inu Sensei Start Inu Sensei added to scene. He can bop, crouch, or do neither * Temp Sumo Brothers Icon Made by Donfen * Inu Sensei Tweeting Inu Sensei now does his animation during the duration of the End Pose cue. * Crouch Block Rework Reworked crouch block to be a stretchable cue instead of a toggle (like KM prepare stance) * Bop Block Rework Bop block reworked to be a toggle. Also made a few minor tweaks to random things. * Added the Brothers The Sumo Brothers from Sumo Brothers are now in Sumo Brothers (minus the sumo) * Imported Upscaled Sumou_BG Higher resolution background and Inu Sensei sprites. * Imported REAL Upscaled Sumou_BG oops * Slap & Stomp Signals the domg buncus and tink tonks * Twiddling my Thumbs Random, Insignificant changes to random things in the code * idk random cleanup after I finally got HS to not be in shambles * more stuff dunno * Input for Pose this should not have taken this long * uh waste of 4gb atm, need 4gb atm, may need this not atm * Modernized Bops & WIP Stomps/Slaps Made the bop system to have automatic/stretchy settings like all new games. Also got a WIP implementation of stomping/slapping * quite honest i do not know let's just update HS * Prepare Slap Animation Prepare Slap animation has been animated and implemented * Sumo Prefab some stuff went down yesterday when updating the fork that involved the sumo prefab randomly downgrading to an older version, so I'm hoping that this commit will make sure that the current prefab wont just vanish into oblivion * Slapping Animation v1 Spent a few hours animating the front-hand slapping animation. Also added a "Look at Camera" event that makes the brotheren look at the camera while slapping. * Stomping Animations All stomp and stomp prepare animations are animated and coded into the game (except for the miss one) * Slapping Animation v2 finally animated the alternate slapping animation where those sumo brothers slap with their other hand * Slapping to Stomping Transition Added the slapping animation for when the Bros transition from slapping to stomping as well as all the accompanying code to get it to function. Also tweaked the two other slapping animations to fix the interpolation of those speed lines. * Inu Sensei Complete Added redone inu sensei spritesheet (thanks Mage!), animated all inu sensei animations, and coded all the inu sensei functionality. This is all really coming together now * Sumo Miss anims & more Added the Slap/Stomp miss animations. Coded the ability to whiff inputs. Replaced all the SFX with Kievit-approved rips. Added the little slap impact effect for successful slap inputs. Getting ready to make stomps pretty. Fixed misc bugs. * Sumo Pose anims & more Added the first set of pose animations. Also added animations for transitioning from posing to something else. Stomps aint getting pretty this time. Fixed misc bugs. * Sumo Pose anims v2 Animated the whole 2nd set of sumo pose animations. Fixed some various bugs with poses. Added a random setting for the poses (although it doesn't work well with only 2 poses). Getting ready for the PR * Random Bug Fixes Fixed random pose option, fixed an animation that accidentally left loop on, and added monologue. Getting ready for pr in a few days. * New Icon & Bug Fixes Added a shiny new icon made by Seanski2, fixed a bug about poses in tap mode being a bit bugged and fixed the Slap-to-Stomp slap animation being able to be played too soon. --------- Co-authored-by: minenice55 <star.elementa@gmail.com>
2024-02-19 01:25:26 +00:00
{
if (sumoState == SumoState.Slap || cueCurrentlyActive)
{
return;
}
CueRunning(beat + 3);
sumoSlapDir = 0;
BeatAction.New(instance, new List<BeatAction.Action>()
{
new BeatAction.Action(beat + 3, delegate { allowBopSumo = false; }),
new BeatAction.Action(beat + 3, delegate { sumoBrotherP.DoScaledAnimationAsync("SumoSlapPrepare",0.5f); }),
new BeatAction.Action(beat + 3, delegate { sumoBrotherG.DoScaledAnimationAsync("SumoSlapPrepare", 0.5f); }),
new BeatAction.Action(beat + 3, delegate { sumoBrotherPHead.DoScaledAnimationAsync("SumoPSlap", 0.5f); }),
new BeatAction.Action(beat + 3, delegate { sumoBrotherGHead.DoScaledAnimationAsync("SumoGSlap", 0.5f); }),
Sumo brothers is FINISHED* (#867) * Pose Backgrounds The cool backgrounds that appear on a successful pose are now fully added. Also implemented the new upscales. * Stomp Camera Shake The way it is coded is not good at all, but the stomp shakes look *ok* when the game runs at triple digit tempos. * Better Stomp Shake & Alternate BGs Made the stomp shake look MUCH better, and added an option to poses to automatically alternate between background types. * Sumo Pose anims v4 Animated most of all the remaining pose animations, missing the miss animations + glasses being thrown. Also will want to add a version where the glasses aren't thrown. Pig? * Sumo Pose anims v4.5 Added the missing miss animations. Added the glasses actually being thrown. Fixed a bug with head layering w/ the Look at Camera event. Fixed some other bugs that aren't important. * New Icon i made it myself * Sumo Pose anims v4.9 You can now toggle if the blue sumo bro will throw his glasses on the finale pose. Also changed selecting the pose type from an integer slider to a dropdown menu. You can also now change which direction the sumo brothers begin stomping in. * Sumo Pose anims v5 D se dab * Finalizing stuff Changed ALL the animations (minus InuTweet) to use linear interpolation instead of the default setting since that's what megamix does afaik. Combined the two sumohead animators into one just to allow for more play animation shenanigans. Assigned all the sumo assets to a new ctrsumou asset bundle to get ready for packing it all up. Added new nerd bg because Mage just happened to make one * Bug Fixed + Tweaks + Finish Fixed a bug where the game would end up cueing inputs that extended into other games. It wouldn't do anything until you went back to Sumo Brothers where all those extra cues would run the frame the game loaded. Tweaked all the BG sliding in animations to be accurate to the original game. I started implementing asset bundles, but for some reason actually using them breaks the Blue Sumo Bro's animations for *some* reason. I forgot to include this in *one* of the previous change notes, but you can now change which direction the Bros start stomping in. * Kill reference images Removed ALL of the reference images from the files there were like 135 images
2024-04-16 01:45:56 +00:00
new BeatAction.Action(beat + 3, delegate { bgStatic.DoScaledAnimationAsync("empty", 0.5f); }),
new BeatAction.Action(beat + 3, delegate { glasses.DoScaledAnimationAsync("glassesGone", 0.5f); }),
new BeatAction.Action(beat + 3, delegate { bgType = BGType.None; }),
Sumo brothers (#706) * Lockstep fansodnason * More Lockstep Implemented the new sprites (still needs work). Added new Icon. * More lockstep stuff i have no clue * Animation Tweaking I fiddled around with numbers weeeeeeeeeeeeeeee * Merge branch 'master' of https://github.com/RaffyTaffy14/HS * Background Has basic background * End Pose Start Adds the End Pose cue's tweeting sound (took so long but felt so cool) * Inu Sensei Start Inu Sensei added to scene. He can bop, crouch, or do neither * Temp Sumo Brothers Icon Made by Donfen * Inu Sensei Tweeting Inu Sensei now does his animation during the duration of the End Pose cue. * Crouch Block Rework Reworked crouch block to be a stretchable cue instead of a toggle (like KM prepare stance) * Bop Block Rework Bop block reworked to be a toggle. Also made a few minor tweaks to random things. * Added the Brothers The Sumo Brothers from Sumo Brothers are now in Sumo Brothers (minus the sumo) * Imported Upscaled Sumou_BG Higher resolution background and Inu Sensei sprites. * Imported REAL Upscaled Sumou_BG oops * Slap & Stomp Signals the domg buncus and tink tonks * Twiddling my Thumbs Random, Insignificant changes to random things in the code * idk random cleanup after I finally got HS to not be in shambles * more stuff dunno * Input for Pose this should not have taken this long * uh waste of 4gb atm, need 4gb atm, may need this not atm * Modernized Bops & WIP Stomps/Slaps Made the bop system to have automatic/stretchy settings like all new games. Also got a WIP implementation of stomping/slapping * quite honest i do not know let's just update HS * Prepare Slap Animation Prepare Slap animation has been animated and implemented * Sumo Prefab some stuff went down yesterday when updating the fork that involved the sumo prefab randomly downgrading to an older version, so I'm hoping that this commit will make sure that the current prefab wont just vanish into oblivion * Slapping Animation v1 Spent a few hours animating the front-hand slapping animation. Also added a "Look at Camera" event that makes the brotheren look at the camera while slapping. * Stomping Animations All stomp and stomp prepare animations are animated and coded into the game (except for the miss one) * Slapping Animation v2 finally animated the alternate slapping animation where those sumo brothers slap with their other hand * Slapping to Stomping Transition Added the slapping animation for when the Bros transition from slapping to stomping as well as all the accompanying code to get it to function. Also tweaked the two other slapping animations to fix the interpolation of those speed lines. * Inu Sensei Complete Added redone inu sensei spritesheet (thanks Mage!), animated all inu sensei animations, and coded all the inu sensei functionality. This is all really coming together now * Sumo Miss anims & more Added the Slap/Stomp miss animations. Coded the ability to whiff inputs. Replaced all the SFX with Kievit-approved rips. Added the little slap impact effect for successful slap inputs. Getting ready to make stomps pretty. Fixed misc bugs. * Sumo Pose anims & more Added the first set of pose animations. Also added animations for transitioning from posing to something else. Stomps aint getting pretty this time. Fixed misc bugs. * Sumo Pose anims v2 Animated the whole 2nd set of sumo pose animations. Fixed some various bugs with poses. Added a random setting for the poses (although it doesn't work well with only 2 poses). Getting ready for the PR * Random Bug Fixes Fixed random pose option, fixed an animation that accidentally left loop on, and added monologue. Getting ready for pr in a few days. * New Icon & Bug Fixes Added a shiny new icon made by Seanski2, fixed a bug about poses in tap mode being a bit bugged and fixed the Slap-to-Stomp slap animation being able to be played too soon. --------- Co-authored-by: minenice55 <star.elementa@gmail.com>
2024-02-19 01:25:26 +00:00
new BeatAction.Action(beat + 3, delegate { if (sumoStatePrevious == SumoState.Pose) sumoBrotherP.DoScaledAnimationAsync("SumoPoseSwitch",0.5f); }),
new BeatAction.Action(beat + 3, delegate { if (sumoStatePrevious == SumoState.Pose) sumoBrotherG.DoScaledAnimationAsync("SumoPoseSwitch",0.5f); }),
new BeatAction.Action(beat + 3, delegate { if (sumoStatePrevious == SumoState.Pose) sumoBrotherPHead.DoScaledAnimationAsync("SumoPStomp",0.5f); }),
new BeatAction.Action(beat + 3, delegate { if (sumoStatePrevious == SumoState.Pose) sumoBrotherGHead.DoScaledAnimationAsync("SumoGStomp",0.5f); })
});
if (inu && conductor.songPosBeat <= beat + 3)
Sumo brothers (#706) * Lockstep fansodnason * More Lockstep Implemented the new sprites (still needs work). Added new Icon. * More lockstep stuff i have no clue * Animation Tweaking I fiddled around with numbers weeeeeeeeeeeeeeee * Merge branch 'master' of https://github.com/RaffyTaffy14/HS * Background Has basic background * End Pose Start Adds the End Pose cue's tweeting sound (took so long but felt so cool) * Inu Sensei Start Inu Sensei added to scene. He can bop, crouch, or do neither * Temp Sumo Brothers Icon Made by Donfen * Inu Sensei Tweeting Inu Sensei now does his animation during the duration of the End Pose cue. * Crouch Block Rework Reworked crouch block to be a stretchable cue instead of a toggle (like KM prepare stance) * Bop Block Rework Bop block reworked to be a toggle. Also made a few minor tweaks to random things. * Added the Brothers The Sumo Brothers from Sumo Brothers are now in Sumo Brothers (minus the sumo) * Imported Upscaled Sumou_BG Higher resolution background and Inu Sensei sprites. * Imported REAL Upscaled Sumou_BG oops * Slap & Stomp Signals the domg buncus and tink tonks * Twiddling my Thumbs Random, Insignificant changes to random things in the code * idk random cleanup after I finally got HS to not be in shambles * more stuff dunno * Input for Pose this should not have taken this long * uh waste of 4gb atm, need 4gb atm, may need this not atm * Modernized Bops & WIP Stomps/Slaps Made the bop system to have automatic/stretchy settings like all new games. Also got a WIP implementation of stomping/slapping * quite honest i do not know let's just update HS * Prepare Slap Animation Prepare Slap animation has been animated and implemented * Sumo Prefab some stuff went down yesterday when updating the fork that involved the sumo prefab randomly downgrading to an older version, so I'm hoping that this commit will make sure that the current prefab wont just vanish into oblivion * Slapping Animation v1 Spent a few hours animating the front-hand slapping animation. Also added a "Look at Camera" event that makes the brotheren look at the camera while slapping. * Stomping Animations All stomp and stomp prepare animations are animated and coded into the game (except for the miss one) * Slapping Animation v2 finally animated the alternate slapping animation where those sumo brothers slap with their other hand * Slapping to Stomping Transition Added the slapping animation for when the Bros transition from slapping to stomping as well as all the accompanying code to get it to function. Also tweaked the two other slapping animations to fix the interpolation of those speed lines. * Inu Sensei Complete Added redone inu sensei spritesheet (thanks Mage!), animated all inu sensei animations, and coded all the inu sensei functionality. This is all really coming together now * Sumo Miss anims & more Added the Slap/Stomp miss animations. Coded the ability to whiff inputs. Replaced all the SFX with Kievit-approved rips. Added the little slap impact effect for successful slap inputs. Getting ready to make stomps pretty. Fixed misc bugs. * Sumo Pose anims & more Added the first set of pose animations. Also added animations for transitioning from posing to something else. Stomps aint getting pretty this time. Fixed misc bugs. * Sumo Pose anims v2 Animated the whole 2nd set of sumo pose animations. Fixed some various bugs with poses. Added a random setting for the poses (although it doesn't work well with only 2 poses). Getting ready for the PR * Random Bug Fixes Fixed random pose option, fixed an animation that accidentally left loop on, and added monologue. Getting ready for pr in a few days. * New Icon & Bug Fixes Added a shiny new icon made by Seanski2, fixed a bug about poses in tap mode being a bit bugged and fixed the Slap-to-Stomp slap animation being able to be played too soon. --------- Co-authored-by: minenice55 <star.elementa@gmail.com>
2024-02-19 01:25:26 +00:00
{
BeatAction.New(instance, new List<BeatAction.Action>()
{
new BeatAction.Action(beat, delegate { allowBopInu = false; }),
new BeatAction.Action(beat, delegate { inuSensei.DoScaledAnimationAsync("InuBeatChange", 0.5f); }),
new BeatAction.Action(beat + 1, delegate { inuSensei.DoScaledAnimationAsync("InuBeatChange", 0.5f); }),
new BeatAction.Action(beat + 2, delegate { inuSensei.DoScaledAnimationAsync("InuBeatChange", 0.5f); }),
new BeatAction.Action(beat + 3, delegate { inuSensei.DoScaledAnimationAsync("InuBeatChange", 0.5f); }),
new BeatAction.Action(beat + 3, delegate { allowBopInu = true; })
});
}
if (mute == false) { SlapSignalSound(beat); }
Sumo brothers (#706) * Lockstep fansodnason * More Lockstep Implemented the new sprites (still needs work). Added new Icon. * More lockstep stuff i have no clue * Animation Tweaking I fiddled around with numbers weeeeeeeeeeeeeeee * Merge branch 'master' of https://github.com/RaffyTaffy14/HS * Background Has basic background * End Pose Start Adds the End Pose cue's tweeting sound (took so long but felt so cool) * Inu Sensei Start Inu Sensei added to scene. He can bop, crouch, or do neither * Temp Sumo Brothers Icon Made by Donfen * Inu Sensei Tweeting Inu Sensei now does his animation during the duration of the End Pose cue. * Crouch Block Rework Reworked crouch block to be a stretchable cue instead of a toggle (like KM prepare stance) * Bop Block Rework Bop block reworked to be a toggle. Also made a few minor tweaks to random things. * Added the Brothers The Sumo Brothers from Sumo Brothers are now in Sumo Brothers (minus the sumo) * Imported Upscaled Sumou_BG Higher resolution background and Inu Sensei sprites. * Imported REAL Upscaled Sumou_BG oops * Slap & Stomp Signals the domg buncus and tink tonks * Twiddling my Thumbs Random, Insignificant changes to random things in the code * idk random cleanup after I finally got HS to not be in shambles * more stuff dunno * Input for Pose this should not have taken this long * uh waste of 4gb atm, need 4gb atm, may need this not atm * Modernized Bops & WIP Stomps/Slaps Made the bop system to have automatic/stretchy settings like all new games. Also got a WIP implementation of stomping/slapping * quite honest i do not know let's just update HS * Prepare Slap Animation Prepare Slap animation has been animated and implemented * Sumo Prefab some stuff went down yesterday when updating the fork that involved the sumo prefab randomly downgrading to an older version, so I'm hoping that this commit will make sure that the current prefab wont just vanish into oblivion * Slapping Animation v1 Spent a few hours animating the front-hand slapping animation. Also added a "Look at Camera" event that makes the brotheren look at the camera while slapping. * Stomping Animations All stomp and stomp prepare animations are animated and coded into the game (except for the miss one) * Slapping Animation v2 finally animated the alternate slapping animation where those sumo brothers slap with their other hand * Slapping to Stomping Transition Added the slapping animation for when the Bros transition from slapping to stomping as well as all the accompanying code to get it to function. Also tweaked the two other slapping animations to fix the interpolation of those speed lines. * Inu Sensei Complete Added redone inu sensei spritesheet (thanks Mage!), animated all inu sensei animations, and coded all the inu sensei functionality. This is all really coming together now * Sumo Miss anims & more Added the Slap/Stomp miss animations. Coded the ability to whiff inputs. Replaced all the SFX with Kievit-approved rips. Added the little slap impact effect for successful slap inputs. Getting ready to make stomps pretty. Fixed misc bugs. * Sumo Pose anims & more Added the first set of pose animations. Also added animations for transitioning from posing to something else. Stomps aint getting pretty this time. Fixed misc bugs. * Sumo Pose anims v2 Animated the whole 2nd set of sumo pose animations. Fixed some various bugs with poses. Added a random setting for the poses (although it doesn't work well with only 2 poses). Getting ready for the PR * Random Bug Fixes Fixed random pose option, fixed an animation that accidentally left loop on, and added monologue. Getting ready for pr in a few days. * New Icon & Bug Fixes Added a shiny new icon made by Seanski2, fixed a bug about poses in tap mode being a bit bugged and fixed the Slap-to-Stomp slap animation being able to be played too soon. --------- Co-authored-by: minenice55 <star.elementa@gmail.com>
2024-02-19 01:25:26 +00:00
sumoStatePrevious = sumoState;
sumoState = SumoState.Slap;
SlapRecursive(beat + 4, 4, false, false);
Sumo brothers (#706) * Lockstep fansodnason * More Lockstep Implemented the new sprites (still needs work). Added new Icon. * More lockstep stuff i have no clue * Animation Tweaking I fiddled around with numbers weeeeeeeeeeeeeeee * Merge branch 'master' of https://github.com/RaffyTaffy14/HS * Background Has basic background * End Pose Start Adds the End Pose cue's tweeting sound (took so long but felt so cool) * Inu Sensei Start Inu Sensei added to scene. He can bop, crouch, or do neither * Temp Sumo Brothers Icon Made by Donfen * Inu Sensei Tweeting Inu Sensei now does his animation during the duration of the End Pose cue. * Crouch Block Rework Reworked crouch block to be a stretchable cue instead of a toggle (like KM prepare stance) * Bop Block Rework Bop block reworked to be a toggle. Also made a few minor tweaks to random things. * Added the Brothers The Sumo Brothers from Sumo Brothers are now in Sumo Brothers (minus the sumo) * Imported Upscaled Sumou_BG Higher resolution background and Inu Sensei sprites. * Imported REAL Upscaled Sumou_BG oops * Slap & Stomp Signals the domg buncus and tink tonks * Twiddling my Thumbs Random, Insignificant changes to random things in the code * idk random cleanup after I finally got HS to not be in shambles * more stuff dunno * Input for Pose this should not have taken this long * uh waste of 4gb atm, need 4gb atm, may need this not atm * Modernized Bops & WIP Stomps/Slaps Made the bop system to have automatic/stretchy settings like all new games. Also got a WIP implementation of stomping/slapping * quite honest i do not know let's just update HS * Prepare Slap Animation Prepare Slap animation has been animated and implemented * Sumo Prefab some stuff went down yesterday when updating the fork that involved the sumo prefab randomly downgrading to an older version, so I'm hoping that this commit will make sure that the current prefab wont just vanish into oblivion * Slapping Animation v1 Spent a few hours animating the front-hand slapping animation. Also added a "Look at Camera" event that makes the brotheren look at the camera while slapping. * Stomping Animations All stomp and stomp prepare animations are animated and coded into the game (except for the miss one) * Slapping Animation v2 finally animated the alternate slapping animation where those sumo brothers slap with their other hand * Slapping to Stomping Transition Added the slapping animation for when the Bros transition from slapping to stomping as well as all the accompanying code to get it to function. Also tweaked the two other slapping animations to fix the interpolation of those speed lines. * Inu Sensei Complete Added redone inu sensei spritesheet (thanks Mage!), animated all inu sensei animations, and coded all the inu sensei functionality. This is all really coming together now * Sumo Miss anims & more Added the Slap/Stomp miss animations. Coded the ability to whiff inputs. Replaced all the SFX with Kievit-approved rips. Added the little slap impact effect for successful slap inputs. Getting ready to make stomps pretty. Fixed misc bugs. * Sumo Pose anims & more Added the first set of pose animations. Also added animations for transitioning from posing to something else. Stomps aint getting pretty this time. Fixed misc bugs. * Sumo Pose anims v2 Animated the whole 2nd set of sumo pose animations. Fixed some various bugs with poses. Added a random setting for the poses (although it doesn't work well with only 2 poses). Getting ready for the PR * Random Bug Fixes Fixed random pose option, fixed an animation that accidentally left loop on, and added monologue. Getting ready for pr in a few days. * New Icon & Bug Fixes Added a shiny new icon made by Seanski2, fixed a bug about poses in tap mode being a bit bugged and fixed the Slap-to-Stomp slap animation being able to be played too soon. --------- Co-authored-by: minenice55 <star.elementa@gmail.com>
2024-02-19 01:25:26 +00:00
BeatAction.New(instance, new List<BeatAction.Action>()
{
new BeatAction.Action(beat + 4, delegate { sumoStatePrevious = SumoState.Slap; })
});
}
public static void SlapSignalSound(double beat)
{
MultiSound.Play(new MultiSound.Sound[]
{
new MultiSound.Sound("sumoBrothers/slapsignal", beat),
new MultiSound.Sound("sumoBrothers/slapsignal", beat + 1f),
new MultiSound.Sound("sumoBrothers/slapsignal", beat + 2f),
new MultiSound.Sound("sumoBrothers/slapsignal", beat + 3f)
}, forcePlay: true);
}
private void SlapRecursive(double beat, double remaining, bool autoDecreaseRemaining, bool slapSwitch)
Sumo brothers (#706) * Lockstep fansodnason * More Lockstep Implemented the new sprites (still needs work). Added new Icon. * More lockstep stuff i have no clue * Animation Tweaking I fiddled around with numbers weeeeeeeeeeeeeeee * Merge branch 'master' of https://github.com/RaffyTaffy14/HS * Background Has basic background * End Pose Start Adds the End Pose cue's tweeting sound (took so long but felt so cool) * Inu Sensei Start Inu Sensei added to scene. He can bop, crouch, or do neither * Temp Sumo Brothers Icon Made by Donfen * Inu Sensei Tweeting Inu Sensei now does his animation during the duration of the End Pose cue. * Crouch Block Rework Reworked crouch block to be a stretchable cue instead of a toggle (like KM prepare stance) * Bop Block Rework Bop block reworked to be a toggle. Also made a few minor tweaks to random things. * Added the Brothers The Sumo Brothers from Sumo Brothers are now in Sumo Brothers (minus the sumo) * Imported Upscaled Sumou_BG Higher resolution background and Inu Sensei sprites. * Imported REAL Upscaled Sumou_BG oops * Slap & Stomp Signals the domg buncus and tink tonks * Twiddling my Thumbs Random, Insignificant changes to random things in the code * idk random cleanup after I finally got HS to not be in shambles * more stuff dunno * Input for Pose this should not have taken this long * uh waste of 4gb atm, need 4gb atm, may need this not atm * Modernized Bops & WIP Stomps/Slaps Made the bop system to have automatic/stretchy settings like all new games. Also got a WIP implementation of stomping/slapping * quite honest i do not know let's just update HS * Prepare Slap Animation Prepare Slap animation has been animated and implemented * Sumo Prefab some stuff went down yesterday when updating the fork that involved the sumo prefab randomly downgrading to an older version, so I'm hoping that this commit will make sure that the current prefab wont just vanish into oblivion * Slapping Animation v1 Spent a few hours animating the front-hand slapping animation. Also added a "Look at Camera" event that makes the brotheren look at the camera while slapping. * Stomping Animations All stomp and stomp prepare animations are animated and coded into the game (except for the miss one) * Slapping Animation v2 finally animated the alternate slapping animation where those sumo brothers slap with their other hand * Slapping to Stomping Transition Added the slapping animation for when the Bros transition from slapping to stomping as well as all the accompanying code to get it to function. Also tweaked the two other slapping animations to fix the interpolation of those speed lines. * Inu Sensei Complete Added redone inu sensei spritesheet (thanks Mage!), animated all inu sensei animations, and coded all the inu sensei functionality. This is all really coming together now * Sumo Miss anims & more Added the Slap/Stomp miss animations. Coded the ability to whiff inputs. Replaced all the SFX with Kievit-approved rips. Added the little slap impact effect for successful slap inputs. Getting ready to make stomps pretty. Fixed misc bugs. * Sumo Pose anims & more Added the first set of pose animations. Also added animations for transitioning from posing to something else. Stomps aint getting pretty this time. Fixed misc bugs. * Sumo Pose anims v2 Animated the whole 2nd set of sumo pose animations. Fixed some various bugs with poses. Added a random setting for the poses (although it doesn't work well with only 2 poses). Getting ready for the PR * Random Bug Fixes Fixed random pose option, fixed an animation that accidentally left loop on, and added monologue. Getting ready for pr in a few days. * New Icon & Bug Fixes Added a shiny new icon made by Seanski2, fixed a bug about poses in tap mode being a bit bugged and fixed the Slap-to-Stomp slap animation being able to be played too soon. --------- Co-authored-by: minenice55 <star.elementa@gmail.com>
2024-02-19 01:25:26 +00:00
{
if (sumoState != SumoState.Slap || autoDecreaseRemaining) {remaining -= 1; }
Sumo brothers (#706) * Lockstep fansodnason * More Lockstep Implemented the new sprites (still needs work). Added new Icon. * More lockstep stuff i have no clue * Animation Tweaking I fiddled around with numbers weeeeeeeeeeeeeeee * Merge branch 'master' of https://github.com/RaffyTaffy14/HS * Background Has basic background * End Pose Start Adds the End Pose cue's tweeting sound (took so long but felt so cool) * Inu Sensei Start Inu Sensei added to scene. He can bop, crouch, or do neither * Temp Sumo Brothers Icon Made by Donfen * Inu Sensei Tweeting Inu Sensei now does his animation during the duration of the End Pose cue. * Crouch Block Rework Reworked crouch block to be a stretchable cue instead of a toggle (like KM prepare stance) * Bop Block Rework Bop block reworked to be a toggle. Also made a few minor tweaks to random things. * Added the Brothers The Sumo Brothers from Sumo Brothers are now in Sumo Brothers (minus the sumo) * Imported Upscaled Sumou_BG Higher resolution background and Inu Sensei sprites. * Imported REAL Upscaled Sumou_BG oops * Slap & Stomp Signals the domg buncus and tink tonks * Twiddling my Thumbs Random, Insignificant changes to random things in the code * idk random cleanup after I finally got HS to not be in shambles * more stuff dunno * Input for Pose this should not have taken this long * uh waste of 4gb atm, need 4gb atm, may need this not atm * Modernized Bops & WIP Stomps/Slaps Made the bop system to have automatic/stretchy settings like all new games. Also got a WIP implementation of stomping/slapping * quite honest i do not know let's just update HS * Prepare Slap Animation Prepare Slap animation has been animated and implemented * Sumo Prefab some stuff went down yesterday when updating the fork that involved the sumo prefab randomly downgrading to an older version, so I'm hoping that this commit will make sure that the current prefab wont just vanish into oblivion * Slapping Animation v1 Spent a few hours animating the front-hand slapping animation. Also added a "Look at Camera" event that makes the brotheren look at the camera while slapping. * Stomping Animations All stomp and stomp prepare animations are animated and coded into the game (except for the miss one) * Slapping Animation v2 finally animated the alternate slapping animation where those sumo brothers slap with their other hand * Slapping to Stomping Transition Added the slapping animation for when the Bros transition from slapping to stomping as well as all the accompanying code to get it to function. Also tweaked the two other slapping animations to fix the interpolation of those speed lines. * Inu Sensei Complete Added redone inu sensei spritesheet (thanks Mage!), animated all inu sensei animations, and coded all the inu sensei functionality. This is all really coming together now * Sumo Miss anims & more Added the Slap/Stomp miss animations. Coded the ability to whiff inputs. Replaced all the SFX with Kievit-approved rips. Added the little slap impact effect for successful slap inputs. Getting ready to make stomps pretty. Fixed misc bugs. * Sumo Pose anims & more Added the first set of pose animations. Also added animations for transitioning from posing to something else. Stomps aint getting pretty this time. Fixed misc bugs. * Sumo Pose anims v2 Animated the whole 2nd set of sumo pose animations. Fixed some various bugs with poses. Added a random setting for the poses (although it doesn't work well with only 2 poses). Getting ready for the PR * Random Bug Fixes Fixed random pose option, fixed an animation that accidentally left loop on, and added monologue. Getting ready for pr in a few days. * New Icon & Bug Fixes Added a shiny new icon made by Seanski2, fixed a bug about poses in tap mode being a bit bugged and fixed the Slap-to-Stomp slap animation being able to be played too soon. --------- Co-authored-by: minenice55 <star.elementa@gmail.com>
2024-02-19 01:25:26 +00:00
if (remaining <= 0) { return; }
if (remaining <= 1) {
if (sumoState == SumoState.Stomp || slapSwitch)
Sumo brothers (#706) * Lockstep fansodnason * More Lockstep Implemented the new sprites (still needs work). Added new Icon. * More lockstep stuff i have no clue * Animation Tweaking I fiddled around with numbers weeeeeeeeeeeeeeee * Merge branch 'master' of https://github.com/RaffyTaffy14/HS * Background Has basic background * End Pose Start Adds the End Pose cue's tweeting sound (took so long but felt so cool) * Inu Sensei Start Inu Sensei added to scene. He can bop, crouch, or do neither * Temp Sumo Brothers Icon Made by Donfen * Inu Sensei Tweeting Inu Sensei now does his animation during the duration of the End Pose cue. * Crouch Block Rework Reworked crouch block to be a stretchable cue instead of a toggle (like KM prepare stance) * Bop Block Rework Bop block reworked to be a toggle. Also made a few minor tweaks to random things. * Added the Brothers The Sumo Brothers from Sumo Brothers are now in Sumo Brothers (minus the sumo) * Imported Upscaled Sumou_BG Higher resolution background and Inu Sensei sprites. * Imported REAL Upscaled Sumou_BG oops * Slap & Stomp Signals the domg buncus and tink tonks * Twiddling my Thumbs Random, Insignificant changes to random things in the code * idk random cleanup after I finally got HS to not be in shambles * more stuff dunno * Input for Pose this should not have taken this long * uh waste of 4gb atm, need 4gb atm, may need this not atm * Modernized Bops & WIP Stomps/Slaps Made the bop system to have automatic/stretchy settings like all new games. Also got a WIP implementation of stomping/slapping * quite honest i do not know let's just update HS * Prepare Slap Animation Prepare Slap animation has been animated and implemented * Sumo Prefab some stuff went down yesterday when updating the fork that involved the sumo prefab randomly downgrading to an older version, so I'm hoping that this commit will make sure that the current prefab wont just vanish into oblivion * Slapping Animation v1 Spent a few hours animating the front-hand slapping animation. Also added a "Look at Camera" event that makes the brotheren look at the camera while slapping. * Stomping Animations All stomp and stomp prepare animations are animated and coded into the game (except for the miss one) * Slapping Animation v2 finally animated the alternate slapping animation where those sumo brothers slap with their other hand * Slapping to Stomping Transition Added the slapping animation for when the Bros transition from slapping to stomping as well as all the accompanying code to get it to function. Also tweaked the two other slapping animations to fix the interpolation of those speed lines. * Inu Sensei Complete Added redone inu sensei spritesheet (thanks Mage!), animated all inu sensei animations, and coded all the inu sensei functionality. This is all really coming together now * Sumo Miss anims & more Added the Slap/Stomp miss animations. Coded the ability to whiff inputs. Replaced all the SFX with Kievit-approved rips. Added the little slap impact effect for successful slap inputs. Getting ready to make stomps pretty. Fixed misc bugs. * Sumo Pose anims & more Added the first set of pose animations. Also added animations for transitioning from posing to something else. Stomps aint getting pretty this time. Fixed misc bugs. * Sumo Pose anims v2 Animated the whole 2nd set of sumo pose animations. Fixed some various bugs with poses. Added a random setting for the poses (although it doesn't work well with only 2 poses). Getting ready for the PR * Random Bug Fixes Fixed random pose option, fixed an animation that accidentally left loop on, and added monologue. Getting ready for pr in a few days. * New Icon & Bug Fixes Added a shiny new icon made by Seanski2, fixed a bug about poses in tap mode being a bit bugged and fixed the Slap-to-Stomp slap animation being able to be played too soon. --------- Co-authored-by: minenice55 <star.elementa@gmail.com>
2024-02-19 01:25:26 +00:00
{
BeatAction.New(instance, new List<BeatAction.Action>()
{
new BeatAction.Action(beat - 0.5, delegate { sumoSlapDir = 2; })
});
Sumo brothers (#706) * Lockstep fansodnason * More Lockstep Implemented the new sprites (still needs work). Added new Icon. * More lockstep stuff i have no clue * Animation Tweaking I fiddled around with numbers weeeeeeeeeeeeeeee * Merge branch 'master' of https://github.com/RaffyTaffy14/HS * Background Has basic background * End Pose Start Adds the End Pose cue's tweeting sound (took so long but felt so cool) * Inu Sensei Start Inu Sensei added to scene. He can bop, crouch, or do neither * Temp Sumo Brothers Icon Made by Donfen * Inu Sensei Tweeting Inu Sensei now does his animation during the duration of the End Pose cue. * Crouch Block Rework Reworked crouch block to be a stretchable cue instead of a toggle (like KM prepare stance) * Bop Block Rework Bop block reworked to be a toggle. Also made a few minor tweaks to random things. * Added the Brothers The Sumo Brothers from Sumo Brothers are now in Sumo Brothers (minus the sumo) * Imported Upscaled Sumou_BG Higher resolution background and Inu Sensei sprites. * Imported REAL Upscaled Sumou_BG oops * Slap & Stomp Signals the domg buncus and tink tonks * Twiddling my Thumbs Random, Insignificant changes to random things in the code * idk random cleanup after I finally got HS to not be in shambles * more stuff dunno * Input for Pose this should not have taken this long * uh waste of 4gb atm, need 4gb atm, may need this not atm * Modernized Bops & WIP Stomps/Slaps Made the bop system to have automatic/stretchy settings like all new games. Also got a WIP implementation of stomping/slapping * quite honest i do not know let's just update HS * Prepare Slap Animation Prepare Slap animation has been animated and implemented * Sumo Prefab some stuff went down yesterday when updating the fork that involved the sumo prefab randomly downgrading to an older version, so I'm hoping that this commit will make sure that the current prefab wont just vanish into oblivion * Slapping Animation v1 Spent a few hours animating the front-hand slapping animation. Also added a "Look at Camera" event that makes the brotheren look at the camera while slapping. * Stomping Animations All stomp and stomp prepare animations are animated and coded into the game (except for the miss one) * Slapping Animation v2 finally animated the alternate slapping animation where those sumo brothers slap with their other hand * Slapping to Stomping Transition Added the slapping animation for when the Bros transition from slapping to stomping as well as all the accompanying code to get it to function. Also tweaked the two other slapping animations to fix the interpolation of those speed lines. * Inu Sensei Complete Added redone inu sensei spritesheet (thanks Mage!), animated all inu sensei animations, and coded all the inu sensei functionality. This is all really coming together now * Sumo Miss anims & more Added the Slap/Stomp miss animations. Coded the ability to whiff inputs. Replaced all the SFX with Kievit-approved rips. Added the little slap impact effect for successful slap inputs. Getting ready to make stomps pretty. Fixed misc bugs. * Sumo Pose anims & more Added the first set of pose animations. Also added animations for transitioning from posing to something else. Stomps aint getting pretty this time. Fixed misc bugs. * Sumo Pose anims v2 Animated the whole 2nd set of sumo pose animations. Fixed some various bugs with poses. Added a random setting for the poses (although it doesn't work well with only 2 poses). Getting ready for the PR * Random Bug Fixes Fixed random pose option, fixed an animation that accidentally left loop on, and added monologue. Getting ready for pr in a few days. * New Icon & Bug Fixes Added a shiny new icon made by Seanski2, fixed a bug about poses in tap mode being a bit bugged and fixed the Slap-to-Stomp slap animation being able to be played too soon. --------- Co-authored-by: minenice55 <star.elementa@gmail.com>
2024-02-19 01:25:26 +00:00
}
}
Sumo brothers (#706) * Lockstep fansodnason * More Lockstep Implemented the new sprites (still needs work). Added new Icon. * More lockstep stuff i have no clue * Animation Tweaking I fiddled around with numbers weeeeeeeeeeeeeeee * Merge branch 'master' of https://github.com/RaffyTaffy14/HS * Background Has basic background * End Pose Start Adds the End Pose cue's tweeting sound (took so long but felt so cool) * Inu Sensei Start Inu Sensei added to scene. He can bop, crouch, or do neither * Temp Sumo Brothers Icon Made by Donfen * Inu Sensei Tweeting Inu Sensei now does his animation during the duration of the End Pose cue. * Crouch Block Rework Reworked crouch block to be a stretchable cue instead of a toggle (like KM prepare stance) * Bop Block Rework Bop block reworked to be a toggle. Also made a few minor tweaks to random things. * Added the Brothers The Sumo Brothers from Sumo Brothers are now in Sumo Brothers (minus the sumo) * Imported Upscaled Sumou_BG Higher resolution background and Inu Sensei sprites. * Imported REAL Upscaled Sumou_BG oops * Slap & Stomp Signals the domg buncus and tink tonks * Twiddling my Thumbs Random, Insignificant changes to random things in the code * idk random cleanup after I finally got HS to not be in shambles * more stuff dunno * Input for Pose this should not have taken this long * uh waste of 4gb atm, need 4gb atm, may need this not atm * Modernized Bops & WIP Stomps/Slaps Made the bop system to have automatic/stretchy settings like all new games. Also got a WIP implementation of stomping/slapping * quite honest i do not know let's just update HS * Prepare Slap Animation Prepare Slap animation has been animated and implemented * Sumo Prefab some stuff went down yesterday when updating the fork that involved the sumo prefab randomly downgrading to an older version, so I'm hoping that this commit will make sure that the current prefab wont just vanish into oblivion * Slapping Animation v1 Spent a few hours animating the front-hand slapping animation. Also added a "Look at Camera" event that makes the brotheren look at the camera while slapping. * Stomping Animations All stomp and stomp prepare animations are animated and coded into the game (except for the miss one) * Slapping Animation v2 finally animated the alternate slapping animation where those sumo brothers slap with their other hand * Slapping to Stomping Transition Added the slapping animation for when the Bros transition from slapping to stomping as well as all the accompanying code to get it to function. Also tweaked the two other slapping animations to fix the interpolation of those speed lines. * Inu Sensei Complete Added redone inu sensei spritesheet (thanks Mage!), animated all inu sensei animations, and coded all the inu sensei functionality. This is all really coming together now * Sumo Miss anims & more Added the Slap/Stomp miss animations. Coded the ability to whiff inputs. Replaced all the SFX with Kievit-approved rips. Added the little slap impact effect for successful slap inputs. Getting ready to make stomps pretty. Fixed misc bugs. * Sumo Pose anims & more Added the first set of pose animations. Also added animations for transitioning from posing to something else. Stomps aint getting pretty this time. Fixed misc bugs. * Sumo Pose anims v2 Animated the whole 2nd set of sumo pose animations. Fixed some various bugs with poses. Added a random setting for the poses (although it doesn't work well with only 2 poses). Getting ready for the PR * Random Bug Fixes Fixed random pose option, fixed an animation that accidentally left loop on, and added monologue. Getting ready for pr in a few days. * New Icon & Bug Fixes Added a shiny new icon made by Seanski2, fixed a bug about poses in tap mode being a bit bugged and fixed the Slap-to-Stomp slap animation being able to be played too soon. --------- Co-authored-by: minenice55 <star.elementa@gmail.com>
2024-02-19 01:25:26 +00:00
ScheduleInput(beat - 1, 1, InputAction_BasicPress, SlapHit, SlapMiss, Nothing);
Sumo brothers is FINISHED* (#867) * Pose Backgrounds The cool backgrounds that appear on a successful pose are now fully added. Also implemented the new upscales. * Stomp Camera Shake The way it is coded is not good at all, but the stomp shakes look *ok* when the game runs at triple digit tempos. * Better Stomp Shake & Alternate BGs Made the stomp shake look MUCH better, and added an option to poses to automatically alternate between background types. * Sumo Pose anims v4 Animated most of all the remaining pose animations, missing the miss animations + glasses being thrown. Also will want to add a version where the glasses aren't thrown. Pig? * Sumo Pose anims v4.5 Added the missing miss animations. Added the glasses actually being thrown. Fixed a bug with head layering w/ the Look at Camera event. Fixed some other bugs that aren't important. * New Icon i made it myself * Sumo Pose anims v4.9 You can now toggle if the blue sumo bro will throw his glasses on the finale pose. Also changed selecting the pose type from an integer slider to a dropdown menu. You can also now change which direction the sumo brothers begin stomping in. * Sumo Pose anims v5 D se dab * Finalizing stuff Changed ALL the animations (minus InuTweet) to use linear interpolation instead of the default setting since that's what megamix does afaik. Combined the two sumohead animators into one just to allow for more play animation shenanigans. Assigned all the sumo assets to a new ctrsumou asset bundle to get ready for packing it all up. Added new nerd bg because Mage just happened to make one * Bug Fixed + Tweaks + Finish Fixed a bug where the game would end up cueing inputs that extended into other games. It wouldn't do anything until you went back to Sumo Brothers where all those extra cues would run the frame the game loaded. Tweaked all the BG sliding in animations to be accurate to the original game. I started implementing asset bundles, but for some reason actually using them breaks the Blue Sumo Bro's animations for *some* reason. I forgot to include this in *one* of the previous change notes, but you can now change which direction the Bros start stomping in. * Kill reference images Removed ALL of the reference images from the files there were like 135 images
2024-04-16 01:45:56 +00:00
if (beat >= nextGameswitchBeat - 1) { remaining = 0; }
Sumo brothers (#706) * Lockstep fansodnason * More Lockstep Implemented the new sprites (still needs work). Added new Icon. * More lockstep stuff i have no clue * Animation Tweaking I fiddled around with numbers weeeeeeeeeeeeeeee * Merge branch 'master' of https://github.com/RaffyTaffy14/HS * Background Has basic background * End Pose Start Adds the End Pose cue's tweeting sound (took so long but felt so cool) * Inu Sensei Start Inu Sensei added to scene. He can bop, crouch, or do neither * Temp Sumo Brothers Icon Made by Donfen * Inu Sensei Tweeting Inu Sensei now does his animation during the duration of the End Pose cue. * Crouch Block Rework Reworked crouch block to be a stretchable cue instead of a toggle (like KM prepare stance) * Bop Block Rework Bop block reworked to be a toggle. Also made a few minor tweaks to random things. * Added the Brothers The Sumo Brothers from Sumo Brothers are now in Sumo Brothers (minus the sumo) * Imported Upscaled Sumou_BG Higher resolution background and Inu Sensei sprites. * Imported REAL Upscaled Sumou_BG oops * Slap & Stomp Signals the domg buncus and tink tonks * Twiddling my Thumbs Random, Insignificant changes to random things in the code * idk random cleanup after I finally got HS to not be in shambles * more stuff dunno * Input for Pose this should not have taken this long * uh waste of 4gb atm, need 4gb atm, may need this not atm * Modernized Bops & WIP Stomps/Slaps Made the bop system to have automatic/stretchy settings like all new games. Also got a WIP implementation of stomping/slapping * quite honest i do not know let's just update HS * Prepare Slap Animation Prepare Slap animation has been animated and implemented * Sumo Prefab some stuff went down yesterday when updating the fork that involved the sumo prefab randomly downgrading to an older version, so I'm hoping that this commit will make sure that the current prefab wont just vanish into oblivion * Slapping Animation v1 Spent a few hours animating the front-hand slapping animation. Also added a "Look at Camera" event that makes the brotheren look at the camera while slapping. * Stomping Animations All stomp and stomp prepare animations are animated and coded into the game (except for the miss one) * Slapping Animation v2 finally animated the alternate slapping animation where those sumo brothers slap with their other hand * Slapping to Stomping Transition Added the slapping animation for when the Bros transition from slapping to stomping as well as all the accompanying code to get it to function. Also tweaked the two other slapping animations to fix the interpolation of those speed lines. * Inu Sensei Complete Added redone inu sensei spritesheet (thanks Mage!), animated all inu sensei animations, and coded all the inu sensei functionality. This is all really coming together now * Sumo Miss anims & more Added the Slap/Stomp miss animations. Coded the ability to whiff inputs. Replaced all the SFX with Kievit-approved rips. Added the little slap impact effect for successful slap inputs. Getting ready to make stomps pretty. Fixed misc bugs. * Sumo Pose anims & more Added the first set of pose animations. Also added animations for transitioning from posing to something else. Stomps aint getting pretty this time. Fixed misc bugs. * Sumo Pose anims v2 Animated the whole 2nd set of sumo pose animations. Fixed some various bugs with poses. Added a random setting for the poses (although it doesn't work well with only 2 poses). Getting ready for the PR * Random Bug Fixes Fixed random pose option, fixed an animation that accidentally left loop on, and added monologue. Getting ready for pr in a few days. * New Icon & Bug Fixes Added a shiny new icon made by Seanski2, fixed a bug about poses in tap mode being a bit bugged and fixed the Slap-to-Stomp slap animation being able to be played too soon. --------- Co-authored-by: minenice55 <star.elementa@gmail.com>
2024-02-19 01:25:26 +00:00
BeatAction.New(instance, new List<BeatAction.Action>()
{
new BeatAction.Action(beat, delegate { SlapRecursive(beat + 1, remaining, autoDecreaseRemaining, slapSwitch); })
Sumo brothers (#706) * Lockstep fansodnason * More Lockstep Implemented the new sprites (still needs work). Added new Icon. * More lockstep stuff i have no clue * Animation Tweaking I fiddled around with numbers weeeeeeeeeeeeeeee * Merge branch 'master' of https://github.com/RaffyTaffy14/HS * Background Has basic background * End Pose Start Adds the End Pose cue's tweeting sound (took so long but felt so cool) * Inu Sensei Start Inu Sensei added to scene. He can bop, crouch, or do neither * Temp Sumo Brothers Icon Made by Donfen * Inu Sensei Tweeting Inu Sensei now does his animation during the duration of the End Pose cue. * Crouch Block Rework Reworked crouch block to be a stretchable cue instead of a toggle (like KM prepare stance) * Bop Block Rework Bop block reworked to be a toggle. Also made a few minor tweaks to random things. * Added the Brothers The Sumo Brothers from Sumo Brothers are now in Sumo Brothers (minus the sumo) * Imported Upscaled Sumou_BG Higher resolution background and Inu Sensei sprites. * Imported REAL Upscaled Sumou_BG oops * Slap & Stomp Signals the domg buncus and tink tonks * Twiddling my Thumbs Random, Insignificant changes to random things in the code * idk random cleanup after I finally got HS to not be in shambles * more stuff dunno * Input for Pose this should not have taken this long * uh waste of 4gb atm, need 4gb atm, may need this not atm * Modernized Bops & WIP Stomps/Slaps Made the bop system to have automatic/stretchy settings like all new games. Also got a WIP implementation of stomping/slapping * quite honest i do not know let's just update HS * Prepare Slap Animation Prepare Slap animation has been animated and implemented * Sumo Prefab some stuff went down yesterday when updating the fork that involved the sumo prefab randomly downgrading to an older version, so I'm hoping that this commit will make sure that the current prefab wont just vanish into oblivion * Slapping Animation v1 Spent a few hours animating the front-hand slapping animation. Also added a "Look at Camera" event that makes the brotheren look at the camera while slapping. * Stomping Animations All stomp and stomp prepare animations are animated and coded into the game (except for the miss one) * Slapping Animation v2 finally animated the alternate slapping animation where those sumo brothers slap with their other hand * Slapping to Stomping Transition Added the slapping animation for when the Bros transition from slapping to stomping as well as all the accompanying code to get it to function. Also tweaked the two other slapping animations to fix the interpolation of those speed lines. * Inu Sensei Complete Added redone inu sensei spritesheet (thanks Mage!), animated all inu sensei animations, and coded all the inu sensei functionality. This is all really coming together now * Sumo Miss anims & more Added the Slap/Stomp miss animations. Coded the ability to whiff inputs. Replaced all the SFX with Kievit-approved rips. Added the little slap impact effect for successful slap inputs. Getting ready to make stomps pretty. Fixed misc bugs. * Sumo Pose anims & more Added the first set of pose animations. Also added animations for transitioning from posing to something else. Stomps aint getting pretty this time. Fixed misc bugs. * Sumo Pose anims v2 Animated the whole 2nd set of sumo pose animations. Fixed some various bugs with poses. Added a random setting for the poses (although it doesn't work well with only 2 poses). Getting ready for the PR * Random Bug Fixes Fixed random pose option, fixed an animation that accidentally left loop on, and added monologue. Getting ready for pr in a few days. * New Icon & Bug Fixes Added a shiny new icon made by Seanski2, fixed a bug about poses in tap mode being a bit bugged and fixed the Slap-to-Stomp slap animation being able to be played too soon. --------- Co-authored-by: minenice55 <star.elementa@gmail.com>
2024-02-19 01:25:26 +00:00
});
Sumo brothers is FINISHED* (#867) * Pose Backgrounds The cool backgrounds that appear on a successful pose are now fully added. Also implemented the new upscales. * Stomp Camera Shake The way it is coded is not good at all, but the stomp shakes look *ok* when the game runs at triple digit tempos. * Better Stomp Shake & Alternate BGs Made the stomp shake look MUCH better, and added an option to poses to automatically alternate between background types. * Sumo Pose anims v4 Animated most of all the remaining pose animations, missing the miss animations + glasses being thrown. Also will want to add a version where the glasses aren't thrown. Pig? * Sumo Pose anims v4.5 Added the missing miss animations. Added the glasses actually being thrown. Fixed a bug with head layering w/ the Look at Camera event. Fixed some other bugs that aren't important. * New Icon i made it myself * Sumo Pose anims v4.9 You can now toggle if the blue sumo bro will throw his glasses on the finale pose. Also changed selecting the pose type from an integer slider to a dropdown menu. You can also now change which direction the sumo brothers begin stomping in. * Sumo Pose anims v5 D se dab * Finalizing stuff Changed ALL the animations (minus InuTweet) to use linear interpolation instead of the default setting since that's what megamix does afaik. Combined the two sumohead animators into one just to allow for more play animation shenanigans. Assigned all the sumo assets to a new ctrsumou asset bundle to get ready for packing it all up. Added new nerd bg because Mage just happened to make one * Bug Fixed + Tweaks + Finish Fixed a bug where the game would end up cueing inputs that extended into other games. It wouldn't do anything until you went back to Sumo Brothers where all those extra cues would run the frame the game loaded. Tweaked all the BG sliding in animations to be accurate to the original game. I started implementing asset bundles, but for some reason actually using them breaks the Blue Sumo Bro's animations for *some* reason. I forgot to include this in *one* of the previous change notes, but you can now change which direction the Bros start stomping in. * Kill reference images Removed ALL of the reference images from the files there were like 135 images
2024-04-16 01:45:56 +00:00
//print("the sumo slap direction:" + sumoSlapDir);
Sumo brothers (#706) * Lockstep fansodnason * More Lockstep Implemented the new sprites (still needs work). Added new Icon. * More lockstep stuff i have no clue * Animation Tweaking I fiddled around with numbers weeeeeeeeeeeeeeee * Merge branch 'master' of https://github.com/RaffyTaffy14/HS * Background Has basic background * End Pose Start Adds the End Pose cue's tweeting sound (took so long but felt so cool) * Inu Sensei Start Inu Sensei added to scene. He can bop, crouch, or do neither * Temp Sumo Brothers Icon Made by Donfen * Inu Sensei Tweeting Inu Sensei now does his animation during the duration of the End Pose cue. * Crouch Block Rework Reworked crouch block to be a stretchable cue instead of a toggle (like KM prepare stance) * Bop Block Rework Bop block reworked to be a toggle. Also made a few minor tweaks to random things. * Added the Brothers The Sumo Brothers from Sumo Brothers are now in Sumo Brothers (minus the sumo) * Imported Upscaled Sumou_BG Higher resolution background and Inu Sensei sprites. * Imported REAL Upscaled Sumou_BG oops * Slap & Stomp Signals the domg buncus and tink tonks * Twiddling my Thumbs Random, Insignificant changes to random things in the code * idk random cleanup after I finally got HS to not be in shambles * more stuff dunno * Input for Pose this should not have taken this long * uh waste of 4gb atm, need 4gb atm, may need this not atm * Modernized Bops & WIP Stomps/Slaps Made the bop system to have automatic/stretchy settings like all new games. Also got a WIP implementation of stomping/slapping * quite honest i do not know let's just update HS * Prepare Slap Animation Prepare Slap animation has been animated and implemented * Sumo Prefab some stuff went down yesterday when updating the fork that involved the sumo prefab randomly downgrading to an older version, so I'm hoping that this commit will make sure that the current prefab wont just vanish into oblivion * Slapping Animation v1 Spent a few hours animating the front-hand slapping animation. Also added a "Look at Camera" event that makes the brotheren look at the camera while slapping. * Stomping Animations All stomp and stomp prepare animations are animated and coded into the game (except for the miss one) * Slapping Animation v2 finally animated the alternate slapping animation where those sumo brothers slap with their other hand * Slapping to Stomping Transition Added the slapping animation for when the Bros transition from slapping to stomping as well as all the accompanying code to get it to function. Also tweaked the two other slapping animations to fix the interpolation of those speed lines. * Inu Sensei Complete Added redone inu sensei spritesheet (thanks Mage!), animated all inu sensei animations, and coded all the inu sensei functionality. This is all really coming together now * Sumo Miss anims & more Added the Slap/Stomp miss animations. Coded the ability to whiff inputs. Replaced all the SFX with Kievit-approved rips. Added the little slap impact effect for successful slap inputs. Getting ready to make stomps pretty. Fixed misc bugs. * Sumo Pose anims & more Added the first set of pose animations. Also added animations for transitioning from posing to something else. Stomps aint getting pretty this time. Fixed misc bugs. * Sumo Pose anims v2 Animated the whole 2nd set of sumo pose animations. Fixed some various bugs with poses. Added a random setting for the poses (although it doesn't work well with only 2 poses). Getting ready for the PR * Random Bug Fixes Fixed random pose option, fixed an animation that accidentally left loop on, and added monologue. Getting ready for pr in a few days. * New Icon & Bug Fixes Added a shiny new icon made by Seanski2, fixed a bug about poses in tap mode being a bit bugged and fixed the Slap-to-Stomp slap animation being able to be played too soon. --------- Co-authored-by: minenice55 <star.elementa@gmail.com>
2024-02-19 01:25:26 +00:00
}
public void Crouch(double beat, float length, bool inu, bool sumo)
{
if (sumoStatePrevious == SumoState.Idle) {
if (inu) { allowBopInu = false; inuSensei.DoScaledAnimationAsync("InuCrouch", 0.5f); }
if (sumo) { sumoBrotherP.DoScaledAnimationAsync("SumoCrouch", 0.5f); sumoBrotherG.DoScaledAnimationAsync("SumoCrouch", 0.5f);
allowBopSumo = false;}
BeatAction.New(instance, new List<BeatAction.Action>() {
new BeatAction.Action(beat + length, delegate { if (sumoStatePrevious == SumoState.Idle) allowBopInu = true; }),
new BeatAction.Action(beat + length, delegate { if (sumoStatePrevious == SumoState.Idle) allowBopSumo = true; }),
new BeatAction.Action(beat + length, delegate { if (goBopSumo && sumoStatePrevious == SumoState.Idle) BrosBop(); }),
new BeatAction.Action(beat + length, delegate { if (goBopInu && sumoStatePrevious == SumoState.Idle) inuSensei.DoScaledAnimationAsync("InuBop", 0.5f); })
});
}
}
public void LookAtCamera(double beat, float length)
{
if (sumoState == SumoState.Slap) {
BeatAction.New(instance, new List<BeatAction.Action>() {
new BeatAction.Action(beat, delegate { lookingAtCamera = true; }),
new BeatAction.Action(beat, delegate { sumoBrotherPHead.DoScaledAnimationAsync("SumoPSlapLook", 0.5f); }),
new BeatAction.Action(beat, delegate { sumoBrotherGHead.DoScaledAnimationAsync("SumoGSlapLook", 0.5f); }),
Sumo brothers is FINISHED* (#867) * Pose Backgrounds The cool backgrounds that appear on a successful pose are now fully added. Also implemented the new upscales. * Stomp Camera Shake The way it is coded is not good at all, but the stomp shakes look *ok* when the game runs at triple digit tempos. * Better Stomp Shake & Alternate BGs Made the stomp shake look MUCH better, and added an option to poses to automatically alternate between background types. * Sumo Pose anims v4 Animated most of all the remaining pose animations, missing the miss animations + glasses being thrown. Also will want to add a version where the glasses aren't thrown. Pig? * Sumo Pose anims v4.5 Added the missing miss animations. Added the glasses actually being thrown. Fixed a bug with head layering w/ the Look at Camera event. Fixed some other bugs that aren't important. * New Icon i made it myself * Sumo Pose anims v4.9 You can now toggle if the blue sumo bro will throw his glasses on the finale pose. Also changed selecting the pose type from an integer slider to a dropdown menu. You can also now change which direction the sumo brothers begin stomping in. * Sumo Pose anims v5 D se dab * Finalizing stuff Changed ALL the animations (minus InuTweet) to use linear interpolation instead of the default setting since that's what megamix does afaik. Combined the two sumohead animators into one just to allow for more play animation shenanigans. Assigned all the sumo assets to a new ctrsumou asset bundle to get ready for packing it all up. Added new nerd bg because Mage just happened to make one * Bug Fixed + Tweaks + Finish Fixed a bug where the game would end up cueing inputs that extended into other games. It wouldn't do anything until you went back to Sumo Brothers where all those extra cues would run the frame the game loaded. Tweaked all the BG sliding in animations to be accurate to the original game. I started implementing asset bundles, but for some reason actually using them breaks the Blue Sumo Bro's animations for *some* reason. I forgot to include this in *one* of the previous change notes, but you can now change which direction the Bros start stomping in. * Kill reference images Removed ALL of the reference images from the files there were like 135 images
2024-04-16 01:45:56 +00:00
//new BeatAction.Action(beat, delegate { print("look"); }),
Sumo brothers (#706) * Lockstep fansodnason * More Lockstep Implemented the new sprites (still needs work). Added new Icon. * More lockstep stuff i have no clue * Animation Tweaking I fiddled around with numbers weeeeeeeeeeeeeeee * Merge branch 'master' of https://github.com/RaffyTaffy14/HS * Background Has basic background * End Pose Start Adds the End Pose cue's tweeting sound (took so long but felt so cool) * Inu Sensei Start Inu Sensei added to scene. He can bop, crouch, or do neither * Temp Sumo Brothers Icon Made by Donfen * Inu Sensei Tweeting Inu Sensei now does his animation during the duration of the End Pose cue. * Crouch Block Rework Reworked crouch block to be a stretchable cue instead of a toggle (like KM prepare stance) * Bop Block Rework Bop block reworked to be a toggle. Also made a few minor tweaks to random things. * Added the Brothers The Sumo Brothers from Sumo Brothers are now in Sumo Brothers (minus the sumo) * Imported Upscaled Sumou_BG Higher resolution background and Inu Sensei sprites. * Imported REAL Upscaled Sumou_BG oops * Slap & Stomp Signals the domg buncus and tink tonks * Twiddling my Thumbs Random, Insignificant changes to random things in the code * idk random cleanup after I finally got HS to not be in shambles * more stuff dunno * Input for Pose this should not have taken this long * uh waste of 4gb atm, need 4gb atm, may need this not atm * Modernized Bops & WIP Stomps/Slaps Made the bop system to have automatic/stretchy settings like all new games. Also got a WIP implementation of stomping/slapping * quite honest i do not know let's just update HS * Prepare Slap Animation Prepare Slap animation has been animated and implemented * Sumo Prefab some stuff went down yesterday when updating the fork that involved the sumo prefab randomly downgrading to an older version, so I'm hoping that this commit will make sure that the current prefab wont just vanish into oblivion * Slapping Animation v1 Spent a few hours animating the front-hand slapping animation. Also added a "Look at Camera" event that makes the brotheren look at the camera while slapping. * Stomping Animations All stomp and stomp prepare animations are animated and coded into the game (except for the miss one) * Slapping Animation v2 finally animated the alternate slapping animation where those sumo brothers slap with their other hand * Slapping to Stomping Transition Added the slapping animation for when the Bros transition from slapping to stomping as well as all the accompanying code to get it to function. Also tweaked the two other slapping animations to fix the interpolation of those speed lines. * Inu Sensei Complete Added redone inu sensei spritesheet (thanks Mage!), animated all inu sensei animations, and coded all the inu sensei functionality. This is all really coming together now * Sumo Miss anims & more Added the Slap/Stomp miss animations. Coded the ability to whiff inputs. Replaced all the SFX with Kievit-approved rips. Added the little slap impact effect for successful slap inputs. Getting ready to make stomps pretty. Fixed misc bugs. * Sumo Pose anims & more Added the first set of pose animations. Also added animations for transitioning from posing to something else. Stomps aint getting pretty this time. Fixed misc bugs. * Sumo Pose anims v2 Animated the whole 2nd set of sumo pose animations. Fixed some various bugs with poses. Added a random setting for the poses (although it doesn't work well with only 2 poses). Getting ready for the PR * Random Bug Fixes Fixed random pose option, fixed an animation that accidentally left loop on, and added monologue. Getting ready for pr in a few days. * New Icon & Bug Fixes Added a shiny new icon made by Seanski2, fixed a bug about poses in tap mode being a bit bugged and fixed the Slap-to-Stomp slap animation being able to be played too soon. --------- Co-authored-by: minenice55 <star.elementa@gmail.com>
2024-02-19 01:25:26 +00:00
new BeatAction.Action(beat + length, delegate { lookingAtCamera = false; }),
new BeatAction.Action(beat + length, delegate { if (sumoState == SumoState.Slap) sumoBrotherPHead.DoScaledAnimationAsync("SumoPSlap", 0.5f); }),
new BeatAction.Action(beat + length, delegate { if (sumoState == SumoState.Slap) sumoBrotherGHead.DoScaledAnimationAsync("SumoGSlap", 0.5f); }),
Sumo brothers is FINISHED* (#867) * Pose Backgrounds The cool backgrounds that appear on a successful pose are now fully added. Also implemented the new upscales. * Stomp Camera Shake The way it is coded is not good at all, but the stomp shakes look *ok* when the game runs at triple digit tempos. * Better Stomp Shake & Alternate BGs Made the stomp shake look MUCH better, and added an option to poses to automatically alternate between background types. * Sumo Pose anims v4 Animated most of all the remaining pose animations, missing the miss animations + glasses being thrown. Also will want to add a version where the glasses aren't thrown. Pig? * Sumo Pose anims v4.5 Added the missing miss animations. Added the glasses actually being thrown. Fixed a bug with head layering w/ the Look at Camera event. Fixed some other bugs that aren't important. * New Icon i made it myself * Sumo Pose anims v4.9 You can now toggle if the blue sumo bro will throw his glasses on the finale pose. Also changed selecting the pose type from an integer slider to a dropdown menu. You can also now change which direction the sumo brothers begin stomping in. * Sumo Pose anims v5 D se dab * Finalizing stuff Changed ALL the animations (minus InuTweet) to use linear interpolation instead of the default setting since that's what megamix does afaik. Combined the two sumohead animators into one just to allow for more play animation shenanigans. Assigned all the sumo assets to a new ctrsumou asset bundle to get ready for packing it all up. Added new nerd bg because Mage just happened to make one * Bug Fixed + Tweaks + Finish Fixed a bug where the game would end up cueing inputs that extended into other games. It wouldn't do anything until you went back to Sumo Brothers where all those extra cues would run the frame the game loaded. Tweaked all the BG sliding in animations to be accurate to the original game. I started implementing asset bundles, but for some reason actually using them breaks the Blue Sumo Bro's animations for *some* reason. I forgot to include this in *one* of the previous change notes, but you can now change which direction the Bros start stomping in. * Kill reference images Removed ALL of the reference images from the files there were like 135 images
2024-04-16 01:45:56 +00:00
//new BeatAction.Action(beat + length, delegate { print("lookun"); })
Sumo brothers (#706) * Lockstep fansodnason * More Lockstep Implemented the new sprites (still needs work). Added new Icon. * More lockstep stuff i have no clue * Animation Tweaking I fiddled around with numbers weeeeeeeeeeeeeeee * Merge branch 'master' of https://github.com/RaffyTaffy14/HS * Background Has basic background * End Pose Start Adds the End Pose cue's tweeting sound (took so long but felt so cool) * Inu Sensei Start Inu Sensei added to scene. He can bop, crouch, or do neither * Temp Sumo Brothers Icon Made by Donfen * Inu Sensei Tweeting Inu Sensei now does his animation during the duration of the End Pose cue. * Crouch Block Rework Reworked crouch block to be a stretchable cue instead of a toggle (like KM prepare stance) * Bop Block Rework Bop block reworked to be a toggle. Also made a few minor tweaks to random things. * Added the Brothers The Sumo Brothers from Sumo Brothers are now in Sumo Brothers (minus the sumo) * Imported Upscaled Sumou_BG Higher resolution background and Inu Sensei sprites. * Imported REAL Upscaled Sumou_BG oops * Slap & Stomp Signals the domg buncus and tink tonks * Twiddling my Thumbs Random, Insignificant changes to random things in the code * idk random cleanup after I finally got HS to not be in shambles * more stuff dunno * Input for Pose this should not have taken this long * uh waste of 4gb atm, need 4gb atm, may need this not atm * Modernized Bops & WIP Stomps/Slaps Made the bop system to have automatic/stretchy settings like all new games. Also got a WIP implementation of stomping/slapping * quite honest i do not know let's just update HS * Prepare Slap Animation Prepare Slap animation has been animated and implemented * Sumo Prefab some stuff went down yesterday when updating the fork that involved the sumo prefab randomly downgrading to an older version, so I'm hoping that this commit will make sure that the current prefab wont just vanish into oblivion * Slapping Animation v1 Spent a few hours animating the front-hand slapping animation. Also added a "Look at Camera" event that makes the brotheren look at the camera while slapping. * Stomping Animations All stomp and stomp prepare animations are animated and coded into the game (except for the miss one) * Slapping Animation v2 finally animated the alternate slapping animation where those sumo brothers slap with their other hand * Slapping to Stomping Transition Added the slapping animation for when the Bros transition from slapping to stomping as well as all the accompanying code to get it to function. Also tweaked the two other slapping animations to fix the interpolation of those speed lines. * Inu Sensei Complete Added redone inu sensei spritesheet (thanks Mage!), animated all inu sensei animations, and coded all the inu sensei functionality. This is all really coming together now * Sumo Miss anims & more Added the Slap/Stomp miss animations. Coded the ability to whiff inputs. Replaced all the SFX with Kievit-approved rips. Added the little slap impact effect for successful slap inputs. Getting ready to make stomps pretty. Fixed misc bugs. * Sumo Pose anims & more Added the first set of pose animations. Also added animations for transitioning from posing to something else. Stomps aint getting pretty this time. Fixed misc bugs. * Sumo Pose anims v2 Animated the whole 2nd set of sumo pose animations. Fixed some various bugs with poses. Added a random setting for the poses (although it doesn't work well with only 2 poses). Getting ready for the PR * Random Bug Fixes Fixed random pose option, fixed an animation that accidentally left loop on, and added monologue. Getting ready for pr in a few days. * New Icon & Bug Fixes Added a shiny new icon made by Seanski2, fixed a bug about poses in tap mode being a bit bugged and fixed the Slap-to-Stomp slap animation being able to be played too soon. --------- Co-authored-by: minenice55 <star.elementa@gmail.com>
2024-02-19 01:25:26 +00:00
});
}
}
Sumo brothers is FINISHED* (#867) * Pose Backgrounds The cool backgrounds that appear on a successful pose are now fully added. Also implemented the new upscales. * Stomp Camera Shake The way it is coded is not good at all, but the stomp shakes look *ok* when the game runs at triple digit tempos. * Better Stomp Shake & Alternate BGs Made the stomp shake look MUCH better, and added an option to poses to automatically alternate between background types. * Sumo Pose anims v4 Animated most of all the remaining pose animations, missing the miss animations + glasses being thrown. Also will want to add a version where the glasses aren't thrown. Pig? * Sumo Pose anims v4.5 Added the missing miss animations. Added the glasses actually being thrown. Fixed a bug with head layering w/ the Look at Camera event. Fixed some other bugs that aren't important. * New Icon i made it myself * Sumo Pose anims v4.9 You can now toggle if the blue sumo bro will throw his glasses on the finale pose. Also changed selecting the pose type from an integer slider to a dropdown menu. You can also now change which direction the sumo brothers begin stomping in. * Sumo Pose anims v5 D se dab * Finalizing stuff Changed ALL the animations (minus InuTweet) to use linear interpolation instead of the default setting since that's what megamix does afaik. Combined the two sumohead animators into one just to allow for more play animation shenanigans. Assigned all the sumo assets to a new ctrsumou asset bundle to get ready for packing it all up. Added new nerd bg because Mage just happened to make one * Bug Fixed + Tweaks + Finish Fixed a bug where the game would end up cueing inputs that extended into other games. It wouldn't do anything until you went back to Sumo Brothers where all those extra cues would run the frame the game loaded. Tweaked all the BG sliding in animations to be accurate to the original game. I started implementing asset bundles, but for some reason actually using them breaks the Blue Sumo Bro's animations for *some* reason. I forgot to include this in *one* of the previous change notes, but you can now change which direction the Bros start stomping in. * Kill reference images Removed ALL of the reference images from the files there were like 135 images
2024-04-16 01:45:56 +00:00
public void EndPose(double beat, bool randomPose, int poseType, int backgroundType, bool confetti, bool alternateBG, bool throwGlasses)
Sumo brothers (#706) * Lockstep fansodnason * More Lockstep Implemented the new sprites (still needs work). Added new Icon. * More lockstep stuff i have no clue * Animation Tweaking I fiddled around with numbers weeeeeeeeeeeeeeee * Merge branch 'master' of https://github.com/RaffyTaffy14/HS * Background Has basic background * End Pose Start Adds the End Pose cue's tweeting sound (took so long but felt so cool) * Inu Sensei Start Inu Sensei added to scene. He can bop, crouch, or do neither * Temp Sumo Brothers Icon Made by Donfen * Inu Sensei Tweeting Inu Sensei now does his animation during the duration of the End Pose cue. * Crouch Block Rework Reworked crouch block to be a stretchable cue instead of a toggle (like KM prepare stance) * Bop Block Rework Bop block reworked to be a toggle. Also made a few minor tweaks to random things. * Added the Brothers The Sumo Brothers from Sumo Brothers are now in Sumo Brothers (minus the sumo) * Imported Upscaled Sumou_BG Higher resolution background and Inu Sensei sprites. * Imported REAL Upscaled Sumou_BG oops * Slap & Stomp Signals the domg buncus and tink tonks * Twiddling my Thumbs Random, Insignificant changes to random things in the code * idk random cleanup after I finally got HS to not be in shambles * more stuff dunno * Input for Pose this should not have taken this long * uh waste of 4gb atm, need 4gb atm, may need this not atm * Modernized Bops & WIP Stomps/Slaps Made the bop system to have automatic/stretchy settings like all new games. Also got a WIP implementation of stomping/slapping * quite honest i do not know let's just update HS * Prepare Slap Animation Prepare Slap animation has been animated and implemented * Sumo Prefab some stuff went down yesterday when updating the fork that involved the sumo prefab randomly downgrading to an older version, so I'm hoping that this commit will make sure that the current prefab wont just vanish into oblivion * Slapping Animation v1 Spent a few hours animating the front-hand slapping animation. Also added a "Look at Camera" event that makes the brotheren look at the camera while slapping. * Stomping Animations All stomp and stomp prepare animations are animated and coded into the game (except for the miss one) * Slapping Animation v2 finally animated the alternate slapping animation where those sumo brothers slap with their other hand * Slapping to Stomping Transition Added the slapping animation for when the Bros transition from slapping to stomping as well as all the accompanying code to get it to function. Also tweaked the two other slapping animations to fix the interpolation of those speed lines. * Inu Sensei Complete Added redone inu sensei spritesheet (thanks Mage!), animated all inu sensei animations, and coded all the inu sensei functionality. This is all really coming together now * Sumo Miss anims & more Added the Slap/Stomp miss animations. Coded the ability to whiff inputs. Replaced all the SFX with Kievit-approved rips. Added the little slap impact effect for successful slap inputs. Getting ready to make stomps pretty. Fixed misc bugs. * Sumo Pose anims & more Added the first set of pose animations. Also added animations for transitioning from posing to something else. Stomps aint getting pretty this time. Fixed misc bugs. * Sumo Pose anims v2 Animated the whole 2nd set of sumo pose animations. Fixed some various bugs with poses. Added a random setting for the poses (although it doesn't work well with only 2 poses). Getting ready for the PR * Random Bug Fixes Fixed random pose option, fixed an animation that accidentally left loop on, and added monologue. Getting ready for pr in a few days. * New Icon & Bug Fixes Added a shiny new icon made by Seanski2, fixed a bug about poses in tap mode being a bit bugged and fixed the Slap-to-Stomp slap animation being able to be played too soon. --------- Co-authored-by: minenice55 <star.elementa@gmail.com>
2024-02-19 01:25:26 +00:00
{
if (cueCurrentlyActive)
{ return; }
CueRunning(beat + 3.5);
sumoStatePrevious = sumoState;
sumoState = SumoState.Pose;
Sumo brothers is FINISHED* (#867) * Pose Backgrounds The cool backgrounds that appear on a successful pose are now fully added. Also implemented the new upscales. * Stomp Camera Shake The way it is coded is not good at all, but the stomp shakes look *ok* when the game runs at triple digit tempos. * Better Stomp Shake & Alternate BGs Made the stomp shake look MUCH better, and added an option to poses to automatically alternate between background types. * Sumo Pose anims v4 Animated most of all the remaining pose animations, missing the miss animations + glasses being thrown. Also will want to add a version where the glasses aren't thrown. Pig? * Sumo Pose anims v4.5 Added the missing miss animations. Added the glasses actually being thrown. Fixed a bug with head layering w/ the Look at Camera event. Fixed some other bugs that aren't important. * New Icon i made it myself * Sumo Pose anims v4.9 You can now toggle if the blue sumo bro will throw his glasses on the finale pose. Also changed selecting the pose type from an integer slider to a dropdown menu. You can also now change which direction the sumo brothers begin stomping in. * Sumo Pose anims v5 D se dab * Finalizing stuff Changed ALL the animations (minus InuTweet) to use linear interpolation instead of the default setting since that's what megamix does afaik. Combined the two sumohead animators into one just to allow for more play animation shenanigans. Assigned all the sumo assets to a new ctrsumou asset bundle to get ready for packing it all up. Added new nerd bg because Mage just happened to make one * Bug Fixed + Tweaks + Finish Fixed a bug where the game would end up cueing inputs that extended into other games. It wouldn't do anything until you went back to Sumo Brothers where all those extra cues would run the frame the game loaded. Tweaked all the BG sliding in animations to be accurate to the original game. I started implementing asset bundles, but for some reason actually using them breaks the Blue Sumo Bro's animations for *some* reason. I forgot to include this in *one* of the previous change notes, but you can now change which direction the Bros start stomping in. * Kill reference images Removed ALL of the reference images from the files there were like 135 images
2024-04-16 01:45:56 +00:00
if (sumoPoseTypeNext > 0 & sumoPoseTypeNext < 4 & randomPose) {
poseType = UnityEngine.Random.Range(1, 3);
Sumo brothers (#706) * Lockstep fansodnason * More Lockstep Implemented the new sprites (still needs work). Added new Icon. * More lockstep stuff i have no clue * Animation Tweaking I fiddled around with numbers weeeeeeeeeeeeeeee * Merge branch 'master' of https://github.com/RaffyTaffy14/HS * Background Has basic background * End Pose Start Adds the End Pose cue's tweeting sound (took so long but felt so cool) * Inu Sensei Start Inu Sensei added to scene. He can bop, crouch, or do neither * Temp Sumo Brothers Icon Made by Donfen * Inu Sensei Tweeting Inu Sensei now does his animation during the duration of the End Pose cue. * Crouch Block Rework Reworked crouch block to be a stretchable cue instead of a toggle (like KM prepare stance) * Bop Block Rework Bop block reworked to be a toggle. Also made a few minor tweaks to random things. * Added the Brothers The Sumo Brothers from Sumo Brothers are now in Sumo Brothers (minus the sumo) * Imported Upscaled Sumou_BG Higher resolution background and Inu Sensei sprites. * Imported REAL Upscaled Sumou_BG oops * Slap & Stomp Signals the domg buncus and tink tonks * Twiddling my Thumbs Random, Insignificant changes to random things in the code * idk random cleanup after I finally got HS to not be in shambles * more stuff dunno * Input for Pose this should not have taken this long * uh waste of 4gb atm, need 4gb atm, may need this not atm * Modernized Bops & WIP Stomps/Slaps Made the bop system to have automatic/stretchy settings like all new games. Also got a WIP implementation of stomping/slapping * quite honest i do not know let's just update HS * Prepare Slap Animation Prepare Slap animation has been animated and implemented * Sumo Prefab some stuff went down yesterday when updating the fork that involved the sumo prefab randomly downgrading to an older version, so I'm hoping that this commit will make sure that the current prefab wont just vanish into oblivion * Slapping Animation v1 Spent a few hours animating the front-hand slapping animation. Also added a "Look at Camera" event that makes the brotheren look at the camera while slapping. * Stomping Animations All stomp and stomp prepare animations are animated and coded into the game (except for the miss one) * Slapping Animation v2 finally animated the alternate slapping animation where those sumo brothers slap with their other hand * Slapping to Stomping Transition Added the slapping animation for when the Bros transition from slapping to stomping as well as all the accompanying code to get it to function. Also tweaked the two other slapping animations to fix the interpolation of those speed lines. * Inu Sensei Complete Added redone inu sensei spritesheet (thanks Mage!), animated all inu sensei animations, and coded all the inu sensei functionality. This is all really coming together now * Sumo Miss anims & more Added the Slap/Stomp miss animations. Coded the ability to whiff inputs. Replaced all the SFX with Kievit-approved rips. Added the little slap impact effect for successful slap inputs. Getting ready to make stomps pretty. Fixed misc bugs. * Sumo Pose anims & more Added the first set of pose animations. Also added animations for transitioning from posing to something else. Stomps aint getting pretty this time. Fixed misc bugs. * Sumo Pose anims v2 Animated the whole 2nd set of sumo pose animations. Fixed some various bugs with poses. Added a random setting for the poses (although it doesn't work well with only 2 poses). Getting ready for the PR * Random Bug Fixes Fixed random pose option, fixed an animation that accidentally left loop on, and added monologue. Getting ready for pr in a few days. * New Icon & Bug Fixes Added a shiny new icon made by Seanski2, fixed a bug about poses in tap mode being a bit bugged and fixed the Slap-to-Stomp slap animation being able to be played too soon. --------- Co-authored-by: minenice55 <star.elementa@gmail.com>
2024-02-19 01:25:26 +00:00
if (poseType >= sumoPoseTypeNext) poseType++;
} else if (randomPose) {
poseType = UnityEngine.Random.Range(1, 4);
Sumo brothers (#706) * Lockstep fansodnason * More Lockstep Implemented the new sprites (still needs work). Added new Icon. * More lockstep stuff i have no clue * Animation Tweaking I fiddled around with numbers weeeeeeeeeeeeeeee * Merge branch 'master' of https://github.com/RaffyTaffy14/HS * Background Has basic background * End Pose Start Adds the End Pose cue's tweeting sound (took so long but felt so cool) * Inu Sensei Start Inu Sensei added to scene. He can bop, crouch, or do neither * Temp Sumo Brothers Icon Made by Donfen * Inu Sensei Tweeting Inu Sensei now does his animation during the duration of the End Pose cue. * Crouch Block Rework Reworked crouch block to be a stretchable cue instead of a toggle (like KM prepare stance) * Bop Block Rework Bop block reworked to be a toggle. Also made a few minor tweaks to random things. * Added the Brothers The Sumo Brothers from Sumo Brothers are now in Sumo Brothers (minus the sumo) * Imported Upscaled Sumou_BG Higher resolution background and Inu Sensei sprites. * Imported REAL Upscaled Sumou_BG oops * Slap & Stomp Signals the domg buncus and tink tonks * Twiddling my Thumbs Random, Insignificant changes to random things in the code * idk random cleanup after I finally got HS to not be in shambles * more stuff dunno * Input for Pose this should not have taken this long * uh waste of 4gb atm, need 4gb atm, may need this not atm * Modernized Bops & WIP Stomps/Slaps Made the bop system to have automatic/stretchy settings like all new games. Also got a WIP implementation of stomping/slapping * quite honest i do not know let's just update HS * Prepare Slap Animation Prepare Slap animation has been animated and implemented * Sumo Prefab some stuff went down yesterday when updating the fork that involved the sumo prefab randomly downgrading to an older version, so I'm hoping that this commit will make sure that the current prefab wont just vanish into oblivion * Slapping Animation v1 Spent a few hours animating the front-hand slapping animation. Also added a "Look at Camera" event that makes the brotheren look at the camera while slapping. * Stomping Animations All stomp and stomp prepare animations are animated and coded into the game (except for the miss one) * Slapping Animation v2 finally animated the alternate slapping animation where those sumo brothers slap with their other hand * Slapping to Stomping Transition Added the slapping animation for when the Bros transition from slapping to stomping as well as all the accompanying code to get it to function. Also tweaked the two other slapping animations to fix the interpolation of those speed lines. * Inu Sensei Complete Added redone inu sensei spritesheet (thanks Mage!), animated all inu sensei animations, and coded all the inu sensei functionality. This is all really coming together now * Sumo Miss anims & more Added the Slap/Stomp miss animations. Coded the ability to whiff inputs. Replaced all the SFX with Kievit-approved rips. Added the little slap impact effect for successful slap inputs. Getting ready to make stomps pretty. Fixed misc bugs. * Sumo Pose anims & more Added the first set of pose animations. Also added animations for transitioning from posing to something else. Stomps aint getting pretty this time. Fixed misc bugs. * Sumo Pose anims v2 Animated the whole 2nd set of sumo pose animations. Fixed some various bugs with poses. Added a random setting for the poses (although it doesn't work well with only 2 poses). Getting ready for the PR * Random Bug Fixes Fixed random pose option, fixed an animation that accidentally left loop on, and added monologue. Getting ready for pr in a few days. * New Icon & Bug Fixes Added a shiny new icon made by Seanski2, fixed a bug about poses in tap mode being a bit bugged and fixed the Slap-to-Stomp slap animation being able to be played too soon. --------- Co-authored-by: minenice55 <star.elementa@gmail.com>
2024-02-19 01:25:26 +00:00
}
Sumo brothers is FINISHED* (#867) * Pose Backgrounds The cool backgrounds that appear on a successful pose are now fully added. Also implemented the new upscales. * Stomp Camera Shake The way it is coded is not good at all, but the stomp shakes look *ok* when the game runs at triple digit tempos. * Better Stomp Shake & Alternate BGs Made the stomp shake look MUCH better, and added an option to poses to automatically alternate between background types. * Sumo Pose anims v4 Animated most of all the remaining pose animations, missing the miss animations + glasses being thrown. Also will want to add a version where the glasses aren't thrown. Pig? * Sumo Pose anims v4.5 Added the missing miss animations. Added the glasses actually being thrown. Fixed a bug with head layering w/ the Look at Camera event. Fixed some other bugs that aren't important. * New Icon i made it myself * Sumo Pose anims v4.9 You can now toggle if the blue sumo bro will throw his glasses on the finale pose. Also changed selecting the pose type from an integer slider to a dropdown menu. You can also now change which direction the sumo brothers begin stomping in. * Sumo Pose anims v5 D se dab * Finalizing stuff Changed ALL the animations (minus InuTweet) to use linear interpolation instead of the default setting since that's what megamix does afaik. Combined the two sumohead animators into one just to allow for more play animation shenanigans. Assigned all the sumo assets to a new ctrsumou asset bundle to get ready for packing it all up. Added new nerd bg because Mage just happened to make one * Bug Fixed + Tweaks + Finish Fixed a bug where the game would end up cueing inputs that extended into other games. It wouldn't do anything until you went back to Sumo Brothers where all those extra cues would run the frame the game loaded. Tweaked all the BG sliding in animations to be accurate to the original game. I started implementing asset bundles, but for some reason actually using them breaks the Blue Sumo Bro's animations for *some* reason. I forgot to include this in *one* of the previous change notes, but you can now change which direction the Bros start stomping in. * Kill reference images Removed ALL of the reference images from the files there were like 135 images
2024-04-16 01:45:56 +00:00
if (alternateBG) {
if (bgTypeNext != BGType.GreatWave) { backgroundType = 0; } else {
backgroundType = 1; }
}
if (!throwGlasses & poseType == 4) {
poseType = 5;
}
Sumo brothers (#706) * Lockstep fansodnason * More Lockstep Implemented the new sprites (still needs work). Added new Icon. * More lockstep stuff i have no clue * Animation Tweaking I fiddled around with numbers weeeeeeeeeeeeeeee * Merge branch 'master' of https://github.com/RaffyTaffy14/HS * Background Has basic background * End Pose Start Adds the End Pose cue's tweeting sound (took so long but felt so cool) * Inu Sensei Start Inu Sensei added to scene. He can bop, crouch, or do neither * Temp Sumo Brothers Icon Made by Donfen * Inu Sensei Tweeting Inu Sensei now does his animation during the duration of the End Pose cue. * Crouch Block Rework Reworked crouch block to be a stretchable cue instead of a toggle (like KM prepare stance) * Bop Block Rework Bop block reworked to be a toggle. Also made a few minor tweaks to random things. * Added the Brothers The Sumo Brothers from Sumo Brothers are now in Sumo Brothers (minus the sumo) * Imported Upscaled Sumou_BG Higher resolution background and Inu Sensei sprites. * Imported REAL Upscaled Sumou_BG oops * Slap & Stomp Signals the domg buncus and tink tonks * Twiddling my Thumbs Random, Insignificant changes to random things in the code * idk random cleanup after I finally got HS to not be in shambles * more stuff dunno * Input for Pose this should not have taken this long * uh waste of 4gb atm, need 4gb atm, may need this not atm * Modernized Bops & WIP Stomps/Slaps Made the bop system to have automatic/stretchy settings like all new games. Also got a WIP implementation of stomping/slapping * quite honest i do not know let's just update HS * Prepare Slap Animation Prepare Slap animation has been animated and implemented * Sumo Prefab some stuff went down yesterday when updating the fork that involved the sumo prefab randomly downgrading to an older version, so I'm hoping that this commit will make sure that the current prefab wont just vanish into oblivion * Slapping Animation v1 Spent a few hours animating the front-hand slapping animation. Also added a "Look at Camera" event that makes the brotheren look at the camera while slapping. * Stomping Animations All stomp and stomp prepare animations are animated and coded into the game (except for the miss one) * Slapping Animation v2 finally animated the alternate slapping animation where those sumo brothers slap with their other hand * Slapping to Stomping Transition Added the slapping animation for when the Bros transition from slapping to stomping as well as all the accompanying code to get it to function. Also tweaked the two other slapping animations to fix the interpolation of those speed lines. * Inu Sensei Complete Added redone inu sensei spritesheet (thanks Mage!), animated all inu sensei animations, and coded all the inu sensei functionality. This is all really coming together now * Sumo Miss anims & more Added the Slap/Stomp miss animations. Coded the ability to whiff inputs. Replaced all the SFX with Kievit-approved rips. Added the little slap impact effect for successful slap inputs. Getting ready to make stomps pretty. Fixed misc bugs. * Sumo Pose anims & more Added the first set of pose animations. Also added animations for transitioning from posing to something else. Stomps aint getting pretty this time. Fixed misc bugs. * Sumo Pose anims v2 Animated the whole 2nd set of sumo pose animations. Fixed some various bugs with poses. Added a random setting for the poses (although it doesn't work well with only 2 poses). Getting ready for the PR * Random Bug Fixes Fixed random pose option, fixed an animation that accidentally left loop on, and added monologue. Getting ready for pr in a few days. * New Icon & Bug Fixes Added a shiny new icon made by Seanski2, fixed a bug about poses in tap mode being a bit bugged and fixed the Slap-to-Stomp slap animation being able to be played too soon. --------- Co-authored-by: minenice55 <star.elementa@gmail.com>
2024-02-19 01:25:26 +00:00
var cond = Conductor.instance;
ScheduleInput(beat, 4f, InputAction_Alt, PoseHit, PoseMiss, Nothing);
var tweet = SoundByte.PlayOneShotGame("sumoBrothers/posesignal", -1, 1f, 1f, true);
tweet.SetLoopParams(beat + 3, 0.05f);
BeatAction.New(instance, new List<BeatAction.Action>() {
new BeatAction.Action(beat, delegate { allowBopInu = false; }),
new BeatAction.Action(beat, delegate { inuSensei.DoScaledAnimationAsync("InuAlarm", 0.5f); }),
new BeatAction.Action(beat + 3, delegate { allowBopInu = true; }),
new BeatAction.Action(beat + 3, delegate { inuSensei.DoScaledAnimationAsync("InuIdle", 0.5f);; }),
new BeatAction.Action(beat + 3, delegate { if (goBopInu == true) inuSensei.DoScaledAnimationAsync("InuBop", 0.5f); }),
new BeatAction.Action(beat + 3.5, delegate { allowBopSumo = false; }),
new BeatAction.Action(beat + 3.5, delegate { sumoPoseTypeNext = poseType; }),
Sumo brothers is FINISHED* (#867) * Pose Backgrounds The cool backgrounds that appear on a successful pose are now fully added. Also implemented the new upscales. * Stomp Camera Shake The way it is coded is not good at all, but the stomp shakes look *ok* when the game runs at triple digit tempos. * Better Stomp Shake & Alternate BGs Made the stomp shake look MUCH better, and added an option to poses to automatically alternate between background types. * Sumo Pose anims v4 Animated most of all the remaining pose animations, missing the miss animations + glasses being thrown. Also will want to add a version where the glasses aren't thrown. Pig? * Sumo Pose anims v4.5 Added the missing miss animations. Added the glasses actually being thrown. Fixed a bug with head layering w/ the Look at Camera event. Fixed some other bugs that aren't important. * New Icon i made it myself * Sumo Pose anims v4.9 You can now toggle if the blue sumo bro will throw his glasses on the finale pose. Also changed selecting the pose type from an integer slider to a dropdown menu. You can also now change which direction the sumo brothers begin stomping in. * Sumo Pose anims v5 D se dab * Finalizing stuff Changed ALL the animations (minus InuTweet) to use linear interpolation instead of the default setting since that's what megamix does afaik. Combined the two sumohead animators into one just to allow for more play animation shenanigans. Assigned all the sumo assets to a new ctrsumou asset bundle to get ready for packing it all up. Added new nerd bg because Mage just happened to make one * Bug Fixed + Tweaks + Finish Fixed a bug where the game would end up cueing inputs that extended into other games. It wouldn't do anything until you went back to Sumo Brothers where all those extra cues would run the frame the game loaded. Tweaked all the BG sliding in animations to be accurate to the original game. I started implementing asset bundles, but for some reason actually using them breaks the Blue Sumo Bro's animations for *some* reason. I forgot to include this in *one* of the previous change notes, but you can now change which direction the Bros start stomping in. * Kill reference images Removed ALL of the reference images from the files there were like 135 images
2024-04-16 01:45:56 +00:00
new BeatAction.Action(beat + 3.5, delegate { bgTypeNext = (BGType)backgroundType; }),
Sumo brothers (#706) * Lockstep fansodnason * More Lockstep Implemented the new sprites (still needs work). Added new Icon. * More lockstep stuff i have no clue * Animation Tweaking I fiddled around with numbers weeeeeeeeeeeeeeee * Merge branch 'master' of https://github.com/RaffyTaffy14/HS * Background Has basic background * End Pose Start Adds the End Pose cue's tweeting sound (took so long but felt so cool) * Inu Sensei Start Inu Sensei added to scene. He can bop, crouch, or do neither * Temp Sumo Brothers Icon Made by Donfen * Inu Sensei Tweeting Inu Sensei now does his animation during the duration of the End Pose cue. * Crouch Block Rework Reworked crouch block to be a stretchable cue instead of a toggle (like KM prepare stance) * Bop Block Rework Bop block reworked to be a toggle. Also made a few minor tweaks to random things. * Added the Brothers The Sumo Brothers from Sumo Brothers are now in Sumo Brothers (minus the sumo) * Imported Upscaled Sumou_BG Higher resolution background and Inu Sensei sprites. * Imported REAL Upscaled Sumou_BG oops * Slap & Stomp Signals the domg buncus and tink tonks * Twiddling my Thumbs Random, Insignificant changes to random things in the code * idk random cleanup after I finally got HS to not be in shambles * more stuff dunno * Input for Pose this should not have taken this long * uh waste of 4gb atm, need 4gb atm, may need this not atm * Modernized Bops & WIP Stomps/Slaps Made the bop system to have automatic/stretchy settings like all new games. Also got a WIP implementation of stomping/slapping * quite honest i do not know let's just update HS * Prepare Slap Animation Prepare Slap animation has been animated and implemented * Sumo Prefab some stuff went down yesterday when updating the fork that involved the sumo prefab randomly downgrading to an older version, so I'm hoping that this commit will make sure that the current prefab wont just vanish into oblivion * Slapping Animation v1 Spent a few hours animating the front-hand slapping animation. Also added a "Look at Camera" event that makes the brotheren look at the camera while slapping. * Stomping Animations All stomp and stomp prepare animations are animated and coded into the game (except for the miss one) * Slapping Animation v2 finally animated the alternate slapping animation where those sumo brothers slap with their other hand * Slapping to Stomping Transition Added the slapping animation for when the Bros transition from slapping to stomping as well as all the accompanying code to get it to function. Also tweaked the two other slapping animations to fix the interpolation of those speed lines. * Inu Sensei Complete Added redone inu sensei spritesheet (thanks Mage!), animated all inu sensei animations, and coded all the inu sensei functionality. This is all really coming together now * Sumo Miss anims & more Added the Slap/Stomp miss animations. Coded the ability to whiff inputs. Replaced all the SFX with Kievit-approved rips. Added the little slap impact effect for successful slap inputs. Getting ready to make stomps pretty. Fixed misc bugs. * Sumo Pose anims & more Added the first set of pose animations. Also added animations for transitioning from posing to something else. Stomps aint getting pretty this time. Fixed misc bugs. * Sumo Pose anims v2 Animated the whole 2nd set of sumo pose animations. Fixed some various bugs with poses. Added a random setting for the poses (although it doesn't work well with only 2 poses). Getting ready for the PR * Random Bug Fixes Fixed random pose option, fixed an animation that accidentally left loop on, and added monologue. Getting ready for pr in a few days. * New Icon & Bug Fixes Added a shiny new icon made by Seanski2, fixed a bug about poses in tap mode being a bit bugged and fixed the Slap-to-Stomp slap animation being able to be played too soon. --------- Co-authored-by: minenice55 <star.elementa@gmail.com>
2024-02-19 01:25:26 +00:00
new BeatAction.Action(beat + 4, delegate { sumoStatePrevious = SumoState.Pose; }),
new BeatAction.Action(beat + 4.5, delegate { allowBopSumo = true; })
});
}
public void CueRunning(double beat)
{
cueCurrentlyActive = true;
cueCurrentlyActiveBeat = beat;
BeatAction.New(instance, new List<BeatAction.Action>()
{
new BeatAction.Action(beat, delegate { cueCurrentlyActive = false; })
});
}
Sumo brothers is FINISHED* (#867) * Pose Backgrounds The cool backgrounds that appear on a successful pose are now fully added. Also implemented the new upscales. * Stomp Camera Shake The way it is coded is not good at all, but the stomp shakes look *ok* when the game runs at triple digit tempos. * Better Stomp Shake & Alternate BGs Made the stomp shake look MUCH better, and added an option to poses to automatically alternate between background types. * Sumo Pose anims v4 Animated most of all the remaining pose animations, missing the miss animations + glasses being thrown. Also will want to add a version where the glasses aren't thrown. Pig? * Sumo Pose anims v4.5 Added the missing miss animations. Added the glasses actually being thrown. Fixed a bug with head layering w/ the Look at Camera event. Fixed some other bugs that aren't important. * New Icon i made it myself * Sumo Pose anims v4.9 You can now toggle if the blue sumo bro will throw his glasses on the finale pose. Also changed selecting the pose type from an integer slider to a dropdown menu. You can also now change which direction the sumo brothers begin stomping in. * Sumo Pose anims v5 D se dab * Finalizing stuff Changed ALL the animations (minus InuTweet) to use linear interpolation instead of the default setting since that's what megamix does afaik. Combined the two sumohead animators into one just to allow for more play animation shenanigans. Assigned all the sumo assets to a new ctrsumou asset bundle to get ready for packing it all up. Added new nerd bg because Mage just happened to make one * Bug Fixed + Tweaks + Finish Fixed a bug where the game would end up cueing inputs that extended into other games. It wouldn't do anything until you went back to Sumo Brothers where all those extra cues would run the frame the game loaded. Tweaked all the BG sliding in animations to be accurate to the original game. I started implementing asset bundles, but for some reason actually using them breaks the Blue Sumo Bro's animations for *some* reason. I forgot to include this in *one* of the previous change notes, but you can now change which direction the Bros start stomping in. * Kill reference images Removed ALL of the reference images from the files there were like 135 images
2024-04-16 01:45:56 +00:00
Sumo brothers (#706) * Lockstep fansodnason * More Lockstep Implemented the new sprites (still needs work). Added new Icon. * More lockstep stuff i have no clue * Animation Tweaking I fiddled around with numbers weeeeeeeeeeeeeeee * Merge branch 'master' of https://github.com/RaffyTaffy14/HS * Background Has basic background * End Pose Start Adds the End Pose cue's tweeting sound (took so long but felt so cool) * Inu Sensei Start Inu Sensei added to scene. He can bop, crouch, or do neither * Temp Sumo Brothers Icon Made by Donfen * Inu Sensei Tweeting Inu Sensei now does his animation during the duration of the End Pose cue. * Crouch Block Rework Reworked crouch block to be a stretchable cue instead of a toggle (like KM prepare stance) * Bop Block Rework Bop block reworked to be a toggle. Also made a few minor tweaks to random things. * Added the Brothers The Sumo Brothers from Sumo Brothers are now in Sumo Brothers (minus the sumo) * Imported Upscaled Sumou_BG Higher resolution background and Inu Sensei sprites. * Imported REAL Upscaled Sumou_BG oops * Slap & Stomp Signals the domg buncus and tink tonks * Twiddling my Thumbs Random, Insignificant changes to random things in the code * idk random cleanup after I finally got HS to not be in shambles * more stuff dunno * Input for Pose this should not have taken this long * uh waste of 4gb atm, need 4gb atm, may need this not atm * Modernized Bops & WIP Stomps/Slaps Made the bop system to have automatic/stretchy settings like all new games. Also got a WIP implementation of stomping/slapping * quite honest i do not know let's just update HS * Prepare Slap Animation Prepare Slap animation has been animated and implemented * Sumo Prefab some stuff went down yesterday when updating the fork that involved the sumo prefab randomly downgrading to an older version, so I'm hoping that this commit will make sure that the current prefab wont just vanish into oblivion * Slapping Animation v1 Spent a few hours animating the front-hand slapping animation. Also added a "Look at Camera" event that makes the brotheren look at the camera while slapping. * Stomping Animations All stomp and stomp prepare animations are animated and coded into the game (except for the miss one) * Slapping Animation v2 finally animated the alternate slapping animation where those sumo brothers slap with their other hand * Slapping to Stomping Transition Added the slapping animation for when the Bros transition from slapping to stomping as well as all the accompanying code to get it to function. Also tweaked the two other slapping animations to fix the interpolation of those speed lines. * Inu Sensei Complete Added redone inu sensei spritesheet (thanks Mage!), animated all inu sensei animations, and coded all the inu sensei functionality. This is all really coming together now * Sumo Miss anims & more Added the Slap/Stomp miss animations. Coded the ability to whiff inputs. Replaced all the SFX with Kievit-approved rips. Added the little slap impact effect for successful slap inputs. Getting ready to make stomps pretty. Fixed misc bugs. * Sumo Pose anims & more Added the first set of pose animations. Also added animations for transitioning from posing to something else. Stomps aint getting pretty this time. Fixed misc bugs. * Sumo Pose anims v2 Animated the whole 2nd set of sumo pose animations. Fixed some various bugs with poses. Added a random setting for the poses (although it doesn't work well with only 2 poses). Getting ready for the PR * Random Bug Fixes Fixed random pose option, fixed an animation that accidentally left loop on, and added monologue. Getting ready for pr in a few days. * New Icon & Bug Fixes Added a shiny new icon made by Seanski2, fixed a bug about poses in tap mode being a bit bugged and fixed the Slap-to-Stomp slap animation being able to be played too soon. --------- Co-authored-by: minenice55 <star.elementa@gmail.com>
2024-02-19 01:25:26 +00:00
void PoseHit(PlayerActionEvent caller, float state)
{
sumoPoseTypeCurrent = sumoPoseTypeNext.ToString();
sumoPoseType = sumoPoseTypeNext;
Sumo brothers is FINISHED* (#867) * Pose Backgrounds The cool backgrounds that appear on a successful pose are now fully added. Also implemented the new upscales. * Stomp Camera Shake The way it is coded is not good at all, but the stomp shakes look *ok* when the game runs at triple digit tempos. * Better Stomp Shake & Alternate BGs Made the stomp shake look MUCH better, and added an option to poses to automatically alternate between background types. * Sumo Pose anims v4 Animated most of all the remaining pose animations, missing the miss animations + glasses being thrown. Also will want to add a version where the glasses aren't thrown. Pig? * Sumo Pose anims v4.5 Added the missing miss animations. Added the glasses actually being thrown. Fixed a bug with head layering w/ the Look at Camera event. Fixed some other bugs that aren't important. * New Icon i made it myself * Sumo Pose anims v4.9 You can now toggle if the blue sumo bro will throw his glasses on the finale pose. Also changed selecting the pose type from an integer slider to a dropdown menu. You can also now change which direction the sumo brothers begin stomping in. * Sumo Pose anims v5 D se dab * Finalizing stuff Changed ALL the animations (minus InuTweet) to use linear interpolation instead of the default setting since that's what megamix does afaik. Combined the two sumohead animators into one just to allow for more play animation shenanigans. Assigned all the sumo assets to a new ctrsumou asset bundle to get ready for packing it all up. Added new nerd bg because Mage just happened to make one * Bug Fixed + Tweaks + Finish Fixed a bug where the game would end up cueing inputs that extended into other games. It wouldn't do anything until you went back to Sumo Brothers where all those extra cues would run the frame the game loaded. Tweaked all the BG sliding in animations to be accurate to the original game. I started implementing asset bundles, but for some reason actually using them breaks the Blue Sumo Bro's animations for *some* reason. I forgot to include this in *one* of the previous change notes, but you can now change which direction the Bros start stomping in. * Kill reference images Removed ALL of the reference images from the files there were like 135 images
2024-04-16 01:45:56 +00:00
if (sumoPoseType == 4) { glasses.DoScaledAnimationAsync("glassesThrow", 0.5f); }
if (sumoPoseType == 5)
{
sumoBrotherG.DoScaledAnimationAsync("SumoPoseG4Alt", 0.5f);
sumoBrotherGHead.DoScaledAnimationAsync("SumoGPoseAlt4", 0.5f);
sumoPoseType = 4;
sumoPoseTypeNext = 4;
sumoPoseTypeCurrent = "4";
} else {
Sumo brothers (#706) * Lockstep fansodnason * More Lockstep Implemented the new sprites (still needs work). Added new Icon. * More lockstep stuff i have no clue * Animation Tweaking I fiddled around with numbers weeeeeeeeeeeeeeee * Merge branch 'master' of https://github.com/RaffyTaffy14/HS * Background Has basic background * End Pose Start Adds the End Pose cue's tweeting sound (took so long but felt so cool) * Inu Sensei Start Inu Sensei added to scene. He can bop, crouch, or do neither * Temp Sumo Brothers Icon Made by Donfen * Inu Sensei Tweeting Inu Sensei now does his animation during the duration of the End Pose cue. * Crouch Block Rework Reworked crouch block to be a stretchable cue instead of a toggle (like KM prepare stance) * Bop Block Rework Bop block reworked to be a toggle. Also made a few minor tweaks to random things. * Added the Brothers The Sumo Brothers from Sumo Brothers are now in Sumo Brothers (minus the sumo) * Imported Upscaled Sumou_BG Higher resolution background and Inu Sensei sprites. * Imported REAL Upscaled Sumou_BG oops * Slap & Stomp Signals the domg buncus and tink tonks * Twiddling my Thumbs Random, Insignificant changes to random things in the code * idk random cleanup after I finally got HS to not be in shambles * more stuff dunno * Input for Pose this should not have taken this long * uh waste of 4gb atm, need 4gb atm, may need this not atm * Modernized Bops & WIP Stomps/Slaps Made the bop system to have automatic/stretchy settings like all new games. Also got a WIP implementation of stomping/slapping * quite honest i do not know let's just update HS * Prepare Slap Animation Prepare Slap animation has been animated and implemented * Sumo Prefab some stuff went down yesterday when updating the fork that involved the sumo prefab randomly downgrading to an older version, so I'm hoping that this commit will make sure that the current prefab wont just vanish into oblivion * Slapping Animation v1 Spent a few hours animating the front-hand slapping animation. Also added a "Look at Camera" event that makes the brotheren look at the camera while slapping. * Stomping Animations All stomp and stomp prepare animations are animated and coded into the game (except for the miss one) * Slapping Animation v2 finally animated the alternate slapping animation where those sumo brothers slap with their other hand * Slapping to Stomping Transition Added the slapping animation for when the Bros transition from slapping to stomping as well as all the accompanying code to get it to function. Also tweaked the two other slapping animations to fix the interpolation of those speed lines. * Inu Sensei Complete Added redone inu sensei spritesheet (thanks Mage!), animated all inu sensei animations, and coded all the inu sensei functionality. This is all really coming together now * Sumo Miss anims & more Added the Slap/Stomp miss animations. Coded the ability to whiff inputs. Replaced all the SFX with Kievit-approved rips. Added the little slap impact effect for successful slap inputs. Getting ready to make stomps pretty. Fixed misc bugs. * Sumo Pose anims & more Added the first set of pose animations. Also added animations for transitioning from posing to something else. Stomps aint getting pretty this time. Fixed misc bugs. * Sumo Pose anims v2 Animated the whole 2nd set of sumo pose animations. Fixed some various bugs with poses. Added a random setting for the poses (although it doesn't work well with only 2 poses). Getting ready for the PR * Random Bug Fixes Fixed random pose option, fixed an animation that accidentally left loop on, and added monologue. Getting ready for pr in a few days. * New Icon & Bug Fixes Added a shiny new icon made by Seanski2, fixed a bug about poses in tap mode being a bit bugged and fixed the Slap-to-Stomp slap animation being able to be played too soon. --------- Co-authored-by: minenice55 <star.elementa@gmail.com>
2024-02-19 01:25:26 +00:00
sumoBrotherG.DoScaledAnimationAsync("SumoPoseG" + sumoPoseTypeCurrent, 0.5f);
sumoBrotherGHead.DoScaledAnimationAsync("SumoGPose" + sumoPoseTypeCurrent, 0.5f);
Sumo brothers is FINISHED* (#867) * Pose Backgrounds The cool backgrounds that appear on a successful pose are now fully added. Also implemented the new upscales. * Stomp Camera Shake The way it is coded is not good at all, but the stomp shakes look *ok* when the game runs at triple digit tempos. * Better Stomp Shake & Alternate BGs Made the stomp shake look MUCH better, and added an option to poses to automatically alternate between background types. * Sumo Pose anims v4 Animated most of all the remaining pose animations, missing the miss animations + glasses being thrown. Also will want to add a version where the glasses aren't thrown. Pig? * Sumo Pose anims v4.5 Added the missing miss animations. Added the glasses actually being thrown. Fixed a bug with head layering w/ the Look at Camera event. Fixed some other bugs that aren't important. * New Icon i made it myself * Sumo Pose anims v4.9 You can now toggle if the blue sumo bro will throw his glasses on the finale pose. Also changed selecting the pose type from an integer slider to a dropdown menu. You can also now change which direction the sumo brothers begin stomping in. * Sumo Pose anims v5 D se dab * Finalizing stuff Changed ALL the animations (minus InuTweet) to use linear interpolation instead of the default setting since that's what megamix does afaik. Combined the two sumohead animators into one just to allow for more play animation shenanigans. Assigned all the sumo assets to a new ctrsumou asset bundle to get ready for packing it all up. Added new nerd bg because Mage just happened to make one * Bug Fixed + Tweaks + Finish Fixed a bug where the game would end up cueing inputs that extended into other games. It wouldn't do anything until you went back to Sumo Brothers where all those extra cues would run the frame the game loaded. Tweaked all the BG sliding in animations to be accurate to the original game. I started implementing asset bundles, but for some reason actually using them breaks the Blue Sumo Bro's animations for *some* reason. I forgot to include this in *one* of the previous change notes, but you can now change which direction the Bros start stomping in. * Kill reference images Removed ALL of the reference images from the files there were like 135 images
2024-04-16 01:45:56 +00:00
}
sumoBrotherP.DoScaledAnimationAsync("SumoPoseP" + sumoPoseTypeCurrent, 0.5f);
bgStatic.DoScaledAnimationAsync($"{bgType.ToString()}Dark", 0.5f);
bgType = bgTypeNext;
if (bgType == BGType.Nerd)
{
SoundByte.PlayOneShotGame("sumoBrothers/Goofy");
}
var beat = conductor.songPosBeat;
BeatAction.New(instance, new List<BeatAction.Action>()
{
new BeatAction.Action(beat, delegate { bgMove.DoScaledAnimationAsync(bgType.ToString(), 0.5f); }),
new BeatAction.Action(beat + 2, delegate { bgMove.DoScaledAnimationAsync("empty", 0.5f); }),
new BeatAction.Action(beat + 2, delegate { bgStatic.DoScaledAnimationAsync(bgType.ToString(), 0.5f); }),
});
Sumo brothers (#706) * Lockstep fansodnason * More Lockstep Implemented the new sprites (still needs work). Added new Icon. * More lockstep stuff i have no clue * Animation Tweaking I fiddled around with numbers weeeeeeeeeeeeeeee * Merge branch 'master' of https://github.com/RaffyTaffy14/HS * Background Has basic background * End Pose Start Adds the End Pose cue's tweeting sound (took so long but felt so cool) * Inu Sensei Start Inu Sensei added to scene. He can bop, crouch, or do neither * Temp Sumo Brothers Icon Made by Donfen * Inu Sensei Tweeting Inu Sensei now does his animation during the duration of the End Pose cue. * Crouch Block Rework Reworked crouch block to be a stretchable cue instead of a toggle (like KM prepare stance) * Bop Block Rework Bop block reworked to be a toggle. Also made a few minor tweaks to random things. * Added the Brothers The Sumo Brothers from Sumo Brothers are now in Sumo Brothers (minus the sumo) * Imported Upscaled Sumou_BG Higher resolution background and Inu Sensei sprites. * Imported REAL Upscaled Sumou_BG oops * Slap & Stomp Signals the domg buncus and tink tonks * Twiddling my Thumbs Random, Insignificant changes to random things in the code * idk random cleanup after I finally got HS to not be in shambles * more stuff dunno * Input for Pose this should not have taken this long * uh waste of 4gb atm, need 4gb atm, may need this not atm * Modernized Bops & WIP Stomps/Slaps Made the bop system to have automatic/stretchy settings like all new games. Also got a WIP implementation of stomping/slapping * quite honest i do not know let's just update HS * Prepare Slap Animation Prepare Slap animation has been animated and implemented * Sumo Prefab some stuff went down yesterday when updating the fork that involved the sumo prefab randomly downgrading to an older version, so I'm hoping that this commit will make sure that the current prefab wont just vanish into oblivion * Slapping Animation v1 Spent a few hours animating the front-hand slapping animation. Also added a "Look at Camera" event that makes the brotheren look at the camera while slapping. * Stomping Animations All stomp and stomp prepare animations are animated and coded into the game (except for the miss one) * Slapping Animation v2 finally animated the alternate slapping animation where those sumo brothers slap with their other hand * Slapping to Stomping Transition Added the slapping animation for when the Bros transition from slapping to stomping as well as all the accompanying code to get it to function. Also tweaked the two other slapping animations to fix the interpolation of those speed lines. * Inu Sensei Complete Added redone inu sensei spritesheet (thanks Mage!), animated all inu sensei animations, and coded all the inu sensei functionality. This is all really coming together now * Sumo Miss anims & more Added the Slap/Stomp miss animations. Coded the ability to whiff inputs. Replaced all the SFX with Kievit-approved rips. Added the little slap impact effect for successful slap inputs. Getting ready to make stomps pretty. Fixed misc bugs. * Sumo Pose anims & more Added the first set of pose animations. Also added animations for transitioning from posing to something else. Stomps aint getting pretty this time. Fixed misc bugs. * Sumo Pose anims v2 Animated the whole 2nd set of sumo pose animations. Fixed some various bugs with poses. Added a random setting for the poses (although it doesn't work well with only 2 poses). Getting ready for the PR * Random Bug Fixes Fixed random pose option, fixed an animation that accidentally left loop on, and added monologue. Getting ready for pr in a few days. * New Icon & Bug Fixes Added a shiny new icon made by Seanski2, fixed a bug about poses in tap mode being a bit bugged and fixed the Slap-to-Stomp slap animation being able to be played too soon. --------- Co-authored-by: minenice55 <star.elementa@gmail.com>
2024-02-19 01:25:26 +00:00
if (state >= 1f || state <= -1f)
{
SoundByte.PlayOneShotGame("sumoBrothers/tink");
sumoBrotherPHead.DoScaledAnimationAsync("SumoPPoseBarely" + sumoPoseTypeCurrent, 0.5f);
// Dust is not meant to show up on a barely, need to somehow code that eventually
dust.DoScaledAnimationAsync("dustGone", 0.5f);
}
else
{
sumoBrotherPHead.DoScaledAnimationAsync("SumoPPose" + sumoPoseTypeCurrent, 0.5f);
}
SoundByte.PlayOneShotGame("sumoBrothers/pose");
}
void PoseMiss(PlayerActionEvent caller)
{
SoundByte.PlayOneShotGame("sumoBrothers/miss");
Sumo brothers is FINISHED* (#867) * Pose Backgrounds The cool backgrounds that appear on a successful pose are now fully added. Also implemented the new upscales. * Stomp Camera Shake The way it is coded is not good at all, but the stomp shakes look *ok* when the game runs at triple digit tempos. * Better Stomp Shake & Alternate BGs Made the stomp shake look MUCH better, and added an option to poses to automatically alternate between background types. * Sumo Pose anims v4 Animated most of all the remaining pose animations, missing the miss animations + glasses being thrown. Also will want to add a version where the glasses aren't thrown. Pig? * Sumo Pose anims v4.5 Added the missing miss animations. Added the glasses actually being thrown. Fixed a bug with head layering w/ the Look at Camera event. Fixed some other bugs that aren't important. * New Icon i made it myself * Sumo Pose anims v4.9 You can now toggle if the blue sumo bro will throw his glasses on the finale pose. Also changed selecting the pose type from an integer slider to a dropdown menu. You can also now change which direction the sumo brothers begin stomping in. * Sumo Pose anims v5 D se dab * Finalizing stuff Changed ALL the animations (minus InuTweet) to use linear interpolation instead of the default setting since that's what megamix does afaik. Combined the two sumohead animators into one just to allow for more play animation shenanigans. Assigned all the sumo assets to a new ctrsumou asset bundle to get ready for packing it all up. Added new nerd bg because Mage just happened to make one * Bug Fixed + Tweaks + Finish Fixed a bug where the game would end up cueing inputs that extended into other games. It wouldn't do anything until you went back to Sumo Brothers where all those extra cues would run the frame the game loaded. Tweaked all the BG sliding in animations to be accurate to the original game. I started implementing asset bundles, but for some reason actually using them breaks the Blue Sumo Bro's animations for *some* reason. I forgot to include this in *one* of the previous change notes, but you can now change which direction the Bros start stomping in. * Kill reference images Removed ALL of the reference images from the files there were like 135 images
2024-04-16 01:45:56 +00:00
if (sumoPoseTypeNext == 5) { sumoPoseTypeNext = 4; }
Sumo brothers (#706) * Lockstep fansodnason * More Lockstep Implemented the new sprites (still needs work). Added new Icon. * More lockstep stuff i have no clue * Animation Tweaking I fiddled around with numbers weeeeeeeeeeeeeeee * Merge branch 'master' of https://github.com/RaffyTaffy14/HS * Background Has basic background * End Pose Start Adds the End Pose cue's tweeting sound (took so long but felt so cool) * Inu Sensei Start Inu Sensei added to scene. He can bop, crouch, or do neither * Temp Sumo Brothers Icon Made by Donfen * Inu Sensei Tweeting Inu Sensei now does his animation during the duration of the End Pose cue. * Crouch Block Rework Reworked crouch block to be a stretchable cue instead of a toggle (like KM prepare stance) * Bop Block Rework Bop block reworked to be a toggle. Also made a few minor tweaks to random things. * Added the Brothers The Sumo Brothers from Sumo Brothers are now in Sumo Brothers (minus the sumo) * Imported Upscaled Sumou_BG Higher resolution background and Inu Sensei sprites. * Imported REAL Upscaled Sumou_BG oops * Slap & Stomp Signals the domg buncus and tink tonks * Twiddling my Thumbs Random, Insignificant changes to random things in the code * idk random cleanup after I finally got HS to not be in shambles * more stuff dunno * Input for Pose this should not have taken this long * uh waste of 4gb atm, need 4gb atm, may need this not atm * Modernized Bops & WIP Stomps/Slaps Made the bop system to have automatic/stretchy settings like all new games. Also got a WIP implementation of stomping/slapping * quite honest i do not know let's just update HS * Prepare Slap Animation Prepare Slap animation has been animated and implemented * Sumo Prefab some stuff went down yesterday when updating the fork that involved the sumo prefab randomly downgrading to an older version, so I'm hoping that this commit will make sure that the current prefab wont just vanish into oblivion * Slapping Animation v1 Spent a few hours animating the front-hand slapping animation. Also added a "Look at Camera" event that makes the brotheren look at the camera while slapping. * Stomping Animations All stomp and stomp prepare animations are animated and coded into the game (except for the miss one) * Slapping Animation v2 finally animated the alternate slapping animation where those sumo brothers slap with their other hand * Slapping to Stomping Transition Added the slapping animation for when the Bros transition from slapping to stomping as well as all the accompanying code to get it to function. Also tweaked the two other slapping animations to fix the interpolation of those speed lines. * Inu Sensei Complete Added redone inu sensei spritesheet (thanks Mage!), animated all inu sensei animations, and coded all the inu sensei functionality. This is all really coming together now * Sumo Miss anims & more Added the Slap/Stomp miss animations. Coded the ability to whiff inputs. Replaced all the SFX with Kievit-approved rips. Added the little slap impact effect for successful slap inputs. Getting ready to make stomps pretty. Fixed misc bugs. * Sumo Pose anims & more Added the first set of pose animations. Also added animations for transitioning from posing to something else. Stomps aint getting pretty this time. Fixed misc bugs. * Sumo Pose anims v2 Animated the whole 2nd set of sumo pose animations. Fixed some various bugs with poses. Added a random setting for the poses (although it doesn't work well with only 2 poses). Getting ready for the PR * Random Bug Fixes Fixed random pose option, fixed an animation that accidentally left loop on, and added monologue. Getting ready for pr in a few days. * New Icon & Bug Fixes Added a shiny new icon made by Seanski2, fixed a bug about poses in tap mode being a bit bugged and fixed the Slap-to-Stomp slap animation being able to be played too soon. --------- Co-authored-by: minenice55 <star.elementa@gmail.com>
2024-02-19 01:25:26 +00:00
sumoPoseType = sumoPoseTypeNext;
sumoPoseTypeCurrent = "Miss" + sumoPoseTypeNext.ToString();
Sumo brothers is FINISHED* (#867) * Pose Backgrounds The cool backgrounds that appear on a successful pose are now fully added. Also implemented the new upscales. * Stomp Camera Shake The way it is coded is not good at all, but the stomp shakes look *ok* when the game runs at triple digit tempos. * Better Stomp Shake & Alternate BGs Made the stomp shake look MUCH better, and added an option to poses to automatically alternate between background types. * Sumo Pose anims v4 Animated most of all the remaining pose animations, missing the miss animations + glasses being thrown. Also will want to add a version where the glasses aren't thrown. Pig? * Sumo Pose anims v4.5 Added the missing miss animations. Added the glasses actually being thrown. Fixed a bug with head layering w/ the Look at Camera event. Fixed some other bugs that aren't important. * New Icon i made it myself * Sumo Pose anims v4.9 You can now toggle if the blue sumo bro will throw his glasses on the finale pose. Also changed selecting the pose type from an integer slider to a dropdown menu. You can also now change which direction the sumo brothers begin stomping in. * Sumo Pose anims v5 D se dab * Finalizing stuff Changed ALL the animations (minus InuTweet) to use linear interpolation instead of the default setting since that's what megamix does afaik. Combined the two sumohead animators into one just to allow for more play animation shenanigans. Assigned all the sumo assets to a new ctrsumou asset bundle to get ready for packing it all up. Added new nerd bg because Mage just happened to make one * Bug Fixed + Tweaks + Finish Fixed a bug where the game would end up cueing inputs that extended into other games. It wouldn't do anything until you went back to Sumo Brothers where all those extra cues would run the frame the game loaded. Tweaked all the BG sliding in animations to be accurate to the original game. I started implementing asset bundles, but for some reason actually using them breaks the Blue Sumo Bro's animations for *some* reason. I forgot to include this in *one* of the previous change notes, but you can now change which direction the Bros start stomping in. * Kill reference images Removed ALL of the reference images from the files there were like 135 images
2024-04-16 01:45:56 +00:00
bgStatic.DoScaledAnimationAsync("empty", 0.5f);
Sumo brothers (#706) * Lockstep fansodnason * More Lockstep Implemented the new sprites (still needs work). Added new Icon. * More lockstep stuff i have no clue * Animation Tweaking I fiddled around with numbers weeeeeeeeeeeeeeee * Merge branch 'master' of https://github.com/RaffyTaffy14/HS * Background Has basic background * End Pose Start Adds the End Pose cue's tweeting sound (took so long but felt so cool) * Inu Sensei Start Inu Sensei added to scene. He can bop, crouch, or do neither * Temp Sumo Brothers Icon Made by Donfen * Inu Sensei Tweeting Inu Sensei now does his animation during the duration of the End Pose cue. * Crouch Block Rework Reworked crouch block to be a stretchable cue instead of a toggle (like KM prepare stance) * Bop Block Rework Bop block reworked to be a toggle. Also made a few minor tweaks to random things. * Added the Brothers The Sumo Brothers from Sumo Brothers are now in Sumo Brothers (minus the sumo) * Imported Upscaled Sumou_BG Higher resolution background and Inu Sensei sprites. * Imported REAL Upscaled Sumou_BG oops * Slap & Stomp Signals the domg buncus and tink tonks * Twiddling my Thumbs Random, Insignificant changes to random things in the code * idk random cleanup after I finally got HS to not be in shambles * more stuff dunno * Input for Pose this should not have taken this long * uh waste of 4gb atm, need 4gb atm, may need this not atm * Modernized Bops & WIP Stomps/Slaps Made the bop system to have automatic/stretchy settings like all new games. Also got a WIP implementation of stomping/slapping * quite honest i do not know let's just update HS * Prepare Slap Animation Prepare Slap animation has been animated and implemented * Sumo Prefab some stuff went down yesterday when updating the fork that involved the sumo prefab randomly downgrading to an older version, so I'm hoping that this commit will make sure that the current prefab wont just vanish into oblivion * Slapping Animation v1 Spent a few hours animating the front-hand slapping animation. Also added a "Look at Camera" event that makes the brotheren look at the camera while slapping. * Stomping Animations All stomp and stomp prepare animations are animated and coded into the game (except for the miss one) * Slapping Animation v2 finally animated the alternate slapping animation where those sumo brothers slap with their other hand * Slapping to Stomping Transition Added the slapping animation for when the Bros transition from slapping to stomping as well as all the accompanying code to get it to function. Also tweaked the two other slapping animations to fix the interpolation of those speed lines. * Inu Sensei Complete Added redone inu sensei spritesheet (thanks Mage!), animated all inu sensei animations, and coded all the inu sensei functionality. This is all really coming together now * Sumo Miss anims & more Added the Slap/Stomp miss animations. Coded the ability to whiff inputs. Replaced all the SFX with Kievit-approved rips. Added the little slap impact effect for successful slap inputs. Getting ready to make stomps pretty. Fixed misc bugs. * Sumo Pose anims & more Added the first set of pose animations. Also added animations for transitioning from posing to something else. Stomps aint getting pretty this time. Fixed misc bugs. * Sumo Pose anims v2 Animated the whole 2nd set of sumo pose animations. Fixed some various bugs with poses. Added a random setting for the poses (although it doesn't work well with only 2 poses). Getting ready for the PR * Random Bug Fixes Fixed random pose option, fixed an animation that accidentally left loop on, and added monologue. Getting ready for pr in a few days. * New Icon & Bug Fixes Added a shiny new icon made by Seanski2, fixed a bug about poses in tap mode being a bit bugged and fixed the Slap-to-Stomp slap animation being able to be played too soon. --------- Co-authored-by: minenice55 <star.elementa@gmail.com>
2024-02-19 01:25:26 +00:00
sumoBrotherPHead.DoScaledAnimationAsync("SumoPPose" + sumoPoseType.ToString(), 0.5f);
sumoBrotherGHead.DoScaledAnimationAsync("SumoGPose" + sumoPoseType.ToString(), 0.5f);
sumoBrotherP.DoScaledAnimationAsync("SumoPoseP" + sumoPoseTypeCurrent, 0.5f);
sumoBrotherG.DoScaledAnimationAsync("SumoPoseG" + sumoPoseTypeCurrent, 0.5f);
Sumo brothers is FINISHED* (#867) * Pose Backgrounds The cool backgrounds that appear on a successful pose are now fully added. Also implemented the new upscales. * Stomp Camera Shake The way it is coded is not good at all, but the stomp shakes look *ok* when the game runs at triple digit tempos. * Better Stomp Shake & Alternate BGs Made the stomp shake look MUCH better, and added an option to poses to automatically alternate between background types. * Sumo Pose anims v4 Animated most of all the remaining pose animations, missing the miss animations + glasses being thrown. Also will want to add a version where the glasses aren't thrown. Pig? * Sumo Pose anims v4.5 Added the missing miss animations. Added the glasses actually being thrown. Fixed a bug with head layering w/ the Look at Camera event. Fixed some other bugs that aren't important. * New Icon i made it myself * Sumo Pose anims v4.9 You can now toggle if the blue sumo bro will throw his glasses on the finale pose. Also changed selecting the pose type from an integer slider to a dropdown menu. You can also now change which direction the sumo brothers begin stomping in. * Sumo Pose anims v5 D se dab * Finalizing stuff Changed ALL the animations (minus InuTweet) to use linear interpolation instead of the default setting since that's what megamix does afaik. Combined the two sumohead animators into one just to allow for more play animation shenanigans. Assigned all the sumo assets to a new ctrsumou asset bundle to get ready for packing it all up. Added new nerd bg because Mage just happened to make one * Bug Fixed + Tweaks + Finish Fixed a bug where the game would end up cueing inputs that extended into other games. It wouldn't do anything until you went back to Sumo Brothers where all those extra cues would run the frame the game loaded. Tweaked all the BG sliding in animations to be accurate to the original game. I started implementing asset bundles, but for some reason actually using them breaks the Blue Sumo Bro's animations for *some* reason. I forgot to include this in *one* of the previous change notes, but you can now change which direction the Bros start stomping in. * Kill reference images Removed ALL of the reference images from the files there were like 135 images
2024-04-16 01:45:56 +00:00
if (sumoPoseType == 4) { sumoBrotherGHead.DoScaledAnimationAsync("SumoGPoseAlt4", 0.5f); }
Sumo brothers (#706) * Lockstep fansodnason * More Lockstep Implemented the new sprites (still needs work). Added new Icon. * More lockstep stuff i have no clue * Animation Tweaking I fiddled around with numbers weeeeeeeeeeeeeeee * Merge branch 'master' of https://github.com/RaffyTaffy14/HS * Background Has basic background * End Pose Start Adds the End Pose cue's tweeting sound (took so long but felt so cool) * Inu Sensei Start Inu Sensei added to scene. He can bop, crouch, or do neither * Temp Sumo Brothers Icon Made by Donfen * Inu Sensei Tweeting Inu Sensei now does his animation during the duration of the End Pose cue. * Crouch Block Rework Reworked crouch block to be a stretchable cue instead of a toggle (like KM prepare stance) * Bop Block Rework Bop block reworked to be a toggle. Also made a few minor tweaks to random things. * Added the Brothers The Sumo Brothers from Sumo Brothers are now in Sumo Brothers (minus the sumo) * Imported Upscaled Sumou_BG Higher resolution background and Inu Sensei sprites. * Imported REAL Upscaled Sumou_BG oops * Slap & Stomp Signals the domg buncus and tink tonks * Twiddling my Thumbs Random, Insignificant changes to random things in the code * idk random cleanup after I finally got HS to not be in shambles * more stuff dunno * Input for Pose this should not have taken this long * uh waste of 4gb atm, need 4gb atm, may need this not atm * Modernized Bops & WIP Stomps/Slaps Made the bop system to have automatic/stretchy settings like all new games. Also got a WIP implementation of stomping/slapping * quite honest i do not know let's just update HS * Prepare Slap Animation Prepare Slap animation has been animated and implemented * Sumo Prefab some stuff went down yesterday when updating the fork that involved the sumo prefab randomly downgrading to an older version, so I'm hoping that this commit will make sure that the current prefab wont just vanish into oblivion * Slapping Animation v1 Spent a few hours animating the front-hand slapping animation. Also added a "Look at Camera" event that makes the brotheren look at the camera while slapping. * Stomping Animations All stomp and stomp prepare animations are animated and coded into the game (except for the miss one) * Slapping Animation v2 finally animated the alternate slapping animation where those sumo brothers slap with their other hand * Slapping to Stomping Transition Added the slapping animation for when the Bros transition from slapping to stomping as well as all the accompanying code to get it to function. Also tweaked the two other slapping animations to fix the interpolation of those speed lines. * Inu Sensei Complete Added redone inu sensei spritesheet (thanks Mage!), animated all inu sensei animations, and coded all the inu sensei functionality. This is all really coming together now * Sumo Miss anims & more Added the Slap/Stomp miss animations. Coded the ability to whiff inputs. Replaced all the SFX with Kievit-approved rips. Added the little slap impact effect for successful slap inputs. Getting ready to make stomps pretty. Fixed misc bugs. * Sumo Pose anims & more Added the first set of pose animations. Also added animations for transitioning from posing to something else. Stomps aint getting pretty this time. Fixed misc bugs. * Sumo Pose anims v2 Animated the whole 2nd set of sumo pose animations. Fixed some various bugs with poses. Added a random setting for the poses (although it doesn't work well with only 2 poses). Getting ready for the PR * Random Bug Fixes Fixed random pose option, fixed an animation that accidentally left loop on, and added monologue. Getting ready for pr in a few days. * New Icon & Bug Fixes Added a shiny new icon made by Seanski2, fixed a bug about poses in tap mode being a bit bugged and fixed the Slap-to-Stomp slap animation being able to be played too soon. --------- Co-authored-by: minenice55 <star.elementa@gmail.com>
2024-02-19 01:25:26 +00:00
}
void SlapHit(PlayerActionEvent caller, float state)
{
if (state >= 1f || state <= -1f)
{
SoundByte.PlayOneShotGame("sumoBrothers/tink");
if (lookingAtCamera) {
sumoBrotherPHead.DoScaledAnimationAsync("SumoPSlapLookBarely");
sumoBrotherGHead.DoScaledAnimationAsync("SumoGSlapLook", 0.5f);
} else {
sumoBrotherPHead.DoScaledAnimationAsync("SumoPSlapBarely");
sumoBrotherGHead.DoScaledAnimationAsync("SumoGSlap", 0.5f);
}
}
else
{
if (lookingAtCamera) {
sumoBrotherPHead.DoScaledAnimationAsync("SumoPSlapLook");
sumoBrotherGHead.DoScaledAnimationAsync("SumoGSlapLook", 0.5f);
} else {
sumoBrotherPHead.DoScaledAnimationAsync("SumoPSlap");
sumoBrotherGHead.DoScaledAnimationAsync("SumoGSlap", 0.5f);
}
}
if (sumoSlapDir == 1) { sumoSlapDir = 0;}
else if (sumoSlapDir == 0) { sumoSlapDir = 1;}
SoundByte.PlayOneShotGame("sumoBrothers/slap");
impact.DoScaledAnimationAsync("impact", 0.5f);
if (sumoSlapDir == 2) {
sumoBrotherP.DoScaledAnimationAsync("SumoSlapToStomp", 0.5f);
sumoBrotherG.DoScaledAnimationAsync("SumoSlapToStomp", 0.5f);
} else if (sumoSlapDir == 1) {
sumoBrotherP.DoScaledAnimationAsync("SumoSlapFront", 0.5f);
sumoBrotherG.DoScaledAnimationAsync("SumoSlapFront", 0.5f);
} else {
sumoBrotherP.DoScaledAnimationAsync("SumoSlapBack", 0.5f);
sumoBrotherG.DoScaledAnimationAsync("SumoSlapBack", 0.5f);
}
}
void SlapMiss(PlayerActionEvent caller)
{
if (sumoSlapDir == 1) { sumoSlapDir = 0;}
else if (sumoSlapDir == 0) { sumoSlapDir = 1;}
SoundByte.PlayOneShotGame("sumoBrothers/miss");
if (sumoSlapDir == 2) {
sumoBrotherG.DoScaledAnimationAsync("SumoSlapToStomp", 0.5f);
} else if (sumoSlapDir == 1) {
sumoBrotherG.DoScaledAnimationAsync("SumoSlapFront", 0.5f);
} else {
sumoBrotherG.DoScaledAnimationAsync("SumoSlapBack", 0.5f);
}
sumoBrotherP.DoScaledAnimationAsync("SumoSlapMiss", 0.5f);
sumoBrotherPHead.DoScaledAnimationAsync("SumoPMiss");
Sumo brothers is FINISHED* (#867) * Pose Backgrounds The cool backgrounds that appear on a successful pose are now fully added. Also implemented the new upscales. * Stomp Camera Shake The way it is coded is not good at all, but the stomp shakes look *ok* when the game runs at triple digit tempos. * Better Stomp Shake & Alternate BGs Made the stomp shake look MUCH better, and added an option to poses to automatically alternate between background types. * Sumo Pose anims v4 Animated most of all the remaining pose animations, missing the miss animations + glasses being thrown. Also will want to add a version where the glasses aren't thrown. Pig? * Sumo Pose anims v4.5 Added the missing miss animations. Added the glasses actually being thrown. Fixed a bug with head layering w/ the Look at Camera event. Fixed some other bugs that aren't important. * New Icon i made it myself * Sumo Pose anims v4.9 You can now toggle if the blue sumo bro will throw his glasses on the finale pose. Also changed selecting the pose type from an integer slider to a dropdown menu. You can also now change which direction the sumo brothers begin stomping in. * Sumo Pose anims v5 D se dab * Finalizing stuff Changed ALL the animations (minus InuTweet) to use linear interpolation instead of the default setting since that's what megamix does afaik. Combined the two sumohead animators into one just to allow for more play animation shenanigans. Assigned all the sumo assets to a new ctrsumou asset bundle to get ready for packing it all up. Added new nerd bg because Mage just happened to make one * Bug Fixed + Tweaks + Finish Fixed a bug where the game would end up cueing inputs that extended into other games. It wouldn't do anything until you went back to Sumo Brothers where all those extra cues would run the frame the game loaded. Tweaked all the BG sliding in animations to be accurate to the original game. I started implementing asset bundles, but for some reason actually using them breaks the Blue Sumo Bro's animations for *some* reason. I forgot to include this in *one* of the previous change notes, but you can now change which direction the Bros start stomping in. * Kill reference images Removed ALL of the reference images from the files there were like 135 images
2024-04-16 01:45:56 +00:00
if (lookingAtCamera) {
sumoBrotherGHead.DoScaledAnimationAsync("SumoGSlapLook", 0.5f);
} else {
sumoBrotherGHead.DoScaledAnimationAsync("SumoGSlap", 0.5f);
}
Sumo brothers (#706) * Lockstep fansodnason * More Lockstep Implemented the new sprites (still needs work). Added new Icon. * More lockstep stuff i have no clue * Animation Tweaking I fiddled around with numbers weeeeeeeeeeeeeeee * Merge branch 'master' of https://github.com/RaffyTaffy14/HS * Background Has basic background * End Pose Start Adds the End Pose cue's tweeting sound (took so long but felt so cool) * Inu Sensei Start Inu Sensei added to scene. He can bop, crouch, or do neither * Temp Sumo Brothers Icon Made by Donfen * Inu Sensei Tweeting Inu Sensei now does his animation during the duration of the End Pose cue. * Crouch Block Rework Reworked crouch block to be a stretchable cue instead of a toggle (like KM prepare stance) * Bop Block Rework Bop block reworked to be a toggle. Also made a few minor tweaks to random things. * Added the Brothers The Sumo Brothers from Sumo Brothers are now in Sumo Brothers (minus the sumo) * Imported Upscaled Sumou_BG Higher resolution background and Inu Sensei sprites. * Imported REAL Upscaled Sumou_BG oops * Slap & Stomp Signals the domg buncus and tink tonks * Twiddling my Thumbs Random, Insignificant changes to random things in the code * idk random cleanup after I finally got HS to not be in shambles * more stuff dunno * Input for Pose this should not have taken this long * uh waste of 4gb atm, need 4gb atm, may need this not atm * Modernized Bops & WIP Stomps/Slaps Made the bop system to have automatic/stretchy settings like all new games. Also got a WIP implementation of stomping/slapping * quite honest i do not know let's just update HS * Prepare Slap Animation Prepare Slap animation has been animated and implemented * Sumo Prefab some stuff went down yesterday when updating the fork that involved the sumo prefab randomly downgrading to an older version, so I'm hoping that this commit will make sure that the current prefab wont just vanish into oblivion * Slapping Animation v1 Spent a few hours animating the front-hand slapping animation. Also added a "Look at Camera" event that makes the brotheren look at the camera while slapping. * Stomping Animations All stomp and stomp prepare animations are animated and coded into the game (except for the miss one) * Slapping Animation v2 finally animated the alternate slapping animation where those sumo brothers slap with their other hand * Slapping to Stomping Transition Added the slapping animation for when the Bros transition from slapping to stomping as well as all the accompanying code to get it to function. Also tweaked the two other slapping animations to fix the interpolation of those speed lines. * Inu Sensei Complete Added redone inu sensei spritesheet (thanks Mage!), animated all inu sensei animations, and coded all the inu sensei functionality. This is all really coming together now * Sumo Miss anims & more Added the Slap/Stomp miss animations. Coded the ability to whiff inputs. Replaced all the SFX with Kievit-approved rips. Added the little slap impact effect for successful slap inputs. Getting ready to make stomps pretty. Fixed misc bugs. * Sumo Pose anims & more Added the first set of pose animations. Also added animations for transitioning from posing to something else. Stomps aint getting pretty this time. Fixed misc bugs. * Sumo Pose anims v2 Animated the whole 2nd set of sumo pose animations. Fixed some various bugs with poses. Added a random setting for the poses (although it doesn't work well with only 2 poses). Getting ready for the PR * Random Bug Fixes Fixed random pose option, fixed an animation that accidentally left loop on, and added monologue. Getting ready for pr in a few days. * New Icon & Bug Fixes Added a shiny new icon made by Seanski2, fixed a bug about poses in tap mode being a bit bugged and fixed the Slap-to-Stomp slap animation being able to be played too soon. --------- Co-authored-by: minenice55 <star.elementa@gmail.com>
2024-02-19 01:25:26 +00:00
if (sumoState == SumoState.Slap) {
inuSensei.DoScaledAnimationAsync("InuBopMiss", 0.5f);
}
}
void StompHit(PlayerActionEvent caller, float state)
{
if (state >= 1f || state <= -1f)
{
SoundByte.PlayOneShotGame("sumoBrothers/tink");
sumoBrotherPHead.DoScaledAnimationAsync("SumoPStompBarely", 0.5f);
}
else
{
sumoBrotherPHead.DoScaledAnimationAsync("SumoPStomp", 0.5f);
}
SoundByte.PlayOneShotGame("sumoBrothers/stomp");
if (sumoStompDir)
{
sumoBrotherP.DoScaledAnimationAsync("SumoStompL", 0.5f);
} else {
sumoBrotherP.DoScaledAnimationAsync("SumoStompR", 0.5f);
}
Sumo brothers is FINISHED* (#867) * Pose Backgrounds The cool backgrounds that appear on a successful pose are now fully added. Also implemented the new upscales. * Stomp Camera Shake The way it is coded is not good at all, but the stomp shakes look *ok* when the game runs at triple digit tempos. * Better Stomp Shake & Alternate BGs Made the stomp shake look MUCH better, and added an option to poses to automatically alternate between background types. * Sumo Pose anims v4 Animated most of all the remaining pose animations, missing the miss animations + glasses being thrown. Also will want to add a version where the glasses aren't thrown. Pig? * Sumo Pose anims v4.5 Added the missing miss animations. Added the glasses actually being thrown. Fixed a bug with head layering w/ the Look at Camera event. Fixed some other bugs that aren't important. * New Icon i made it myself * Sumo Pose anims v4.9 You can now toggle if the blue sumo bro will throw his glasses on the finale pose. Also changed selecting the pose type from an integer slider to a dropdown menu. You can also now change which direction the sumo brothers begin stomping in. * Sumo Pose anims v5 D se dab * Finalizing stuff Changed ALL the animations (minus InuTweet) to use linear interpolation instead of the default setting since that's what megamix does afaik. Combined the two sumohead animators into one just to allow for more play animation shenanigans. Assigned all the sumo assets to a new ctrsumou asset bundle to get ready for packing it all up. Added new nerd bg because Mage just happened to make one * Bug Fixed + Tweaks + Finish Fixed a bug where the game would end up cueing inputs that extended into other games. It wouldn't do anything until you went back to Sumo Brothers where all those extra cues would run the frame the game loaded. Tweaked all the BG sliding in animations to be accurate to the original game. I started implementing asset bundles, but for some reason actually using them breaks the Blue Sumo Bro's animations for *some* reason. I forgot to include this in *one* of the previous change notes, but you can now change which direction the Bros start stomping in. * Kill reference images Removed ALL of the reference images from the files there were like 135 images
2024-04-16 01:45:56 +00:00
justStompBeat = Conductor.instance.songPositionInBeatsAsDouble;
// Attempt at making the code better, abandoned because the damn lists didn't cooperate
/*stompShakeTimings.Clear();
stompShakeValues.Clear();
for (int i = 0; i < 9; i++)
{
double currBeat = stompShakeSpeed * i + justStompBeat;
stompShakeTimings.Add(currBeat);
}
stompShakeValues.Add(-0.3f); // -0.3 0.3 -0.2 0.2 -0.1 0.1 -0.05 0
stompShakeValues.Add(0.3f);
stompShakeValues.Add(-0.2f);
stompShakeValues.Add(0.2f);
stompShakeValues.Add(-0.1f);
stompShakeValues.Add(0.1f);
stompShakeValues.Add(-0.05f);
stompShakeValues.Add(0f);*/
// yaaaay old crusty code
BeatAction.New(instance, new List<BeatAction.Action>() {
//new BeatAction.Action(justStompBeat, delegate { stompShakeLength = 0.13; }),
new BeatAction.Action(justStompBeat, delegate { cameraXNew = -0.3f; }),
//new BeatAction.Action(justStompBeat + 0.2, delegate { stompShakeLength = 0.25; }),
new BeatAction.Action(justStompBeat + (stompShakeSpeed * 1), delegate { justStompBeat += stompShakeSpeed; }),
new BeatAction.Action(justStompBeat + (stompShakeSpeed * 1), delegate { cameraX = cameraXNew; }),
new BeatAction.Action(justStompBeat + (stompShakeSpeed * 1), delegate { cameraXNew = 0.3f; }),
//new BeatAction.Action(justStompBeat + 0.4, delegate { stompShakeLength = 0.25; }),
new BeatAction.Action(justStompBeat + (stompShakeSpeed * 2), delegate { justStompBeat += stompShakeSpeed; }),
new BeatAction.Action(justStompBeat + (stompShakeSpeed * 2), delegate { cameraX = cameraXNew; }),
new BeatAction.Action(justStompBeat + (stompShakeSpeed * 2), delegate { cameraXNew = -0.2f; }),
//new BeatAction.Action(justStompBeat + 0.6, delegate { stompShakeLength = 0.25; }),
new BeatAction.Action(justStompBeat + (stompShakeSpeed * 3), delegate { justStompBeat += stompShakeSpeed; }),
new BeatAction.Action(justStompBeat + (stompShakeSpeed * 3), delegate { cameraX = cameraXNew; }),
new BeatAction.Action(justStompBeat + (stompShakeSpeed * 3), delegate { cameraXNew = 0.2f; }),
//new BeatAction.Action(justStompBeat + 0.8, delegate { stompShakeLength = 0.12; }),
new BeatAction.Action(justStompBeat + (stompShakeSpeed * 4), delegate { justStompBeat += stompShakeSpeed; }),
new BeatAction.Action(justStompBeat + (stompShakeSpeed * 4), delegate { cameraX = cameraXNew; }),
new BeatAction.Action(justStompBeat + (stompShakeSpeed * 4), delegate { cameraXNew = -0.1f; }),
//
new BeatAction.Action(justStompBeat + (stompShakeSpeed * 5), delegate { justStompBeat += stompShakeSpeed; }),
new BeatAction.Action(justStompBeat + (stompShakeSpeed * 5), delegate { cameraX = cameraXNew; }),
new BeatAction.Action(justStompBeat + (stompShakeSpeed * 5), delegate { cameraXNew = 0.1f; }),
//
new BeatAction.Action(justStompBeat + (stompShakeSpeed * 6), delegate { justStompBeat += stompShakeSpeed; }),
new BeatAction.Action(justStompBeat + (stompShakeSpeed * 6), delegate { cameraX = cameraXNew; }),
new BeatAction.Action(justStompBeat + (stompShakeSpeed * 6), delegate { cameraXNew = -0.1f; }),
//
new BeatAction.Action(justStompBeat + (stompShakeSpeed * 7), delegate { justStompBeat += stompShakeSpeed; }),
new BeatAction.Action(justStompBeat + (stompShakeSpeed * 7), delegate { cameraX = cameraXNew; }),
new BeatAction.Action(justStompBeat + (stompShakeSpeed * 7), delegate { cameraXNew = 0f; }),
});
Sumo brothers (#706) * Lockstep fansodnason * More Lockstep Implemented the new sprites (still needs work). Added new Icon. * More lockstep stuff i have no clue * Animation Tweaking I fiddled around with numbers weeeeeeeeeeeeeeee * Merge branch 'master' of https://github.com/RaffyTaffy14/HS * Background Has basic background * End Pose Start Adds the End Pose cue's tweeting sound (took so long but felt so cool) * Inu Sensei Start Inu Sensei added to scene. He can bop, crouch, or do neither * Temp Sumo Brothers Icon Made by Donfen * Inu Sensei Tweeting Inu Sensei now does his animation during the duration of the End Pose cue. * Crouch Block Rework Reworked crouch block to be a stretchable cue instead of a toggle (like KM prepare stance) * Bop Block Rework Bop block reworked to be a toggle. Also made a few minor tweaks to random things. * Added the Brothers The Sumo Brothers from Sumo Brothers are now in Sumo Brothers (minus the sumo) * Imported Upscaled Sumou_BG Higher resolution background and Inu Sensei sprites. * Imported REAL Upscaled Sumou_BG oops * Slap & Stomp Signals the domg buncus and tink tonks * Twiddling my Thumbs Random, Insignificant changes to random things in the code * idk random cleanup after I finally got HS to not be in shambles * more stuff dunno * Input for Pose this should not have taken this long * uh waste of 4gb atm, need 4gb atm, may need this not atm * Modernized Bops & WIP Stomps/Slaps Made the bop system to have automatic/stretchy settings like all new games. Also got a WIP implementation of stomping/slapping * quite honest i do not know let's just update HS * Prepare Slap Animation Prepare Slap animation has been animated and implemented * Sumo Prefab some stuff went down yesterday when updating the fork that involved the sumo prefab randomly downgrading to an older version, so I'm hoping that this commit will make sure that the current prefab wont just vanish into oblivion * Slapping Animation v1 Spent a few hours animating the front-hand slapping animation. Also added a "Look at Camera" event that makes the brotheren look at the camera while slapping. * Stomping Animations All stomp and stomp prepare animations are animated and coded into the game (except for the miss one) * Slapping Animation v2 finally animated the alternate slapping animation where those sumo brothers slap with their other hand * Slapping to Stomping Transition Added the slapping animation for when the Bros transition from slapping to stomping as well as all the accompanying code to get it to function. Also tweaked the two other slapping animations to fix the interpolation of those speed lines. * Inu Sensei Complete Added redone inu sensei spritesheet (thanks Mage!), animated all inu sensei animations, and coded all the inu sensei functionality. This is all really coming together now * Sumo Miss anims & more Added the Slap/Stomp miss animations. Coded the ability to whiff inputs. Replaced all the SFX with Kievit-approved rips. Added the little slap impact effect for successful slap inputs. Getting ready to make stomps pretty. Fixed misc bugs. * Sumo Pose anims & more Added the first set of pose animations. Also added animations for transitioning from posing to something else. Stomps aint getting pretty this time. Fixed misc bugs. * Sumo Pose anims v2 Animated the whole 2nd set of sumo pose animations. Fixed some various bugs with poses. Added a random setting for the poses (although it doesn't work well with only 2 poses). Getting ready for the PR * Random Bug Fixes Fixed random pose option, fixed an animation that accidentally left loop on, and added monologue. Getting ready for pr in a few days. * New Icon & Bug Fixes Added a shiny new icon made by Seanski2, fixed a bug about poses in tap mode being a bit bugged and fixed the Slap-to-Stomp slap animation being able to be played too soon. --------- Co-authored-by: minenice55 <star.elementa@gmail.com>
2024-02-19 01:25:26 +00:00
/*BeatAction.New(instance, new List<BeatAction.Action>() {
new BeatAction.Action(beat, delegate { allowBopInu = false; }),
new BeatAction.Action(beat, delegate { inuSensei.DoScaledAnimationAsync("InuAlarm", 0.5f); }),
new BeatAction.Action(beat + 3, delegate { allowBopInu = true; }),
new BeatAction.Action(beat + 3, delegate { inuSensei.DoScaledAnimationAsync("InuIdle", 0.5f);; }),
new BeatAction.Action(beat + 3, delegate { if (goBopInu == true) inuSensei.DoScaledAnimationAsync("InuBop", 0.5f); }),
new BeatAction.Action(beat + 5, delegate { allowBopSumo = true; })
});*/
}
void StompMiss(PlayerActionEvent caller)
{
if (!sumoBrotherP.IsPlayingAnimationNames("SumoStompMiss"))
{
SoundByte.PlayOneShotGame("sumoBrothers/miss");
inuSensei.DoScaledAnimationAsync("InuFloatMiss", 0.5f);
sumoBrotherP.DoScaledAnimationAsync("SumoStompMiss", 0.5f);
sumoBrotherPHead.DoScaledAnimationAsync("SumoPMiss");
}
}
void Nothing(PlayerActionEvent caller) { }
Sumo brothers is FINISHED* (#867) * Pose Backgrounds The cool backgrounds that appear on a successful pose are now fully added. Also implemented the new upscales. * Stomp Camera Shake The way it is coded is not good at all, but the stomp shakes look *ok* when the game runs at triple digit tempos. * Better Stomp Shake & Alternate BGs Made the stomp shake look MUCH better, and added an option to poses to automatically alternate between background types. * Sumo Pose anims v4 Animated most of all the remaining pose animations, missing the miss animations + glasses being thrown. Also will want to add a version where the glasses aren't thrown. Pig? * Sumo Pose anims v4.5 Added the missing miss animations. Added the glasses actually being thrown. Fixed a bug with head layering w/ the Look at Camera event. Fixed some other bugs that aren't important. * New Icon i made it myself * Sumo Pose anims v4.9 You can now toggle if the blue sumo bro will throw his glasses on the finale pose. Also changed selecting the pose type from an integer slider to a dropdown menu. You can also now change which direction the sumo brothers begin stomping in. * Sumo Pose anims v5 D se dab * Finalizing stuff Changed ALL the animations (minus InuTweet) to use linear interpolation instead of the default setting since that's what megamix does afaik. Combined the two sumohead animators into one just to allow for more play animation shenanigans. Assigned all the sumo assets to a new ctrsumou asset bundle to get ready for packing it all up. Added new nerd bg because Mage just happened to make one * Bug Fixed + Tweaks + Finish Fixed a bug where the game would end up cueing inputs that extended into other games. It wouldn't do anything until you went back to Sumo Brothers where all those extra cues would run the frame the game loaded. Tweaked all the BG sliding in animations to be accurate to the original game. I started implementing asset bundles, but for some reason actually using them breaks the Blue Sumo Bro's animations for *some* reason. I forgot to include this in *one* of the previous change notes, but you can now change which direction the Bros start stomping in. * Kill reference images Removed ALL of the reference images from the files there were like 135 images
2024-04-16 01:45:56 +00:00
void StompShake()
{
// Attempt at making the code better, abandoned because the damn lists didn't cooperate
//var timings = stompShakeTimings.ToList();
//var values = stompShakeValues.ToList();
/*if (stompShakeTimings.Count == 0) { return; }
if (justStompBeat >= stompShakeTimings[0] && -1f != stompShakeValues[0])
{
justStompBeat = stompShakeTimings[0];
cameraX = cameraXNew;
cameraXNew = stompShakeValues[0];
stompShakeValues.RemoveAt(0);
stompShakeTimings.RemoveAt(0);
print(stompShakeTimings.Count + " " + stompShakeValues.Count);
print("cX: " + cameraX + " cXN: " + cameraXNew + "jSB: " + justStompBeat + "sST: " + stompShakeTimings + "sSV: " + stompShakeValues);
}*/
float normalizedBeat = Conductor.instance.GetPositionFromBeat(justStompBeat, stompShakeSpeed);
if (1f >= normalizedBeat)
{
EasingFunction.Function func = EasingFunction.GetEasingFunction(EasingFunction.Ease.EaseInOutQuad);
float newPosX = func(cameraX, cameraXNew, normalizedBeat);
camera.position = new Vector3(newPosX, 0, 0);
//print("cX: " + cameraX + " cXN: " + cameraXNew + "nPX: " + newPosX + "sSL: " + stompShakeLength);
//print("cX: " + cameraX + " cXN: " + cameraXNew + " jSB: " + justStompBeat + " sST: " + stompShakeTimings + " sSV: " + stompShakeValues);
} else {
camera.position = new Vector3(0, 0, 0);
}
}
public void BackgroundColor(double beat, float length, Color startTop, Color endTop, Color startBtm, Color endBtm, int ease)
{
colorStartBeat = beat;
colorLength = length;
colorTopStart = startTop;
colorTopEnd = endTop;
colorBtmStart = startBtm;
colorBtmEnd = endBtm;
colorEase = (Util.EasingFunction.Ease)ease;
}
// more stolen code that i took from clap trap lmao
private void BackgroundColorUpdate() // stolen from tweezers too lol
{
float normalizedBeat = Mathf.Clamp01(Conductor.instance.GetPositionFromBeat(colorStartBeat, colorLength));
var func = Util.EasingFunction.GetEasingFunction(colorEase);
float newRT = func(colorTopStart.r, colorTopEnd.r, normalizedBeat);
float newGT = func(colorTopStart.g, colorTopEnd.g, normalizedBeat);
float newBT = func(colorTopStart.b, colorTopEnd.b, normalizedBeat);
float newRB = func(colorBtmStart.r, colorBtmEnd.r, normalizedBeat);
float newGB = func(colorBtmStart.g, colorBtmEnd.g, normalizedBeat);
float newBB = func(colorBtmStart.b, colorBtmEnd.b, normalizedBeat);
bgTop.color = new Color(newRT, newGT, newBT);
bgBtm.color = new Color(newRB, newGB, newBB);
backgroundMaterial.SetColor("_ColorAlpha", new Color(newRT, newGT, newBT));
backgroundMaterial.SetColor("_ColorDelta", new Color(newRB, newGB, newBB));
}
public void ForceInputs(double beat, float length, int forceInputType, int startingDirection, bool startCenter, bool slapSwitch, bool prepareAnimation)
{
if (forceInputType == 0)
{
int stompType = 1;
bool startingLeftAfterTransition = false;
if (startingDirection == 1)
{
startingLeftAfterTransition = true;
}
if (startingDirection == 2)
{
stompType = 2;
}
if (startCenter)
{
stompType = 3;
}
var stompAmount = (length + 1) / 2;
StompRecursive(beat - 1, stompAmount + 1, stompType, startingLeftAfterTransition, true, prepareAnimation);
} else if (forceInputType == 1) {
var slapAmount = length + 1;
sumoSlapDir = 0;
SlapRecursive(beat, slapAmount, true, slapSwitch);
if (prepareAnimation)
{
BeatAction.New(instance, new List<BeatAction.Action>()
{
new BeatAction.Action(beat - 1, delegate { sumoBrotherP.DoScaledAnimationAsync("SumoSlapPrepare",0.5f); }),
new BeatAction.Action(beat - 1, delegate { sumoBrotherG.DoScaledAnimationAsync("SumoSlapPrepare",0.5f); }),
new BeatAction.Action(beat - 1, delegate { sumoBrotherPHead.DoScaledAnimationAsync("SumoPSlap", 0.5f); }),
new BeatAction.Action(beat - 1, delegate { sumoBrotherGHead.DoScaledAnimationAsync("SumoGSlap", 0.5f); })
});
}
BeatAction.New(instance, new List<BeatAction.Action>()
{
new BeatAction.Action(beat, delegate { sumoStatePrevious = SumoState.Slap; })
});
}
}
public void InuSoundsLol(double beat, int sound)
{
if (sound == 0)
{
SoundByte.PlayOneShotGame("sumoBrothers/stompSignal");
} else if (sound == 1)
{
SoundByte.PlayOneShotGame("sumoBrothers/slapSignal");
Sumo brothers is FINISHED* (#867) * Pose Backgrounds The cool backgrounds that appear on a successful pose are now fully added. Also implemented the new upscales. * Stomp Camera Shake The way it is coded is not good at all, but the stomp shakes look *ok* when the game runs at triple digit tempos. * Better Stomp Shake & Alternate BGs Made the stomp shake look MUCH better, and added an option to poses to automatically alternate between background types. * Sumo Pose anims v4 Animated most of all the remaining pose animations, missing the miss animations + glasses being thrown. Also will want to add a version where the glasses aren't thrown. Pig? * Sumo Pose anims v4.5 Added the missing miss animations. Added the glasses actually being thrown. Fixed a bug with head layering w/ the Look at Camera event. Fixed some other bugs that aren't important. * New Icon i made it myself * Sumo Pose anims v4.9 You can now toggle if the blue sumo bro will throw his glasses on the finale pose. Also changed selecting the pose type from an integer slider to a dropdown menu. You can also now change which direction the sumo brothers begin stomping in. * Sumo Pose anims v5 D se dab * Finalizing stuff Changed ALL the animations (minus InuTweet) to use linear interpolation instead of the default setting since that's what megamix does afaik. Combined the two sumohead animators into one just to allow for more play animation shenanigans. Assigned all the sumo assets to a new ctrsumou asset bundle to get ready for packing it all up. Added new nerd bg because Mage just happened to make one * Bug Fixed + Tweaks + Finish Fixed a bug where the game would end up cueing inputs that extended into other games. It wouldn't do anything until you went back to Sumo Brothers where all those extra cues would run the frame the game loaded. Tweaked all the BG sliding in animations to be accurate to the original game. I started implementing asset bundles, but for some reason actually using them breaks the Blue Sumo Bro's animations for *some* reason. I forgot to include this in *one* of the previous change notes, but you can now change which direction the Bros start stomping in. * Kill reference images Removed ALL of the reference images from the files there were like 135 images
2024-04-16 01:45:56 +00:00
}
}
private void PersistColor(double beat)
{
var allEventsBeforeBeat = EventCaller.GetAllInGameManagerList("sumoBrothers", new string[] { "background color" }).FindAll(x => x.beat < beat);
if (allEventsBeforeBeat.Count > 0)
{
allEventsBeforeBeat.Sort((x, y) => x.beat.CompareTo(y.beat)); //just in case
var lastEvent = allEventsBeforeBeat[^1];
BackgroundColor(lastEvent.beat, lastEvent.length, lastEvent["colorFrom"], lastEvent["colorTo"], lastEvent["colorFrom2"], lastEvent["colorTo2"], lastEvent["ease"]);
}
}
Sumo brothers is FINISHED* (#867) * Pose Backgrounds The cool backgrounds that appear on a successful pose are now fully added. Also implemented the new upscales. * Stomp Camera Shake The way it is coded is not good at all, but the stomp shakes look *ok* when the game runs at triple digit tempos. * Better Stomp Shake & Alternate BGs Made the stomp shake look MUCH better, and added an option to poses to automatically alternate between background types. * Sumo Pose anims v4 Animated most of all the remaining pose animations, missing the miss animations + glasses being thrown. Also will want to add a version where the glasses aren't thrown. Pig? * Sumo Pose anims v4.5 Added the missing miss animations. Added the glasses actually being thrown. Fixed a bug with head layering w/ the Look at Camera event. Fixed some other bugs that aren't important. * New Icon i made it myself * Sumo Pose anims v4.9 You can now toggle if the blue sumo bro will throw his glasses on the finale pose. Also changed selecting the pose type from an integer slider to a dropdown menu. You can also now change which direction the sumo brothers begin stomping in. * Sumo Pose anims v5 D se dab * Finalizing stuff Changed ALL the animations (minus InuTweet) to use linear interpolation instead of the default setting since that's what megamix does afaik. Combined the two sumohead animators into one just to allow for more play animation shenanigans. Assigned all the sumo assets to a new ctrsumou asset bundle to get ready for packing it all up. Added new nerd bg because Mage just happened to make one * Bug Fixed + Tweaks + Finish Fixed a bug where the game would end up cueing inputs that extended into other games. It wouldn't do anything until you went back to Sumo Brothers where all those extra cues would run the frame the game loaded. Tweaked all the BG sliding in animations to be accurate to the original game. I started implementing asset bundles, but for some reason actually using them breaks the Blue Sumo Bro's animations for *some* reason. I forgot to include this in *one* of the previous change notes, but you can now change which direction the Bros start stomping in. * Kill reference images Removed ALL of the reference images from the files there were like 135 images
2024-04-16 01:45:56 +00:00
Sumo brothers (#706) * Lockstep fansodnason * More Lockstep Implemented the new sprites (still needs work). Added new Icon. * More lockstep stuff i have no clue * Animation Tweaking I fiddled around with numbers weeeeeeeeeeeeeeee * Merge branch 'master' of https://github.com/RaffyTaffy14/HS * Background Has basic background * End Pose Start Adds the End Pose cue's tweeting sound (took so long but felt so cool) * Inu Sensei Start Inu Sensei added to scene. He can bop, crouch, or do neither * Temp Sumo Brothers Icon Made by Donfen * Inu Sensei Tweeting Inu Sensei now does his animation during the duration of the End Pose cue. * Crouch Block Rework Reworked crouch block to be a stretchable cue instead of a toggle (like KM prepare stance) * Bop Block Rework Bop block reworked to be a toggle. Also made a few minor tweaks to random things. * Added the Brothers The Sumo Brothers from Sumo Brothers are now in Sumo Brothers (minus the sumo) * Imported Upscaled Sumou_BG Higher resolution background and Inu Sensei sprites. * Imported REAL Upscaled Sumou_BG oops * Slap & Stomp Signals the domg buncus and tink tonks * Twiddling my Thumbs Random, Insignificant changes to random things in the code * idk random cleanup after I finally got HS to not be in shambles * more stuff dunno * Input for Pose this should not have taken this long * uh waste of 4gb atm, need 4gb atm, may need this not atm * Modernized Bops & WIP Stomps/Slaps Made the bop system to have automatic/stretchy settings like all new games. Also got a WIP implementation of stomping/slapping * quite honest i do not know let's just update HS * Prepare Slap Animation Prepare Slap animation has been animated and implemented * Sumo Prefab some stuff went down yesterday when updating the fork that involved the sumo prefab randomly downgrading to an older version, so I'm hoping that this commit will make sure that the current prefab wont just vanish into oblivion * Slapping Animation v1 Spent a few hours animating the front-hand slapping animation. Also added a "Look at Camera" event that makes the brotheren look at the camera while slapping. * Stomping Animations All stomp and stomp prepare animations are animated and coded into the game (except for the miss one) * Slapping Animation v2 finally animated the alternate slapping animation where those sumo brothers slap with their other hand * Slapping to Stomping Transition Added the slapping animation for when the Bros transition from slapping to stomping as well as all the accompanying code to get it to function. Also tweaked the two other slapping animations to fix the interpolation of those speed lines. * Inu Sensei Complete Added redone inu sensei spritesheet (thanks Mage!), animated all inu sensei animations, and coded all the inu sensei functionality. This is all really coming together now * Sumo Miss anims & more Added the Slap/Stomp miss animations. Coded the ability to whiff inputs. Replaced all the SFX with Kievit-approved rips. Added the little slap impact effect for successful slap inputs. Getting ready to make stomps pretty. Fixed misc bugs. * Sumo Pose anims & more Added the first set of pose animations. Also added animations for transitioning from posing to something else. Stomps aint getting pretty this time. Fixed misc bugs. * Sumo Pose anims v2 Animated the whole 2nd set of sumo pose animations. Fixed some various bugs with poses. Added a random setting for the poses (although it doesn't work well with only 2 poses). Getting ready for the PR * Random Bug Fixes Fixed random pose option, fixed an animation that accidentally left loop on, and added monologue. Getting ready for pr in a few days. * New Icon & Bug Fixes Added a shiny new icon made by Seanski2, fixed a bug about poses in tap mode being a bit bugged and fixed the Slap-to-Stomp slap animation being able to be played too soon. --------- Co-authored-by: minenice55 <star.elementa@gmail.com>
2024-02-19 01:25:26 +00:00
}
}