HeavenStudioPlus/Assets/Scripts/Common/SuperScroll.cs

77 lines
2.1 KiB
C#
Raw Normal View History

Miscellaneous Tweaks + New Scroll Script (#350) * meat grinder prefab + sprite cutting/naming done + icon title :) * Boss Bop, Miss, & Signal Anims can you read * Boss Call Anim self-explanatory * fix the z axis + new sprite still working on getting those bops working. they're a bit weird (not the anim itself) * Restored Meat Grinder Animations i have no idea what just happened with github but the animations are back * All Tack Animations Complete just missing the meat anims * Literally two lines changed skull emoji (forgot to set the light meat for the miss anim to inactive by default) * Meat Grinder Anims (should be) Done Added the Meat Hit anims * goodnight * bopping every beat * tons of sfx * meat calls with their corresponding sfx/animations have been added * prefunctions... * inputs + sfx + prefunction making swift progress here :) * little commit more cues and animation stuff so that i can have new animations * Meat Toss Anims also fixed up some of tack's hit anims to make the smear more consistent * night night * moved all the meat stuff to a new script -this should help with instantiating the meat * animations are a bit more comprehensive * man, barelies are way easier than i thought they were gonna be * instantiating works now committing to work on my pc instead of my laptop but i have been getting a lot done with the meat! it's just that most of that stuff is learning what i can't do... * Boss Animation Tweaks Adjusted Boss' bop and miss animations * woohoo animation! hi sean this is for u. tell me anything to tweak :) * Quick Meat Toss Anim Fix Prevents meat from playing the toss animation twice * meat hit animation works! sometimes there's a frame where the first frame of its animation pops up but i should be able to fix that also just general improvements + framework for different meats * it's done! or at least out of wip! * you can select which meat type is tossed (defaults to random) * ghost meat has been busted (it looped back to its first frame of anim sometimes right before being destroyed; i just added a single frame idle.) * overall just optimized code * removed WIP from game name * a few touch-ups * change all sfx to ogg -also amplified toss.ogg by 4db, was hard to hear at the same time as hitting a cue * fixed boss not bopping a beat after a signal -a very small bit hacky but it really works fine. will fix if any problems come up (but i added a check so that there shouldn't be) * i have stashed changes :P * new bg + remove references title * boss weird bopping fixed + game switches fixed * final touch-ups * random things just broke * for whatever reason animation controller for boss got reverted, breaking an animation * and we forgot to merge two spritesheets instead of just replacing one with the other. oops * sfx volume lowerd * ok cool commit time * added superscroll (MADE BY STARPELLY) * fixed dog ninja backwards compatibility * fixed meat grinder's startinterval need * added d pad controls to dog ninja and meat grinder * oops forgot to add dpad for dog ninja * remove d-pad from meat grinder :cry: --------- Co-authored-by: Seanski2 <seanbenedit@gmail.com>
2023-03-18 04:40:20 +00:00
using UnityEngine;
namespace HeavenStudio.Common
{
public class SuperScroll : MonoBehaviour
{
#region Private
[SerializeField] private Material _shader;
Miscellaneous Tweaks + New Scroll Script (#350) * meat grinder prefab + sprite cutting/naming done + icon title :) * Boss Bop, Miss, & Signal Anims can you read * Boss Call Anim self-explanatory * fix the z axis + new sprite still working on getting those bops working. they're a bit weird (not the anim itself) * Restored Meat Grinder Animations i have no idea what just happened with github but the animations are back * All Tack Animations Complete just missing the meat anims * Literally two lines changed skull emoji (forgot to set the light meat for the miss anim to inactive by default) * Meat Grinder Anims (should be) Done Added the Meat Hit anims * goodnight * bopping every beat * tons of sfx * meat calls with their corresponding sfx/animations have been added * prefunctions... * inputs + sfx + prefunction making swift progress here :) * little commit more cues and animation stuff so that i can have new animations * Meat Toss Anims also fixed up some of tack's hit anims to make the smear more consistent * night night * moved all the meat stuff to a new script -this should help with instantiating the meat * animations are a bit more comprehensive * man, barelies are way easier than i thought they were gonna be * instantiating works now committing to work on my pc instead of my laptop but i have been getting a lot done with the meat! it's just that most of that stuff is learning what i can't do... * Boss Animation Tweaks Adjusted Boss' bop and miss animations * woohoo animation! hi sean this is for u. tell me anything to tweak :) * Quick Meat Toss Anim Fix Prevents meat from playing the toss animation twice * meat hit animation works! sometimes there's a frame where the first frame of its animation pops up but i should be able to fix that also just general improvements + framework for different meats * it's done! or at least out of wip! * you can select which meat type is tossed (defaults to random) * ghost meat has been busted (it looped back to its first frame of anim sometimes right before being destroyed; i just added a single frame idle.) * overall just optimized code * removed WIP from game name * a few touch-ups * change all sfx to ogg -also amplified toss.ogg by 4db, was hard to hear at the same time as hitting a cue * fixed boss not bopping a beat after a signal -a very small bit hacky but it really works fine. will fix if any problems come up (but i added a check so that there shouldn't be) * i have stashed changes :P * new bg + remove references title * boss weird bopping fixed + game switches fixed * final touch-ups * random things just broke * for whatever reason animation controller for boss got reverted, breaking an animation * and we forgot to merge two spritesheets instead of just replacing one with the other. oops * sfx volume lowerd * ok cool commit time * added superscroll (MADE BY STARPELLY) * fixed dog ninja backwards compatibility * fixed meat grinder's startinterval need * added d pad controls to dog ninja and meat grinder * oops forgot to add dpad for dog ninja * remove d-pad from meat grinder :cry: --------- Co-authored-by: Seanski2 <seanbenedit@gmail.com>
2023-03-18 04:40:20 +00:00
[SerializeField]
private Renderer _renderer;
[SerializeField]
private Sprite _sprite;
#endregion
#region Public
public float NormalizedX = 0.0f;
public float NormalizedY = 0.0f;
public Vector2 Normalized { get { return new Vector2(NormalizedX, NormalizedY); } set { NormalizedX = value.x; NormalizedY = value.y; } }
Munchy Monk Finalized (#432) * stache stuff (still needs more work but yeah) * new icon (TEMPORARY ICON!!!) * some placeholder animations * more two two jank fixed, almost there * superscroll + fixing early misses * made a few temporary changes to superscroll.cs, i will be modifying it further for ease of use but for now it isn't permanent * made real progress on stopping repeat inputs -game is basically broken for the time being, but i wanna push this so nothing theoretically breaks. ill fix it all tomorrow when im less tired * it's been a while since i've committed my changes * modifiers work again (idk if i broke that in this commit or it was already broken) * stacking logic is here!!! it always uses the latest objects' hit/miss/early function so it should be perfect. i might be able to improve on efficiency tho -FollowHand animation is broken again unfortunately :( * dumplings can now be individually colored, and are assigned their colors in Start(). the smear's colors are defined on Hit() (HitFunction() to be specific) , so that even when there are multiple stacked dumplings, they'll all be accurate. maybe some other stuff but i cannot remember * clean-up + integral fixes onto Monk Move and SingleSuperScroll i think ill add some more comments too * fixed some missing/early stuff + a check for whether you can hit or not * fixed FollowHand animation and the squishing/dumpling on top * cleaned up a ton of unused variables + checks + anims * added unused sound sequences -ig if somebody knows how to use them they can implement them but idk how to and it's not worth figuring out rn * more work on superscroll; there seems to be too many changes to the structure of the script to keep the single scrolling in with the tile scrolling, will combine if necessary tho * fanClub/arisa_dab * monk move!! still working on singlesuperscroll :sob: but i got the monk moving!! * a few optimizations + starting on new singlesuperscroll * ok ScrollObject is usable now oh my GOD i need to optimize how it looks and functions but rn it works like it will when it's done (theoretically) ev do ur work * a few things + new icon!! * scroll speeds are good now * finished except for the stache bop :sob: :sob: :sob: :sob: :sob: why isn't it working * im pring this now --------- Co-authored-by: ev <85412919+evdial@users.noreply.github.com>
2023-05-23 04:09:46 +00:00
public bool AutoScroll;
public float AutoScrollX;
public float AutoScrollY;
Miscellaneous Tweaks + New Scroll Script (#350) * meat grinder prefab + sprite cutting/naming done + icon title :) * Boss Bop, Miss, & Signal Anims can you read * Boss Call Anim self-explanatory * fix the z axis + new sprite still working on getting those bops working. they're a bit weird (not the anim itself) * Restored Meat Grinder Animations i have no idea what just happened with github but the animations are back * All Tack Animations Complete just missing the meat anims * Literally two lines changed skull emoji (forgot to set the light meat for the miss anim to inactive by default) * Meat Grinder Anims (should be) Done Added the Meat Hit anims * goodnight * bopping every beat * tons of sfx * meat calls with their corresponding sfx/animations have been added * prefunctions... * inputs + sfx + prefunction making swift progress here :) * little commit more cues and animation stuff so that i can have new animations * Meat Toss Anims also fixed up some of tack's hit anims to make the smear more consistent * night night * moved all the meat stuff to a new script -this should help with instantiating the meat * animations are a bit more comprehensive * man, barelies are way easier than i thought they were gonna be * instantiating works now committing to work on my pc instead of my laptop but i have been getting a lot done with the meat! it's just that most of that stuff is learning what i can't do... * Boss Animation Tweaks Adjusted Boss' bop and miss animations * woohoo animation! hi sean this is for u. tell me anything to tweak :) * Quick Meat Toss Anim Fix Prevents meat from playing the toss animation twice * meat hit animation works! sometimes there's a frame where the first frame of its animation pops up but i should be able to fix that also just general improvements + framework for different meats * it's done! or at least out of wip! * you can select which meat type is tossed (defaults to random) * ghost meat has been busted (it looped back to its first frame of anim sometimes right before being destroyed; i just added a single frame idle.) * overall just optimized code * removed WIP from game name * a few touch-ups * change all sfx to ogg -also amplified toss.ogg by 4db, was hard to hear at the same time as hitting a cue * fixed boss not bopping a beat after a signal -a very small bit hacky but it really works fine. will fix if any problems come up (but i added a check so that there shouldn't be) * i have stashed changes :P * new bg + remove references title * boss weird bopping fixed + game switches fixed * final touch-ups * random things just broke * for whatever reason animation controller for boss got reverted, breaking an animation * and we forgot to merge two spritesheets instead of just replacing one with the other. oops * sfx volume lowerd * ok cool commit time * added superscroll (MADE BY STARPELLY) * fixed dog ninja backwards compatibility * fixed meat grinder's startinterval need * added d pad controls to dog ninja and meat grinder * oops forgot to add dpad for dog ninja * remove d-pad from meat grinder :cry: --------- Co-authored-by: Seanski2 <seanbenedit@gmail.com>
2023-03-18 04:40:20 +00:00
public float TileX = 1.0f;
public float TileY = 1.0f;
public Vector2 Tile { get { return new Vector2(TileX, TileY); } set { TileX = value.x; TileY = value.y; } }
public Material Material => _renderer.material;
#endregion
#region MonoBehaviour
private void Start()
{
_renderer.material = _shader;
Miscellaneous Tweaks + New Scroll Script (#350) * meat grinder prefab + sprite cutting/naming done + icon title :) * Boss Bop, Miss, & Signal Anims can you read * Boss Call Anim self-explanatory * fix the z axis + new sprite still working on getting those bops working. they're a bit weird (not the anim itself) * Restored Meat Grinder Animations i have no idea what just happened with github but the animations are back * All Tack Animations Complete just missing the meat anims * Literally two lines changed skull emoji (forgot to set the light meat for the miss anim to inactive by default) * Meat Grinder Anims (should be) Done Added the Meat Hit anims * goodnight * bopping every beat * tons of sfx * meat calls with their corresponding sfx/animations have been added * prefunctions... * inputs + sfx + prefunction making swift progress here :) * little commit more cues and animation stuff so that i can have new animations * Meat Toss Anims also fixed up some of tack's hit anims to make the smear more consistent * night night * moved all the meat stuff to a new script -this should help with instantiating the meat * animations are a bit more comprehensive * man, barelies are way easier than i thought they were gonna be * instantiating works now committing to work on my pc instead of my laptop but i have been getting a lot done with the meat! it's just that most of that stuff is learning what i can't do... * Boss Animation Tweaks Adjusted Boss' bop and miss animations * woohoo animation! hi sean this is for u. tell me anything to tweak :) * Quick Meat Toss Anim Fix Prevents meat from playing the toss animation twice * meat hit animation works! sometimes there's a frame where the first frame of its animation pops up but i should be able to fix that also just general improvements + framework for different meats * it's done! or at least out of wip! * you can select which meat type is tossed (defaults to random) * ghost meat has been busted (it looped back to its first frame of anim sometimes right before being destroyed; i just added a single frame idle.) * overall just optimized code * removed WIP from game name * a few touch-ups * change all sfx to ogg -also amplified toss.ogg by 4db, was hard to hear at the same time as hitting a cue * fixed boss not bopping a beat after a signal -a very small bit hacky but it really works fine. will fix if any problems come up (but i added a check so that there shouldn't be) * i have stashed changes :P * new bg + remove references title * boss weird bopping fixed + game switches fixed * final touch-ups * random things just broke * for whatever reason animation controller for boss got reverted, breaking an animation * and we forgot to merge two spritesheets instead of just replacing one with the other. oops * sfx volume lowerd * ok cool commit time * added superscroll (MADE BY STARPELLY) * fixed dog ninja backwards compatibility * fixed meat grinder's startinterval need * added d pad controls to dog ninja and meat grinder * oops forgot to add dpad for dog ninja * remove d-pad from meat grinder :cry: --------- Co-authored-by: Seanski2 <seanbenedit@gmail.com>
2023-03-18 04:40:20 +00:00
var spriteRect = _sprite.rect;
Munchy Monk Finalized (#432) * stache stuff (still needs more work but yeah) * new icon (TEMPORARY ICON!!!) * some placeholder animations * more two two jank fixed, almost there * superscroll + fixing early misses * made a few temporary changes to superscroll.cs, i will be modifying it further for ease of use but for now it isn't permanent * made real progress on stopping repeat inputs -game is basically broken for the time being, but i wanna push this so nothing theoretically breaks. ill fix it all tomorrow when im less tired * it's been a while since i've committed my changes * modifiers work again (idk if i broke that in this commit or it was already broken) * stacking logic is here!!! it always uses the latest objects' hit/miss/early function so it should be perfect. i might be able to improve on efficiency tho -FollowHand animation is broken again unfortunately :( * dumplings can now be individually colored, and are assigned their colors in Start(). the smear's colors are defined on Hit() (HitFunction() to be specific) , so that even when there are multiple stacked dumplings, they'll all be accurate. maybe some other stuff but i cannot remember * clean-up + integral fixes onto Monk Move and SingleSuperScroll i think ill add some more comments too * fixed some missing/early stuff + a check for whether you can hit or not * fixed FollowHand animation and the squishing/dumpling on top * cleaned up a ton of unused variables + checks + anims * added unused sound sequences -ig if somebody knows how to use them they can implement them but idk how to and it's not worth figuring out rn * more work on superscroll; there seems to be too many changes to the structure of the script to keep the single scrolling in with the tile scrolling, will combine if necessary tho * fanClub/arisa_dab * monk move!! still working on singlesuperscroll :sob: but i got the monk moving!! * a few optimizations + starting on new singlesuperscroll * ok ScrollObject is usable now oh my GOD i need to optimize how it looks and functions but rn it works like it will when it's done (theoretically) ev do ur work * a few things + new icon!! * scroll speeds are good now * finished except for the stache bop :sob: :sob: :sob: :sob: :sob: why isn't it working * im pring this now --------- Co-authored-by: ev <85412919+evdial@users.noreply.github.com>
2023-05-23 04:09:46 +00:00
var tex = CropTexture(_sprite.texture, new Rect(spriteRect.x, spriteRect.y, spriteRect.width, spriteRect.height));
Miscellaneous Tweaks + New Scroll Script (#350) * meat grinder prefab + sprite cutting/naming done + icon title :) * Boss Bop, Miss, & Signal Anims can you read * Boss Call Anim self-explanatory * fix the z axis + new sprite still working on getting those bops working. they're a bit weird (not the anim itself) * Restored Meat Grinder Animations i have no idea what just happened with github but the animations are back * All Tack Animations Complete just missing the meat anims * Literally two lines changed skull emoji (forgot to set the light meat for the miss anim to inactive by default) * Meat Grinder Anims (should be) Done Added the Meat Hit anims * goodnight * bopping every beat * tons of sfx * meat calls with their corresponding sfx/animations have been added * prefunctions... * inputs + sfx + prefunction making swift progress here :) * little commit more cues and animation stuff so that i can have new animations * Meat Toss Anims also fixed up some of tack's hit anims to make the smear more consistent * night night * moved all the meat stuff to a new script -this should help with instantiating the meat * animations are a bit more comprehensive * man, barelies are way easier than i thought they were gonna be * instantiating works now committing to work on my pc instead of my laptop but i have been getting a lot done with the meat! it's just that most of that stuff is learning what i can't do... * Boss Animation Tweaks Adjusted Boss' bop and miss animations * woohoo animation! hi sean this is for u. tell me anything to tweak :) * Quick Meat Toss Anim Fix Prevents meat from playing the toss animation twice * meat hit animation works! sometimes there's a frame where the first frame of its animation pops up but i should be able to fix that also just general improvements + framework for different meats * it's done! or at least out of wip! * you can select which meat type is tossed (defaults to random) * ghost meat has been busted (it looped back to its first frame of anim sometimes right before being destroyed; i just added a single frame idle.) * overall just optimized code * removed WIP from game name * a few touch-ups * change all sfx to ogg -also amplified toss.ogg by 4db, was hard to hear at the same time as hitting a cue * fixed boss not bopping a beat after a signal -a very small bit hacky but it really works fine. will fix if any problems come up (but i added a check so that there shouldn't be) * i have stashed changes :P * new bg + remove references title * boss weird bopping fixed + game switches fixed * final touch-ups * random things just broke * for whatever reason animation controller for boss got reverted, breaking an animation * and we forgot to merge two spritesheets instead of just replacing one with the other. oops * sfx volume lowerd * ok cool commit time * added superscroll (MADE BY STARPELLY) * fixed dog ninja backwards compatibility * fixed meat grinder's startinterval need * added d pad controls to dog ninja and meat grinder * oops forgot to add dpad for dog ninja * remove d-pad from meat grinder :cry: --------- Co-authored-by: Seanski2 <seanbenedit@gmail.com>
2023-03-18 04:40:20 +00:00
tex.wrapMode = TextureWrapMode.Repeat;
Material.mainTexture = tex;
}
public void LateUpdate()
{
_renderer.material.mainTextureScale = Tile;
_renderer.material.mainTextureOffset = new Vector2(NormalizedX, -NormalizedY) * Tile;
Munchy Monk Finalized (#432) * stache stuff (still needs more work but yeah) * new icon (TEMPORARY ICON!!!) * some placeholder animations * more two two jank fixed, almost there * superscroll + fixing early misses * made a few temporary changes to superscroll.cs, i will be modifying it further for ease of use but for now it isn't permanent * made real progress on stopping repeat inputs -game is basically broken for the time being, but i wanna push this so nothing theoretically breaks. ill fix it all tomorrow when im less tired * it's been a while since i've committed my changes * modifiers work again (idk if i broke that in this commit or it was already broken) * stacking logic is here!!! it always uses the latest objects' hit/miss/early function so it should be perfect. i might be able to improve on efficiency tho -FollowHand animation is broken again unfortunately :( * dumplings can now be individually colored, and are assigned their colors in Start(). the smear's colors are defined on Hit() (HitFunction() to be specific) , so that even when there are multiple stacked dumplings, they'll all be accurate. maybe some other stuff but i cannot remember * clean-up + integral fixes onto Monk Move and SingleSuperScroll i think ill add some more comments too * fixed some missing/early stuff + a check for whether you can hit or not * fixed FollowHand animation and the squishing/dumpling on top * cleaned up a ton of unused variables + checks + anims * added unused sound sequences -ig if somebody knows how to use them they can implement them but idk how to and it's not worth figuring out rn * more work on superscroll; there seems to be too many changes to the structure of the script to keep the single scrolling in with the tile scrolling, will combine if necessary tho * fanClub/arisa_dab * monk move!! still working on singlesuperscroll :sob: but i got the monk moving!! * a few optimizations + starting on new singlesuperscroll * ok ScrollObject is usable now oh my GOD i need to optimize how it looks and functions but rn it works like it will when it's done (theoretically) ev do ur work * a few things + new icon!! * scroll speeds are good now * finished except for the stache bop :sob: :sob: :sob: :sob: :sob: why isn't it working * im pring this now --------- Co-authored-by: ev <85412919+evdial@users.noreply.github.com>
2023-05-23 04:09:46 +00:00
if (AutoScroll) {
float songPos = Conductor.instance.songPositionInBeats/100;
NormalizedX = songPos*AutoScrollX;
NormalizedY = songPos*AutoScrollY;
}
Miscellaneous Tweaks + New Scroll Script (#350) * meat grinder prefab + sprite cutting/naming done + icon title :) * Boss Bop, Miss, & Signal Anims can you read * Boss Call Anim self-explanatory * fix the z axis + new sprite still working on getting those bops working. they're a bit weird (not the anim itself) * Restored Meat Grinder Animations i have no idea what just happened with github but the animations are back * All Tack Animations Complete just missing the meat anims * Literally two lines changed skull emoji (forgot to set the light meat for the miss anim to inactive by default) * Meat Grinder Anims (should be) Done Added the Meat Hit anims * goodnight * bopping every beat * tons of sfx * meat calls with their corresponding sfx/animations have been added * prefunctions... * inputs + sfx + prefunction making swift progress here :) * little commit more cues and animation stuff so that i can have new animations * Meat Toss Anims also fixed up some of tack's hit anims to make the smear more consistent * night night * moved all the meat stuff to a new script -this should help with instantiating the meat * animations are a bit more comprehensive * man, barelies are way easier than i thought they were gonna be * instantiating works now committing to work on my pc instead of my laptop but i have been getting a lot done with the meat! it's just that most of that stuff is learning what i can't do... * Boss Animation Tweaks Adjusted Boss' bop and miss animations * woohoo animation! hi sean this is for u. tell me anything to tweak :) * Quick Meat Toss Anim Fix Prevents meat from playing the toss animation twice * meat hit animation works! sometimes there's a frame where the first frame of its animation pops up but i should be able to fix that also just general improvements + framework for different meats * it's done! or at least out of wip! * you can select which meat type is tossed (defaults to random) * ghost meat has been busted (it looped back to its first frame of anim sometimes right before being destroyed; i just added a single frame idle.) * overall just optimized code * removed WIP from game name * a few touch-ups * change all sfx to ogg -also amplified toss.ogg by 4db, was hard to hear at the same time as hitting a cue * fixed boss not bopping a beat after a signal -a very small bit hacky but it really works fine. will fix if any problems come up (but i added a check so that there shouldn't be) * i have stashed changes :P * new bg + remove references title * boss weird bopping fixed + game switches fixed * final touch-ups * random things just broke * for whatever reason animation controller for boss got reverted, breaking an animation * and we forgot to merge two spritesheets instead of just replacing one with the other. oops * sfx volume lowerd * ok cool commit time * added superscroll (MADE BY STARPELLY) * fixed dog ninja backwards compatibility * fixed meat grinder's startinterval need * added d pad controls to dog ninja and meat grinder * oops forgot to add dpad for dog ninja * remove d-pad from meat grinder :cry: --------- Co-authored-by: Seanski2 <seanbenedit@gmail.com>
2023-03-18 04:40:20 +00:00
}
#endregion
#region Custom
private Texture2D CropTexture(Texture2D original, Rect rect)
{
var colors = original.GetPixels((int)rect.x, (int)rect.y, (int)rect.width, (int)rect.height);
var newTex = new Texture2D((int)rect.width, (int)rect.height);
Miscellaneous Tweaks + New Scroll Script (#350) * meat grinder prefab + sprite cutting/naming done + icon title :) * Boss Bop, Miss, & Signal Anims can you read * Boss Call Anim self-explanatory * fix the z axis + new sprite still working on getting those bops working. they're a bit weird (not the anim itself) * Restored Meat Grinder Animations i have no idea what just happened with github but the animations are back * All Tack Animations Complete just missing the meat anims * Literally two lines changed skull emoji (forgot to set the light meat for the miss anim to inactive by default) * Meat Grinder Anims (should be) Done Added the Meat Hit anims * goodnight * bopping every beat * tons of sfx * meat calls with their corresponding sfx/animations have been added * prefunctions... * inputs + sfx + prefunction making swift progress here :) * little commit more cues and animation stuff so that i can have new animations * Meat Toss Anims also fixed up some of tack's hit anims to make the smear more consistent * night night * moved all the meat stuff to a new script -this should help with instantiating the meat * animations are a bit more comprehensive * man, barelies are way easier than i thought they were gonna be * instantiating works now committing to work on my pc instead of my laptop but i have been getting a lot done with the meat! it's just that most of that stuff is learning what i can't do... * Boss Animation Tweaks Adjusted Boss' bop and miss animations * woohoo animation! hi sean this is for u. tell me anything to tweak :) * Quick Meat Toss Anim Fix Prevents meat from playing the toss animation twice * meat hit animation works! sometimes there's a frame where the first frame of its animation pops up but i should be able to fix that also just general improvements + framework for different meats * it's done! or at least out of wip! * you can select which meat type is tossed (defaults to random) * ghost meat has been busted (it looped back to its first frame of anim sometimes right before being destroyed; i just added a single frame idle.) * overall just optimized code * removed WIP from game name * a few touch-ups * change all sfx to ogg -also amplified toss.ogg by 4db, was hard to hear at the same time as hitting a cue * fixed boss not bopping a beat after a signal -a very small bit hacky but it really works fine. will fix if any problems come up (but i added a check so that there shouldn't be) * i have stashed changes :P * new bg + remove references title * boss weird bopping fixed + game switches fixed * final touch-ups * random things just broke * for whatever reason animation controller for boss got reverted, breaking an animation * and we forgot to merge two spritesheets instead of just replacing one with the other. oops * sfx volume lowerd * ok cool commit time * added superscroll (MADE BY STARPELLY) * fixed dog ninja backwards compatibility * fixed meat grinder's startinterval need * added d pad controls to dog ninja and meat grinder * oops forgot to add dpad for dog ninja * remove d-pad from meat grinder :cry: --------- Co-authored-by: Seanski2 <seanbenedit@gmail.com>
2023-03-18 04:40:20 +00:00
newTex.SetPixels(colors);
newTex.Apply();
return newTex;
}
#endregion
}
}