HeavenStudio/Assets/Scripts/Games/DogNinja/ThrowObject.cs

146 lines
4.7 KiB
C#
Raw Normal View History

Dog Ninja (#268) * starting out with double date stuff :D not even the background is finished i just wanna get this on my fork so that it's safe * double date getting more initialized no animations, one block, nothing actually functions. but the boy is put in place, and the girl is almost put in place! just wanted to merge this with the main branch to play catchy tune * initialization done!!!!! gonna fix up the code, see what i can take out, see what i can standardize, see what i need to add. loving this so far, even with all of its annoyances * ughhhh animation stuff. this is gonna take me a day or two to even comprehend * starting on animation committing cause im traveling, i might work on this if i have time * replace sounds, extend some stuff replaced the rhre3 sounds and added a few things to make camera movements not look so out-of-bounds janky. still working on it, but it's coming along good so far * starting on dog ninja waiting for bread2unity to get merged, and i'm still probably gonna keep working on dog ninja until it's done even if it does. * initialization and sprite trimming done reference is from angrytapper2's video Throw Object, Cut Everything!, and Here We Go! were the cues added, in that order. * temp icon w/ mask + bezier curves!! the icon is temporary, but i did add a mask. i think it looks pretty good :) especially for what it is. also bezier curves. i just figured those out, now i just need to figure out how to implement them into the object. * getting there i'm so close to getting the "Cut Everything!" block to work. i'm trying to figure out how to not play it as the default when the game is rendered * added sfx * added bird animations * looked at double date for like 2 minutes * have been editing blue bear's "treat" block to fit dog ninja for a while now (im gonna try doing these commit notes from now on) * keeping trying * cues have sfx now - the "throw object" cues are not accurate yet * animations adjusted to not keep bird on screen * not much progress rn, getting into the harder stuff * added more sfx - it's from rhre3, if somebody can find a clean rip that would be great, cause i can't) * made a bop animation - still trying to figure out how to get it to play every beat :/ * replaced throw sfx, was using whiff sfx before * extended background using a slice of the sky gradient and color picked blocks * some code added to dogninja.cs and throwobject.cs is... bad. it's just torn from other games. * i need to work out conflicts really this is just pushing all my stuff so i don't lose it, tambourine is giving my fork conflicts for some reason :skull: * blehhh figuring out git some more * doesn't look like much. but I GOT ANIMATIONS WORKING. (god, i suck at C#) * bop animations, on every beat (will soon make it a toggle) * bird fly in and out, flies in when not on screen and out when on screen * did more work on "throwObject.cs" but not anything applicable yet * also found out how assigning scripts to a prefab works. ugh. so, got all those holders and objects assigned * trying to get different sfx working for each item really i just established some structure code. i don't understand it too well, so there are a few things commented out. * starting with inputs rn they're broken and i can't tell why :( * heavily commented out code in ThrowObject.cs * added option to disable the bird's FlyIn SFX * some debug stuff * some scheduled inputs (that AREN'T. WORKING.) * fixed the input bug tysm ymf <333 ur my hero technically this is a functioning game! gonna get different sfx/sprites working, try to get bezier curves working, then i'll make a pr * fixed that input bug * changed some variable names * getting some more infrastructure for getting the game fully working * double date stuff!!!! (improvements, playability) * purged SO much code * combined SoccerBall.cs and Basketball.cs into Ball.cs - might do that for Football.cs too, but we'll see * removed bop animation, it looked bad and made double date as a whole look bad cause it didn't reset. so the boy looked a bit off. - also fixed an error pertaining to animations * basic input stuff for when bread2unity gets merged * oh so much infrastructure stuff * lol commit * some animation stuff * sfx stuff all the different options have sfx tied to them for the throw and slice. now onto sprites and animation... * added tacobell too :) * dog ninja going into WIP :D (commiting rn cause i wanna do some experimental animation) * one more object :) * optimized some code * new sprites are almost done; i've got a list of both the sprites and their halves. * sprites are in! and goodnight. UGHHH BEZIER CURVES I DONT UNDERSTAND YOU * all the sprites go with their corresponding option and sfx * bird improved slightly * BEZIER CURVES * actual fruit animation * toggle for random fruits (doesn't work yet) * textbox for custom objects (doesn't work yet) - not user-submitted stuff, just stuff that doesn't really fit in the main dropdown menu * some stuff i don't remember, but it's definitely stuff that's working towards making everything work. miss anims don't work yet. at all. the objects just go flying. also the slice animation needs to be finished for both sides, and a bool needs to be added for which side to play (will be easy to do) also when you randomly slice, which is determined completely randomly (thank god) gura-nyuuu :3 (i'm sorry) * added a single sfx * custom objects!! tbh a lot more's coming but i need to merge my stuff i don't feel like taking notes here * working on halves * misc cleaning up stuff * started on the logic for halves * progress on halves, cleaning out variables i need to sync between laptop and pc * im pretty sure that's all the double date stuff taken out :thumbsup: * neatened up code + better bezier curves * adjusted bezier curves - sooo close to perfection but very noticeable stuttering at lower speeds * changed random to default object option instead of a bool; makes more sense this way * renaming things, getting code ready for new animations * commented a bunch of my code * re-fixing a bunch of stuff that has since broken from updating stuff - i.e random fruit, sprites, "here we go!" in general, etc. * new font, stuff fixed * added [about friend font](https://www.deviantart.com/matthewtheprep/art/About-Friend-Extended-Now-with-Greek-and-Cyrillic-832264925) * fixed "here we go!" * some more left or right object animation stuff * so many things * fully added custom items - accessible through a cheat code type system in the drop-down for cues * changed how the bezier curves function - only three points now (much smoother) and i just start it much later on the curve * added AboutFriend font, basically kurokane except free to use * started more on halves god, halves are gonna be hard tho * quick commit by [d] * got temp animations in * temp animations for ev * replaced ai sprites with ev's (thank you <333) * getting progress on halves * cleaned up files * hi res sprites * throw both objects + prepare anim title though, i still need to work out how the prepare animation will not play when you need to slice (cues a beat or less apart) * all dog ninja animations * forgot some stuff lol * prep anim done yay :) * oops! blend tree moment (more stuff) * animation fixes * more anim fixes lol * done for the night * added seanski's new icon * fixed the sound for both objects getting thrown * still working on the prepare animation, but for now it's gonna be a block - if literally anybody wants to implement an auto-prepare that isn't jank be my guest * halves progress, as usual * added a new item :smile: * fix conflicts just saw these in the pr, this commit should fix them * clean up code/fix prepare block thank you ymf!!! <333 * code optimizations * both slice anim + prepare anim fixed * i have stashed changes i need to work on * stashed changes * remade halves lists * renamed some sprites -i had funny little names like "tater" and "cuc" but that's a bit confusing * custom halves don't have the framework for them yet so i was building that too * half sprites work now onto making the curve an animation! (also fixing the text ig) (ALSO i fixed the prepare stuff (i think)) * unity animation :skull: death * Fixed text stuff * push changes so nothing breaks hi ymf * i'll work on this more later * halves r workin * oops! all mp3s! -converted mp3 sfx to ogg still need to do barelies, then everything is done * barelies are so close to being done!!! tweaking + figuring out how position works depending on which side the object was thrown * stopping for the night barelies are actually so insanely close to being done it's just a little bit of jank that's holding them back ill finish this tomorrow. * it's over. it's finally over. PR TIME! * final adjustments * the rest of the barely stuff * clean up the code a little :D --------- Co-authored-by: minenice55 <star.elementa@gmail.com> Co-authored-by: patataofcourse <patataofcourse@gmail.com> Co-authored-by: ev <85412919+evdial@users.noreply.github.com> Co-authored-by: Rapandrasmus <78219215+Rapandrasmus@users.noreply.github.com>
2023-03-07 22:55:44 +00:00
using System.Collections;
using System.Collections.Generic;
using System;
using UnityEngine;
using NaughtyBezierCurves;
using HeavenStudio.Util;
namespace HeavenStudio.Games.Scripts_DogNinja
{
public class ThrowObject : MonoBehaviour
Dog Ninja (#268) * starting out with double date stuff :D not even the background is finished i just wanna get this on my fork so that it's safe * double date getting more initialized no animations, one block, nothing actually functions. but the boy is put in place, and the girl is almost put in place! just wanted to merge this with the main branch to play catchy tune * initialization done!!!!! gonna fix up the code, see what i can take out, see what i can standardize, see what i need to add. loving this so far, even with all of its annoyances * ughhhh animation stuff. this is gonna take me a day or two to even comprehend * starting on animation committing cause im traveling, i might work on this if i have time * replace sounds, extend some stuff replaced the rhre3 sounds and added a few things to make camera movements not look so out-of-bounds janky. still working on it, but it's coming along good so far * starting on dog ninja waiting for bread2unity to get merged, and i'm still probably gonna keep working on dog ninja until it's done even if it does. * initialization and sprite trimming done reference is from angrytapper2's video Throw Object, Cut Everything!, and Here We Go! were the cues added, in that order. * temp icon w/ mask + bezier curves!! the icon is temporary, but i did add a mask. i think it looks pretty good :) especially for what it is. also bezier curves. i just figured those out, now i just need to figure out how to implement them into the object. * getting there i'm so close to getting the "Cut Everything!" block to work. i'm trying to figure out how to not play it as the default when the game is rendered * added sfx * added bird animations * looked at double date for like 2 minutes * have been editing blue bear's "treat" block to fit dog ninja for a while now (im gonna try doing these commit notes from now on) * keeping trying * cues have sfx now - the "throw object" cues are not accurate yet * animations adjusted to not keep bird on screen * not much progress rn, getting into the harder stuff * added more sfx - it's from rhre3, if somebody can find a clean rip that would be great, cause i can't) * made a bop animation - still trying to figure out how to get it to play every beat :/ * replaced throw sfx, was using whiff sfx before * extended background using a slice of the sky gradient and color picked blocks * some code added to dogninja.cs and throwobject.cs is... bad. it's just torn from other games. * i need to work out conflicts really this is just pushing all my stuff so i don't lose it, tambourine is giving my fork conflicts for some reason :skull: * blehhh figuring out git some more * doesn't look like much. but I GOT ANIMATIONS WORKING. (god, i suck at C#) * bop animations, on every beat (will soon make it a toggle) * bird fly in and out, flies in when not on screen and out when on screen * did more work on "throwObject.cs" but not anything applicable yet * also found out how assigning scripts to a prefab works. ugh. so, got all those holders and objects assigned * trying to get different sfx working for each item really i just established some structure code. i don't understand it too well, so there are a few things commented out. * starting with inputs rn they're broken and i can't tell why :( * heavily commented out code in ThrowObject.cs * added option to disable the bird's FlyIn SFX * some debug stuff * some scheduled inputs (that AREN'T. WORKING.) * fixed the input bug tysm ymf <333 ur my hero technically this is a functioning game! gonna get different sfx/sprites working, try to get bezier curves working, then i'll make a pr * fixed that input bug * changed some variable names * getting some more infrastructure for getting the game fully working * double date stuff!!!! (improvements, playability) * purged SO much code * combined SoccerBall.cs and Basketball.cs into Ball.cs - might do that for Football.cs too, but we'll see * removed bop animation, it looked bad and made double date as a whole look bad cause it didn't reset. so the boy looked a bit off. - also fixed an error pertaining to animations * basic input stuff for when bread2unity gets merged * oh so much infrastructure stuff * lol commit * some animation stuff * sfx stuff all the different options have sfx tied to them for the throw and slice. now onto sprites and animation... * added tacobell too :) * dog ninja going into WIP :D (commiting rn cause i wanna do some experimental animation) * one more object :) * optimized some code * new sprites are almost done; i've got a list of both the sprites and their halves. * sprites are in! and goodnight. UGHHH BEZIER CURVES I DONT UNDERSTAND YOU * all the sprites go with their corresponding option and sfx * bird improved slightly * BEZIER CURVES * actual fruit animation * toggle for random fruits (doesn't work yet) * textbox for custom objects (doesn't work yet) - not user-submitted stuff, just stuff that doesn't really fit in the main dropdown menu * some stuff i don't remember, but it's definitely stuff that's working towards making everything work. miss anims don't work yet. at all. the objects just go flying. also the slice animation needs to be finished for both sides, and a bool needs to be added for which side to play (will be easy to do) also when you randomly slice, which is determined completely randomly (thank god) gura-nyuuu :3 (i'm sorry) * added a single sfx * custom objects!! tbh a lot more's coming but i need to merge my stuff i don't feel like taking notes here * working on halves * misc cleaning up stuff * started on the logic for halves * progress on halves, cleaning out variables i need to sync between laptop and pc * im pretty sure that's all the double date stuff taken out :thumbsup: * neatened up code + better bezier curves * adjusted bezier curves - sooo close to perfection but very noticeable stuttering at lower speeds * changed random to default object option instead of a bool; makes more sense this way * renaming things, getting code ready for new animations * commented a bunch of my code * re-fixing a bunch of stuff that has since broken from updating stuff - i.e random fruit, sprites, "here we go!" in general, etc. * new font, stuff fixed * added [about friend font](https://www.deviantart.com/matthewtheprep/art/About-Friend-Extended-Now-with-Greek-and-Cyrillic-832264925) * fixed "here we go!" * some more left or right object animation stuff * so many things * fully added custom items - accessible through a cheat code type system in the drop-down for cues * changed how the bezier curves function - only three points now (much smoother) and i just start it much later on the curve * added AboutFriend font, basically kurokane except free to use * started more on halves god, halves are gonna be hard tho * quick commit by [d] * got temp animations in * temp animations for ev * replaced ai sprites with ev's (thank you <333) * getting progress on halves * cleaned up files * hi res sprites * throw both objects + prepare anim title though, i still need to work out how the prepare animation will not play when you need to slice (cues a beat or less apart) * all dog ninja animations * forgot some stuff lol * prep anim done yay :) * oops! blend tree moment (more stuff) * animation fixes * more anim fixes lol * done for the night * added seanski's new icon * fixed the sound for both objects getting thrown * still working on the prepare animation, but for now it's gonna be a block - if literally anybody wants to implement an auto-prepare that isn't jank be my guest * halves progress, as usual * added a new item :smile: * fix conflicts just saw these in the pr, this commit should fix them * clean up code/fix prepare block thank you ymf!!! <333 * code optimizations * both slice anim + prepare anim fixed * i have stashed changes i need to work on * stashed changes * remade halves lists * renamed some sprites -i had funny little names like "tater" and "cuc" but that's a bit confusing * custom halves don't have the framework for them yet so i was building that too * half sprites work now onto making the curve an animation! (also fixing the text ig) (ALSO i fixed the prepare stuff (i think)) * unity animation :skull: death * Fixed text stuff * push changes so nothing breaks hi ymf * i'll work on this more later * halves r workin * oops! all mp3s! -converted mp3 sfx to ogg still need to do barelies, then everything is done * barelies are so close to being done!!! tweaking + figuring out how position works depending on which side the object was thrown * stopping for the night barelies are actually so insanely close to being done it's just a little bit of jank that's holding them back ill finish this tomorrow. * it's over. it's finally over. PR TIME! * final adjustments * the rest of the barely stuff * clean up the code a little :D --------- Co-authored-by: minenice55 <star.elementa@gmail.com> Co-authored-by: patataofcourse <patataofcourse@gmail.com> Co-authored-by: ev <85412919+evdial@users.noreply.github.com> Co-authored-by: Rapandrasmus <78219215+Rapandrasmus@users.noreply.github.com>
2023-03-07 22:55:44 +00:00
{
public double startBeat;
Dog Ninja (#268) * starting out with double date stuff :D not even the background is finished i just wanna get this on my fork so that it's safe * double date getting more initialized no animations, one block, nothing actually functions. but the boy is put in place, and the girl is almost put in place! just wanted to merge this with the main branch to play catchy tune * initialization done!!!!! gonna fix up the code, see what i can take out, see what i can standardize, see what i need to add. loving this so far, even with all of its annoyances * ughhhh animation stuff. this is gonna take me a day or two to even comprehend * starting on animation committing cause im traveling, i might work on this if i have time * replace sounds, extend some stuff replaced the rhre3 sounds and added a few things to make camera movements not look so out-of-bounds janky. still working on it, but it's coming along good so far * starting on dog ninja waiting for bread2unity to get merged, and i'm still probably gonna keep working on dog ninja until it's done even if it does. * initialization and sprite trimming done reference is from angrytapper2's video Throw Object, Cut Everything!, and Here We Go! were the cues added, in that order. * temp icon w/ mask + bezier curves!! the icon is temporary, but i did add a mask. i think it looks pretty good :) especially for what it is. also bezier curves. i just figured those out, now i just need to figure out how to implement them into the object. * getting there i'm so close to getting the "Cut Everything!" block to work. i'm trying to figure out how to not play it as the default when the game is rendered * added sfx * added bird animations * looked at double date for like 2 minutes * have been editing blue bear's "treat" block to fit dog ninja for a while now (im gonna try doing these commit notes from now on) * keeping trying * cues have sfx now - the "throw object" cues are not accurate yet * animations adjusted to not keep bird on screen * not much progress rn, getting into the harder stuff * added more sfx - it's from rhre3, if somebody can find a clean rip that would be great, cause i can't) * made a bop animation - still trying to figure out how to get it to play every beat :/ * replaced throw sfx, was using whiff sfx before * extended background using a slice of the sky gradient and color picked blocks * some code added to dogninja.cs and throwobject.cs is... bad. it's just torn from other games. * i need to work out conflicts really this is just pushing all my stuff so i don't lose it, tambourine is giving my fork conflicts for some reason :skull: * blehhh figuring out git some more * doesn't look like much. but I GOT ANIMATIONS WORKING. (god, i suck at C#) * bop animations, on every beat (will soon make it a toggle) * bird fly in and out, flies in when not on screen and out when on screen * did more work on "throwObject.cs" but not anything applicable yet * also found out how assigning scripts to a prefab works. ugh. so, got all those holders and objects assigned * trying to get different sfx working for each item really i just established some structure code. i don't understand it too well, so there are a few things commented out. * starting with inputs rn they're broken and i can't tell why :( * heavily commented out code in ThrowObject.cs * added option to disable the bird's FlyIn SFX * some debug stuff * some scheduled inputs (that AREN'T. WORKING.) * fixed the input bug tysm ymf <333 ur my hero technically this is a functioning game! gonna get different sfx/sprites working, try to get bezier curves working, then i'll make a pr * fixed that input bug * changed some variable names * getting some more infrastructure for getting the game fully working * double date stuff!!!! (improvements, playability) * purged SO much code * combined SoccerBall.cs and Basketball.cs into Ball.cs - might do that for Football.cs too, but we'll see * removed bop animation, it looked bad and made double date as a whole look bad cause it didn't reset. so the boy looked a bit off. - also fixed an error pertaining to animations * basic input stuff for when bread2unity gets merged * oh so much infrastructure stuff * lol commit * some animation stuff * sfx stuff all the different options have sfx tied to them for the throw and slice. now onto sprites and animation... * added tacobell too :) * dog ninja going into WIP :D (commiting rn cause i wanna do some experimental animation) * one more object :) * optimized some code * new sprites are almost done; i've got a list of both the sprites and their halves. * sprites are in! and goodnight. UGHHH BEZIER CURVES I DONT UNDERSTAND YOU * all the sprites go with their corresponding option and sfx * bird improved slightly * BEZIER CURVES * actual fruit animation * toggle for random fruits (doesn't work yet) * textbox for custom objects (doesn't work yet) - not user-submitted stuff, just stuff that doesn't really fit in the main dropdown menu * some stuff i don't remember, but it's definitely stuff that's working towards making everything work. miss anims don't work yet. at all. the objects just go flying. also the slice animation needs to be finished for both sides, and a bool needs to be added for which side to play (will be easy to do) also when you randomly slice, which is determined completely randomly (thank god) gura-nyuuu :3 (i'm sorry) * added a single sfx * custom objects!! tbh a lot more's coming but i need to merge my stuff i don't feel like taking notes here * working on halves * misc cleaning up stuff * started on the logic for halves * progress on halves, cleaning out variables i need to sync between laptop and pc * im pretty sure that's all the double date stuff taken out :thumbsup: * neatened up code + better bezier curves * adjusted bezier curves - sooo close to perfection but very noticeable stuttering at lower speeds * changed random to default object option instead of a bool; makes more sense this way * renaming things, getting code ready for new animations * commented a bunch of my code * re-fixing a bunch of stuff that has since broken from updating stuff - i.e random fruit, sprites, "here we go!" in general, etc. * new font, stuff fixed * added [about friend font](https://www.deviantart.com/matthewtheprep/art/About-Friend-Extended-Now-with-Greek-and-Cyrillic-832264925) * fixed "here we go!" * some more left or right object animation stuff * so many things * fully added custom items - accessible through a cheat code type system in the drop-down for cues * changed how the bezier curves function - only three points now (much smoother) and i just start it much later on the curve * added AboutFriend font, basically kurokane except free to use * started more on halves god, halves are gonna be hard tho * quick commit by [d] * got temp animations in * temp animations for ev * replaced ai sprites with ev's (thank you <333) * getting progress on halves * cleaned up files * hi res sprites * throw both objects + prepare anim title though, i still need to work out how the prepare animation will not play when you need to slice (cues a beat or less apart) * all dog ninja animations * forgot some stuff lol * prep anim done yay :) * oops! blend tree moment (more stuff) * animation fixes * more anim fixes lol * done for the night * added seanski's new icon * fixed the sound for both objects getting thrown * still working on the prepare animation, but for now it's gonna be a block - if literally anybody wants to implement an auto-prepare that isn't jank be my guest * halves progress, as usual * added a new item :smile: * fix conflicts just saw these in the pr, this commit should fix them * clean up code/fix prepare block thank you ymf!!! <333 * code optimizations * both slice anim + prepare anim fixed * i have stashed changes i need to work on * stashed changes * remade halves lists * renamed some sprites -i had funny little names like "tater" and "cuc" but that's a bit confusing * custom halves don't have the framework for them yet so i was building that too * half sprites work now onto making the curve an animation! (also fixing the text ig) (ALSO i fixed the prepare stuff (i think)) * unity animation :skull: death * Fixed text stuff * push changes so nothing breaks hi ymf * i'll work on this more later * halves r workin * oops! all mp3s! -converted mp3 sfx to ogg still need to do barelies, then everything is done * barelies are so close to being done!!! tweaking + figuring out how position works depending on which side the object was thrown * stopping for the night barelies are actually so insanely close to being done it's just a little bit of jank that's holding them back ill finish this tomorrow. * it's over. it's finally over. PR TIME! * final adjustments * the rest of the barely stuff * clean up the code a little :D --------- Co-authored-by: minenice55 <star.elementa@gmail.com> Co-authored-by: patataofcourse <patataofcourse@gmail.com> Co-authored-by: ev <85412919+evdial@users.noreply.github.com> Co-authored-by: Rapandrasmus <78219215+Rapandrasmus@users.noreply.github.com>
2023-03-07 22:55:44 +00:00
public int type;
public bool fromLeft;
public bool shouldSfx = true;
Dog Ninja Tweaks (#336) * starting out with double date stuff :D not even the background is finished i just wanna get this on my fork so that it's safe * double date getting more initialized no animations, one block, nothing actually functions. but the boy is put in place, and the girl is almost put in place! just wanted to merge this with the main branch to play catchy tune * initialization done!!!!! gonna fix up the code, see what i can take out, see what i can standardize, see what i need to add. loving this so far, even with all of its annoyances * ughhhh animation stuff. this is gonna take me a day or two to even comprehend * starting on animation committing cause im traveling, i might work on this if i have time * replace sounds, extend some stuff replaced the rhre3 sounds and added a few things to make camera movements not look so out-of-bounds janky. still working on it, but it's coming along good so far * starting on dog ninja waiting for bread2unity to get merged, and i'm still probably gonna keep working on dog ninja until it's done even if it does. * initialization and sprite trimming done reference is from angrytapper2's video Throw Object, Cut Everything!, and Here We Go! were the cues added, in that order. * temp icon w/ mask + bezier curves!! the icon is temporary, but i did add a mask. i think it looks pretty good :) especially for what it is. also bezier curves. i just figured those out, now i just need to figure out how to implement them into the object. * getting there i'm so close to getting the "Cut Everything!" block to work. i'm trying to figure out how to not play it as the default when the game is rendered * added sfx * added bird animations * looked at double date for like 2 minutes * have been editing blue bear's "treat" block to fit dog ninja for a while now (im gonna try doing these commit notes from now on) * keeping trying * cues have sfx now - the "throw object" cues are not accurate yet * animations adjusted to not keep bird on screen * not much progress rn, getting into the harder stuff * added more sfx - it's from rhre3, if somebody can find a clean rip that would be great, cause i can't) * made a bop animation - still trying to figure out how to get it to play every beat :/ * replaced throw sfx, was using whiff sfx before * extended background using a slice of the sky gradient and color picked blocks * some code added to dogninja.cs and throwobject.cs is... bad. it's just torn from other games. * i need to work out conflicts really this is just pushing all my stuff so i don't lose it, tambourine is giving my fork conflicts for some reason :skull: * blehhh figuring out git some more * doesn't look like much. but I GOT ANIMATIONS WORKING. (god, i suck at C#) * bop animations, on every beat (will soon make it a toggle) * bird fly in and out, flies in when not on screen and out when on screen * did more work on "throwObject.cs" but not anything applicable yet * also found out how assigning scripts to a prefab works. ugh. so, got all those holders and objects assigned * trying to get different sfx working for each item really i just established some structure code. i don't understand it too well, so there are a few things commented out. * starting with inputs rn they're broken and i can't tell why :( * heavily commented out code in ThrowObject.cs * added option to disable the bird's FlyIn SFX * some debug stuff * some scheduled inputs (that AREN'T. WORKING.) * fixed the input bug tysm ymf <333 ur my hero technically this is a functioning game! gonna get different sfx/sprites working, try to get bezier curves working, then i'll make a pr * fixed that input bug * changed some variable names * getting some more infrastructure for getting the game fully working * double date stuff!!!! (improvements, playability) * purged SO much code * combined SoccerBall.cs and Basketball.cs into Ball.cs - might do that for Football.cs too, but we'll see * removed bop animation, it looked bad and made double date as a whole look bad cause it didn't reset. so the boy looked a bit off. - also fixed an error pertaining to animations * basic input stuff for when bread2unity gets merged * oh so much infrastructure stuff * lol commit * some animation stuff * sfx stuff all the different options have sfx tied to them for the throw and slice. now onto sprites and animation... * added tacobell too :) * dog ninja going into WIP :D (commiting rn cause i wanna do some experimental animation) * one more object :) * optimized some code * new sprites are almost done; i've got a list of both the sprites and their halves. * sprites are in! and goodnight. UGHHH BEZIER CURVES I DONT UNDERSTAND YOU * all the sprites go with their corresponding option and sfx * bird improved slightly * BEZIER CURVES * actual fruit animation * toggle for random fruits (doesn't work yet) * textbox for custom objects (doesn't work yet) - not user-submitted stuff, just stuff that doesn't really fit in the main dropdown menu * some stuff i don't remember, but it's definitely stuff that's working towards making everything work. miss anims don't work yet. at all. the objects just go flying. also the slice animation needs to be finished for both sides, and a bool needs to be added for which side to play (will be easy to do) also when you randomly slice, which is determined completely randomly (thank god) gura-nyuuu :3 (i'm sorry) * added a single sfx * custom objects!! tbh a lot more's coming but i need to merge my stuff i don't feel like taking notes here * working on halves * misc cleaning up stuff * started on the logic for halves * progress on halves, cleaning out variables i need to sync between laptop and pc * im pretty sure that's all the double date stuff taken out :thumbsup: * neatened up code + better bezier curves * adjusted bezier curves - sooo close to perfection but very noticeable stuttering at lower speeds * changed random to default object option instead of a bool; makes more sense this way * renaming things, getting code ready for new animations * commented a bunch of my code * re-fixing a bunch of stuff that has since broken from updating stuff - i.e random fruit, sprites, "here we go!" in general, etc. * new font, stuff fixed * added [about friend font](https://www.deviantart.com/matthewtheprep/art/About-Friend-Extended-Now-with-Greek-and-Cyrillic-832264925) * fixed "here we go!" * some more left or right object animation stuff * so many things * fully added custom items - accessible through a cheat code type system in the drop-down for cues * changed how the bezier curves function - only three points now (much smoother) and i just start it much later on the curve * added AboutFriend font, basically kurokane except free to use * started more on halves god, halves are gonna be hard tho * quick commit by [d] * got temp animations in * temp animations for ev * replaced ai sprites with ev's (thank you <333) * getting progress on halves * cleaned up files * hi res sprites * throw both objects + prepare anim title though, i still need to work out how the prepare animation will not play when you need to slice (cues a beat or less apart) * all dog ninja animations * forgot some stuff lol * prep anim done yay :) * oops! blend tree moment (more stuff) * animation fixes * more anim fixes lol * done for the night * added seanski's new icon * fixed the sound for both objects getting thrown * still working on the prepare animation, but for now it's gonna be a block - if literally anybody wants to implement an auto-prepare that isn't jank be my guest * halves progress, as usual * added a new item :smile: * fix conflicts just saw these in the pr, this commit should fix them * clean up code/fix prepare block thank you ymf!!! <333 * code optimizations * both slice anim + prepare anim fixed * i have stashed changes i need to work on * stashed changes * remade halves lists * renamed some sprites -i had funny little names like "tater" and "cuc" but that's a bit confusing * custom halves don't have the framework for them yet so i was building that too * half sprites work now onto making the curve an animation! (also fixing the text ig) (ALSO i fixed the prepare stuff (i think)) * unity animation :skull: death * Fixed text stuff * push changes so nothing breaks hi ymf * i'll work on this more later * halves r workin * oops! all mp3s! -converted mp3 sfx to ogg still need to do barelies, then everything is done * barelies are so close to being done!!! tweaking + figuring out how position works depending on which side the object was thrown * stopping for the night barelies are actually so insanely close to being done it's just a little bit of jank that's holding them back ill finish this tomorrow. * it's over. it's finally over. PR TIME! * final adjustments * the rest of the barely stuff * clean up the code a little :D * halves look a lot better gonna remove all my enum parsing code and replace it with a boring dropdown :cry: after that i gotta fix the barelies, i should be able to just use whatever the halves are doing cause they look really good * rewrote basically all of ThrowObject() * overhauled how object calling works * added "Idol" object (fan club mic) * fixed barelies and curves and how they were transformed * oh and uh, one more thing. prepare block was janky so i just made the animation last 20 seconds :) ez fix * final touch-ups + layering issues title * apparently this didn't push :japanese_ogre: --------- Co-authored-by: minenice55 <star.elementa@gmail.com> Co-authored-by: patataofcourse <patataofcourse@gmail.com> Co-authored-by: ev <85412919+evdial@users.noreply.github.com> Co-authored-by: Rapandrasmus <78219215+Rapandrasmus@users.noreply.github.com>
2023-03-11 20:55:18 +00:00
public int direction;
public string sfxNum;
Dog Ninja Tweaks (#336) * starting out with double date stuff :D not even the background is finished i just wanna get this on my fork so that it's safe * double date getting more initialized no animations, one block, nothing actually functions. but the boy is put in place, and the girl is almost put in place! just wanted to merge this with the main branch to play catchy tune * initialization done!!!!! gonna fix up the code, see what i can take out, see what i can standardize, see what i need to add. loving this so far, even with all of its annoyances * ughhhh animation stuff. this is gonna take me a day or two to even comprehend * starting on animation committing cause im traveling, i might work on this if i have time * replace sounds, extend some stuff replaced the rhre3 sounds and added a few things to make camera movements not look so out-of-bounds janky. still working on it, but it's coming along good so far * starting on dog ninja waiting for bread2unity to get merged, and i'm still probably gonna keep working on dog ninja until it's done even if it does. * initialization and sprite trimming done reference is from angrytapper2's video Throw Object, Cut Everything!, and Here We Go! were the cues added, in that order. * temp icon w/ mask + bezier curves!! the icon is temporary, but i did add a mask. i think it looks pretty good :) especially for what it is. also bezier curves. i just figured those out, now i just need to figure out how to implement them into the object. * getting there i'm so close to getting the "Cut Everything!" block to work. i'm trying to figure out how to not play it as the default when the game is rendered * added sfx * added bird animations * looked at double date for like 2 minutes * have been editing blue bear's "treat" block to fit dog ninja for a while now (im gonna try doing these commit notes from now on) * keeping trying * cues have sfx now - the "throw object" cues are not accurate yet * animations adjusted to not keep bird on screen * not much progress rn, getting into the harder stuff * added more sfx - it's from rhre3, if somebody can find a clean rip that would be great, cause i can't) * made a bop animation - still trying to figure out how to get it to play every beat :/ * replaced throw sfx, was using whiff sfx before * extended background using a slice of the sky gradient and color picked blocks * some code added to dogninja.cs and throwobject.cs is... bad. it's just torn from other games. * i need to work out conflicts really this is just pushing all my stuff so i don't lose it, tambourine is giving my fork conflicts for some reason :skull: * blehhh figuring out git some more * doesn't look like much. but I GOT ANIMATIONS WORKING. (god, i suck at C#) * bop animations, on every beat (will soon make it a toggle) * bird fly in and out, flies in when not on screen and out when on screen * did more work on "throwObject.cs" but not anything applicable yet * also found out how assigning scripts to a prefab works. ugh. so, got all those holders and objects assigned * trying to get different sfx working for each item really i just established some structure code. i don't understand it too well, so there are a few things commented out. * starting with inputs rn they're broken and i can't tell why :( * heavily commented out code in ThrowObject.cs * added option to disable the bird's FlyIn SFX * some debug stuff * some scheduled inputs (that AREN'T. WORKING.) * fixed the input bug tysm ymf <333 ur my hero technically this is a functioning game! gonna get different sfx/sprites working, try to get bezier curves working, then i'll make a pr * fixed that input bug * changed some variable names * getting some more infrastructure for getting the game fully working * double date stuff!!!! (improvements, playability) * purged SO much code * combined SoccerBall.cs and Basketball.cs into Ball.cs - might do that for Football.cs too, but we'll see * removed bop animation, it looked bad and made double date as a whole look bad cause it didn't reset. so the boy looked a bit off. - also fixed an error pertaining to animations * basic input stuff for when bread2unity gets merged * oh so much infrastructure stuff * lol commit * some animation stuff * sfx stuff all the different options have sfx tied to them for the throw and slice. now onto sprites and animation... * added tacobell too :) * dog ninja going into WIP :D (commiting rn cause i wanna do some experimental animation) * one more object :) * optimized some code * new sprites are almost done; i've got a list of both the sprites and their halves. * sprites are in! and goodnight. UGHHH BEZIER CURVES I DONT UNDERSTAND YOU * all the sprites go with their corresponding option and sfx * bird improved slightly * BEZIER CURVES * actual fruit animation * toggle for random fruits (doesn't work yet) * textbox for custom objects (doesn't work yet) - not user-submitted stuff, just stuff that doesn't really fit in the main dropdown menu * some stuff i don't remember, but it's definitely stuff that's working towards making everything work. miss anims don't work yet. at all. the objects just go flying. also the slice animation needs to be finished for both sides, and a bool needs to be added for which side to play (will be easy to do) also when you randomly slice, which is determined completely randomly (thank god) gura-nyuuu :3 (i'm sorry) * added a single sfx * custom objects!! tbh a lot more's coming but i need to merge my stuff i don't feel like taking notes here * working on halves * misc cleaning up stuff * started on the logic for halves * progress on halves, cleaning out variables i need to sync between laptop and pc * im pretty sure that's all the double date stuff taken out :thumbsup: * neatened up code + better bezier curves * adjusted bezier curves - sooo close to perfection but very noticeable stuttering at lower speeds * changed random to default object option instead of a bool; makes more sense this way * renaming things, getting code ready for new animations * commented a bunch of my code * re-fixing a bunch of stuff that has since broken from updating stuff - i.e random fruit, sprites, "here we go!" in general, etc. * new font, stuff fixed * added [about friend font](https://www.deviantart.com/matthewtheprep/art/About-Friend-Extended-Now-with-Greek-and-Cyrillic-832264925) * fixed "here we go!" * some more left or right object animation stuff * so many things * fully added custom items - accessible through a cheat code type system in the drop-down for cues * changed how the bezier curves function - only three points now (much smoother) and i just start it much later on the curve * added AboutFriend font, basically kurokane except free to use * started more on halves god, halves are gonna be hard tho * quick commit by [d] * got temp animations in * temp animations for ev * replaced ai sprites with ev's (thank you <333) * getting progress on halves * cleaned up files * hi res sprites * throw both objects + prepare anim title though, i still need to work out how the prepare animation will not play when you need to slice (cues a beat or less apart) * all dog ninja animations * forgot some stuff lol * prep anim done yay :) * oops! blend tree moment (more stuff) * animation fixes * more anim fixes lol * done for the night * added seanski's new icon * fixed the sound for both objects getting thrown * still working on the prepare animation, but for now it's gonna be a block - if literally anybody wants to implement an auto-prepare that isn't jank be my guest * halves progress, as usual * added a new item :smile: * fix conflicts just saw these in the pr, this commit should fix them * clean up code/fix prepare block thank you ymf!!! <333 * code optimizations * both slice anim + prepare anim fixed * i have stashed changes i need to work on * stashed changes * remade halves lists * renamed some sprites -i had funny little names like "tater" and "cuc" but that's a bit confusing * custom halves don't have the framework for them yet so i was building that too * half sprites work now onto making the curve an animation! (also fixing the text ig) (ALSO i fixed the prepare stuff (i think)) * unity animation :skull: death * Fixed text stuff * push changes so nothing breaks hi ymf * i'll work on this more later * halves r workin * oops! all mp3s! -converted mp3 sfx to ogg still need to do barelies, then everything is done * barelies are so close to being done!!! tweaking + figuring out how position works depending on which side the object was thrown * stopping for the night barelies are actually so insanely close to being done it's just a little bit of jank that's holding them back ill finish this tomorrow. * it's over. it's finally over. PR TIME! * final adjustments * the rest of the barely stuff * clean up the code a little :D * halves look a lot better gonna remove all my enum parsing code and replace it with a boring dropdown :cry: after that i gotta fix the barelies, i should be able to just use whatever the halves are doing cause they look really good * rewrote basically all of ThrowObject() * overhauled how object calling works * added "Idol" object (fan club mic) * fixed barelies and curves and how they were transformed * oh and uh, one more thing. prepare block was janky so i just made the animation last 20 seconds :) ez fix * final touch-ups + layering issues title * apparently this didn't push :japanese_ogre: --------- Co-authored-by: minenice55 <star.elementa@gmail.com> Co-authored-by: patataofcourse <patataofcourse@gmail.com> Co-authored-by: ev <85412919+evdial@users.noreply.github.com> Co-authored-by: Rapandrasmus <78219215+Rapandrasmus@users.noreply.github.com>
2023-03-11 20:55:18 +00:00
Dog Ninja (#268) * starting out with double date stuff :D not even the background is finished i just wanna get this on my fork so that it's safe * double date getting more initialized no animations, one block, nothing actually functions. but the boy is put in place, and the girl is almost put in place! just wanted to merge this with the main branch to play catchy tune * initialization done!!!!! gonna fix up the code, see what i can take out, see what i can standardize, see what i need to add. loving this so far, even with all of its annoyances * ughhhh animation stuff. this is gonna take me a day or two to even comprehend * starting on animation committing cause im traveling, i might work on this if i have time * replace sounds, extend some stuff replaced the rhre3 sounds and added a few things to make camera movements not look so out-of-bounds janky. still working on it, but it's coming along good so far * starting on dog ninja waiting for bread2unity to get merged, and i'm still probably gonna keep working on dog ninja until it's done even if it does. * initialization and sprite trimming done reference is from angrytapper2's video Throw Object, Cut Everything!, and Here We Go! were the cues added, in that order. * temp icon w/ mask + bezier curves!! the icon is temporary, but i did add a mask. i think it looks pretty good :) especially for what it is. also bezier curves. i just figured those out, now i just need to figure out how to implement them into the object. * getting there i'm so close to getting the "Cut Everything!" block to work. i'm trying to figure out how to not play it as the default when the game is rendered * added sfx * added bird animations * looked at double date for like 2 minutes * have been editing blue bear's "treat" block to fit dog ninja for a while now (im gonna try doing these commit notes from now on) * keeping trying * cues have sfx now - the "throw object" cues are not accurate yet * animations adjusted to not keep bird on screen * not much progress rn, getting into the harder stuff * added more sfx - it's from rhre3, if somebody can find a clean rip that would be great, cause i can't) * made a bop animation - still trying to figure out how to get it to play every beat :/ * replaced throw sfx, was using whiff sfx before * extended background using a slice of the sky gradient and color picked blocks * some code added to dogninja.cs and throwobject.cs is... bad. it's just torn from other games. * i need to work out conflicts really this is just pushing all my stuff so i don't lose it, tambourine is giving my fork conflicts for some reason :skull: * blehhh figuring out git some more * doesn't look like much. but I GOT ANIMATIONS WORKING. (god, i suck at C#) * bop animations, on every beat (will soon make it a toggle) * bird fly in and out, flies in when not on screen and out when on screen * did more work on "throwObject.cs" but not anything applicable yet * also found out how assigning scripts to a prefab works. ugh. so, got all those holders and objects assigned * trying to get different sfx working for each item really i just established some structure code. i don't understand it too well, so there are a few things commented out. * starting with inputs rn they're broken and i can't tell why :( * heavily commented out code in ThrowObject.cs * added option to disable the bird's FlyIn SFX * some debug stuff * some scheduled inputs (that AREN'T. WORKING.) * fixed the input bug tysm ymf <333 ur my hero technically this is a functioning game! gonna get different sfx/sprites working, try to get bezier curves working, then i'll make a pr * fixed that input bug * changed some variable names * getting some more infrastructure for getting the game fully working * double date stuff!!!! (improvements, playability) * purged SO much code * combined SoccerBall.cs and Basketball.cs into Ball.cs - might do that for Football.cs too, but we'll see * removed bop animation, it looked bad and made double date as a whole look bad cause it didn't reset. so the boy looked a bit off. - also fixed an error pertaining to animations * basic input stuff for when bread2unity gets merged * oh so much infrastructure stuff * lol commit * some animation stuff * sfx stuff all the different options have sfx tied to them for the throw and slice. now onto sprites and animation... * added tacobell too :) * dog ninja going into WIP :D (commiting rn cause i wanna do some experimental animation) * one more object :) * optimized some code * new sprites are almost done; i've got a list of both the sprites and their halves. * sprites are in! and goodnight. UGHHH BEZIER CURVES I DONT UNDERSTAND YOU * all the sprites go with their corresponding option and sfx * bird improved slightly * BEZIER CURVES * actual fruit animation * toggle for random fruits (doesn't work yet) * textbox for custom objects (doesn't work yet) - not user-submitted stuff, just stuff that doesn't really fit in the main dropdown menu * some stuff i don't remember, but it's definitely stuff that's working towards making everything work. miss anims don't work yet. at all. the objects just go flying. also the slice animation needs to be finished for both sides, and a bool needs to be added for which side to play (will be easy to do) also when you randomly slice, which is determined completely randomly (thank god) gura-nyuuu :3 (i'm sorry) * added a single sfx * custom objects!! tbh a lot more's coming but i need to merge my stuff i don't feel like taking notes here * working on halves * misc cleaning up stuff * started on the logic for halves * progress on halves, cleaning out variables i need to sync between laptop and pc * im pretty sure that's all the double date stuff taken out :thumbsup: * neatened up code + better bezier curves * adjusted bezier curves - sooo close to perfection but very noticeable stuttering at lower speeds * changed random to default object option instead of a bool; makes more sense this way * renaming things, getting code ready for new animations * commented a bunch of my code * re-fixing a bunch of stuff that has since broken from updating stuff - i.e random fruit, sprites, "here we go!" in general, etc. * new font, stuff fixed * added [about friend font](https://www.deviantart.com/matthewtheprep/art/About-Friend-Extended-Now-with-Greek-and-Cyrillic-832264925) * fixed "here we go!" * some more left or right object animation stuff * so many things * fully added custom items - accessible through a cheat code type system in the drop-down for cues * changed how the bezier curves function - only three points now (much smoother) and i just start it much later on the curve * added AboutFriend font, basically kurokane except free to use * started more on halves god, halves are gonna be hard tho * quick commit by [d] * got temp animations in * temp animations for ev * replaced ai sprites with ev's (thank you <333) * getting progress on halves * cleaned up files * hi res sprites * throw both objects + prepare anim title though, i still need to work out how the prepare animation will not play when you need to slice (cues a beat or less apart) * all dog ninja animations * forgot some stuff lol * prep anim done yay :) * oops! blend tree moment (more stuff) * animation fixes * more anim fixes lol * done for the night * added seanski's new icon * fixed the sound for both objects getting thrown * still working on the prepare animation, but for now it's gonna be a block - if literally anybody wants to implement an auto-prepare that isn't jank be my guest * halves progress, as usual * added a new item :smile: * fix conflicts just saw these in the pr, this commit should fix them * clean up code/fix prepare block thank you ymf!!! <333 * code optimizations * both slice anim + prepare anim fixed * i have stashed changes i need to work on * stashed changes * remade halves lists * renamed some sprites -i had funny little names like "tater" and "cuc" but that's a bit confusing * custom halves don't have the framework for them yet so i was building that too * half sprites work now onto making the curve an animation! (also fixing the text ig) (ALSO i fixed the prepare stuff (i think)) * unity animation :skull: death * Fixed text stuff * push changes so nothing breaks hi ymf * i'll work on this more later * halves r workin * oops! all mp3s! -converted mp3 sfx to ogg still need to do barelies, then everything is done * barelies are so close to being done!!! tweaking + figuring out how position works depending on which side the object was thrown * stopping for the night barelies are actually so insanely close to being done it's just a little bit of jank that's holding them back ill finish this tomorrow. * it's over. it's finally over. PR TIME! * final adjustments * the rest of the barely stuff * clean up the code a little :D --------- Co-authored-by: minenice55 <star.elementa@gmail.com> Co-authored-by: patataofcourse <patataofcourse@gmail.com> Co-authored-by: ev <85412919+evdial@users.noreply.github.com> Co-authored-by: Rapandrasmus <78219215+Rapandrasmus@users.noreply.github.com>
2023-03-07 22:55:44 +00:00
private Vector3 objPos;
private bool isActive = true;
private double barelyTime;
Dog Ninja (#268) * starting out with double date stuff :D not even the background is finished i just wanna get this on my fork so that it's safe * double date getting more initialized no animations, one block, nothing actually functions. but the boy is put in place, and the girl is almost put in place! just wanted to merge this with the main branch to play catchy tune * initialization done!!!!! gonna fix up the code, see what i can take out, see what i can standardize, see what i need to add. loving this so far, even with all of its annoyances * ughhhh animation stuff. this is gonna take me a day or two to even comprehend * starting on animation committing cause im traveling, i might work on this if i have time * replace sounds, extend some stuff replaced the rhre3 sounds and added a few things to make camera movements not look so out-of-bounds janky. still working on it, but it's coming along good so far * starting on dog ninja waiting for bread2unity to get merged, and i'm still probably gonna keep working on dog ninja until it's done even if it does. * initialization and sprite trimming done reference is from angrytapper2's video Throw Object, Cut Everything!, and Here We Go! were the cues added, in that order. * temp icon w/ mask + bezier curves!! the icon is temporary, but i did add a mask. i think it looks pretty good :) especially for what it is. also bezier curves. i just figured those out, now i just need to figure out how to implement them into the object. * getting there i'm so close to getting the "Cut Everything!" block to work. i'm trying to figure out how to not play it as the default when the game is rendered * added sfx * added bird animations * looked at double date for like 2 minutes * have been editing blue bear's "treat" block to fit dog ninja for a while now (im gonna try doing these commit notes from now on) * keeping trying * cues have sfx now - the "throw object" cues are not accurate yet * animations adjusted to not keep bird on screen * not much progress rn, getting into the harder stuff * added more sfx - it's from rhre3, if somebody can find a clean rip that would be great, cause i can't) * made a bop animation - still trying to figure out how to get it to play every beat :/ * replaced throw sfx, was using whiff sfx before * extended background using a slice of the sky gradient and color picked blocks * some code added to dogninja.cs and throwobject.cs is... bad. it's just torn from other games. * i need to work out conflicts really this is just pushing all my stuff so i don't lose it, tambourine is giving my fork conflicts for some reason :skull: * blehhh figuring out git some more * doesn't look like much. but I GOT ANIMATIONS WORKING. (god, i suck at C#) * bop animations, on every beat (will soon make it a toggle) * bird fly in and out, flies in when not on screen and out when on screen * did more work on "throwObject.cs" but not anything applicable yet * also found out how assigning scripts to a prefab works. ugh. so, got all those holders and objects assigned * trying to get different sfx working for each item really i just established some structure code. i don't understand it too well, so there are a few things commented out. * starting with inputs rn they're broken and i can't tell why :( * heavily commented out code in ThrowObject.cs * added option to disable the bird's FlyIn SFX * some debug stuff * some scheduled inputs (that AREN'T. WORKING.) * fixed the input bug tysm ymf <333 ur my hero technically this is a functioning game! gonna get different sfx/sprites working, try to get bezier curves working, then i'll make a pr * fixed that input bug * changed some variable names * getting some more infrastructure for getting the game fully working * double date stuff!!!! (improvements, playability) * purged SO much code * combined SoccerBall.cs and Basketball.cs into Ball.cs - might do that for Football.cs too, but we'll see * removed bop animation, it looked bad and made double date as a whole look bad cause it didn't reset. so the boy looked a bit off. - also fixed an error pertaining to animations * basic input stuff for when bread2unity gets merged * oh so much infrastructure stuff * lol commit * some animation stuff * sfx stuff all the different options have sfx tied to them for the throw and slice. now onto sprites and animation... * added tacobell too :) * dog ninja going into WIP :D (commiting rn cause i wanna do some experimental animation) * one more object :) * optimized some code * new sprites are almost done; i've got a list of both the sprites and their halves. * sprites are in! and goodnight. UGHHH BEZIER CURVES I DONT UNDERSTAND YOU * all the sprites go with their corresponding option and sfx * bird improved slightly * BEZIER CURVES * actual fruit animation * toggle for random fruits (doesn't work yet) * textbox for custom objects (doesn't work yet) - not user-submitted stuff, just stuff that doesn't really fit in the main dropdown menu * some stuff i don't remember, but it's definitely stuff that's working towards making everything work. miss anims don't work yet. at all. the objects just go flying. also the slice animation needs to be finished for both sides, and a bool needs to be added for which side to play (will be easy to do) also when you randomly slice, which is determined completely randomly (thank god) gura-nyuuu :3 (i'm sorry) * added a single sfx * custom objects!! tbh a lot more's coming but i need to merge my stuff i don't feel like taking notes here * working on halves * misc cleaning up stuff * started on the logic for halves * progress on halves, cleaning out variables i need to sync between laptop and pc * im pretty sure that's all the double date stuff taken out :thumbsup: * neatened up code + better bezier curves * adjusted bezier curves - sooo close to perfection but very noticeable stuttering at lower speeds * changed random to default object option instead of a bool; makes more sense this way * renaming things, getting code ready for new animations * commented a bunch of my code * re-fixing a bunch of stuff that has since broken from updating stuff - i.e random fruit, sprites, "here we go!" in general, etc. * new font, stuff fixed * added [about friend font](https://www.deviantart.com/matthewtheprep/art/About-Friend-Extended-Now-with-Greek-and-Cyrillic-832264925) * fixed "here we go!" * some more left or right object animation stuff * so many things * fully added custom items - accessible through a cheat code type system in the drop-down for cues * changed how the bezier curves function - only three points now (much smoother) and i just start it much later on the curve * added AboutFriend font, basically kurokane except free to use * started more on halves god, halves are gonna be hard tho * quick commit by [d] * got temp animations in * temp animations for ev * replaced ai sprites with ev's (thank you <333) * getting progress on halves * cleaned up files * hi res sprites * throw both objects + prepare anim title though, i still need to work out how the prepare animation will not play when you need to slice (cues a beat or less apart) * all dog ninja animations * forgot some stuff lol * prep anim done yay :) * oops! blend tree moment (more stuff) * animation fixes * more anim fixes lol * done for the night * added seanski's new icon * fixed the sound for both objects getting thrown * still working on the prepare animation, but for now it's gonna be a block - if literally anybody wants to implement an auto-prepare that isn't jank be my guest * halves progress, as usual * added a new item :smile: * fix conflicts just saw these in the pr, this commit should fix them * clean up code/fix prepare block thank you ymf!!! <333 * code optimizations * both slice anim + prepare anim fixed * i have stashed changes i need to work on * stashed changes * remade halves lists * renamed some sprites -i had funny little names like "tater" and "cuc" but that's a bit confusing * custom halves don't have the framework for them yet so i was building that too * half sprites work now onto making the curve an animation! (also fixing the text ig) (ALSO i fixed the prepare stuff (i think)) * unity animation :skull: death * Fixed text stuff * push changes so nothing breaks hi ymf * i'll work on this more later * halves r workin * oops! all mp3s! -converted mp3 sfx to ogg still need to do barelies, then everything is done * barelies are so close to being done!!! tweaking + figuring out how position works depending on which side the object was thrown * stopping for the night barelies are actually so insanely close to being done it's just a little bit of jank that's holding them back ill finish this tomorrow. * it's over. it's finally over. PR TIME! * final adjustments * the rest of the barely stuff * clean up the code a little :D --------- Co-authored-by: minenice55 <star.elementa@gmail.com> Co-authored-by: patataofcourse <patataofcourse@gmail.com> Co-authored-by: ev <85412919+evdial@users.noreply.github.com> Co-authored-by: Rapandrasmus <78219215+Rapandrasmus@users.noreply.github.com>
2023-03-07 22:55:44 +00:00
[Header("Animators")]
Animator DogAnim;
[Header("References")]
public BezierCurve3D curve;
[SerializeField] BezierCurve3D barelyCurve;
[SerializeField] BezierCurve3D BarelyLeftCurve;
[SerializeField] BezierCurve3D BarelyRightCurve;
[SerializeField] GameObject HalvesLeftBase;
[SerializeField] GameObject HalvesRightBase;
[SerializeField] Transform ObjectParent;
public Sprite[] objectLeftHalves;
public Sprite[] objectRightHalves;
private DogNinja game;
private void Awake()
{
game = DogNinja.instance;
DogAnim = game.DogAnim;
}
private void Start()
{
barelyCurve = fromLeft ? BarelyRightCurve : BarelyLeftCurve;
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
game.ScheduleInput(startBeat, 1f, InputType.STANDARD_DOWN | InputType.DIRECTION_DOWN, Hit, Miss, Out);
Dog Ninja (#268) * starting out with double date stuff :D not even the background is finished i just wanna get this on my fork so that it's safe * double date getting more initialized no animations, one block, nothing actually functions. but the boy is put in place, and the girl is almost put in place! just wanted to merge this with the main branch to play catchy tune * initialization done!!!!! gonna fix up the code, see what i can take out, see what i can standardize, see what i need to add. loving this so far, even with all of its annoyances * ughhhh animation stuff. this is gonna take me a day or two to even comprehend * starting on animation committing cause im traveling, i might work on this if i have time * replace sounds, extend some stuff replaced the rhre3 sounds and added a few things to make camera movements not look so out-of-bounds janky. still working on it, but it's coming along good so far * starting on dog ninja waiting for bread2unity to get merged, and i'm still probably gonna keep working on dog ninja until it's done even if it does. * initialization and sprite trimming done reference is from angrytapper2's video Throw Object, Cut Everything!, and Here We Go! were the cues added, in that order. * temp icon w/ mask + bezier curves!! the icon is temporary, but i did add a mask. i think it looks pretty good :) especially for what it is. also bezier curves. i just figured those out, now i just need to figure out how to implement them into the object. * getting there i'm so close to getting the "Cut Everything!" block to work. i'm trying to figure out how to not play it as the default when the game is rendered * added sfx * added bird animations * looked at double date for like 2 minutes * have been editing blue bear's "treat" block to fit dog ninja for a while now (im gonna try doing these commit notes from now on) * keeping trying * cues have sfx now - the "throw object" cues are not accurate yet * animations adjusted to not keep bird on screen * not much progress rn, getting into the harder stuff * added more sfx - it's from rhre3, if somebody can find a clean rip that would be great, cause i can't) * made a bop animation - still trying to figure out how to get it to play every beat :/ * replaced throw sfx, was using whiff sfx before * extended background using a slice of the sky gradient and color picked blocks * some code added to dogninja.cs and throwobject.cs is... bad. it's just torn from other games. * i need to work out conflicts really this is just pushing all my stuff so i don't lose it, tambourine is giving my fork conflicts for some reason :skull: * blehhh figuring out git some more * doesn't look like much. but I GOT ANIMATIONS WORKING. (god, i suck at C#) * bop animations, on every beat (will soon make it a toggle) * bird fly in and out, flies in when not on screen and out when on screen * did more work on "throwObject.cs" but not anything applicable yet * also found out how assigning scripts to a prefab works. ugh. so, got all those holders and objects assigned * trying to get different sfx working for each item really i just established some structure code. i don't understand it too well, so there are a few things commented out. * starting with inputs rn they're broken and i can't tell why :( * heavily commented out code in ThrowObject.cs * added option to disable the bird's FlyIn SFX * some debug stuff * some scheduled inputs (that AREN'T. WORKING.) * fixed the input bug tysm ymf <333 ur my hero technically this is a functioning game! gonna get different sfx/sprites working, try to get bezier curves working, then i'll make a pr * fixed that input bug * changed some variable names * getting some more infrastructure for getting the game fully working * double date stuff!!!! (improvements, playability) * purged SO much code * combined SoccerBall.cs and Basketball.cs into Ball.cs - might do that for Football.cs too, but we'll see * removed bop animation, it looked bad and made double date as a whole look bad cause it didn't reset. so the boy looked a bit off. - also fixed an error pertaining to animations * basic input stuff for when bread2unity gets merged * oh so much infrastructure stuff * lol commit * some animation stuff * sfx stuff all the different options have sfx tied to them for the throw and slice. now onto sprites and animation... * added tacobell too :) * dog ninja going into WIP :D (commiting rn cause i wanna do some experimental animation) * one more object :) * optimized some code * new sprites are almost done; i've got a list of both the sprites and their halves. * sprites are in! and goodnight. UGHHH BEZIER CURVES I DONT UNDERSTAND YOU * all the sprites go with their corresponding option and sfx * bird improved slightly * BEZIER CURVES * actual fruit animation * toggle for random fruits (doesn't work yet) * textbox for custom objects (doesn't work yet) - not user-submitted stuff, just stuff that doesn't really fit in the main dropdown menu * some stuff i don't remember, but it's definitely stuff that's working towards making everything work. miss anims don't work yet. at all. the objects just go flying. also the slice animation needs to be finished for both sides, and a bool needs to be added for which side to play (will be easy to do) also when you randomly slice, which is determined completely randomly (thank god) gura-nyuuu :3 (i'm sorry) * added a single sfx * custom objects!! tbh a lot more's coming but i need to merge my stuff i don't feel like taking notes here * working on halves * misc cleaning up stuff * started on the logic for halves * progress on halves, cleaning out variables i need to sync between laptop and pc * im pretty sure that's all the double date stuff taken out :thumbsup: * neatened up code + better bezier curves * adjusted bezier curves - sooo close to perfection but very noticeable stuttering at lower speeds * changed random to default object option instead of a bool; makes more sense this way * renaming things, getting code ready for new animations * commented a bunch of my code * re-fixing a bunch of stuff that has since broken from updating stuff - i.e random fruit, sprites, "here we go!" in general, etc. * new font, stuff fixed * added [about friend font](https://www.deviantart.com/matthewtheprep/art/About-Friend-Extended-Now-with-Greek-and-Cyrillic-832264925) * fixed "here we go!" * some more left or right object animation stuff * so many things * fully added custom items - accessible through a cheat code type system in the drop-down for cues * changed how the bezier curves function - only three points now (much smoother) and i just start it much later on the curve * added AboutFriend font, basically kurokane except free to use * started more on halves god, halves are gonna be hard tho * quick commit by [d] * got temp animations in * temp animations for ev * replaced ai sprites with ev's (thank you <333) * getting progress on halves * cleaned up files * hi res sprites * throw both objects + prepare anim title though, i still need to work out how the prepare animation will not play when you need to slice (cues a beat or less apart) * all dog ninja animations * forgot some stuff lol * prep anim done yay :) * oops! blend tree moment (more stuff) * animation fixes * more anim fixes lol * done for the night * added seanski's new icon * fixed the sound for both objects getting thrown * still working on the prepare animation, but for now it's gonna be a block - if literally anybody wants to implement an auto-prepare that isn't jank be my guest * halves progress, as usual * added a new item :smile: * fix conflicts just saw these in the pr, this commit should fix them * clean up code/fix prepare block thank you ymf!!! <333 * code optimizations * both slice anim + prepare anim fixed * i have stashed changes i need to work on * stashed changes * remade halves lists * renamed some sprites -i had funny little names like "tater" and "cuc" but that's a bit confusing * custom halves don't have the framework for them yet so i was building that too * half sprites work now onto making the curve an animation! (also fixing the text ig) (ALSO i fixed the prepare stuff (i think)) * unity animation :skull: death * Fixed text stuff * push changes so nothing breaks hi ymf * i'll work on this more later * halves r workin * oops! all mp3s! -converted mp3 sfx to ogg still need to do barelies, then everything is done * barelies are so close to being done!!! tweaking + figuring out how position works depending on which side the object was thrown * stopping for the night barelies are actually so insanely close to being done it's just a little bit of jank that's holding them back ill finish this tomorrow. * it's over. it's finally over. PR TIME! * final adjustments * the rest of the barely stuff * clean up the code a little :D --------- Co-authored-by: minenice55 <star.elementa@gmail.com> Co-authored-by: patataofcourse <patataofcourse@gmail.com> Co-authored-by: ev <85412919+evdial@users.noreply.github.com> Co-authored-by: Rapandrasmus <78219215+Rapandrasmus@users.noreply.github.com>
2023-03-07 22:55:44 +00:00
}
private void Update()
{
float flyPos = Conductor.instance.GetPositionFromBeat(startBeat, 1f)+1.1f;
float flyPosBarely = Conductor.instance.GetPositionFromBeat(barelyTime, 1f)+1f;
if (isActive) {
flyPos *= 0.31f;
transform.position = curve.GetPoint(flyPos);
objPos = curve.GetPoint(flyPos);
// destroy object when it's off-screen
if (flyPos > 1f) {
GameObject.Destroy(gameObject);
Dog Ninja Tweaks (#336) * starting out with double date stuff :D not even the background is finished i just wanna get this on my fork so that it's safe * double date getting more initialized no animations, one block, nothing actually functions. but the boy is put in place, and the girl is almost put in place! just wanted to merge this with the main branch to play catchy tune * initialization done!!!!! gonna fix up the code, see what i can take out, see what i can standardize, see what i need to add. loving this so far, even with all of its annoyances * ughhhh animation stuff. this is gonna take me a day or two to even comprehend * starting on animation committing cause im traveling, i might work on this if i have time * replace sounds, extend some stuff replaced the rhre3 sounds and added a few things to make camera movements not look so out-of-bounds janky. still working on it, but it's coming along good so far * starting on dog ninja waiting for bread2unity to get merged, and i'm still probably gonna keep working on dog ninja until it's done even if it does. * initialization and sprite trimming done reference is from angrytapper2's video Throw Object, Cut Everything!, and Here We Go! were the cues added, in that order. * temp icon w/ mask + bezier curves!! the icon is temporary, but i did add a mask. i think it looks pretty good :) especially for what it is. also bezier curves. i just figured those out, now i just need to figure out how to implement them into the object. * getting there i'm so close to getting the "Cut Everything!" block to work. i'm trying to figure out how to not play it as the default when the game is rendered * added sfx * added bird animations * looked at double date for like 2 minutes * have been editing blue bear's "treat" block to fit dog ninja for a while now (im gonna try doing these commit notes from now on) * keeping trying * cues have sfx now - the "throw object" cues are not accurate yet * animations adjusted to not keep bird on screen * not much progress rn, getting into the harder stuff * added more sfx - it's from rhre3, if somebody can find a clean rip that would be great, cause i can't) * made a bop animation - still trying to figure out how to get it to play every beat :/ * replaced throw sfx, was using whiff sfx before * extended background using a slice of the sky gradient and color picked blocks * some code added to dogninja.cs and throwobject.cs is... bad. it's just torn from other games. * i need to work out conflicts really this is just pushing all my stuff so i don't lose it, tambourine is giving my fork conflicts for some reason :skull: * blehhh figuring out git some more * doesn't look like much. but I GOT ANIMATIONS WORKING. (god, i suck at C#) * bop animations, on every beat (will soon make it a toggle) * bird fly in and out, flies in when not on screen and out when on screen * did more work on "throwObject.cs" but not anything applicable yet * also found out how assigning scripts to a prefab works. ugh. so, got all those holders and objects assigned * trying to get different sfx working for each item really i just established some structure code. i don't understand it too well, so there are a few things commented out. * starting with inputs rn they're broken and i can't tell why :( * heavily commented out code in ThrowObject.cs * added option to disable the bird's FlyIn SFX * some debug stuff * some scheduled inputs (that AREN'T. WORKING.) * fixed the input bug tysm ymf <333 ur my hero technically this is a functioning game! gonna get different sfx/sprites working, try to get bezier curves working, then i'll make a pr * fixed that input bug * changed some variable names * getting some more infrastructure for getting the game fully working * double date stuff!!!! (improvements, playability) * purged SO much code * combined SoccerBall.cs and Basketball.cs into Ball.cs - might do that for Football.cs too, but we'll see * removed bop animation, it looked bad and made double date as a whole look bad cause it didn't reset. so the boy looked a bit off. - also fixed an error pertaining to animations * basic input stuff for when bread2unity gets merged * oh so much infrastructure stuff * lol commit * some animation stuff * sfx stuff all the different options have sfx tied to them for the throw and slice. now onto sprites and animation... * added tacobell too :) * dog ninja going into WIP :D (commiting rn cause i wanna do some experimental animation) * one more object :) * optimized some code * new sprites are almost done; i've got a list of both the sprites and their halves. * sprites are in! and goodnight. UGHHH BEZIER CURVES I DONT UNDERSTAND YOU * all the sprites go with their corresponding option and sfx * bird improved slightly * BEZIER CURVES * actual fruit animation * toggle for random fruits (doesn't work yet) * textbox for custom objects (doesn't work yet) - not user-submitted stuff, just stuff that doesn't really fit in the main dropdown menu * some stuff i don't remember, but it's definitely stuff that's working towards making everything work. miss anims don't work yet. at all. the objects just go flying. also the slice animation needs to be finished for both sides, and a bool needs to be added for which side to play (will be easy to do) also when you randomly slice, which is determined completely randomly (thank god) gura-nyuuu :3 (i'm sorry) * added a single sfx * custom objects!! tbh a lot more's coming but i need to merge my stuff i don't feel like taking notes here * working on halves * misc cleaning up stuff * started on the logic for halves * progress on halves, cleaning out variables i need to sync between laptop and pc * im pretty sure that's all the double date stuff taken out :thumbsup: * neatened up code + better bezier curves * adjusted bezier curves - sooo close to perfection but very noticeable stuttering at lower speeds * changed random to default object option instead of a bool; makes more sense this way * renaming things, getting code ready for new animations * commented a bunch of my code * re-fixing a bunch of stuff that has since broken from updating stuff - i.e random fruit, sprites, "here we go!" in general, etc. * new font, stuff fixed * added [about friend font](https://www.deviantart.com/matthewtheprep/art/About-Friend-Extended-Now-with-Greek-and-Cyrillic-832264925) * fixed "here we go!" * some more left or right object animation stuff * so many things * fully added custom items - accessible through a cheat code type system in the drop-down for cues * changed how the bezier curves function - only three points now (much smoother) and i just start it much later on the curve * added AboutFriend font, basically kurokane except free to use * started more on halves god, halves are gonna be hard tho * quick commit by [d] * got temp animations in * temp animations for ev * replaced ai sprites with ev's (thank you <333) * getting progress on halves * cleaned up files * hi res sprites * throw both objects + prepare anim title though, i still need to work out how the prepare animation will not play when you need to slice (cues a beat or less apart) * all dog ninja animations * forgot some stuff lol * prep anim done yay :) * oops! blend tree moment (more stuff) * animation fixes * more anim fixes lol * done for the night * added seanski's new icon * fixed the sound for both objects getting thrown * still working on the prepare animation, but for now it's gonna be a block - if literally anybody wants to implement an auto-prepare that isn't jank be my guest * halves progress, as usual * added a new item :smile: * fix conflicts just saw these in the pr, this commit should fix them * clean up code/fix prepare block thank you ymf!!! <333 * code optimizations * both slice anim + prepare anim fixed * i have stashed changes i need to work on * stashed changes * remade halves lists * renamed some sprites -i had funny little names like "tater" and "cuc" but that's a bit confusing * custom halves don't have the framework for them yet so i was building that too * half sprites work now onto making the curve an animation! (also fixing the text ig) (ALSO i fixed the prepare stuff (i think)) * unity animation :skull: death * Fixed text stuff * push changes so nothing breaks hi ymf * i'll work on this more later * halves r workin * oops! all mp3s! -converted mp3 sfx to ogg still need to do barelies, then everything is done * barelies are so close to being done!!! tweaking + figuring out how position works depending on which side the object was thrown * stopping for the night barelies are actually so insanely close to being done it's just a little bit of jank that's holding them back ill finish this tomorrow. * it's over. it's finally over. PR TIME! * final adjustments * the rest of the barely stuff * clean up the code a little :D * halves look a lot better gonna remove all my enum parsing code and replace it with a boring dropdown :cry: after that i gotta fix the barelies, i should be able to just use whatever the halves are doing cause they look really good * rewrote basically all of ThrowObject() * overhauled how object calling works * added "Idol" object (fan club mic) * fixed barelies and curves and how they were transformed * oh and uh, one more thing. prepare block was janky so i just made the animation last 20 seconds :) ez fix * final touch-ups + layering issues title * apparently this didn't push :japanese_ogre: --------- Co-authored-by: minenice55 <star.elementa@gmail.com> Co-authored-by: patataofcourse <patataofcourse@gmail.com> Co-authored-by: ev <85412919+evdial@users.noreply.github.com> Co-authored-by: Rapandrasmus <78219215+Rapandrasmus@users.noreply.github.com>
2023-03-11 20:55:18 +00:00
}
Dog Ninja (#268) * starting out with double date stuff :D not even the background is finished i just wanna get this on my fork so that it's safe * double date getting more initialized no animations, one block, nothing actually functions. but the boy is put in place, and the girl is almost put in place! just wanted to merge this with the main branch to play catchy tune * initialization done!!!!! gonna fix up the code, see what i can take out, see what i can standardize, see what i need to add. loving this so far, even with all of its annoyances * ughhhh animation stuff. this is gonna take me a day or two to even comprehend * starting on animation committing cause im traveling, i might work on this if i have time * replace sounds, extend some stuff replaced the rhre3 sounds and added a few things to make camera movements not look so out-of-bounds janky. still working on it, but it's coming along good so far * starting on dog ninja waiting for bread2unity to get merged, and i'm still probably gonna keep working on dog ninja until it's done even if it does. * initialization and sprite trimming done reference is from angrytapper2's video Throw Object, Cut Everything!, and Here We Go! were the cues added, in that order. * temp icon w/ mask + bezier curves!! the icon is temporary, but i did add a mask. i think it looks pretty good :) especially for what it is. also bezier curves. i just figured those out, now i just need to figure out how to implement them into the object. * getting there i'm so close to getting the "Cut Everything!" block to work. i'm trying to figure out how to not play it as the default when the game is rendered * added sfx * added bird animations * looked at double date for like 2 minutes * have been editing blue bear's "treat" block to fit dog ninja for a while now (im gonna try doing these commit notes from now on) * keeping trying * cues have sfx now - the "throw object" cues are not accurate yet * animations adjusted to not keep bird on screen * not much progress rn, getting into the harder stuff * added more sfx - it's from rhre3, if somebody can find a clean rip that would be great, cause i can't) * made a bop animation - still trying to figure out how to get it to play every beat :/ * replaced throw sfx, was using whiff sfx before * extended background using a slice of the sky gradient and color picked blocks * some code added to dogninja.cs and throwobject.cs is... bad. it's just torn from other games. * i need to work out conflicts really this is just pushing all my stuff so i don't lose it, tambourine is giving my fork conflicts for some reason :skull: * blehhh figuring out git some more * doesn't look like much. but I GOT ANIMATIONS WORKING. (god, i suck at C#) * bop animations, on every beat (will soon make it a toggle) * bird fly in and out, flies in when not on screen and out when on screen * did more work on "throwObject.cs" but not anything applicable yet * also found out how assigning scripts to a prefab works. ugh. so, got all those holders and objects assigned * trying to get different sfx working for each item really i just established some structure code. i don't understand it too well, so there are a few things commented out. * starting with inputs rn they're broken and i can't tell why :( * heavily commented out code in ThrowObject.cs * added option to disable the bird's FlyIn SFX * some debug stuff * some scheduled inputs (that AREN'T. WORKING.) * fixed the input bug tysm ymf <333 ur my hero technically this is a functioning game! gonna get different sfx/sprites working, try to get bezier curves working, then i'll make a pr * fixed that input bug * changed some variable names * getting some more infrastructure for getting the game fully working * double date stuff!!!! (improvements, playability) * purged SO much code * combined SoccerBall.cs and Basketball.cs into Ball.cs - might do that for Football.cs too, but we'll see * removed bop animation, it looked bad and made double date as a whole look bad cause it didn't reset. so the boy looked a bit off. - also fixed an error pertaining to animations * basic input stuff for when bread2unity gets merged * oh so much infrastructure stuff * lol commit * some animation stuff * sfx stuff all the different options have sfx tied to them for the throw and slice. now onto sprites and animation... * added tacobell too :) * dog ninja going into WIP :D (commiting rn cause i wanna do some experimental animation) * one more object :) * optimized some code * new sprites are almost done; i've got a list of both the sprites and their halves. * sprites are in! and goodnight. UGHHH BEZIER CURVES I DONT UNDERSTAND YOU * all the sprites go with their corresponding option and sfx * bird improved slightly * BEZIER CURVES * actual fruit animation * toggle for random fruits (doesn't work yet) * textbox for custom objects (doesn't work yet) - not user-submitted stuff, just stuff that doesn't really fit in the main dropdown menu * some stuff i don't remember, but it's definitely stuff that's working towards making everything work. miss anims don't work yet. at all. the objects just go flying. also the slice animation needs to be finished for both sides, and a bool needs to be added for which side to play (will be easy to do) also when you randomly slice, which is determined completely randomly (thank god) gura-nyuuu :3 (i'm sorry) * added a single sfx * custom objects!! tbh a lot more's coming but i need to merge my stuff i don't feel like taking notes here * working on halves * misc cleaning up stuff * started on the logic for halves * progress on halves, cleaning out variables i need to sync between laptop and pc * im pretty sure that's all the double date stuff taken out :thumbsup: * neatened up code + better bezier curves * adjusted bezier curves - sooo close to perfection but very noticeable stuttering at lower speeds * changed random to default object option instead of a bool; makes more sense this way * renaming things, getting code ready for new animations * commented a bunch of my code * re-fixing a bunch of stuff that has since broken from updating stuff - i.e random fruit, sprites, "here we go!" in general, etc. * new font, stuff fixed * added [about friend font](https://www.deviantart.com/matthewtheprep/art/About-Friend-Extended-Now-with-Greek-and-Cyrillic-832264925) * fixed "here we go!" * some more left or right object animation stuff * so many things * fully added custom items - accessible through a cheat code type system in the drop-down for cues * changed how the bezier curves function - only three points now (much smoother) and i just start it much later on the curve * added AboutFriend font, basically kurokane except free to use * started more on halves god, halves are gonna be hard tho * quick commit by [d] * got temp animations in * temp animations for ev * replaced ai sprites with ev's (thank you <333) * getting progress on halves * cleaned up files * hi res sprites * throw both objects + prepare anim title though, i still need to work out how the prepare animation will not play when you need to slice (cues a beat or less apart) * all dog ninja animations * forgot some stuff lol * prep anim done yay :) * oops! blend tree moment (more stuff) * animation fixes * more anim fixes lol * done for the night * added seanski's new icon * fixed the sound for both objects getting thrown * still working on the prepare animation, but for now it's gonna be a block - if literally anybody wants to implement an auto-prepare that isn't jank be my guest * halves progress, as usual * added a new item :smile: * fix conflicts just saw these in the pr, this commit should fix them * clean up code/fix prepare block thank you ymf!!! <333 * code optimizations * both slice anim + prepare anim fixed * i have stashed changes i need to work on * stashed changes * remade halves lists * renamed some sprites -i had funny little names like "tater" and "cuc" but that's a bit confusing * custom halves don't have the framework for them yet so i was building that too * half sprites work now onto making the curve an animation! (also fixing the text ig) (ALSO i fixed the prepare stuff (i think)) * unity animation :skull: death * Fixed text stuff * push changes so nothing breaks hi ymf * i'll work on this more later * halves r workin * oops! all mp3s! -converted mp3 sfx to ogg still need to do barelies, then everything is done * barelies are so close to being done!!! tweaking + figuring out how position works depending on which side the object was thrown * stopping for the night barelies are actually so insanely close to being done it's just a little bit of jank that's holding them back ill finish this tomorrow. * it's over. it's finally over. PR TIME! * final adjustments * the rest of the barely stuff * clean up the code a little :D --------- Co-authored-by: minenice55 <star.elementa@gmail.com> Co-authored-by: patataofcourse <patataofcourse@gmail.com> Co-authored-by: ev <85412919+evdial@users.noreply.github.com> Co-authored-by: Rapandrasmus <78219215+Rapandrasmus@users.noreply.github.com>
2023-03-07 22:55:44 +00:00
} else {
flyPosBarely *= 0.3f;
Dog Ninja Tweaks (#336) * starting out with double date stuff :D not even the background is finished i just wanna get this on my fork so that it's safe * double date getting more initialized no animations, one block, nothing actually functions. but the boy is put in place, and the girl is almost put in place! just wanted to merge this with the main branch to play catchy tune * initialization done!!!!! gonna fix up the code, see what i can take out, see what i can standardize, see what i need to add. loving this so far, even with all of its annoyances * ughhhh animation stuff. this is gonna take me a day or two to even comprehend * starting on animation committing cause im traveling, i might work on this if i have time * replace sounds, extend some stuff replaced the rhre3 sounds and added a few things to make camera movements not look so out-of-bounds janky. still working on it, but it's coming along good so far * starting on dog ninja waiting for bread2unity to get merged, and i'm still probably gonna keep working on dog ninja until it's done even if it does. * initialization and sprite trimming done reference is from angrytapper2's video Throw Object, Cut Everything!, and Here We Go! were the cues added, in that order. * temp icon w/ mask + bezier curves!! the icon is temporary, but i did add a mask. i think it looks pretty good :) especially for what it is. also bezier curves. i just figured those out, now i just need to figure out how to implement them into the object. * getting there i'm so close to getting the "Cut Everything!" block to work. i'm trying to figure out how to not play it as the default when the game is rendered * added sfx * added bird animations * looked at double date for like 2 minutes * have been editing blue bear's "treat" block to fit dog ninja for a while now (im gonna try doing these commit notes from now on) * keeping trying * cues have sfx now - the "throw object" cues are not accurate yet * animations adjusted to not keep bird on screen * not much progress rn, getting into the harder stuff * added more sfx - it's from rhre3, if somebody can find a clean rip that would be great, cause i can't) * made a bop animation - still trying to figure out how to get it to play every beat :/ * replaced throw sfx, was using whiff sfx before * extended background using a slice of the sky gradient and color picked blocks * some code added to dogninja.cs and throwobject.cs is... bad. it's just torn from other games. * i need to work out conflicts really this is just pushing all my stuff so i don't lose it, tambourine is giving my fork conflicts for some reason :skull: * blehhh figuring out git some more * doesn't look like much. but I GOT ANIMATIONS WORKING. (god, i suck at C#) * bop animations, on every beat (will soon make it a toggle) * bird fly in and out, flies in when not on screen and out when on screen * did more work on "throwObject.cs" but not anything applicable yet * also found out how assigning scripts to a prefab works. ugh. so, got all those holders and objects assigned * trying to get different sfx working for each item really i just established some structure code. i don't understand it too well, so there are a few things commented out. * starting with inputs rn they're broken and i can't tell why :( * heavily commented out code in ThrowObject.cs * added option to disable the bird's FlyIn SFX * some debug stuff * some scheduled inputs (that AREN'T. WORKING.) * fixed the input bug tysm ymf <333 ur my hero technically this is a functioning game! gonna get different sfx/sprites working, try to get bezier curves working, then i'll make a pr * fixed that input bug * changed some variable names * getting some more infrastructure for getting the game fully working * double date stuff!!!! (improvements, playability) * purged SO much code * combined SoccerBall.cs and Basketball.cs into Ball.cs - might do that for Football.cs too, but we'll see * removed bop animation, it looked bad and made double date as a whole look bad cause it didn't reset. so the boy looked a bit off. - also fixed an error pertaining to animations * basic input stuff for when bread2unity gets merged * oh so much infrastructure stuff * lol commit * some animation stuff * sfx stuff all the different options have sfx tied to them for the throw and slice. now onto sprites and animation... * added tacobell too :) * dog ninja going into WIP :D (commiting rn cause i wanna do some experimental animation) * one more object :) * optimized some code * new sprites are almost done; i've got a list of both the sprites and their halves. * sprites are in! and goodnight. UGHHH BEZIER CURVES I DONT UNDERSTAND YOU * all the sprites go with their corresponding option and sfx * bird improved slightly * BEZIER CURVES * actual fruit animation * toggle for random fruits (doesn't work yet) * textbox for custom objects (doesn't work yet) - not user-submitted stuff, just stuff that doesn't really fit in the main dropdown menu * some stuff i don't remember, but it's definitely stuff that's working towards making everything work. miss anims don't work yet. at all. the objects just go flying. also the slice animation needs to be finished for both sides, and a bool needs to be added for which side to play (will be easy to do) also when you randomly slice, which is determined completely randomly (thank god) gura-nyuuu :3 (i'm sorry) * added a single sfx * custom objects!! tbh a lot more's coming but i need to merge my stuff i don't feel like taking notes here * working on halves * misc cleaning up stuff * started on the logic for halves * progress on halves, cleaning out variables i need to sync between laptop and pc * im pretty sure that's all the double date stuff taken out :thumbsup: * neatened up code + better bezier curves * adjusted bezier curves - sooo close to perfection but very noticeable stuttering at lower speeds * changed random to default object option instead of a bool; makes more sense this way * renaming things, getting code ready for new animations * commented a bunch of my code * re-fixing a bunch of stuff that has since broken from updating stuff - i.e random fruit, sprites, "here we go!" in general, etc. * new font, stuff fixed * added [about friend font](https://www.deviantart.com/matthewtheprep/art/About-Friend-Extended-Now-with-Greek-and-Cyrillic-832264925) * fixed "here we go!" * some more left or right object animation stuff * so many things * fully added custom items - accessible through a cheat code type system in the drop-down for cues * changed how the bezier curves function - only three points now (much smoother) and i just start it much later on the curve * added AboutFriend font, basically kurokane except free to use * started more on halves god, halves are gonna be hard tho * quick commit by [d] * got temp animations in * temp animations for ev * replaced ai sprites with ev's (thank you <333) * getting progress on halves * cleaned up files * hi res sprites * throw both objects + prepare anim title though, i still need to work out how the prepare animation will not play when you need to slice (cues a beat or less apart) * all dog ninja animations * forgot some stuff lol * prep anim done yay :) * oops! blend tree moment (more stuff) * animation fixes * more anim fixes lol * done for the night * added seanski's new icon * fixed the sound for both objects getting thrown * still working on the prepare animation, but for now it's gonna be a block - if literally anybody wants to implement an auto-prepare that isn't jank be my guest * halves progress, as usual * added a new item :smile: * fix conflicts just saw these in the pr, this commit should fix them * clean up code/fix prepare block thank you ymf!!! <333 * code optimizations * both slice anim + prepare anim fixed * i have stashed changes i need to work on * stashed changes * remade halves lists * renamed some sprites -i had funny little names like "tater" and "cuc" but that's a bit confusing * custom halves don't have the framework for them yet so i was building that too * half sprites work now onto making the curve an animation! (also fixing the text ig) (ALSO i fixed the prepare stuff (i think)) * unity animation :skull: death * Fixed text stuff * push changes so nothing breaks hi ymf * i'll work on this more later * halves r workin * oops! all mp3s! -converted mp3 sfx to ogg still need to do barelies, then everything is done * barelies are so close to being done!!! tweaking + figuring out how position works depending on which side the object was thrown * stopping for the night barelies are actually so insanely close to being done it's just a little bit of jank that's holding them back ill finish this tomorrow. * it's over. it's finally over. PR TIME! * final adjustments * the rest of the barely stuff * clean up the code a little :D * halves look a lot better gonna remove all my enum parsing code and replace it with a boring dropdown :cry: after that i gotta fix the barelies, i should be able to just use whatever the halves are doing cause they look really good * rewrote basically all of ThrowObject() * overhauled how object calling works * added "Idol" object (fan club mic) * fixed barelies and curves and how they were transformed * oh and uh, one more thing. prepare block was janky so i just made the animation last 20 seconds :) ez fix * final touch-ups + layering issues title * apparently this didn't push :japanese_ogre: --------- Co-authored-by: minenice55 <star.elementa@gmail.com> Co-authored-by: patataofcourse <patataofcourse@gmail.com> Co-authored-by: ev <85412919+evdial@users.noreply.github.com> Co-authored-by: Rapandrasmus <78219215+Rapandrasmus@users.noreply.github.com>
2023-03-11 20:55:18 +00:00
transform.position = barelyCurve.GetPoint(flyPosBarely) + objPos;
Dog Ninja (#268) * starting out with double date stuff :D not even the background is finished i just wanna get this on my fork so that it's safe * double date getting more initialized no animations, one block, nothing actually functions. but the boy is put in place, and the girl is almost put in place! just wanted to merge this with the main branch to play catchy tune * initialization done!!!!! gonna fix up the code, see what i can take out, see what i can standardize, see what i need to add. loving this so far, even with all of its annoyances * ughhhh animation stuff. this is gonna take me a day or two to even comprehend * starting on animation committing cause im traveling, i might work on this if i have time * replace sounds, extend some stuff replaced the rhre3 sounds and added a few things to make camera movements not look so out-of-bounds janky. still working on it, but it's coming along good so far * starting on dog ninja waiting for bread2unity to get merged, and i'm still probably gonna keep working on dog ninja until it's done even if it does. * initialization and sprite trimming done reference is from angrytapper2's video Throw Object, Cut Everything!, and Here We Go! were the cues added, in that order. * temp icon w/ mask + bezier curves!! the icon is temporary, but i did add a mask. i think it looks pretty good :) especially for what it is. also bezier curves. i just figured those out, now i just need to figure out how to implement them into the object. * getting there i'm so close to getting the "Cut Everything!" block to work. i'm trying to figure out how to not play it as the default when the game is rendered * added sfx * added bird animations * looked at double date for like 2 minutes * have been editing blue bear's "treat" block to fit dog ninja for a while now (im gonna try doing these commit notes from now on) * keeping trying * cues have sfx now - the "throw object" cues are not accurate yet * animations adjusted to not keep bird on screen * not much progress rn, getting into the harder stuff * added more sfx - it's from rhre3, if somebody can find a clean rip that would be great, cause i can't) * made a bop animation - still trying to figure out how to get it to play every beat :/ * replaced throw sfx, was using whiff sfx before * extended background using a slice of the sky gradient and color picked blocks * some code added to dogninja.cs and throwobject.cs is... bad. it's just torn from other games. * i need to work out conflicts really this is just pushing all my stuff so i don't lose it, tambourine is giving my fork conflicts for some reason :skull: * blehhh figuring out git some more * doesn't look like much. but I GOT ANIMATIONS WORKING. (god, i suck at C#) * bop animations, on every beat (will soon make it a toggle) * bird fly in and out, flies in when not on screen and out when on screen * did more work on "throwObject.cs" but not anything applicable yet * also found out how assigning scripts to a prefab works. ugh. so, got all those holders and objects assigned * trying to get different sfx working for each item really i just established some structure code. i don't understand it too well, so there are a few things commented out. * starting with inputs rn they're broken and i can't tell why :( * heavily commented out code in ThrowObject.cs * added option to disable the bird's FlyIn SFX * some debug stuff * some scheduled inputs (that AREN'T. WORKING.) * fixed the input bug tysm ymf <333 ur my hero technically this is a functioning game! gonna get different sfx/sprites working, try to get bezier curves working, then i'll make a pr * fixed that input bug * changed some variable names * getting some more infrastructure for getting the game fully working * double date stuff!!!! (improvements, playability) * purged SO much code * combined SoccerBall.cs and Basketball.cs into Ball.cs - might do that for Football.cs too, but we'll see * removed bop animation, it looked bad and made double date as a whole look bad cause it didn't reset. so the boy looked a bit off. - also fixed an error pertaining to animations * basic input stuff for when bread2unity gets merged * oh so much infrastructure stuff * lol commit * some animation stuff * sfx stuff all the different options have sfx tied to them for the throw and slice. now onto sprites and animation... * added tacobell too :) * dog ninja going into WIP :D (commiting rn cause i wanna do some experimental animation) * one more object :) * optimized some code * new sprites are almost done; i've got a list of both the sprites and their halves. * sprites are in! and goodnight. UGHHH BEZIER CURVES I DONT UNDERSTAND YOU * all the sprites go with their corresponding option and sfx * bird improved slightly * BEZIER CURVES * actual fruit animation * toggle for random fruits (doesn't work yet) * textbox for custom objects (doesn't work yet) - not user-submitted stuff, just stuff that doesn't really fit in the main dropdown menu * some stuff i don't remember, but it's definitely stuff that's working towards making everything work. miss anims don't work yet. at all. the objects just go flying. also the slice animation needs to be finished for both sides, and a bool needs to be added for which side to play (will be easy to do) also when you randomly slice, which is determined completely randomly (thank god) gura-nyuuu :3 (i'm sorry) * added a single sfx * custom objects!! tbh a lot more's coming but i need to merge my stuff i don't feel like taking notes here * working on halves * misc cleaning up stuff * started on the logic for halves * progress on halves, cleaning out variables i need to sync between laptop and pc * im pretty sure that's all the double date stuff taken out :thumbsup: * neatened up code + better bezier curves * adjusted bezier curves - sooo close to perfection but very noticeable stuttering at lower speeds * changed random to default object option instead of a bool; makes more sense this way * renaming things, getting code ready for new animations * commented a bunch of my code * re-fixing a bunch of stuff that has since broken from updating stuff - i.e random fruit, sprites, "here we go!" in general, etc. * new font, stuff fixed * added [about friend font](https://www.deviantart.com/matthewtheprep/art/About-Friend-Extended-Now-with-Greek-and-Cyrillic-832264925) * fixed "here we go!" * some more left or right object animation stuff * so many things * fully added custom items - accessible through a cheat code type system in the drop-down for cues * changed how the bezier curves function - only three points now (much smoother) and i just start it much later on the curve * added AboutFriend font, basically kurokane except free to use * started more on halves god, halves are gonna be hard tho * quick commit by [d] * got temp animations in * temp animations for ev * replaced ai sprites with ev's (thank you <333) * getting progress on halves * cleaned up files * hi res sprites * throw both objects + prepare anim title though, i still need to work out how the prepare animation will not play when you need to slice (cues a beat or less apart) * all dog ninja animations * forgot some stuff lol * prep anim done yay :) * oops! blend tree moment (more stuff) * animation fixes * more anim fixes lol * done for the night * added seanski's new icon * fixed the sound for both objects getting thrown * still working on the prepare animation, but for now it's gonna be a block - if literally anybody wants to implement an auto-prepare that isn't jank be my guest * halves progress, as usual * added a new item :smile: * fix conflicts just saw these in the pr, this commit should fix them * clean up code/fix prepare block thank you ymf!!! <333 * code optimizations * both slice anim + prepare anim fixed * i have stashed changes i need to work on * stashed changes * remade halves lists * renamed some sprites -i had funny little names like "tater" and "cuc" but that's a bit confusing * custom halves don't have the framework for them yet so i was building that too * half sprites work now onto making the curve an animation! (also fixing the text ig) (ALSO i fixed the prepare stuff (i think)) * unity animation :skull: death * Fixed text stuff * push changes so nothing breaks hi ymf * i'll work on this more later * halves r workin * oops! all mp3s! -converted mp3 sfx to ogg still need to do barelies, then everything is done * barelies are so close to being done!!! tweaking + figuring out how position works depending on which side the object was thrown * stopping for the night barelies are actually so insanely close to being done it's just a little bit of jank that's holding them back ill finish this tomorrow. * it's over. it's finally over. PR TIME! * final adjustments * the rest of the barely stuff * clean up the code a little :D --------- Co-authored-by: minenice55 <star.elementa@gmail.com> Co-authored-by: patataofcourse <patataofcourse@gmail.com> Co-authored-by: ev <85412919+evdial@users.noreply.github.com> Co-authored-by: Rapandrasmus <78219215+Rapandrasmus@users.noreply.github.com>
2023-03-07 22:55:44 +00:00
float rot = fromLeft ? 200f : -200f;
transform.rotation = Quaternion.Euler(0, 0, transform.rotation.eulerAngles.z + (rot * Time.deltaTime));
if (flyPosBarely > 1f) {
GameObject.Destroy(gameObject);
Dog Ninja Tweaks (#336) * starting out with double date stuff :D not even the background is finished i just wanna get this on my fork so that it's safe * double date getting more initialized no animations, one block, nothing actually functions. but the boy is put in place, and the girl is almost put in place! just wanted to merge this with the main branch to play catchy tune * initialization done!!!!! gonna fix up the code, see what i can take out, see what i can standardize, see what i need to add. loving this so far, even with all of its annoyances * ughhhh animation stuff. this is gonna take me a day or two to even comprehend * starting on animation committing cause im traveling, i might work on this if i have time * replace sounds, extend some stuff replaced the rhre3 sounds and added a few things to make camera movements not look so out-of-bounds janky. still working on it, but it's coming along good so far * starting on dog ninja waiting for bread2unity to get merged, and i'm still probably gonna keep working on dog ninja until it's done even if it does. * initialization and sprite trimming done reference is from angrytapper2's video Throw Object, Cut Everything!, and Here We Go! were the cues added, in that order. * temp icon w/ mask + bezier curves!! the icon is temporary, but i did add a mask. i think it looks pretty good :) especially for what it is. also bezier curves. i just figured those out, now i just need to figure out how to implement them into the object. * getting there i'm so close to getting the "Cut Everything!" block to work. i'm trying to figure out how to not play it as the default when the game is rendered * added sfx * added bird animations * looked at double date for like 2 minutes * have been editing blue bear's "treat" block to fit dog ninja for a while now (im gonna try doing these commit notes from now on) * keeping trying * cues have sfx now - the "throw object" cues are not accurate yet * animations adjusted to not keep bird on screen * not much progress rn, getting into the harder stuff * added more sfx - it's from rhre3, if somebody can find a clean rip that would be great, cause i can't) * made a bop animation - still trying to figure out how to get it to play every beat :/ * replaced throw sfx, was using whiff sfx before * extended background using a slice of the sky gradient and color picked blocks * some code added to dogninja.cs and throwobject.cs is... bad. it's just torn from other games. * i need to work out conflicts really this is just pushing all my stuff so i don't lose it, tambourine is giving my fork conflicts for some reason :skull: * blehhh figuring out git some more * doesn't look like much. but I GOT ANIMATIONS WORKING. (god, i suck at C#) * bop animations, on every beat (will soon make it a toggle) * bird fly in and out, flies in when not on screen and out when on screen * did more work on "throwObject.cs" but not anything applicable yet * also found out how assigning scripts to a prefab works. ugh. so, got all those holders and objects assigned * trying to get different sfx working for each item really i just established some structure code. i don't understand it too well, so there are a few things commented out. * starting with inputs rn they're broken and i can't tell why :( * heavily commented out code in ThrowObject.cs * added option to disable the bird's FlyIn SFX * some debug stuff * some scheduled inputs (that AREN'T. WORKING.) * fixed the input bug tysm ymf <333 ur my hero technically this is a functioning game! gonna get different sfx/sprites working, try to get bezier curves working, then i'll make a pr * fixed that input bug * changed some variable names * getting some more infrastructure for getting the game fully working * double date stuff!!!! (improvements, playability) * purged SO much code * combined SoccerBall.cs and Basketball.cs into Ball.cs - might do that for Football.cs too, but we'll see * removed bop animation, it looked bad and made double date as a whole look bad cause it didn't reset. so the boy looked a bit off. - also fixed an error pertaining to animations * basic input stuff for when bread2unity gets merged * oh so much infrastructure stuff * lol commit * some animation stuff * sfx stuff all the different options have sfx tied to them for the throw and slice. now onto sprites and animation... * added tacobell too :) * dog ninja going into WIP :D (commiting rn cause i wanna do some experimental animation) * one more object :) * optimized some code * new sprites are almost done; i've got a list of both the sprites and their halves. * sprites are in! and goodnight. UGHHH BEZIER CURVES I DONT UNDERSTAND YOU * all the sprites go with their corresponding option and sfx * bird improved slightly * BEZIER CURVES * actual fruit animation * toggle for random fruits (doesn't work yet) * textbox for custom objects (doesn't work yet) - not user-submitted stuff, just stuff that doesn't really fit in the main dropdown menu * some stuff i don't remember, but it's definitely stuff that's working towards making everything work. miss anims don't work yet. at all. the objects just go flying. also the slice animation needs to be finished for both sides, and a bool needs to be added for which side to play (will be easy to do) also when you randomly slice, which is determined completely randomly (thank god) gura-nyuuu :3 (i'm sorry) * added a single sfx * custom objects!! tbh a lot more's coming but i need to merge my stuff i don't feel like taking notes here * working on halves * misc cleaning up stuff * started on the logic for halves * progress on halves, cleaning out variables i need to sync between laptop and pc * im pretty sure that's all the double date stuff taken out :thumbsup: * neatened up code + better bezier curves * adjusted bezier curves - sooo close to perfection but very noticeable stuttering at lower speeds * changed random to default object option instead of a bool; makes more sense this way * renaming things, getting code ready for new animations * commented a bunch of my code * re-fixing a bunch of stuff that has since broken from updating stuff - i.e random fruit, sprites, "here we go!" in general, etc. * new font, stuff fixed * added [about friend font](https://www.deviantart.com/matthewtheprep/art/About-Friend-Extended-Now-with-Greek-and-Cyrillic-832264925) * fixed "here we go!" * some more left or right object animation stuff * so many things * fully added custom items - accessible through a cheat code type system in the drop-down for cues * changed how the bezier curves function - only three points now (much smoother) and i just start it much later on the curve * added AboutFriend font, basically kurokane except free to use * started more on halves god, halves are gonna be hard tho * quick commit by [d] * got temp animations in * temp animations for ev * replaced ai sprites with ev's (thank you <333) * getting progress on halves * cleaned up files * hi res sprites * throw both objects + prepare anim title though, i still need to work out how the prepare animation will not play when you need to slice (cues a beat or less apart) * all dog ninja animations * forgot some stuff lol * prep anim done yay :) * oops! blend tree moment (more stuff) * animation fixes * more anim fixes lol * done for the night * added seanski's new icon * fixed the sound for both objects getting thrown * still working on the prepare animation, but for now it's gonna be a block - if literally anybody wants to implement an auto-prepare that isn't jank be my guest * halves progress, as usual * added a new item :smile: * fix conflicts just saw these in the pr, this commit should fix them * clean up code/fix prepare block thank you ymf!!! <333 * code optimizations * both slice anim + prepare anim fixed * i have stashed changes i need to work on * stashed changes * remade halves lists * renamed some sprites -i had funny little names like "tater" and "cuc" but that's a bit confusing * custom halves don't have the framework for them yet so i was building that too * half sprites work now onto making the curve an animation! (also fixing the text ig) (ALSO i fixed the prepare stuff (i think)) * unity animation :skull: death * Fixed text stuff * push changes so nothing breaks hi ymf * i'll work on this more later * halves r workin * oops! all mp3s! -converted mp3 sfx to ogg still need to do barelies, then everything is done * barelies are so close to being done!!! tweaking + figuring out how position works depending on which side the object was thrown * stopping for the night barelies are actually so insanely close to being done it's just a little bit of jank that's holding them back ill finish this tomorrow. * it's over. it's finally over. PR TIME! * final adjustments * the rest of the barely stuff * clean up the code a little :D * halves look a lot better gonna remove all my enum parsing code and replace it with a boring dropdown :cry: after that i gotta fix the barelies, i should be able to just use whatever the halves are doing cause they look really good * rewrote basically all of ThrowObject() * overhauled how object calling works * added "Idol" object (fan club mic) * fixed barelies and curves and how they were transformed * oh and uh, one more thing. prepare block was janky so i just made the animation last 20 seconds :) ez fix * final touch-ups + layering issues title * apparently this didn't push :japanese_ogre: --------- Co-authored-by: minenice55 <star.elementa@gmail.com> Co-authored-by: patataofcourse <patataofcourse@gmail.com> Co-authored-by: ev <85412919+evdial@users.noreply.github.com> Co-authored-by: Rapandrasmus <78219215+Rapandrasmus@users.noreply.github.com>
2023-03-11 20:55:18 +00:00
}
Dog Ninja (#268) * starting out with double date stuff :D not even the background is finished i just wanna get this on my fork so that it's safe * double date getting more initialized no animations, one block, nothing actually functions. but the boy is put in place, and the girl is almost put in place! just wanted to merge this with the main branch to play catchy tune * initialization done!!!!! gonna fix up the code, see what i can take out, see what i can standardize, see what i need to add. loving this so far, even with all of its annoyances * ughhhh animation stuff. this is gonna take me a day or two to even comprehend * starting on animation committing cause im traveling, i might work on this if i have time * replace sounds, extend some stuff replaced the rhre3 sounds and added a few things to make camera movements not look so out-of-bounds janky. still working on it, but it's coming along good so far * starting on dog ninja waiting for bread2unity to get merged, and i'm still probably gonna keep working on dog ninja until it's done even if it does. * initialization and sprite trimming done reference is from angrytapper2's video Throw Object, Cut Everything!, and Here We Go! were the cues added, in that order. * temp icon w/ mask + bezier curves!! the icon is temporary, but i did add a mask. i think it looks pretty good :) especially for what it is. also bezier curves. i just figured those out, now i just need to figure out how to implement them into the object. * getting there i'm so close to getting the "Cut Everything!" block to work. i'm trying to figure out how to not play it as the default when the game is rendered * added sfx * added bird animations * looked at double date for like 2 minutes * have been editing blue bear's "treat" block to fit dog ninja for a while now (im gonna try doing these commit notes from now on) * keeping trying * cues have sfx now - the "throw object" cues are not accurate yet * animations adjusted to not keep bird on screen * not much progress rn, getting into the harder stuff * added more sfx - it's from rhre3, if somebody can find a clean rip that would be great, cause i can't) * made a bop animation - still trying to figure out how to get it to play every beat :/ * replaced throw sfx, was using whiff sfx before * extended background using a slice of the sky gradient and color picked blocks * some code added to dogninja.cs and throwobject.cs is... bad. it's just torn from other games. * i need to work out conflicts really this is just pushing all my stuff so i don't lose it, tambourine is giving my fork conflicts for some reason :skull: * blehhh figuring out git some more * doesn't look like much. but I GOT ANIMATIONS WORKING. (god, i suck at C#) * bop animations, on every beat (will soon make it a toggle) * bird fly in and out, flies in when not on screen and out when on screen * did more work on "throwObject.cs" but not anything applicable yet * also found out how assigning scripts to a prefab works. ugh. so, got all those holders and objects assigned * trying to get different sfx working for each item really i just established some structure code. i don't understand it too well, so there are a few things commented out. * starting with inputs rn they're broken and i can't tell why :( * heavily commented out code in ThrowObject.cs * added option to disable the bird's FlyIn SFX * some debug stuff * some scheduled inputs (that AREN'T. WORKING.) * fixed the input bug tysm ymf <333 ur my hero technically this is a functioning game! gonna get different sfx/sprites working, try to get bezier curves working, then i'll make a pr * fixed that input bug * changed some variable names * getting some more infrastructure for getting the game fully working * double date stuff!!!! (improvements, playability) * purged SO much code * combined SoccerBall.cs and Basketball.cs into Ball.cs - might do that for Football.cs too, but we'll see * removed bop animation, it looked bad and made double date as a whole look bad cause it didn't reset. so the boy looked a bit off. - also fixed an error pertaining to animations * basic input stuff for when bread2unity gets merged * oh so much infrastructure stuff * lol commit * some animation stuff * sfx stuff all the different options have sfx tied to them for the throw and slice. now onto sprites and animation... * added tacobell too :) * dog ninja going into WIP :D (commiting rn cause i wanna do some experimental animation) * one more object :) * optimized some code * new sprites are almost done; i've got a list of both the sprites and their halves. * sprites are in! and goodnight. UGHHH BEZIER CURVES I DONT UNDERSTAND YOU * all the sprites go with their corresponding option and sfx * bird improved slightly * BEZIER CURVES * actual fruit animation * toggle for random fruits (doesn't work yet) * textbox for custom objects (doesn't work yet) - not user-submitted stuff, just stuff that doesn't really fit in the main dropdown menu * some stuff i don't remember, but it's definitely stuff that's working towards making everything work. miss anims don't work yet. at all. the objects just go flying. also the slice animation needs to be finished for both sides, and a bool needs to be added for which side to play (will be easy to do) also when you randomly slice, which is determined completely randomly (thank god) gura-nyuuu :3 (i'm sorry) * added a single sfx * custom objects!! tbh a lot more's coming but i need to merge my stuff i don't feel like taking notes here * working on halves * misc cleaning up stuff * started on the logic for halves * progress on halves, cleaning out variables i need to sync between laptop and pc * im pretty sure that's all the double date stuff taken out :thumbsup: * neatened up code + better bezier curves * adjusted bezier curves - sooo close to perfection but very noticeable stuttering at lower speeds * changed random to default object option instead of a bool; makes more sense this way * renaming things, getting code ready for new animations * commented a bunch of my code * re-fixing a bunch of stuff that has since broken from updating stuff - i.e random fruit, sprites, "here we go!" in general, etc. * new font, stuff fixed * added [about friend font](https://www.deviantart.com/matthewtheprep/art/About-Friend-Extended-Now-with-Greek-and-Cyrillic-832264925) * fixed "here we go!" * some more left or right object animation stuff * so many things * fully added custom items - accessible through a cheat code type system in the drop-down for cues * changed how the bezier curves function - only three points now (much smoother) and i just start it much later on the curve * added AboutFriend font, basically kurokane except free to use * started more on halves god, halves are gonna be hard tho * quick commit by [d] * got temp animations in * temp animations for ev * replaced ai sprites with ev's (thank you <333) * getting progress on halves * cleaned up files * hi res sprites * throw both objects + prepare anim title though, i still need to work out how the prepare animation will not play when you need to slice (cues a beat or less apart) * all dog ninja animations * forgot some stuff lol * prep anim done yay :) * oops! blend tree moment (more stuff) * animation fixes * more anim fixes lol * done for the night * added seanski's new icon * fixed the sound for both objects getting thrown * still working on the prepare animation, but for now it's gonna be a block - if literally anybody wants to implement an auto-prepare that isn't jank be my guest * halves progress, as usual * added a new item :smile: * fix conflicts just saw these in the pr, this commit should fix them * clean up code/fix prepare block thank you ymf!!! <333 * code optimizations * both slice anim + prepare anim fixed * i have stashed changes i need to work on * stashed changes * remade halves lists * renamed some sprites -i had funny little names like "tater" and "cuc" but that's a bit confusing * custom halves don't have the framework for them yet so i was building that too * half sprites work now onto making the curve an animation! (also fixing the text ig) (ALSO i fixed the prepare stuff (i think)) * unity animation :skull: death * Fixed text stuff * push changes so nothing breaks hi ymf * i'll work on this more later * halves r workin * oops! all mp3s! -converted mp3 sfx to ogg still need to do barelies, then everything is done * barelies are so close to being done!!! tweaking + figuring out how position works depending on which side the object was thrown * stopping for the night barelies are actually so insanely close to being done it's just a little bit of jank that's holding them back ill finish this tomorrow. * it's over. it's finally over. PR TIME! * final adjustments * the rest of the barely stuff * clean up the code a little :D --------- Co-authored-by: minenice55 <star.elementa@gmail.com> Co-authored-by: patataofcourse <patataofcourse@gmail.com> Co-authored-by: ev <85412919+evdial@users.noreply.github.com> Co-authored-by: Rapandrasmus <78219215+Rapandrasmus@users.noreply.github.com>
2023-03-07 22:55:44 +00:00
}
if ((!Conductor.instance.isPlaying && !Conductor.instance.isPaused)
|| GameManager.instance.currentGame != "dogNinja") {
GameObject.Destroy(gameObject);
Dog Ninja Tweaks (#336) * starting out with double date stuff :D not even the background is finished i just wanna get this on my fork so that it's safe * double date getting more initialized no animations, one block, nothing actually functions. but the boy is put in place, and the girl is almost put in place! just wanted to merge this with the main branch to play catchy tune * initialization done!!!!! gonna fix up the code, see what i can take out, see what i can standardize, see what i need to add. loving this so far, even with all of its annoyances * ughhhh animation stuff. this is gonna take me a day or two to even comprehend * starting on animation committing cause im traveling, i might work on this if i have time * replace sounds, extend some stuff replaced the rhre3 sounds and added a few things to make camera movements not look so out-of-bounds janky. still working on it, but it's coming along good so far * starting on dog ninja waiting for bread2unity to get merged, and i'm still probably gonna keep working on dog ninja until it's done even if it does. * initialization and sprite trimming done reference is from angrytapper2's video Throw Object, Cut Everything!, and Here We Go! were the cues added, in that order. * temp icon w/ mask + bezier curves!! the icon is temporary, but i did add a mask. i think it looks pretty good :) especially for what it is. also bezier curves. i just figured those out, now i just need to figure out how to implement them into the object. * getting there i'm so close to getting the "Cut Everything!" block to work. i'm trying to figure out how to not play it as the default when the game is rendered * added sfx * added bird animations * looked at double date for like 2 minutes * have been editing blue bear's "treat" block to fit dog ninja for a while now (im gonna try doing these commit notes from now on) * keeping trying * cues have sfx now - the "throw object" cues are not accurate yet * animations adjusted to not keep bird on screen * not much progress rn, getting into the harder stuff * added more sfx - it's from rhre3, if somebody can find a clean rip that would be great, cause i can't) * made a bop animation - still trying to figure out how to get it to play every beat :/ * replaced throw sfx, was using whiff sfx before * extended background using a slice of the sky gradient and color picked blocks * some code added to dogninja.cs and throwobject.cs is... bad. it's just torn from other games. * i need to work out conflicts really this is just pushing all my stuff so i don't lose it, tambourine is giving my fork conflicts for some reason :skull: * blehhh figuring out git some more * doesn't look like much. but I GOT ANIMATIONS WORKING. (god, i suck at C#) * bop animations, on every beat (will soon make it a toggle) * bird fly in and out, flies in when not on screen and out when on screen * did more work on "throwObject.cs" but not anything applicable yet * also found out how assigning scripts to a prefab works. ugh. so, got all those holders and objects assigned * trying to get different sfx working for each item really i just established some structure code. i don't understand it too well, so there are a few things commented out. * starting with inputs rn they're broken and i can't tell why :( * heavily commented out code in ThrowObject.cs * added option to disable the bird's FlyIn SFX * some debug stuff * some scheduled inputs (that AREN'T. WORKING.) * fixed the input bug tysm ymf <333 ur my hero technically this is a functioning game! gonna get different sfx/sprites working, try to get bezier curves working, then i'll make a pr * fixed that input bug * changed some variable names * getting some more infrastructure for getting the game fully working * double date stuff!!!! (improvements, playability) * purged SO much code * combined SoccerBall.cs and Basketball.cs into Ball.cs - might do that for Football.cs too, but we'll see * removed bop animation, it looked bad and made double date as a whole look bad cause it didn't reset. so the boy looked a bit off. - also fixed an error pertaining to animations * basic input stuff for when bread2unity gets merged * oh so much infrastructure stuff * lol commit * some animation stuff * sfx stuff all the different options have sfx tied to them for the throw and slice. now onto sprites and animation... * added tacobell too :) * dog ninja going into WIP :D (commiting rn cause i wanna do some experimental animation) * one more object :) * optimized some code * new sprites are almost done; i've got a list of both the sprites and their halves. * sprites are in! and goodnight. UGHHH BEZIER CURVES I DONT UNDERSTAND YOU * all the sprites go with their corresponding option and sfx * bird improved slightly * BEZIER CURVES * actual fruit animation * toggle for random fruits (doesn't work yet) * textbox for custom objects (doesn't work yet) - not user-submitted stuff, just stuff that doesn't really fit in the main dropdown menu * some stuff i don't remember, but it's definitely stuff that's working towards making everything work. miss anims don't work yet. at all. the objects just go flying. also the slice animation needs to be finished for both sides, and a bool needs to be added for which side to play (will be easy to do) also when you randomly slice, which is determined completely randomly (thank god) gura-nyuuu :3 (i'm sorry) * added a single sfx * custom objects!! tbh a lot more's coming but i need to merge my stuff i don't feel like taking notes here * working on halves * misc cleaning up stuff * started on the logic for halves * progress on halves, cleaning out variables i need to sync between laptop and pc * im pretty sure that's all the double date stuff taken out :thumbsup: * neatened up code + better bezier curves * adjusted bezier curves - sooo close to perfection but very noticeable stuttering at lower speeds * changed random to default object option instead of a bool; makes more sense this way * renaming things, getting code ready for new animations * commented a bunch of my code * re-fixing a bunch of stuff that has since broken from updating stuff - i.e random fruit, sprites, "here we go!" in general, etc. * new font, stuff fixed * added [about friend font](https://www.deviantart.com/matthewtheprep/art/About-Friend-Extended-Now-with-Greek-and-Cyrillic-832264925) * fixed "here we go!" * some more left or right object animation stuff * so many things * fully added custom items - accessible through a cheat code type system in the drop-down for cues * changed how the bezier curves function - only three points now (much smoother) and i just start it much later on the curve * added AboutFriend font, basically kurokane except free to use * started more on halves god, halves are gonna be hard tho * quick commit by [d] * got temp animations in * temp animations for ev * replaced ai sprites with ev's (thank you <333) * getting progress on halves * cleaned up files * hi res sprites * throw both objects + prepare anim title though, i still need to work out how the prepare animation will not play when you need to slice (cues a beat or less apart) * all dog ninja animations * forgot some stuff lol * prep anim done yay :) * oops! blend tree moment (more stuff) * animation fixes * more anim fixes lol * done for the night * added seanski's new icon * fixed the sound for both objects getting thrown * still working on the prepare animation, but for now it's gonna be a block - if literally anybody wants to implement an auto-prepare that isn't jank be my guest * halves progress, as usual * added a new item :smile: * fix conflicts just saw these in the pr, this commit should fix them * clean up code/fix prepare block thank you ymf!!! <333 * code optimizations * both slice anim + prepare anim fixed * i have stashed changes i need to work on * stashed changes * remade halves lists * renamed some sprites -i had funny little names like "tater" and "cuc" but that's a bit confusing * custom halves don't have the framework for them yet so i was building that too * half sprites work now onto making the curve an animation! (also fixing the text ig) (ALSO i fixed the prepare stuff (i think)) * unity animation :skull: death * Fixed text stuff * push changes so nothing breaks hi ymf * i'll work on this more later * halves r workin * oops! all mp3s! -converted mp3 sfx to ogg still need to do barelies, then everything is done * barelies are so close to being done!!! tweaking + figuring out how position works depending on which side the object was thrown * stopping for the night barelies are actually so insanely close to being done it's just a little bit of jank that's holding them back ill finish this tomorrow. * it's over. it's finally over. PR TIME! * final adjustments * the rest of the barely stuff * clean up the code a little :D * halves look a lot better gonna remove all my enum parsing code and replace it with a boring dropdown :cry: after that i gotta fix the barelies, i should be able to just use whatever the halves are doing cause they look really good * rewrote basically all of ThrowObject() * overhauled how object calling works * added "Idol" object (fan club mic) * fixed barelies and curves and how they were transformed * oh and uh, one more thing. prepare block was janky so i just made the animation last 20 seconds :) ez fix * final touch-ups + layering issues title * apparently this didn't push :japanese_ogre: --------- Co-authored-by: minenice55 <star.elementa@gmail.com> Co-authored-by: patataofcourse <patataofcourse@gmail.com> Co-authored-by: ev <85412919+evdial@users.noreply.github.com> Co-authored-by: Rapandrasmus <78219215+Rapandrasmus@users.noreply.github.com>
2023-03-11 20:55:18 +00:00
}
Dog Ninja (#268) * starting out with double date stuff :D not even the background is finished i just wanna get this on my fork so that it's safe * double date getting more initialized no animations, one block, nothing actually functions. but the boy is put in place, and the girl is almost put in place! just wanted to merge this with the main branch to play catchy tune * initialization done!!!!! gonna fix up the code, see what i can take out, see what i can standardize, see what i need to add. loving this so far, even with all of its annoyances * ughhhh animation stuff. this is gonna take me a day or two to even comprehend * starting on animation committing cause im traveling, i might work on this if i have time * replace sounds, extend some stuff replaced the rhre3 sounds and added a few things to make camera movements not look so out-of-bounds janky. still working on it, but it's coming along good so far * starting on dog ninja waiting for bread2unity to get merged, and i'm still probably gonna keep working on dog ninja until it's done even if it does. * initialization and sprite trimming done reference is from angrytapper2's video Throw Object, Cut Everything!, and Here We Go! were the cues added, in that order. * temp icon w/ mask + bezier curves!! the icon is temporary, but i did add a mask. i think it looks pretty good :) especially for what it is. also bezier curves. i just figured those out, now i just need to figure out how to implement them into the object. * getting there i'm so close to getting the "Cut Everything!" block to work. i'm trying to figure out how to not play it as the default when the game is rendered * added sfx * added bird animations * looked at double date for like 2 minutes * have been editing blue bear's "treat" block to fit dog ninja for a while now (im gonna try doing these commit notes from now on) * keeping trying * cues have sfx now - the "throw object" cues are not accurate yet * animations adjusted to not keep bird on screen * not much progress rn, getting into the harder stuff * added more sfx - it's from rhre3, if somebody can find a clean rip that would be great, cause i can't) * made a bop animation - still trying to figure out how to get it to play every beat :/ * replaced throw sfx, was using whiff sfx before * extended background using a slice of the sky gradient and color picked blocks * some code added to dogninja.cs and throwobject.cs is... bad. it's just torn from other games. * i need to work out conflicts really this is just pushing all my stuff so i don't lose it, tambourine is giving my fork conflicts for some reason :skull: * blehhh figuring out git some more * doesn't look like much. but I GOT ANIMATIONS WORKING. (god, i suck at C#) * bop animations, on every beat (will soon make it a toggle) * bird fly in and out, flies in when not on screen and out when on screen * did more work on "throwObject.cs" but not anything applicable yet * also found out how assigning scripts to a prefab works. ugh. so, got all those holders and objects assigned * trying to get different sfx working for each item really i just established some structure code. i don't understand it too well, so there are a few things commented out. * starting with inputs rn they're broken and i can't tell why :( * heavily commented out code in ThrowObject.cs * added option to disable the bird's FlyIn SFX * some debug stuff * some scheduled inputs (that AREN'T. WORKING.) * fixed the input bug tysm ymf <333 ur my hero technically this is a functioning game! gonna get different sfx/sprites working, try to get bezier curves working, then i'll make a pr * fixed that input bug * changed some variable names * getting some more infrastructure for getting the game fully working * double date stuff!!!! (improvements, playability) * purged SO much code * combined SoccerBall.cs and Basketball.cs into Ball.cs - might do that for Football.cs too, but we'll see * removed bop animation, it looked bad and made double date as a whole look bad cause it didn't reset. so the boy looked a bit off. - also fixed an error pertaining to animations * basic input stuff for when bread2unity gets merged * oh so much infrastructure stuff * lol commit * some animation stuff * sfx stuff all the different options have sfx tied to them for the throw and slice. now onto sprites and animation... * added tacobell too :) * dog ninja going into WIP :D (commiting rn cause i wanna do some experimental animation) * one more object :) * optimized some code * new sprites are almost done; i've got a list of both the sprites and their halves. * sprites are in! and goodnight. UGHHH BEZIER CURVES I DONT UNDERSTAND YOU * all the sprites go with their corresponding option and sfx * bird improved slightly * BEZIER CURVES * actual fruit animation * toggle for random fruits (doesn't work yet) * textbox for custom objects (doesn't work yet) - not user-submitted stuff, just stuff that doesn't really fit in the main dropdown menu * some stuff i don't remember, but it's definitely stuff that's working towards making everything work. miss anims don't work yet. at all. the objects just go flying. also the slice animation needs to be finished for both sides, and a bool needs to be added for which side to play (will be easy to do) also when you randomly slice, which is determined completely randomly (thank god) gura-nyuuu :3 (i'm sorry) * added a single sfx * custom objects!! tbh a lot more's coming but i need to merge my stuff i don't feel like taking notes here * working on halves * misc cleaning up stuff * started on the logic for halves * progress on halves, cleaning out variables i need to sync between laptop and pc * im pretty sure that's all the double date stuff taken out :thumbsup: * neatened up code + better bezier curves * adjusted bezier curves - sooo close to perfection but very noticeable stuttering at lower speeds * changed random to default object option instead of a bool; makes more sense this way * renaming things, getting code ready for new animations * commented a bunch of my code * re-fixing a bunch of stuff that has since broken from updating stuff - i.e random fruit, sprites, "here we go!" in general, etc. * new font, stuff fixed * added [about friend font](https://www.deviantart.com/matthewtheprep/art/About-Friend-Extended-Now-with-Greek-and-Cyrillic-832264925) * fixed "here we go!" * some more left or right object animation stuff * so many things * fully added custom items - accessible through a cheat code type system in the drop-down for cues * changed how the bezier curves function - only three points now (much smoother) and i just start it much later on the curve * added AboutFriend font, basically kurokane except free to use * started more on halves god, halves are gonna be hard tho * quick commit by [d] * got temp animations in * temp animations for ev * replaced ai sprites with ev's (thank you <333) * getting progress on halves * cleaned up files * hi res sprites * throw both objects + prepare anim title though, i still need to work out how the prepare animation will not play when you need to slice (cues a beat or less apart) * all dog ninja animations * forgot some stuff lol * prep anim done yay :) * oops! blend tree moment (more stuff) * animation fixes * more anim fixes lol * done for the night * added seanski's new icon * fixed the sound for both objects getting thrown * still working on the prepare animation, but for now it's gonna be a block - if literally anybody wants to implement an auto-prepare that isn't jank be my guest * halves progress, as usual * added a new item :smile: * fix conflicts just saw these in the pr, this commit should fix them * clean up code/fix prepare block thank you ymf!!! <333 * code optimizations * both slice anim + prepare anim fixed * i have stashed changes i need to work on * stashed changes * remade halves lists * renamed some sprites -i had funny little names like "tater" and "cuc" but that's a bit confusing * custom halves don't have the framework for them yet so i was building that too * half sprites work now onto making the curve an animation! (also fixing the text ig) (ALSO i fixed the prepare stuff (i think)) * unity animation :skull: death * Fixed text stuff * push changes so nothing breaks hi ymf * i'll work on this more later * halves r workin * oops! all mp3s! -converted mp3 sfx to ogg still need to do barelies, then everything is done * barelies are so close to being done!!! tweaking + figuring out how position works depending on which side the object was thrown * stopping for the night barelies are actually so insanely close to being done it's just a little bit of jank that's holding them back ill finish this tomorrow. * it's over. it's finally over. PR TIME! * final adjustments * the rest of the barely stuff * clean up the code a little :D --------- Co-authored-by: minenice55 <star.elementa@gmail.com> Co-authored-by: patataofcourse <patataofcourse@gmail.com> Co-authored-by: ev <85412919+evdial@users.noreply.github.com> Co-authored-by: Rapandrasmus <78219215+Rapandrasmus@users.noreply.github.com>
2023-03-07 22:55:44 +00:00
}
private void SuccessSlice()
{
string slice = "Slice" + direction switch
{
0 => "Left",
1 => "Right",
2 => "Both",
};
Dog Ninja (#268) * starting out with double date stuff :D not even the background is finished i just wanna get this on my fork so that it's safe * double date getting more initialized no animations, one block, nothing actually functions. but the boy is put in place, and the girl is almost put in place! just wanted to merge this with the main branch to play catchy tune * initialization done!!!!! gonna fix up the code, see what i can take out, see what i can standardize, see what i need to add. loving this so far, even with all of its annoyances * ughhhh animation stuff. this is gonna take me a day or two to even comprehend * starting on animation committing cause im traveling, i might work on this if i have time * replace sounds, extend some stuff replaced the rhre3 sounds and added a few things to make camera movements not look so out-of-bounds janky. still working on it, but it's coming along good so far * starting on dog ninja waiting for bread2unity to get merged, and i'm still probably gonna keep working on dog ninja until it's done even if it does. * initialization and sprite trimming done reference is from angrytapper2's video Throw Object, Cut Everything!, and Here We Go! were the cues added, in that order. * temp icon w/ mask + bezier curves!! the icon is temporary, but i did add a mask. i think it looks pretty good :) especially for what it is. also bezier curves. i just figured those out, now i just need to figure out how to implement them into the object. * getting there i'm so close to getting the "Cut Everything!" block to work. i'm trying to figure out how to not play it as the default when the game is rendered * added sfx * added bird animations * looked at double date for like 2 minutes * have been editing blue bear's "treat" block to fit dog ninja for a while now (im gonna try doing these commit notes from now on) * keeping trying * cues have sfx now - the "throw object" cues are not accurate yet * animations adjusted to not keep bird on screen * not much progress rn, getting into the harder stuff * added more sfx - it's from rhre3, if somebody can find a clean rip that would be great, cause i can't) * made a bop animation - still trying to figure out how to get it to play every beat :/ * replaced throw sfx, was using whiff sfx before * extended background using a slice of the sky gradient and color picked blocks * some code added to dogninja.cs and throwobject.cs is... bad. it's just torn from other games. * i need to work out conflicts really this is just pushing all my stuff so i don't lose it, tambourine is giving my fork conflicts for some reason :skull: * blehhh figuring out git some more * doesn't look like much. but I GOT ANIMATIONS WORKING. (god, i suck at C#) * bop animations, on every beat (will soon make it a toggle) * bird fly in and out, flies in when not on screen and out when on screen * did more work on "throwObject.cs" but not anything applicable yet * also found out how assigning scripts to a prefab works. ugh. so, got all those holders and objects assigned * trying to get different sfx working for each item really i just established some structure code. i don't understand it too well, so there are a few things commented out. * starting with inputs rn they're broken and i can't tell why :( * heavily commented out code in ThrowObject.cs * added option to disable the bird's FlyIn SFX * some debug stuff * some scheduled inputs (that AREN'T. WORKING.) * fixed the input bug tysm ymf <333 ur my hero technically this is a functioning game! gonna get different sfx/sprites working, try to get bezier curves working, then i'll make a pr * fixed that input bug * changed some variable names * getting some more infrastructure for getting the game fully working * double date stuff!!!! (improvements, playability) * purged SO much code * combined SoccerBall.cs and Basketball.cs into Ball.cs - might do that for Football.cs too, but we'll see * removed bop animation, it looked bad and made double date as a whole look bad cause it didn't reset. so the boy looked a bit off. - also fixed an error pertaining to animations * basic input stuff for when bread2unity gets merged * oh so much infrastructure stuff * lol commit * some animation stuff * sfx stuff all the different options have sfx tied to them for the throw and slice. now onto sprites and animation... * added tacobell too :) * dog ninja going into WIP :D (commiting rn cause i wanna do some experimental animation) * one more object :) * optimized some code * new sprites are almost done; i've got a list of both the sprites and their halves. * sprites are in! and goodnight. UGHHH BEZIER CURVES I DONT UNDERSTAND YOU * all the sprites go with their corresponding option and sfx * bird improved slightly * BEZIER CURVES * actual fruit animation * toggle for random fruits (doesn't work yet) * textbox for custom objects (doesn't work yet) - not user-submitted stuff, just stuff that doesn't really fit in the main dropdown menu * some stuff i don't remember, but it's definitely stuff that's working towards making everything work. miss anims don't work yet. at all. the objects just go flying. also the slice animation needs to be finished for both sides, and a bool needs to be added for which side to play (will be easy to do) also when you randomly slice, which is determined completely randomly (thank god) gura-nyuuu :3 (i'm sorry) * added a single sfx * custom objects!! tbh a lot more's coming but i need to merge my stuff i don't feel like taking notes here * working on halves * misc cleaning up stuff * started on the logic for halves * progress on halves, cleaning out variables i need to sync between laptop and pc * im pretty sure that's all the double date stuff taken out :thumbsup: * neatened up code + better bezier curves * adjusted bezier curves - sooo close to perfection but very noticeable stuttering at lower speeds * changed random to default object option instead of a bool; makes more sense this way * renaming things, getting code ready for new animations * commented a bunch of my code * re-fixing a bunch of stuff that has since broken from updating stuff - i.e random fruit, sprites, "here we go!" in general, etc. * new font, stuff fixed * added [about friend font](https://www.deviantart.com/matthewtheprep/art/About-Friend-Extended-Now-with-Greek-and-Cyrillic-832264925) * fixed "here we go!" * some more left or right object animation stuff * so many things * fully added custom items - accessible through a cheat code type system in the drop-down for cues * changed how the bezier curves function - only three points now (much smoother) and i just start it much later on the curve * added AboutFriend font, basically kurokane except free to use * started more on halves god, halves are gonna be hard tho * quick commit by [d] * got temp animations in * temp animations for ev * replaced ai sprites with ev's (thank you <333) * getting progress on halves * cleaned up files * hi res sprites * throw both objects + prepare anim title though, i still need to work out how the prepare animation will not play when you need to slice (cues a beat or less apart) * all dog ninja animations * forgot some stuff lol * prep anim done yay :) * oops! blend tree moment (more stuff) * animation fixes * more anim fixes lol * done for the night * added seanski's new icon * fixed the sound for both objects getting thrown * still working on the prepare animation, but for now it's gonna be a block - if literally anybody wants to implement an auto-prepare that isn't jank be my guest * halves progress, as usual * added a new item :smile: * fix conflicts just saw these in the pr, this commit should fix them * clean up code/fix prepare block thank you ymf!!! <333 * code optimizations * both slice anim + prepare anim fixed * i have stashed changes i need to work on * stashed changes * remade halves lists * renamed some sprites -i had funny little names like "tater" and "cuc" but that's a bit confusing * custom halves don't have the framework for them yet so i was building that too * half sprites work now onto making the curve an animation! (also fixing the text ig) (ALSO i fixed the prepare stuff (i think)) * unity animation :skull: death * Fixed text stuff * push changes so nothing breaks hi ymf * i'll work on this more later * halves r workin * oops! all mp3s! -converted mp3 sfx to ogg still need to do barelies, then everything is done * barelies are so close to being done!!! tweaking + figuring out how position works depending on which side the object was thrown * stopping for the night barelies are actually so insanely close to being done it's just a little bit of jank that's holding them back ill finish this tomorrow. * it's over. it's finally over. PR TIME! * final adjustments * the rest of the barely stuff * clean up the code a little :D --------- Co-authored-by: minenice55 <star.elementa@gmail.com> Co-authored-by: patataofcourse <patataofcourse@gmail.com> Co-authored-by: ev <85412919+evdial@users.noreply.github.com> Co-authored-by: Rapandrasmus <78219215+Rapandrasmus@users.noreply.github.com>
2023-03-07 22:55:44 +00:00
DogAnim.DoScaledAnimationAsync(slice, 0.5f);
if (shouldSfx) SoundByte.PlayOneShotGame(sfxNum+"2");
Dog Ninja (#268) * starting out with double date stuff :D not even the background is finished i just wanna get this on my fork so that it's safe * double date getting more initialized no animations, one block, nothing actually functions. but the boy is put in place, and the girl is almost put in place! just wanted to merge this with the main branch to play catchy tune * initialization done!!!!! gonna fix up the code, see what i can take out, see what i can standardize, see what i need to add. loving this so far, even with all of its annoyances * ughhhh animation stuff. this is gonna take me a day or two to even comprehend * starting on animation committing cause im traveling, i might work on this if i have time * replace sounds, extend some stuff replaced the rhre3 sounds and added a few things to make camera movements not look so out-of-bounds janky. still working on it, but it's coming along good so far * starting on dog ninja waiting for bread2unity to get merged, and i'm still probably gonna keep working on dog ninja until it's done even if it does. * initialization and sprite trimming done reference is from angrytapper2's video Throw Object, Cut Everything!, and Here We Go! were the cues added, in that order. * temp icon w/ mask + bezier curves!! the icon is temporary, but i did add a mask. i think it looks pretty good :) especially for what it is. also bezier curves. i just figured those out, now i just need to figure out how to implement them into the object. * getting there i'm so close to getting the "Cut Everything!" block to work. i'm trying to figure out how to not play it as the default when the game is rendered * added sfx * added bird animations * looked at double date for like 2 minutes * have been editing blue bear's "treat" block to fit dog ninja for a while now (im gonna try doing these commit notes from now on) * keeping trying * cues have sfx now - the "throw object" cues are not accurate yet * animations adjusted to not keep bird on screen * not much progress rn, getting into the harder stuff * added more sfx - it's from rhre3, if somebody can find a clean rip that would be great, cause i can't) * made a bop animation - still trying to figure out how to get it to play every beat :/ * replaced throw sfx, was using whiff sfx before * extended background using a slice of the sky gradient and color picked blocks * some code added to dogninja.cs and throwobject.cs is... bad. it's just torn from other games. * i need to work out conflicts really this is just pushing all my stuff so i don't lose it, tambourine is giving my fork conflicts for some reason :skull: * blehhh figuring out git some more * doesn't look like much. but I GOT ANIMATIONS WORKING. (god, i suck at C#) * bop animations, on every beat (will soon make it a toggle) * bird fly in and out, flies in when not on screen and out when on screen * did more work on "throwObject.cs" but not anything applicable yet * also found out how assigning scripts to a prefab works. ugh. so, got all those holders and objects assigned * trying to get different sfx working for each item really i just established some structure code. i don't understand it too well, so there are a few things commented out. * starting with inputs rn they're broken and i can't tell why :( * heavily commented out code in ThrowObject.cs * added option to disable the bird's FlyIn SFX * some debug stuff * some scheduled inputs (that AREN'T. WORKING.) * fixed the input bug tysm ymf <333 ur my hero technically this is a functioning game! gonna get different sfx/sprites working, try to get bezier curves working, then i'll make a pr * fixed that input bug * changed some variable names * getting some more infrastructure for getting the game fully working * double date stuff!!!! (improvements, playability) * purged SO much code * combined SoccerBall.cs and Basketball.cs into Ball.cs - might do that for Football.cs too, but we'll see * removed bop animation, it looked bad and made double date as a whole look bad cause it didn't reset. so the boy looked a bit off. - also fixed an error pertaining to animations * basic input stuff for when bread2unity gets merged * oh so much infrastructure stuff * lol commit * some animation stuff * sfx stuff all the different options have sfx tied to them for the throw and slice. now onto sprites and animation... * added tacobell too :) * dog ninja going into WIP :D (commiting rn cause i wanna do some experimental animation) * one more object :) * optimized some code * new sprites are almost done; i've got a list of both the sprites and their halves. * sprites are in! and goodnight. UGHHH BEZIER CURVES I DONT UNDERSTAND YOU * all the sprites go with their corresponding option and sfx * bird improved slightly * BEZIER CURVES * actual fruit animation * toggle for random fruits (doesn't work yet) * textbox for custom objects (doesn't work yet) - not user-submitted stuff, just stuff that doesn't really fit in the main dropdown menu * some stuff i don't remember, but it's definitely stuff that's working towards making everything work. miss anims don't work yet. at all. the objects just go flying. also the slice animation needs to be finished for both sides, and a bool needs to be added for which side to play (will be easy to do) also when you randomly slice, which is determined completely randomly (thank god) gura-nyuuu :3 (i'm sorry) * added a single sfx * custom objects!! tbh a lot more's coming but i need to merge my stuff i don't feel like taking notes here * working on halves * misc cleaning up stuff * started on the logic for halves * progress on halves, cleaning out variables i need to sync between laptop and pc * im pretty sure that's all the double date stuff taken out :thumbsup: * neatened up code + better bezier curves * adjusted bezier curves - sooo close to perfection but very noticeable stuttering at lower speeds * changed random to default object option instead of a bool; makes more sense this way * renaming things, getting code ready for new animations * commented a bunch of my code * re-fixing a bunch of stuff that has since broken from updating stuff - i.e random fruit, sprites, "here we go!" in general, etc. * new font, stuff fixed * added [about friend font](https://www.deviantart.com/matthewtheprep/art/About-Friend-Extended-Now-with-Greek-and-Cyrillic-832264925) * fixed "here we go!" * some more left or right object animation stuff * so many things * fully added custom items - accessible through a cheat code type system in the drop-down for cues * changed how the bezier curves function - only three points now (much smoother) and i just start it much later on the curve * added AboutFriend font, basically kurokane except free to use * started more on halves god, halves are gonna be hard tho * quick commit by [d] * got temp animations in * temp animations for ev * replaced ai sprites with ev's (thank you <333) * getting progress on halves * cleaned up files * hi res sprites * throw both objects + prepare anim title though, i still need to work out how the prepare animation will not play when you need to slice (cues a beat or less apart) * all dog ninja animations * forgot some stuff lol * prep anim done yay :) * oops! blend tree moment (more stuff) * animation fixes * more anim fixes lol * done for the night * added seanski's new icon * fixed the sound for both objects getting thrown * still working on the prepare animation, but for now it's gonna be a block - if literally anybody wants to implement an auto-prepare that isn't jank be my guest * halves progress, as usual * added a new item :smile: * fix conflicts just saw these in the pr, this commit should fix them * clean up code/fix prepare block thank you ymf!!! <333 * code optimizations * both slice anim + prepare anim fixed * i have stashed changes i need to work on * stashed changes * remade halves lists * renamed some sprites -i had funny little names like "tater" and "cuc" but that's a bit confusing * custom halves don't have the framework for them yet so i was building that too * half sprites work now onto making the curve an animation! (also fixing the text ig) (ALSO i fixed the prepare stuff (i think)) * unity animation :skull: death * Fixed text stuff * push changes so nothing breaks hi ymf * i'll work on this more later * halves r workin * oops! all mp3s! -converted mp3 sfx to ogg still need to do barelies, then everything is done * barelies are so close to being done!!! tweaking + figuring out how position works depending on which side the object was thrown * stopping for the night barelies are actually so insanely close to being done it's just a little bit of jank that's holding them back ill finish this tomorrow. * it's over. it's finally over. PR TIME! * final adjustments * the rest of the barely stuff * clean up the code a little :D --------- Co-authored-by: minenice55 <star.elementa@gmail.com> Co-authored-by: patataofcourse <patataofcourse@gmail.com> Co-authored-by: ev <85412919+evdial@users.noreply.github.com> Co-authored-by: Rapandrasmus <78219215+Rapandrasmus@users.noreply.github.com>
2023-03-07 22:55:44 +00:00
Dog Ninja Tweaks (#336) * starting out with double date stuff :D not even the background is finished i just wanna get this on my fork so that it's safe * double date getting more initialized no animations, one block, nothing actually functions. but the boy is put in place, and the girl is almost put in place! just wanted to merge this with the main branch to play catchy tune * initialization done!!!!! gonna fix up the code, see what i can take out, see what i can standardize, see what i need to add. loving this so far, even with all of its annoyances * ughhhh animation stuff. this is gonna take me a day or two to even comprehend * starting on animation committing cause im traveling, i might work on this if i have time * replace sounds, extend some stuff replaced the rhre3 sounds and added a few things to make camera movements not look so out-of-bounds janky. still working on it, but it's coming along good so far * starting on dog ninja waiting for bread2unity to get merged, and i'm still probably gonna keep working on dog ninja until it's done even if it does. * initialization and sprite trimming done reference is from angrytapper2's video Throw Object, Cut Everything!, and Here We Go! were the cues added, in that order. * temp icon w/ mask + bezier curves!! the icon is temporary, but i did add a mask. i think it looks pretty good :) especially for what it is. also bezier curves. i just figured those out, now i just need to figure out how to implement them into the object. * getting there i'm so close to getting the "Cut Everything!" block to work. i'm trying to figure out how to not play it as the default when the game is rendered * added sfx * added bird animations * looked at double date for like 2 minutes * have been editing blue bear's "treat" block to fit dog ninja for a while now (im gonna try doing these commit notes from now on) * keeping trying * cues have sfx now - the "throw object" cues are not accurate yet * animations adjusted to not keep bird on screen * not much progress rn, getting into the harder stuff * added more sfx - it's from rhre3, if somebody can find a clean rip that would be great, cause i can't) * made a bop animation - still trying to figure out how to get it to play every beat :/ * replaced throw sfx, was using whiff sfx before * extended background using a slice of the sky gradient and color picked blocks * some code added to dogninja.cs and throwobject.cs is... bad. it's just torn from other games. * i need to work out conflicts really this is just pushing all my stuff so i don't lose it, tambourine is giving my fork conflicts for some reason :skull: * blehhh figuring out git some more * doesn't look like much. but I GOT ANIMATIONS WORKING. (god, i suck at C#) * bop animations, on every beat (will soon make it a toggle) * bird fly in and out, flies in when not on screen and out when on screen * did more work on "throwObject.cs" but not anything applicable yet * also found out how assigning scripts to a prefab works. ugh. so, got all those holders and objects assigned * trying to get different sfx working for each item really i just established some structure code. i don't understand it too well, so there are a few things commented out. * starting with inputs rn they're broken and i can't tell why :( * heavily commented out code in ThrowObject.cs * added option to disable the bird's FlyIn SFX * some debug stuff * some scheduled inputs (that AREN'T. WORKING.) * fixed the input bug tysm ymf <333 ur my hero technically this is a functioning game! gonna get different sfx/sprites working, try to get bezier curves working, then i'll make a pr * fixed that input bug * changed some variable names * getting some more infrastructure for getting the game fully working * double date stuff!!!! (improvements, playability) * purged SO much code * combined SoccerBall.cs and Basketball.cs into Ball.cs - might do that for Football.cs too, but we'll see * removed bop animation, it looked bad and made double date as a whole look bad cause it didn't reset. so the boy looked a bit off. - also fixed an error pertaining to animations * basic input stuff for when bread2unity gets merged * oh so much infrastructure stuff * lol commit * some animation stuff * sfx stuff all the different options have sfx tied to them for the throw and slice. now onto sprites and animation... * added tacobell too :) * dog ninja going into WIP :D (commiting rn cause i wanna do some experimental animation) * one more object :) * optimized some code * new sprites are almost done; i've got a list of both the sprites and their halves. * sprites are in! and goodnight. UGHHH BEZIER CURVES I DONT UNDERSTAND YOU * all the sprites go with their corresponding option and sfx * bird improved slightly * BEZIER CURVES * actual fruit animation * toggle for random fruits (doesn't work yet) * textbox for custom objects (doesn't work yet) - not user-submitted stuff, just stuff that doesn't really fit in the main dropdown menu * some stuff i don't remember, but it's definitely stuff that's working towards making everything work. miss anims don't work yet. at all. the objects just go flying. also the slice animation needs to be finished for both sides, and a bool needs to be added for which side to play (will be easy to do) also when you randomly slice, which is determined completely randomly (thank god) gura-nyuuu :3 (i'm sorry) * added a single sfx * custom objects!! tbh a lot more's coming but i need to merge my stuff i don't feel like taking notes here * working on halves * misc cleaning up stuff * started on the logic for halves * progress on halves, cleaning out variables i need to sync between laptop and pc * im pretty sure that's all the double date stuff taken out :thumbsup: * neatened up code + better bezier curves * adjusted bezier curves - sooo close to perfection but very noticeable stuttering at lower speeds * changed random to default object option instead of a bool; makes more sense this way * renaming things, getting code ready for new animations * commented a bunch of my code * re-fixing a bunch of stuff that has since broken from updating stuff - i.e random fruit, sprites, "here we go!" in general, etc. * new font, stuff fixed * added [about friend font](https://www.deviantart.com/matthewtheprep/art/About-Friend-Extended-Now-with-Greek-and-Cyrillic-832264925) * fixed "here we go!" * some more left or right object animation stuff * so many things * fully added custom items - accessible through a cheat code type system in the drop-down for cues * changed how the bezier curves function - only three points now (much smoother) and i just start it much later on the curve * added AboutFriend font, basically kurokane except free to use * started more on halves god, halves are gonna be hard tho * quick commit by [d] * got temp animations in * temp animations for ev * replaced ai sprites with ev's (thank you <333) * getting progress on halves * cleaned up files * hi res sprites * throw both objects + prepare anim title though, i still need to work out how the prepare animation will not play when you need to slice (cues a beat or less apart) * all dog ninja animations * forgot some stuff lol * prep anim done yay :) * oops! blend tree moment (more stuff) * animation fixes * more anim fixes lol * done for the night * added seanski's new icon * fixed the sound for both objects getting thrown * still working on the prepare animation, but for now it's gonna be a block - if literally anybody wants to implement an auto-prepare that isn't jank be my guest * halves progress, as usual * added a new item :smile: * fix conflicts just saw these in the pr, this commit should fix them * clean up code/fix prepare block thank you ymf!!! <333 * code optimizations * both slice anim + prepare anim fixed * i have stashed changes i need to work on * stashed changes * remade halves lists * renamed some sprites -i had funny little names like "tater" and "cuc" but that's a bit confusing * custom halves don't have the framework for them yet so i was building that too * half sprites work now onto making the curve an animation! (also fixing the text ig) (ALSO i fixed the prepare stuff (i think)) * unity animation :skull: death * Fixed text stuff * push changes so nothing breaks hi ymf * i'll work on this more later * halves r workin * oops! all mp3s! -converted mp3 sfx to ogg still need to do barelies, then everything is done * barelies are so close to being done!!! tweaking + figuring out how position works depending on which side the object was thrown * stopping for the night barelies are actually so insanely close to being done it's just a little bit of jank that's holding them back ill finish this tomorrow. * it's over. it's finally over. PR TIME! * final adjustments * the rest of the barely stuff * clean up the code a little :D * halves look a lot better gonna remove all my enum parsing code and replace it with a boring dropdown :cry: after that i gotta fix the barelies, i should be able to just use whatever the halves are doing cause they look really good * rewrote basically all of ThrowObject() * overhauled how object calling works * added "Idol" object (fan club mic) * fixed barelies and curves and how they were transformed * oh and uh, one more thing. prepare block was janky so i just made the animation last 20 seconds :) ez fix * final touch-ups + layering issues title * apparently this didn't push :japanese_ogre: --------- Co-authored-by: minenice55 <star.elementa@gmail.com> Co-authored-by: patataofcourse <patataofcourse@gmail.com> Co-authored-by: ev <85412919+evdial@users.noreply.github.com> Co-authored-by: Rapandrasmus <78219215+Rapandrasmus@users.noreply.github.com>
2023-03-11 20:55:18 +00:00
game.WhichLeftHalf.sprite = objectLeftHalves[type-1];
game.WhichRightHalf.sprite = objectRightHalves[type-1];
Dog Ninja (#268) * starting out with double date stuff :D not even the background is finished i just wanna get this on my fork so that it's safe * double date getting more initialized no animations, one block, nothing actually functions. but the boy is put in place, and the girl is almost put in place! just wanted to merge this with the main branch to play catchy tune * initialization done!!!!! gonna fix up the code, see what i can take out, see what i can standardize, see what i need to add. loving this so far, even with all of its annoyances * ughhhh animation stuff. this is gonna take me a day or two to even comprehend * starting on animation committing cause im traveling, i might work on this if i have time * replace sounds, extend some stuff replaced the rhre3 sounds and added a few things to make camera movements not look so out-of-bounds janky. still working on it, but it's coming along good so far * starting on dog ninja waiting for bread2unity to get merged, and i'm still probably gonna keep working on dog ninja until it's done even if it does. * initialization and sprite trimming done reference is from angrytapper2's video Throw Object, Cut Everything!, and Here We Go! were the cues added, in that order. * temp icon w/ mask + bezier curves!! the icon is temporary, but i did add a mask. i think it looks pretty good :) especially for what it is. also bezier curves. i just figured those out, now i just need to figure out how to implement them into the object. * getting there i'm so close to getting the "Cut Everything!" block to work. i'm trying to figure out how to not play it as the default when the game is rendered * added sfx * added bird animations * looked at double date for like 2 minutes * have been editing blue bear's "treat" block to fit dog ninja for a while now (im gonna try doing these commit notes from now on) * keeping trying * cues have sfx now - the "throw object" cues are not accurate yet * animations adjusted to not keep bird on screen * not much progress rn, getting into the harder stuff * added more sfx - it's from rhre3, if somebody can find a clean rip that would be great, cause i can't) * made a bop animation - still trying to figure out how to get it to play every beat :/ * replaced throw sfx, was using whiff sfx before * extended background using a slice of the sky gradient and color picked blocks * some code added to dogninja.cs and throwobject.cs is... bad. it's just torn from other games. * i need to work out conflicts really this is just pushing all my stuff so i don't lose it, tambourine is giving my fork conflicts for some reason :skull: * blehhh figuring out git some more * doesn't look like much. but I GOT ANIMATIONS WORKING. (god, i suck at C#) * bop animations, on every beat (will soon make it a toggle) * bird fly in and out, flies in when not on screen and out when on screen * did more work on "throwObject.cs" but not anything applicable yet * also found out how assigning scripts to a prefab works. ugh. so, got all those holders and objects assigned * trying to get different sfx working for each item really i just established some structure code. i don't understand it too well, so there are a few things commented out. * starting with inputs rn they're broken and i can't tell why :( * heavily commented out code in ThrowObject.cs * added option to disable the bird's FlyIn SFX * some debug stuff * some scheduled inputs (that AREN'T. WORKING.) * fixed the input bug tysm ymf <333 ur my hero technically this is a functioning game! gonna get different sfx/sprites working, try to get bezier curves working, then i'll make a pr * fixed that input bug * changed some variable names * getting some more infrastructure for getting the game fully working * double date stuff!!!! (improvements, playability) * purged SO much code * combined SoccerBall.cs and Basketball.cs into Ball.cs - might do that for Football.cs too, but we'll see * removed bop animation, it looked bad and made double date as a whole look bad cause it didn't reset. so the boy looked a bit off. - also fixed an error pertaining to animations * basic input stuff for when bread2unity gets merged * oh so much infrastructure stuff * lol commit * some animation stuff * sfx stuff all the different options have sfx tied to them for the throw and slice. now onto sprites and animation... * added tacobell too :) * dog ninja going into WIP :D (commiting rn cause i wanna do some experimental animation) * one more object :) * optimized some code * new sprites are almost done; i've got a list of both the sprites and their halves. * sprites are in! and goodnight. UGHHH BEZIER CURVES I DONT UNDERSTAND YOU * all the sprites go with their corresponding option and sfx * bird improved slightly * BEZIER CURVES * actual fruit animation * toggle for random fruits (doesn't work yet) * textbox for custom objects (doesn't work yet) - not user-submitted stuff, just stuff that doesn't really fit in the main dropdown menu * some stuff i don't remember, but it's definitely stuff that's working towards making everything work. miss anims don't work yet. at all. the objects just go flying. also the slice animation needs to be finished for both sides, and a bool needs to be added for which side to play (will be easy to do) also when you randomly slice, which is determined completely randomly (thank god) gura-nyuuu :3 (i'm sorry) * added a single sfx * custom objects!! tbh a lot more's coming but i need to merge my stuff i don't feel like taking notes here * working on halves * misc cleaning up stuff * started on the logic for halves * progress on halves, cleaning out variables i need to sync between laptop and pc * im pretty sure that's all the double date stuff taken out :thumbsup: * neatened up code + better bezier curves * adjusted bezier curves - sooo close to perfection but very noticeable stuttering at lower speeds * changed random to default object option instead of a bool; makes more sense this way * renaming things, getting code ready for new animations * commented a bunch of my code * re-fixing a bunch of stuff that has since broken from updating stuff - i.e random fruit, sprites, "here we go!" in general, etc. * new font, stuff fixed * added [about friend font](https://www.deviantart.com/matthewtheprep/art/About-Friend-Extended-Now-with-Greek-and-Cyrillic-832264925) * fixed "here we go!" * some more left or right object animation stuff * so many things * fully added custom items - accessible through a cheat code type system in the drop-down for cues * changed how the bezier curves function - only three points now (much smoother) and i just start it much later on the curve * added AboutFriend font, basically kurokane except free to use * started more on halves god, halves are gonna be hard tho * quick commit by [d] * got temp animations in * temp animations for ev * replaced ai sprites with ev's (thank you <333) * getting progress on halves * cleaned up files * hi res sprites * throw both objects + prepare anim title though, i still need to work out how the prepare animation will not play when you need to slice (cues a beat or less apart) * all dog ninja animations * forgot some stuff lol * prep anim done yay :) * oops! blend tree moment (more stuff) * animation fixes * more anim fixes lol * done for the night * added seanski's new icon * fixed the sound for both objects getting thrown * still working on the prepare animation, but for now it's gonna be a block - if literally anybody wants to implement an auto-prepare that isn't jank be my guest * halves progress, as usual * added a new item :smile: * fix conflicts just saw these in the pr, this commit should fix them * clean up code/fix prepare block thank you ymf!!! <333 * code optimizations * both slice anim + prepare anim fixed * i have stashed changes i need to work on * stashed changes * remade halves lists * renamed some sprites -i had funny little names like "tater" and "cuc" but that's a bit confusing * custom halves don't have the framework for them yet so i was building that too * half sprites work now onto making the curve an animation! (also fixing the text ig) (ALSO i fixed the prepare stuff (i think)) * unity animation :skull: death * Fixed text stuff * push changes so nothing breaks hi ymf * i'll work on this more later * halves r workin * oops! all mp3s! -converted mp3 sfx to ogg still need to do barelies, then everything is done * barelies are so close to being done!!! tweaking + figuring out how position works depending on which side the object was thrown * stopping for the night barelies are actually so insanely close to being done it's just a little bit of jank that's holding them back ill finish this tomorrow. * it's over. it's finally over. PR TIME! * final adjustments * the rest of the barely stuff * clean up the code a little :D --------- Co-authored-by: minenice55 <star.elementa@gmail.com> Co-authored-by: patataofcourse <patataofcourse@gmail.com> Co-authored-by: ev <85412919+evdial@users.noreply.github.com> Co-authored-by: Rapandrasmus <78219215+Rapandrasmus@users.noreply.github.com>
2023-03-07 22:55:44 +00:00
SpawnHalves LeftHalf = Instantiate(HalvesLeftBase, game.gameObject.transform).GetComponent<SpawnHalves>();
Dog Ninja (#268) * starting out with double date stuff :D not even the background is finished i just wanna get this on my fork so that it's safe * double date getting more initialized no animations, one block, nothing actually functions. but the boy is put in place, and the girl is almost put in place! just wanted to merge this with the main branch to play catchy tune * initialization done!!!!! gonna fix up the code, see what i can take out, see what i can standardize, see what i need to add. loving this so far, even with all of its annoyances * ughhhh animation stuff. this is gonna take me a day or two to even comprehend * starting on animation committing cause im traveling, i might work on this if i have time * replace sounds, extend some stuff replaced the rhre3 sounds and added a few things to make camera movements not look so out-of-bounds janky. still working on it, but it's coming along good so far * starting on dog ninja waiting for bread2unity to get merged, and i'm still probably gonna keep working on dog ninja until it's done even if it does. * initialization and sprite trimming done reference is from angrytapper2's video Throw Object, Cut Everything!, and Here We Go! were the cues added, in that order. * temp icon w/ mask + bezier curves!! the icon is temporary, but i did add a mask. i think it looks pretty good :) especially for what it is. also bezier curves. i just figured those out, now i just need to figure out how to implement them into the object. * getting there i'm so close to getting the "Cut Everything!" block to work. i'm trying to figure out how to not play it as the default when the game is rendered * added sfx * added bird animations * looked at double date for like 2 minutes * have been editing blue bear's "treat" block to fit dog ninja for a while now (im gonna try doing these commit notes from now on) * keeping trying * cues have sfx now - the "throw object" cues are not accurate yet * animations adjusted to not keep bird on screen * not much progress rn, getting into the harder stuff * added more sfx - it's from rhre3, if somebody can find a clean rip that would be great, cause i can't) * made a bop animation - still trying to figure out how to get it to play every beat :/ * replaced throw sfx, was using whiff sfx before * extended background using a slice of the sky gradient and color picked blocks * some code added to dogninja.cs and throwobject.cs is... bad. it's just torn from other games. * i need to work out conflicts really this is just pushing all my stuff so i don't lose it, tambourine is giving my fork conflicts for some reason :skull: * blehhh figuring out git some more * doesn't look like much. but I GOT ANIMATIONS WORKING. (god, i suck at C#) * bop animations, on every beat (will soon make it a toggle) * bird fly in and out, flies in when not on screen and out when on screen * did more work on "throwObject.cs" but not anything applicable yet * also found out how assigning scripts to a prefab works. ugh. so, got all those holders and objects assigned * trying to get different sfx working for each item really i just established some structure code. i don't understand it too well, so there are a few things commented out. * starting with inputs rn they're broken and i can't tell why :( * heavily commented out code in ThrowObject.cs * added option to disable the bird's FlyIn SFX * some debug stuff * some scheduled inputs (that AREN'T. WORKING.) * fixed the input bug tysm ymf <333 ur my hero technically this is a functioning game! gonna get different sfx/sprites working, try to get bezier curves working, then i'll make a pr * fixed that input bug * changed some variable names * getting some more infrastructure for getting the game fully working * double date stuff!!!! (improvements, playability) * purged SO much code * combined SoccerBall.cs and Basketball.cs into Ball.cs - might do that for Football.cs too, but we'll see * removed bop animation, it looked bad and made double date as a whole look bad cause it didn't reset. so the boy looked a bit off. - also fixed an error pertaining to animations * basic input stuff for when bread2unity gets merged * oh so much infrastructure stuff * lol commit * some animation stuff * sfx stuff all the different options have sfx tied to them for the throw and slice. now onto sprites and animation... * added tacobell too :) * dog ninja going into WIP :D (commiting rn cause i wanna do some experimental animation) * one more object :) * optimized some code * new sprites are almost done; i've got a list of both the sprites and their halves. * sprites are in! and goodnight. UGHHH BEZIER CURVES I DONT UNDERSTAND YOU * all the sprites go with their corresponding option and sfx * bird improved slightly * BEZIER CURVES * actual fruit animation * toggle for random fruits (doesn't work yet) * textbox for custom objects (doesn't work yet) - not user-submitted stuff, just stuff that doesn't really fit in the main dropdown menu * some stuff i don't remember, but it's definitely stuff that's working towards making everything work. miss anims don't work yet. at all. the objects just go flying. also the slice animation needs to be finished for both sides, and a bool needs to be added for which side to play (will be easy to do) also when you randomly slice, which is determined completely randomly (thank god) gura-nyuuu :3 (i'm sorry) * added a single sfx * custom objects!! tbh a lot more's coming but i need to merge my stuff i don't feel like taking notes here * working on halves * misc cleaning up stuff * started on the logic for halves * progress on halves, cleaning out variables i need to sync between laptop and pc * im pretty sure that's all the double date stuff taken out :thumbsup: * neatened up code + better bezier curves * adjusted bezier curves - sooo close to perfection but very noticeable stuttering at lower speeds * changed random to default object option instead of a bool; makes more sense this way * renaming things, getting code ready for new animations * commented a bunch of my code * re-fixing a bunch of stuff that has since broken from updating stuff - i.e random fruit, sprites, "here we go!" in general, etc. * new font, stuff fixed * added [about friend font](https://www.deviantart.com/matthewtheprep/art/About-Friend-Extended-Now-with-Greek-and-Cyrillic-832264925) * fixed "here we go!" * some more left or right object animation stuff * so many things * fully added custom items - accessible through a cheat code type system in the drop-down for cues * changed how the bezier curves function - only three points now (much smoother) and i just start it much later on the curve * added AboutFriend font, basically kurokane except free to use * started more on halves god, halves are gonna be hard tho * quick commit by [d] * got temp animations in * temp animations for ev * replaced ai sprites with ev's (thank you <333) * getting progress on halves * cleaned up files * hi res sprites * throw both objects + prepare anim title though, i still need to work out how the prepare animation will not play when you need to slice (cues a beat or less apart) * all dog ninja animations * forgot some stuff lol * prep anim done yay :) * oops! blend tree moment (more stuff) * animation fixes * more anim fixes lol * done for the night * added seanski's new icon * fixed the sound for both objects getting thrown * still working on the prepare animation, but for now it's gonna be a block - if literally anybody wants to implement an auto-prepare that isn't jank be my guest * halves progress, as usual * added a new item :smile: * fix conflicts just saw these in the pr, this commit should fix them * clean up code/fix prepare block thank you ymf!!! <333 * code optimizations * both slice anim + prepare anim fixed * i have stashed changes i need to work on * stashed changes * remade halves lists * renamed some sprites -i had funny little names like "tater" and "cuc" but that's a bit confusing * custom halves don't have the framework for them yet so i was building that too * half sprites work now onto making the curve an animation! (also fixing the text ig) (ALSO i fixed the prepare stuff (i think)) * unity animation :skull: death * Fixed text stuff * push changes so nothing breaks hi ymf * i'll work on this more later * halves r workin * oops! all mp3s! -converted mp3 sfx to ogg still need to do barelies, then everything is done * barelies are so close to being done!!! tweaking + figuring out how position works depending on which side the object was thrown * stopping for the night barelies are actually so insanely close to being done it's just a little bit of jank that's holding them back ill finish this tomorrow. * it's over. it's finally over. PR TIME! * final adjustments * the rest of the barely stuff * clean up the code a little :D --------- Co-authored-by: minenice55 <star.elementa@gmail.com> Co-authored-by: patataofcourse <patataofcourse@gmail.com> Co-authored-by: ev <85412919+evdial@users.noreply.github.com> Co-authored-by: Rapandrasmus <78219215+Rapandrasmus@users.noreply.github.com>
2023-03-07 22:55:44 +00:00
LeftHalf.startBeat = startBeat;
LeftHalf.lefty = fromLeft;
LeftHalf.objPos = objPos;
SpawnHalves RightHalf = Instantiate(HalvesRightBase, game.gameObject.transform).GetComponent<SpawnHalves>();
Dog Ninja (#268) * starting out with double date stuff :D not even the background is finished i just wanna get this on my fork so that it's safe * double date getting more initialized no animations, one block, nothing actually functions. but the boy is put in place, and the girl is almost put in place! just wanted to merge this with the main branch to play catchy tune * initialization done!!!!! gonna fix up the code, see what i can take out, see what i can standardize, see what i need to add. loving this so far, even with all of its annoyances * ughhhh animation stuff. this is gonna take me a day or two to even comprehend * starting on animation committing cause im traveling, i might work on this if i have time * replace sounds, extend some stuff replaced the rhre3 sounds and added a few things to make camera movements not look so out-of-bounds janky. still working on it, but it's coming along good so far * starting on dog ninja waiting for bread2unity to get merged, and i'm still probably gonna keep working on dog ninja until it's done even if it does. * initialization and sprite trimming done reference is from angrytapper2's video Throw Object, Cut Everything!, and Here We Go! were the cues added, in that order. * temp icon w/ mask + bezier curves!! the icon is temporary, but i did add a mask. i think it looks pretty good :) especially for what it is. also bezier curves. i just figured those out, now i just need to figure out how to implement them into the object. * getting there i'm so close to getting the "Cut Everything!" block to work. i'm trying to figure out how to not play it as the default when the game is rendered * added sfx * added bird animations * looked at double date for like 2 minutes * have been editing blue bear's "treat" block to fit dog ninja for a while now (im gonna try doing these commit notes from now on) * keeping trying * cues have sfx now - the "throw object" cues are not accurate yet * animations adjusted to not keep bird on screen * not much progress rn, getting into the harder stuff * added more sfx - it's from rhre3, if somebody can find a clean rip that would be great, cause i can't) * made a bop animation - still trying to figure out how to get it to play every beat :/ * replaced throw sfx, was using whiff sfx before * extended background using a slice of the sky gradient and color picked blocks * some code added to dogninja.cs and throwobject.cs is... bad. it's just torn from other games. * i need to work out conflicts really this is just pushing all my stuff so i don't lose it, tambourine is giving my fork conflicts for some reason :skull: * blehhh figuring out git some more * doesn't look like much. but I GOT ANIMATIONS WORKING. (god, i suck at C#) * bop animations, on every beat (will soon make it a toggle) * bird fly in and out, flies in when not on screen and out when on screen * did more work on "throwObject.cs" but not anything applicable yet * also found out how assigning scripts to a prefab works. ugh. so, got all those holders and objects assigned * trying to get different sfx working for each item really i just established some structure code. i don't understand it too well, so there are a few things commented out. * starting with inputs rn they're broken and i can't tell why :( * heavily commented out code in ThrowObject.cs * added option to disable the bird's FlyIn SFX * some debug stuff * some scheduled inputs (that AREN'T. WORKING.) * fixed the input bug tysm ymf <333 ur my hero technically this is a functioning game! gonna get different sfx/sprites working, try to get bezier curves working, then i'll make a pr * fixed that input bug * changed some variable names * getting some more infrastructure for getting the game fully working * double date stuff!!!! (improvements, playability) * purged SO much code * combined SoccerBall.cs and Basketball.cs into Ball.cs - might do that for Football.cs too, but we'll see * removed bop animation, it looked bad and made double date as a whole look bad cause it didn't reset. so the boy looked a bit off. - also fixed an error pertaining to animations * basic input stuff for when bread2unity gets merged * oh so much infrastructure stuff * lol commit * some animation stuff * sfx stuff all the different options have sfx tied to them for the throw and slice. now onto sprites and animation... * added tacobell too :) * dog ninja going into WIP :D (commiting rn cause i wanna do some experimental animation) * one more object :) * optimized some code * new sprites are almost done; i've got a list of both the sprites and their halves. * sprites are in! and goodnight. UGHHH BEZIER CURVES I DONT UNDERSTAND YOU * all the sprites go with their corresponding option and sfx * bird improved slightly * BEZIER CURVES * actual fruit animation * toggle for random fruits (doesn't work yet) * textbox for custom objects (doesn't work yet) - not user-submitted stuff, just stuff that doesn't really fit in the main dropdown menu * some stuff i don't remember, but it's definitely stuff that's working towards making everything work. miss anims don't work yet. at all. the objects just go flying. also the slice animation needs to be finished for both sides, and a bool needs to be added for which side to play (will be easy to do) also when you randomly slice, which is determined completely randomly (thank god) gura-nyuuu :3 (i'm sorry) * added a single sfx * custom objects!! tbh a lot more's coming but i need to merge my stuff i don't feel like taking notes here * working on halves * misc cleaning up stuff * started on the logic for halves * progress on halves, cleaning out variables i need to sync between laptop and pc * im pretty sure that's all the double date stuff taken out :thumbsup: * neatened up code + better bezier curves * adjusted bezier curves - sooo close to perfection but very noticeable stuttering at lower speeds * changed random to default object option instead of a bool; makes more sense this way * renaming things, getting code ready for new animations * commented a bunch of my code * re-fixing a bunch of stuff that has since broken from updating stuff - i.e random fruit, sprites, "here we go!" in general, etc. * new font, stuff fixed * added [about friend font](https://www.deviantart.com/matthewtheprep/art/About-Friend-Extended-Now-with-Greek-and-Cyrillic-832264925) * fixed "here we go!" * some more left or right object animation stuff * so many things * fully added custom items - accessible through a cheat code type system in the drop-down for cues * changed how the bezier curves function - only three points now (much smoother) and i just start it much later on the curve * added AboutFriend font, basically kurokane except free to use * started more on halves god, halves are gonna be hard tho * quick commit by [d] * got temp animations in * temp animations for ev * replaced ai sprites with ev's (thank you <333) * getting progress on halves * cleaned up files * hi res sprites * throw both objects + prepare anim title though, i still need to work out how the prepare animation will not play when you need to slice (cues a beat or less apart) * all dog ninja animations * forgot some stuff lol * prep anim done yay :) * oops! blend tree moment (more stuff) * animation fixes * more anim fixes lol * done for the night * added seanski's new icon * fixed the sound for both objects getting thrown * still working on the prepare animation, but for now it's gonna be a block - if literally anybody wants to implement an auto-prepare that isn't jank be my guest * halves progress, as usual * added a new item :smile: * fix conflicts just saw these in the pr, this commit should fix them * clean up code/fix prepare block thank you ymf!!! <333 * code optimizations * both slice anim + prepare anim fixed * i have stashed changes i need to work on * stashed changes * remade halves lists * renamed some sprites -i had funny little names like "tater" and "cuc" but that's a bit confusing * custom halves don't have the framework for them yet so i was building that too * half sprites work now onto making the curve an animation! (also fixing the text ig) (ALSO i fixed the prepare stuff (i think)) * unity animation :skull: death * Fixed text stuff * push changes so nothing breaks hi ymf * i'll work on this more later * halves r workin * oops! all mp3s! -converted mp3 sfx to ogg still need to do barelies, then everything is done * barelies are so close to being done!!! tweaking + figuring out how position works depending on which side the object was thrown * stopping for the night barelies are actually so insanely close to being done it's just a little bit of jank that's holding them back ill finish this tomorrow. * it's over. it's finally over. PR TIME! * final adjustments * the rest of the barely stuff * clean up the code a little :D --------- Co-authored-by: minenice55 <star.elementa@gmail.com> Co-authored-by: patataofcourse <patataofcourse@gmail.com> Co-authored-by: ev <85412919+evdial@users.noreply.github.com> Co-authored-by: Rapandrasmus <78219215+Rapandrasmus@users.noreply.github.com>
2023-03-07 22:55:44 +00:00
RightHalf.startBeat = startBeat;
RightHalf.lefty = fromLeft;
RightHalf.objPos = objPos;
GameObject.Destroy(gameObject);
}
private void JustSlice()
{
isActive = false;
barelyTime = Conductor.instance.songPositionInBeatsAsDouble;
Dog Ninja (#268) * starting out with double date stuff :D not even the background is finished i just wanna get this on my fork so that it's safe * double date getting more initialized no animations, one block, nothing actually functions. but the boy is put in place, and the girl is almost put in place! just wanted to merge this with the main branch to play catchy tune * initialization done!!!!! gonna fix up the code, see what i can take out, see what i can standardize, see what i need to add. loving this so far, even with all of its annoyances * ughhhh animation stuff. this is gonna take me a day or two to even comprehend * starting on animation committing cause im traveling, i might work on this if i have time * replace sounds, extend some stuff replaced the rhre3 sounds and added a few things to make camera movements not look so out-of-bounds janky. still working on it, but it's coming along good so far * starting on dog ninja waiting for bread2unity to get merged, and i'm still probably gonna keep working on dog ninja until it's done even if it does. * initialization and sprite trimming done reference is from angrytapper2's video Throw Object, Cut Everything!, and Here We Go! were the cues added, in that order. * temp icon w/ mask + bezier curves!! the icon is temporary, but i did add a mask. i think it looks pretty good :) especially for what it is. also bezier curves. i just figured those out, now i just need to figure out how to implement them into the object. * getting there i'm so close to getting the "Cut Everything!" block to work. i'm trying to figure out how to not play it as the default when the game is rendered * added sfx * added bird animations * looked at double date for like 2 minutes * have been editing blue bear's "treat" block to fit dog ninja for a while now (im gonna try doing these commit notes from now on) * keeping trying * cues have sfx now - the "throw object" cues are not accurate yet * animations adjusted to not keep bird on screen * not much progress rn, getting into the harder stuff * added more sfx - it's from rhre3, if somebody can find a clean rip that would be great, cause i can't) * made a bop animation - still trying to figure out how to get it to play every beat :/ * replaced throw sfx, was using whiff sfx before * extended background using a slice of the sky gradient and color picked blocks * some code added to dogninja.cs and throwobject.cs is... bad. it's just torn from other games. * i need to work out conflicts really this is just pushing all my stuff so i don't lose it, tambourine is giving my fork conflicts for some reason :skull: * blehhh figuring out git some more * doesn't look like much. but I GOT ANIMATIONS WORKING. (god, i suck at C#) * bop animations, on every beat (will soon make it a toggle) * bird fly in and out, flies in when not on screen and out when on screen * did more work on "throwObject.cs" but not anything applicable yet * also found out how assigning scripts to a prefab works. ugh. so, got all those holders and objects assigned * trying to get different sfx working for each item really i just established some structure code. i don't understand it too well, so there are a few things commented out. * starting with inputs rn they're broken and i can't tell why :( * heavily commented out code in ThrowObject.cs * added option to disable the bird's FlyIn SFX * some debug stuff * some scheduled inputs (that AREN'T. WORKING.) * fixed the input bug tysm ymf <333 ur my hero technically this is a functioning game! gonna get different sfx/sprites working, try to get bezier curves working, then i'll make a pr * fixed that input bug * changed some variable names * getting some more infrastructure for getting the game fully working * double date stuff!!!! (improvements, playability) * purged SO much code * combined SoccerBall.cs and Basketball.cs into Ball.cs - might do that for Football.cs too, but we'll see * removed bop animation, it looked bad and made double date as a whole look bad cause it didn't reset. so the boy looked a bit off. - also fixed an error pertaining to animations * basic input stuff for when bread2unity gets merged * oh so much infrastructure stuff * lol commit * some animation stuff * sfx stuff all the different options have sfx tied to them for the throw and slice. now onto sprites and animation... * added tacobell too :) * dog ninja going into WIP :D (commiting rn cause i wanna do some experimental animation) * one more object :) * optimized some code * new sprites are almost done; i've got a list of both the sprites and their halves. * sprites are in! and goodnight. UGHHH BEZIER CURVES I DONT UNDERSTAND YOU * all the sprites go with their corresponding option and sfx * bird improved slightly * BEZIER CURVES * actual fruit animation * toggle for random fruits (doesn't work yet) * textbox for custom objects (doesn't work yet) - not user-submitted stuff, just stuff that doesn't really fit in the main dropdown menu * some stuff i don't remember, but it's definitely stuff that's working towards making everything work. miss anims don't work yet. at all. the objects just go flying. also the slice animation needs to be finished for both sides, and a bool needs to be added for which side to play (will be easy to do) also when you randomly slice, which is determined completely randomly (thank god) gura-nyuuu :3 (i'm sorry) * added a single sfx * custom objects!! tbh a lot more's coming but i need to merge my stuff i don't feel like taking notes here * working on halves * misc cleaning up stuff * started on the logic for halves * progress on halves, cleaning out variables i need to sync between laptop and pc * im pretty sure that's all the double date stuff taken out :thumbsup: * neatened up code + better bezier curves * adjusted bezier curves - sooo close to perfection but very noticeable stuttering at lower speeds * changed random to default object option instead of a bool; makes more sense this way * renaming things, getting code ready for new animations * commented a bunch of my code * re-fixing a bunch of stuff that has since broken from updating stuff - i.e random fruit, sprites, "here we go!" in general, etc. * new font, stuff fixed * added [about friend font](https://www.deviantart.com/matthewtheprep/art/About-Friend-Extended-Now-with-Greek-and-Cyrillic-832264925) * fixed "here we go!" * some more left or right object animation stuff * so many things * fully added custom items - accessible through a cheat code type system in the drop-down for cues * changed how the bezier curves function - only three points now (much smoother) and i just start it much later on the curve * added AboutFriend font, basically kurokane except free to use * started more on halves god, halves are gonna be hard tho * quick commit by [d] * got temp animations in * temp animations for ev * replaced ai sprites with ev's (thank you <333) * getting progress on halves * cleaned up files * hi res sprites * throw both objects + prepare anim title though, i still need to work out how the prepare animation will not play when you need to slice (cues a beat or less apart) * all dog ninja animations * forgot some stuff lol * prep anim done yay :) * oops! blend tree moment (more stuff) * animation fixes * more anim fixes lol * done for the night * added seanski's new icon * fixed the sound for both objects getting thrown * still working on the prepare animation, but for now it's gonna be a block - if literally anybody wants to implement an auto-prepare that isn't jank be my guest * halves progress, as usual * added a new item :smile: * fix conflicts just saw these in the pr, this commit should fix them * clean up code/fix prepare block thank you ymf!!! <333 * code optimizations * both slice anim + prepare anim fixed * i have stashed changes i need to work on * stashed changes * remade halves lists * renamed some sprites -i had funny little names like "tater" and "cuc" but that's a bit confusing * custom halves don't have the framework for them yet so i was building that too * half sprites work now onto making the curve an animation! (also fixing the text ig) (ALSO i fixed the prepare stuff (i think)) * unity animation :skull: death * Fixed text stuff * push changes so nothing breaks hi ymf * i'll work on this more later * halves r workin * oops! all mp3s! -converted mp3 sfx to ogg still need to do barelies, then everything is done * barelies are so close to being done!!! tweaking + figuring out how position works depending on which side the object was thrown * stopping for the night barelies are actually so insanely close to being done it's just a little bit of jank that's holding them back ill finish this tomorrow. * it's over. it's finally over. PR TIME! * final adjustments * the rest of the barely stuff * clean up the code a little :D --------- Co-authored-by: minenice55 <star.elementa@gmail.com> Co-authored-by: patataofcourse <patataofcourse@gmail.com> Co-authored-by: ev <85412919+evdial@users.noreply.github.com> Co-authored-by: Rapandrasmus <78219215+Rapandrasmus@users.noreply.github.com>
2023-03-07 22:55:44 +00:00
string barely = "Barely" + direction switch
{
0 => "Left",
1 => "Right",
2 => "Both",
_ => "Both",
};
Dog Ninja (#268) * starting out with double date stuff :D not even the background is finished i just wanna get this on my fork so that it's safe * double date getting more initialized no animations, one block, nothing actually functions. but the boy is put in place, and the girl is almost put in place! just wanted to merge this with the main branch to play catchy tune * initialization done!!!!! gonna fix up the code, see what i can take out, see what i can standardize, see what i need to add. loving this so far, even with all of its annoyances * ughhhh animation stuff. this is gonna take me a day or two to even comprehend * starting on animation committing cause im traveling, i might work on this if i have time * replace sounds, extend some stuff replaced the rhre3 sounds and added a few things to make camera movements not look so out-of-bounds janky. still working on it, but it's coming along good so far * starting on dog ninja waiting for bread2unity to get merged, and i'm still probably gonna keep working on dog ninja until it's done even if it does. * initialization and sprite trimming done reference is from angrytapper2's video Throw Object, Cut Everything!, and Here We Go! were the cues added, in that order. * temp icon w/ mask + bezier curves!! the icon is temporary, but i did add a mask. i think it looks pretty good :) especially for what it is. also bezier curves. i just figured those out, now i just need to figure out how to implement them into the object. * getting there i'm so close to getting the "Cut Everything!" block to work. i'm trying to figure out how to not play it as the default when the game is rendered * added sfx * added bird animations * looked at double date for like 2 minutes * have been editing blue bear's "treat" block to fit dog ninja for a while now (im gonna try doing these commit notes from now on) * keeping trying * cues have sfx now - the "throw object" cues are not accurate yet * animations adjusted to not keep bird on screen * not much progress rn, getting into the harder stuff * added more sfx - it's from rhre3, if somebody can find a clean rip that would be great, cause i can't) * made a bop animation - still trying to figure out how to get it to play every beat :/ * replaced throw sfx, was using whiff sfx before * extended background using a slice of the sky gradient and color picked blocks * some code added to dogninja.cs and throwobject.cs is... bad. it's just torn from other games. * i need to work out conflicts really this is just pushing all my stuff so i don't lose it, tambourine is giving my fork conflicts for some reason :skull: * blehhh figuring out git some more * doesn't look like much. but I GOT ANIMATIONS WORKING. (god, i suck at C#) * bop animations, on every beat (will soon make it a toggle) * bird fly in and out, flies in when not on screen and out when on screen * did more work on "throwObject.cs" but not anything applicable yet * also found out how assigning scripts to a prefab works. ugh. so, got all those holders and objects assigned * trying to get different sfx working for each item really i just established some structure code. i don't understand it too well, so there are a few things commented out. * starting with inputs rn they're broken and i can't tell why :( * heavily commented out code in ThrowObject.cs * added option to disable the bird's FlyIn SFX * some debug stuff * some scheduled inputs (that AREN'T. WORKING.) * fixed the input bug tysm ymf <333 ur my hero technically this is a functioning game! gonna get different sfx/sprites working, try to get bezier curves working, then i'll make a pr * fixed that input bug * changed some variable names * getting some more infrastructure for getting the game fully working * double date stuff!!!! (improvements, playability) * purged SO much code * combined SoccerBall.cs and Basketball.cs into Ball.cs - might do that for Football.cs too, but we'll see * removed bop animation, it looked bad and made double date as a whole look bad cause it didn't reset. so the boy looked a bit off. - also fixed an error pertaining to animations * basic input stuff for when bread2unity gets merged * oh so much infrastructure stuff * lol commit * some animation stuff * sfx stuff all the different options have sfx tied to them for the throw and slice. now onto sprites and animation... * added tacobell too :) * dog ninja going into WIP :D (commiting rn cause i wanna do some experimental animation) * one more object :) * optimized some code * new sprites are almost done; i've got a list of both the sprites and their halves. * sprites are in! and goodnight. UGHHH BEZIER CURVES I DONT UNDERSTAND YOU * all the sprites go with their corresponding option and sfx * bird improved slightly * BEZIER CURVES * actual fruit animation * toggle for random fruits (doesn't work yet) * textbox for custom objects (doesn't work yet) - not user-submitted stuff, just stuff that doesn't really fit in the main dropdown menu * some stuff i don't remember, but it's definitely stuff that's working towards making everything work. miss anims don't work yet. at all. the objects just go flying. also the slice animation needs to be finished for both sides, and a bool needs to be added for which side to play (will be easy to do) also when you randomly slice, which is determined completely randomly (thank god) gura-nyuuu :3 (i'm sorry) * added a single sfx * custom objects!! tbh a lot more's coming but i need to merge my stuff i don't feel like taking notes here * working on halves * misc cleaning up stuff * started on the logic for halves * progress on halves, cleaning out variables i need to sync between laptop and pc * im pretty sure that's all the double date stuff taken out :thumbsup: * neatened up code + better bezier curves * adjusted bezier curves - sooo close to perfection but very noticeable stuttering at lower speeds * changed random to default object option instead of a bool; makes more sense this way * renaming things, getting code ready for new animations * commented a bunch of my code * re-fixing a bunch of stuff that has since broken from updating stuff - i.e random fruit, sprites, "here we go!" in general, etc. * new font, stuff fixed * added [about friend font](https://www.deviantart.com/matthewtheprep/art/About-Friend-Extended-Now-with-Greek-and-Cyrillic-832264925) * fixed "here we go!" * some more left or right object animation stuff * so many things * fully added custom items - accessible through a cheat code type system in the drop-down for cues * changed how the bezier curves function - only three points now (much smoother) and i just start it much later on the curve * added AboutFriend font, basically kurokane except free to use * started more on halves god, halves are gonna be hard tho * quick commit by [d] * got temp animations in * temp animations for ev * replaced ai sprites with ev's (thank you <333) * getting progress on halves * cleaned up files * hi res sprites * throw both objects + prepare anim title though, i still need to work out how the prepare animation will not play when you need to slice (cues a beat or less apart) * all dog ninja animations * forgot some stuff lol * prep anim done yay :) * oops! blend tree moment (more stuff) * animation fixes * more anim fixes lol * done for the night * added seanski's new icon * fixed the sound for both objects getting thrown * still working on the prepare animation, but for now it's gonna be a block - if literally anybody wants to implement an auto-prepare that isn't jank be my guest * halves progress, as usual * added a new item :smile: * fix conflicts just saw these in the pr, this commit should fix them * clean up code/fix prepare block thank you ymf!!! <333 * code optimizations * both slice anim + prepare anim fixed * i have stashed changes i need to work on * stashed changes * remade halves lists * renamed some sprites -i had funny little names like "tater" and "cuc" but that's a bit confusing * custom halves don't have the framework for them yet so i was building that too * half sprites work now onto making the curve an animation! (also fixing the text ig) (ALSO i fixed the prepare stuff (i think)) * unity animation :skull: death * Fixed text stuff * push changes so nothing breaks hi ymf * i'll work on this more later * halves r workin * oops! all mp3s! -converted mp3 sfx to ogg still need to do barelies, then everything is done * barelies are so close to being done!!! tweaking + figuring out how position works depending on which side the object was thrown * stopping for the night barelies are actually so insanely close to being done it's just a little bit of jank that's holding them back ill finish this tomorrow. * it's over. it's finally over. PR TIME! * final adjustments * the rest of the barely stuff * clean up the code a little :D --------- Co-authored-by: minenice55 <star.elementa@gmail.com> Co-authored-by: patataofcourse <patataofcourse@gmail.com> Co-authored-by: ev <85412919+evdial@users.noreply.github.com> Co-authored-by: Rapandrasmus <78219215+Rapandrasmus@users.noreply.github.com>
2023-03-07 22:55:44 +00:00
DogAnim.DoScaledAnimationAsync(barely, 0.5f);
SoundByte.PlayOneShotGame("dogNinja/barely");
Dog Ninja (#268) * starting out with double date stuff :D not even the background is finished i just wanna get this on my fork so that it's safe * double date getting more initialized no animations, one block, nothing actually functions. but the boy is put in place, and the girl is almost put in place! just wanted to merge this with the main branch to play catchy tune * initialization done!!!!! gonna fix up the code, see what i can take out, see what i can standardize, see what i need to add. loving this so far, even with all of its annoyances * ughhhh animation stuff. this is gonna take me a day or two to even comprehend * starting on animation committing cause im traveling, i might work on this if i have time * replace sounds, extend some stuff replaced the rhre3 sounds and added a few things to make camera movements not look so out-of-bounds janky. still working on it, but it's coming along good so far * starting on dog ninja waiting for bread2unity to get merged, and i'm still probably gonna keep working on dog ninja until it's done even if it does. * initialization and sprite trimming done reference is from angrytapper2's video Throw Object, Cut Everything!, and Here We Go! were the cues added, in that order. * temp icon w/ mask + bezier curves!! the icon is temporary, but i did add a mask. i think it looks pretty good :) especially for what it is. also bezier curves. i just figured those out, now i just need to figure out how to implement them into the object. * getting there i'm so close to getting the "Cut Everything!" block to work. i'm trying to figure out how to not play it as the default when the game is rendered * added sfx * added bird animations * looked at double date for like 2 minutes * have been editing blue bear's "treat" block to fit dog ninja for a while now (im gonna try doing these commit notes from now on) * keeping trying * cues have sfx now - the "throw object" cues are not accurate yet * animations adjusted to not keep bird on screen * not much progress rn, getting into the harder stuff * added more sfx - it's from rhre3, if somebody can find a clean rip that would be great, cause i can't) * made a bop animation - still trying to figure out how to get it to play every beat :/ * replaced throw sfx, was using whiff sfx before * extended background using a slice of the sky gradient and color picked blocks * some code added to dogninja.cs and throwobject.cs is... bad. it's just torn from other games. * i need to work out conflicts really this is just pushing all my stuff so i don't lose it, tambourine is giving my fork conflicts for some reason :skull: * blehhh figuring out git some more * doesn't look like much. but I GOT ANIMATIONS WORKING. (god, i suck at C#) * bop animations, on every beat (will soon make it a toggle) * bird fly in and out, flies in when not on screen and out when on screen * did more work on "throwObject.cs" but not anything applicable yet * also found out how assigning scripts to a prefab works. ugh. so, got all those holders and objects assigned * trying to get different sfx working for each item really i just established some structure code. i don't understand it too well, so there are a few things commented out. * starting with inputs rn they're broken and i can't tell why :( * heavily commented out code in ThrowObject.cs * added option to disable the bird's FlyIn SFX * some debug stuff * some scheduled inputs (that AREN'T. WORKING.) * fixed the input bug tysm ymf <333 ur my hero technically this is a functioning game! gonna get different sfx/sprites working, try to get bezier curves working, then i'll make a pr * fixed that input bug * changed some variable names * getting some more infrastructure for getting the game fully working * double date stuff!!!! (improvements, playability) * purged SO much code * combined SoccerBall.cs and Basketball.cs into Ball.cs - might do that for Football.cs too, but we'll see * removed bop animation, it looked bad and made double date as a whole look bad cause it didn't reset. so the boy looked a bit off. - also fixed an error pertaining to animations * basic input stuff for when bread2unity gets merged * oh so much infrastructure stuff * lol commit * some animation stuff * sfx stuff all the different options have sfx tied to them for the throw and slice. now onto sprites and animation... * added tacobell too :) * dog ninja going into WIP :D (commiting rn cause i wanna do some experimental animation) * one more object :) * optimized some code * new sprites are almost done; i've got a list of both the sprites and their halves. * sprites are in! and goodnight. UGHHH BEZIER CURVES I DONT UNDERSTAND YOU * all the sprites go with their corresponding option and sfx * bird improved slightly * BEZIER CURVES * actual fruit animation * toggle for random fruits (doesn't work yet) * textbox for custom objects (doesn't work yet) - not user-submitted stuff, just stuff that doesn't really fit in the main dropdown menu * some stuff i don't remember, but it's definitely stuff that's working towards making everything work. miss anims don't work yet. at all. the objects just go flying. also the slice animation needs to be finished for both sides, and a bool needs to be added for which side to play (will be easy to do) also when you randomly slice, which is determined completely randomly (thank god) gura-nyuuu :3 (i'm sorry) * added a single sfx * custom objects!! tbh a lot more's coming but i need to merge my stuff i don't feel like taking notes here * working on halves * misc cleaning up stuff * started on the logic for halves * progress on halves, cleaning out variables i need to sync between laptop and pc * im pretty sure that's all the double date stuff taken out :thumbsup: * neatened up code + better bezier curves * adjusted bezier curves - sooo close to perfection but very noticeable stuttering at lower speeds * changed random to default object option instead of a bool; makes more sense this way * renaming things, getting code ready for new animations * commented a bunch of my code * re-fixing a bunch of stuff that has since broken from updating stuff - i.e random fruit, sprites, "here we go!" in general, etc. * new font, stuff fixed * added [about friend font](https://www.deviantart.com/matthewtheprep/art/About-Friend-Extended-Now-with-Greek-and-Cyrillic-832264925) * fixed "here we go!" * some more left or right object animation stuff * so many things * fully added custom items - accessible through a cheat code type system in the drop-down for cues * changed how the bezier curves function - only three points now (much smoother) and i just start it much later on the curve * added AboutFriend font, basically kurokane except free to use * started more on halves god, halves are gonna be hard tho * quick commit by [d] * got temp animations in * temp animations for ev * replaced ai sprites with ev's (thank you <333) * getting progress on halves * cleaned up files * hi res sprites * throw both objects + prepare anim title though, i still need to work out how the prepare animation will not play when you need to slice (cues a beat or less apart) * all dog ninja animations * forgot some stuff lol * prep anim done yay :) * oops! blend tree moment (more stuff) * animation fixes * more anim fixes lol * done for the night * added seanski's new icon * fixed the sound for both objects getting thrown * still working on the prepare animation, but for now it's gonna be a block - if literally anybody wants to implement an auto-prepare that isn't jank be my guest * halves progress, as usual * added a new item :smile: * fix conflicts just saw these in the pr, this commit should fix them * clean up code/fix prepare block thank you ymf!!! <333 * code optimizations * both slice anim + prepare anim fixed * i have stashed changes i need to work on * stashed changes * remade halves lists * renamed some sprites -i had funny little names like "tater" and "cuc" but that's a bit confusing * custom halves don't have the framework for them yet so i was building that too * half sprites work now onto making the curve an animation! (also fixing the text ig) (ALSO i fixed the prepare stuff (i think)) * unity animation :skull: death * Fixed text stuff * push changes so nothing breaks hi ymf * i'll work on this more later * halves r workin * oops! all mp3s! -converted mp3 sfx to ogg still need to do barelies, then everything is done * barelies are so close to being done!!! tweaking + figuring out how position works depending on which side the object was thrown * stopping for the night barelies are actually so insanely close to being done it's just a little bit of jank that's holding them back ill finish this tomorrow. * it's over. it's finally over. PR TIME! * final adjustments * the rest of the barely stuff * clean up the code a little :D --------- Co-authored-by: minenice55 <star.elementa@gmail.com> Co-authored-by: patataofcourse <patataofcourse@gmail.com> Co-authored-by: ev <85412919+evdial@users.noreply.github.com> Co-authored-by: Rapandrasmus <78219215+Rapandrasmus@users.noreply.github.com>
2023-03-07 22:55:44 +00:00
}
private void Hit(PlayerActionEvent caller, float state)
{
game.DogAnim.SetBool("needPrepare", false);
if (state >= 1f || state <= -1f) JustSlice();
else SuccessSlice();
Dog Ninja (#268) * starting out with double date stuff :D not even the background is finished i just wanna get this on my fork so that it's safe * double date getting more initialized no animations, one block, nothing actually functions. but the boy is put in place, and the girl is almost put in place! just wanted to merge this with the main branch to play catchy tune * initialization done!!!!! gonna fix up the code, see what i can take out, see what i can standardize, see what i need to add. loving this so far, even with all of its annoyances * ughhhh animation stuff. this is gonna take me a day or two to even comprehend * starting on animation committing cause im traveling, i might work on this if i have time * replace sounds, extend some stuff replaced the rhre3 sounds and added a few things to make camera movements not look so out-of-bounds janky. still working on it, but it's coming along good so far * starting on dog ninja waiting for bread2unity to get merged, and i'm still probably gonna keep working on dog ninja until it's done even if it does. * initialization and sprite trimming done reference is from angrytapper2's video Throw Object, Cut Everything!, and Here We Go! were the cues added, in that order. * temp icon w/ mask + bezier curves!! the icon is temporary, but i did add a mask. i think it looks pretty good :) especially for what it is. also bezier curves. i just figured those out, now i just need to figure out how to implement them into the object. * getting there i'm so close to getting the "Cut Everything!" block to work. i'm trying to figure out how to not play it as the default when the game is rendered * added sfx * added bird animations * looked at double date for like 2 minutes * have been editing blue bear's "treat" block to fit dog ninja for a while now (im gonna try doing these commit notes from now on) * keeping trying * cues have sfx now - the "throw object" cues are not accurate yet * animations adjusted to not keep bird on screen * not much progress rn, getting into the harder stuff * added more sfx - it's from rhre3, if somebody can find a clean rip that would be great, cause i can't) * made a bop animation - still trying to figure out how to get it to play every beat :/ * replaced throw sfx, was using whiff sfx before * extended background using a slice of the sky gradient and color picked blocks * some code added to dogninja.cs and throwobject.cs is... bad. it's just torn from other games. * i need to work out conflicts really this is just pushing all my stuff so i don't lose it, tambourine is giving my fork conflicts for some reason :skull: * blehhh figuring out git some more * doesn't look like much. but I GOT ANIMATIONS WORKING. (god, i suck at C#) * bop animations, on every beat (will soon make it a toggle) * bird fly in and out, flies in when not on screen and out when on screen * did more work on "throwObject.cs" but not anything applicable yet * also found out how assigning scripts to a prefab works. ugh. so, got all those holders and objects assigned * trying to get different sfx working for each item really i just established some structure code. i don't understand it too well, so there are a few things commented out. * starting with inputs rn they're broken and i can't tell why :( * heavily commented out code in ThrowObject.cs * added option to disable the bird's FlyIn SFX * some debug stuff * some scheduled inputs (that AREN'T. WORKING.) * fixed the input bug tysm ymf <333 ur my hero technically this is a functioning game! gonna get different sfx/sprites working, try to get bezier curves working, then i'll make a pr * fixed that input bug * changed some variable names * getting some more infrastructure for getting the game fully working * double date stuff!!!! (improvements, playability) * purged SO much code * combined SoccerBall.cs and Basketball.cs into Ball.cs - might do that for Football.cs too, but we'll see * removed bop animation, it looked bad and made double date as a whole look bad cause it didn't reset. so the boy looked a bit off. - also fixed an error pertaining to animations * basic input stuff for when bread2unity gets merged * oh so much infrastructure stuff * lol commit * some animation stuff * sfx stuff all the different options have sfx tied to them for the throw and slice. now onto sprites and animation... * added tacobell too :) * dog ninja going into WIP :D (commiting rn cause i wanna do some experimental animation) * one more object :) * optimized some code * new sprites are almost done; i've got a list of both the sprites and their halves. * sprites are in! and goodnight. UGHHH BEZIER CURVES I DONT UNDERSTAND YOU * all the sprites go with their corresponding option and sfx * bird improved slightly * BEZIER CURVES * actual fruit animation * toggle for random fruits (doesn't work yet) * textbox for custom objects (doesn't work yet) - not user-submitted stuff, just stuff that doesn't really fit in the main dropdown menu * some stuff i don't remember, but it's definitely stuff that's working towards making everything work. miss anims don't work yet. at all. the objects just go flying. also the slice animation needs to be finished for both sides, and a bool needs to be added for which side to play (will be easy to do) also when you randomly slice, which is determined completely randomly (thank god) gura-nyuuu :3 (i'm sorry) * added a single sfx * custom objects!! tbh a lot more's coming but i need to merge my stuff i don't feel like taking notes here * working on halves * misc cleaning up stuff * started on the logic for halves * progress on halves, cleaning out variables i need to sync between laptop and pc * im pretty sure that's all the double date stuff taken out :thumbsup: * neatened up code + better bezier curves * adjusted bezier curves - sooo close to perfection but very noticeable stuttering at lower speeds * changed random to default object option instead of a bool; makes more sense this way * renaming things, getting code ready for new animations * commented a bunch of my code * re-fixing a bunch of stuff that has since broken from updating stuff - i.e random fruit, sprites, "here we go!" in general, etc. * new font, stuff fixed * added [about friend font](https://www.deviantart.com/matthewtheprep/art/About-Friend-Extended-Now-with-Greek-and-Cyrillic-832264925) * fixed "here we go!" * some more left or right object animation stuff * so many things * fully added custom items - accessible through a cheat code type system in the drop-down for cues * changed how the bezier curves function - only three points now (much smoother) and i just start it much later on the curve * added AboutFriend font, basically kurokane except free to use * started more on halves god, halves are gonna be hard tho * quick commit by [d] * got temp animations in * temp animations for ev * replaced ai sprites with ev's (thank you <333) * getting progress on halves * cleaned up files * hi res sprites * throw both objects + prepare anim title though, i still need to work out how the prepare animation will not play when you need to slice (cues a beat or less apart) * all dog ninja animations * forgot some stuff lol * prep anim done yay :) * oops! blend tree moment (more stuff) * animation fixes * more anim fixes lol * done for the night * added seanski's new icon * fixed the sound for both objects getting thrown * still working on the prepare animation, but for now it's gonna be a block - if literally anybody wants to implement an auto-prepare that isn't jank be my guest * halves progress, as usual * added a new item :smile: * fix conflicts just saw these in the pr, this commit should fix them * clean up code/fix prepare block thank you ymf!!! <333 * code optimizations * both slice anim + prepare anim fixed * i have stashed changes i need to work on * stashed changes * remade halves lists * renamed some sprites -i had funny little names like "tater" and "cuc" but that's a bit confusing * custom halves don't have the framework for them yet so i was building that too * half sprites work now onto making the curve an animation! (also fixing the text ig) (ALSO i fixed the prepare stuff (i think)) * unity animation :skull: death * Fixed text stuff * push changes so nothing breaks hi ymf * i'll work on this more later * halves r workin * oops! all mp3s! -converted mp3 sfx to ogg still need to do barelies, then everything is done * barelies are so close to being done!!! tweaking + figuring out how position works depending on which side the object was thrown * stopping for the night barelies are actually so insanely close to being done it's just a little bit of jank that's holding them back ill finish this tomorrow. * it's over. it's finally over. PR TIME! * final adjustments * the rest of the barely stuff * clean up the code a little :D --------- Co-authored-by: minenice55 <star.elementa@gmail.com> Co-authored-by: patataofcourse <patataofcourse@gmail.com> Co-authored-by: ev <85412919+evdial@users.noreply.github.com> Co-authored-by: Rapandrasmus <78219215+Rapandrasmus@users.noreply.github.com>
2023-03-07 22:55:44 +00:00
}
private void Miss(PlayerActionEvent caller)
{
if (!DogAnim.GetBool("needPrepare")) return;
Dog Ninja (#268) * starting out with double date stuff :D not even the background is finished i just wanna get this on my fork so that it's safe * double date getting more initialized no animations, one block, nothing actually functions. but the boy is put in place, and the girl is almost put in place! just wanted to merge this with the main branch to play catchy tune * initialization done!!!!! gonna fix up the code, see what i can take out, see what i can standardize, see what i need to add. loving this so far, even with all of its annoyances * ughhhh animation stuff. this is gonna take me a day or two to even comprehend * starting on animation committing cause im traveling, i might work on this if i have time * replace sounds, extend some stuff replaced the rhre3 sounds and added a few things to make camera movements not look so out-of-bounds janky. still working on it, but it's coming along good so far * starting on dog ninja waiting for bread2unity to get merged, and i'm still probably gonna keep working on dog ninja until it's done even if it does. * initialization and sprite trimming done reference is from angrytapper2's video Throw Object, Cut Everything!, and Here We Go! were the cues added, in that order. * temp icon w/ mask + bezier curves!! the icon is temporary, but i did add a mask. i think it looks pretty good :) especially for what it is. also bezier curves. i just figured those out, now i just need to figure out how to implement them into the object. * getting there i'm so close to getting the "Cut Everything!" block to work. i'm trying to figure out how to not play it as the default when the game is rendered * added sfx * added bird animations * looked at double date for like 2 minutes * have been editing blue bear's "treat" block to fit dog ninja for a while now (im gonna try doing these commit notes from now on) * keeping trying * cues have sfx now - the "throw object" cues are not accurate yet * animations adjusted to not keep bird on screen * not much progress rn, getting into the harder stuff * added more sfx - it's from rhre3, if somebody can find a clean rip that would be great, cause i can't) * made a bop animation - still trying to figure out how to get it to play every beat :/ * replaced throw sfx, was using whiff sfx before * extended background using a slice of the sky gradient and color picked blocks * some code added to dogninja.cs and throwobject.cs is... bad. it's just torn from other games. * i need to work out conflicts really this is just pushing all my stuff so i don't lose it, tambourine is giving my fork conflicts for some reason :skull: * blehhh figuring out git some more * doesn't look like much. but I GOT ANIMATIONS WORKING. (god, i suck at C#) * bop animations, on every beat (will soon make it a toggle) * bird fly in and out, flies in when not on screen and out when on screen * did more work on "throwObject.cs" but not anything applicable yet * also found out how assigning scripts to a prefab works. ugh. so, got all those holders and objects assigned * trying to get different sfx working for each item really i just established some structure code. i don't understand it too well, so there are a few things commented out. * starting with inputs rn they're broken and i can't tell why :( * heavily commented out code in ThrowObject.cs * added option to disable the bird's FlyIn SFX * some debug stuff * some scheduled inputs (that AREN'T. WORKING.) * fixed the input bug tysm ymf <333 ur my hero technically this is a functioning game! gonna get different sfx/sprites working, try to get bezier curves working, then i'll make a pr * fixed that input bug * changed some variable names * getting some more infrastructure for getting the game fully working * double date stuff!!!! (improvements, playability) * purged SO much code * combined SoccerBall.cs and Basketball.cs into Ball.cs - might do that for Football.cs too, but we'll see * removed bop animation, it looked bad and made double date as a whole look bad cause it didn't reset. so the boy looked a bit off. - also fixed an error pertaining to animations * basic input stuff for when bread2unity gets merged * oh so much infrastructure stuff * lol commit * some animation stuff * sfx stuff all the different options have sfx tied to them for the throw and slice. now onto sprites and animation... * added tacobell too :) * dog ninja going into WIP :D (commiting rn cause i wanna do some experimental animation) * one more object :) * optimized some code * new sprites are almost done; i've got a list of both the sprites and their halves. * sprites are in! and goodnight. UGHHH BEZIER CURVES I DONT UNDERSTAND YOU * all the sprites go with their corresponding option and sfx * bird improved slightly * BEZIER CURVES * actual fruit animation * toggle for random fruits (doesn't work yet) * textbox for custom objects (doesn't work yet) - not user-submitted stuff, just stuff that doesn't really fit in the main dropdown menu * some stuff i don't remember, but it's definitely stuff that's working towards making everything work. miss anims don't work yet. at all. the objects just go flying. also the slice animation needs to be finished for both sides, and a bool needs to be added for which side to play (will be easy to do) also when you randomly slice, which is determined completely randomly (thank god) gura-nyuuu :3 (i'm sorry) * added a single sfx * custom objects!! tbh a lot more's coming but i need to merge my stuff i don't feel like taking notes here * working on halves * misc cleaning up stuff * started on the logic for halves * progress on halves, cleaning out variables i need to sync between laptop and pc * im pretty sure that's all the double date stuff taken out :thumbsup: * neatened up code + better bezier curves * adjusted bezier curves - sooo close to perfection but very noticeable stuttering at lower speeds * changed random to default object option instead of a bool; makes more sense this way * renaming things, getting code ready for new animations * commented a bunch of my code * re-fixing a bunch of stuff that has since broken from updating stuff - i.e random fruit, sprites, "here we go!" in general, etc. * new font, stuff fixed * added [about friend font](https://www.deviantart.com/matthewtheprep/art/About-Friend-Extended-Now-with-Greek-and-Cyrillic-832264925) * fixed "here we go!" * some more left or right object animation stuff * so many things * fully added custom items - accessible through a cheat code type system in the drop-down for cues * changed how the bezier curves function - only three points now (much smoother) and i just start it much later on the curve * added AboutFriend font, basically kurokane except free to use * started more on halves god, halves are gonna be hard tho * quick commit by [d] * got temp animations in * temp animations for ev * replaced ai sprites with ev's (thank you <333) * getting progress on halves * cleaned up files * hi res sprites * throw both objects + prepare anim title though, i still need to work out how the prepare animation will not play when you need to slice (cues a beat or less apart) * all dog ninja animations * forgot some stuff lol * prep anim done yay :) * oops! blend tree moment (more stuff) * animation fixes * more anim fixes lol * done for the night * added seanski's new icon * fixed the sound for both objects getting thrown * still working on the prepare animation, but for now it's gonna be a block - if literally anybody wants to implement an auto-prepare that isn't jank be my guest * halves progress, as usual * added a new item :smile: * fix conflicts just saw these in the pr, this commit should fix them * clean up code/fix prepare block thank you ymf!!! <333 * code optimizations * both slice anim + prepare anim fixed * i have stashed changes i need to work on * stashed changes * remade halves lists * renamed some sprites -i had funny little names like "tater" and "cuc" but that's a bit confusing * custom halves don't have the framework for them yet so i was building that too * half sprites work now onto making the curve an animation! (also fixing the text ig) (ALSO i fixed the prepare stuff (i think)) * unity animation :skull: death * Fixed text stuff * push changes so nothing breaks hi ymf * i'll work on this more later * halves r workin * oops! all mp3s! -converted mp3 sfx to ogg still need to do barelies, then everything is done * barelies are so close to being done!!! tweaking + figuring out how position works depending on which side the object was thrown * stopping for the night barelies are actually so insanely close to being done it's just a little bit of jank that's holding them back ill finish this tomorrow. * it's over. it's finally over. PR TIME! * final adjustments * the rest of the barely stuff * clean up the code a little :D --------- Co-authored-by: minenice55 <star.elementa@gmail.com> Co-authored-by: patataofcourse <patataofcourse@gmail.com> Co-authored-by: ev <85412919+evdial@users.noreply.github.com> Co-authored-by: Rapandrasmus <78219215+Rapandrasmus@users.noreply.github.com>
2023-03-07 22:55:44 +00:00
DogAnim.DoScaledAnimationAsync("UnPrepare", 0.5f);
DogAnim.SetBool("needPrepare", false);
}
private void Out(PlayerActionEvent caller)
{
DogAnim.SetBool("needPrepare", false);
}
}
}