 Hey guys grip the grounds here welcome back to another unity anti-marriage dimensions video this episode 12 and today We're gonna be starting with the eighth challenge now I don't want to just jump to all the challenges because I don't got a lot of time I have a week till the SATs do so time is definitely not on my side for this one So I'm gonna be kind of splitting the challenges into separate videos probably maybe there are some videos where I will do Multiple challenges we will just have to see but for this one. We're just gonna do one challenge So it might be a sweet short sweet short video But yeah anyways if you enjoyed this video if you learned something new make sure you smash a like button Subscribe my channel if you're new and turn on notifications for future live streams and videos anyways Let's head right into it. So I have pulled up the equation sheet All right, so This is the challenge eight is the one where it affects Dimensional sacrifice but makes the other ones useless So here's the equation for our Dimensional sacrifice originally and this is our new equation afterwards The equation changes quite a bit So this max thing we do here is currently what we see Here so things are gonna look very different So we have a new variable which is J and J is our previous sacrifice multiplier. Okay, so things are just a little different Obviously this is divide this is a division thing right here and I'm guessing it's dividing all of this So this right here will just make the future boost not like grow Actually, it might make grow make it grow faster. Maybe that that's just the gist of it But basically n is the total amount of first dimension Sacrifice so it's the same thing as n right here. That doesn't change But m. However, instead of it just being a constant number to It is the current amount of first dimensions. Okay, so we're gonna have to kind of play around with this So let's I'm gonna jot down this formula real quick All right, so this was pretty easy to make But basically m to the power of zero point zero five divided by n to the power of zero point zero four times J all right, so this is what I have I decided to Determine if the challenge is equal to eight and this will occur this check will occur under the var current highest Because I want to use my highest dimensions here because J in this website No, not J. N is the total amount of first dimension Sacrifice and that's what I know I use the dimension count here. I do things a bit weird here No, obviously, I should have done a max, but I just didn't so I just kind of rolled with it so we're just gonna use this instead and As you could see it looks pretty identical and J is the previous sacrifice boost and that is the what we currently have right now Okay, so now that we have challenge eight out of the way I feel like we can really just get things done because honestly once we have the challenge done It's pretty easy now the thing with the problem with skipping from One or two to eight is that we're gonna have to like fill in the rest of the UI and kind of just ignore it So what we're gonna do is open up non big crunch and open our challenge game object Yes, and we'll start with the interface Alrighty, so I have created the interface. So basically what I did is that I added a scroll rekt an image with with an alpha of one and a mask and Then we added my then I added my panel right here for the scroll rekt right here and I attached the following game objects like that and I also added the rest of the challenges and I also Added the ID so C3 is to C4 is 3 C8 is 7 Now I'm just gonna turn these off because we only have two challenges or I Have something mixed up here Why are these flipped? Okay, everything else looks good. So I guess I just need to flip this one Yeah, okay Ignore that. That was a bit weird. How'd I place that? But yeah, anyways, we're gonna just block off C2 through C7 So now if we turn off this mask, we can only see two challenges are active, right? So now we need to Put the text in here and since we never really update this text at all We're just gonna copy and paste this definition right here Dimension boost and galaxies are useless sacrifice resets everything but is immensely more powerful Okay Let's take a look that's challenge real quick So I'm guessing if we gather enough Alright, so let's see what we reset this Okay, so I don't think the boost is applied Yeah, because it's such shifts in galaxies are completely useless Challenges dimension boosting galaxies are useless Yes, I keep doing a few in the boost is just not effective So, okay, let's get to this Very close One more Okay, cool. Oh I finished that really early. Okay. Well, we know that you can do Do galaxies do anything? Yeah, I did some more testing. Okay It is useless. So basically what I'm gonna do is just block off dimension or anti-minor galaxies and then Dimension boost do absolutely nothing. Okay, that's just that's just it Okay, yeah, let's copy this definition like I said, okay, got it paste it in here rename this challenge eight and Dimension boost and galaxies are useless sacrifice resets everything but is immensely more powerful Swag and now the reward is the eighth dimension. I Believe right. Yeah, it doesn't skip or anything Eighth dimension auto buyer. Yeah, I hide that, right? Why did it do that? There we go Okay We have these challenges, let's go turn on the mask. All right, let's get back into our code so Actually, one more thing one more thing in our challenge manager. What's nice is that our start text is an array So we can just expand this and replace with all these All these names right here, okay, so name two three All right, I dragged all of them Okay, that's all we need to adjust here Challenge manager so we so far only have one. Yes, I think I'm gonna make this into a for loop. Honestly Let's do that So for far I is equal to zero I Is less than two is less than eight. So we're only checking up to eight. Yeah Okay, and then we're gonna replace zero with I and one with I plus one I plus one That's it. That's all we need to do Cool. Oh Yeah, we got to do the We have to do stuff in dimensions Well few words OBS is terrible. It just stopped recording right in the middle of the video I don't know where I didn't press anything. Well, actually it kept recording It said I had like a 30 minute recording time, but the video only turned out to be a minute So like it just stopped. I I don't know So I gotta catch up I gotta figure out what I did and just kind of go back. I guess which is annoying because Yeah, yeah, we did stuff in challenge manager Okay, so I'll try my best to see what we did in dimensions and I believe we would we did something in Unity as well. So yeah, I'll check that. So anyways, let's let's go through this Okay, so we start here at dimension shift boost So basically add this if statements So if data current challenge is equal to eight then we're gonna set this dimension boost This dimension shift boost one and then we're just gonna continue where this continue basically just skips all of this and just Continues on the with a loop So yeah, that's all we got to do there That's dimension shift. So we're not playing any single form of boost. We are buying these dimension shifts Okay, and now our galaxy resets. So basically I split the shift reset into two methods big and small Let's find that right here. So basically Public void shift reset big is all this and small is this where I separated the The difference between dimensional sacrifice boost and highest first dimensions So I moved that into a new method because I want to call this at a certain spot, which I will get to So when we do a shift, we do shift reset big and then small And we do the same thing for our galaxy reset Now when we want to know when you get to the dimensional sacrifice, we only want to do a shift reset big And that's because we don't want to reset Anything related to the dimensional sacrifice and the highest first dimensions So we just separate it and our dimensional sacrifice method inside this if statement We check to see if the current challenge is equal to eight if so Then we're just going to call this shift reset big because instead the dimensional sacrifice just resets Everything because if that wasn't the case in this challenge, you know That'd be pretty dang easy to get just get back and just keep growing. You know, just you know The child would be finished very fast All right, I believe that's all I actually have to do Yeah, oh, yeah, also, I don't remember if I reviewed this in Might the previous video. I don't really feel like going back But this is the equation I use for the dimensional sacrifice to get I added this max statement right here inside the powel Because I want if this was zero, this would be an NAN So we want any number less than one being set to zero or to one So for example, if this highest first dimensions was zero, we want this to be one instead and that will Get rid of that potential infinity and NAN. So yeah, that's the equation and let me pull up unity again Okay back in here again I don't remember what I changed in here, but I added all of my Buttons my star buttons and start challenge my challenge start text inside the challenge manager And I also forgot to get rid of some components that were in C1 C2 and all the way down the C8 It was a button components and an infinity upgrade components, which was the script So I got rid of those just an image like that and then I made sure every single start button here Was assigned to its proper number so the challenge the first challenge would be one the second challenge would be two and The seventh challenge would be seven and obviously and so on So let's we don't really need I mean I've already tested this but I'm just gonna run it through with you guys and kind of just do Something so this is our dimensional sacrifice boost real quick so we can do it right now and there we go It resets now. I don't know why this is much higher. Okay. That is not good. What is that? Okay, that is just constantly growing Okay, so now we know there's something wrong with the equations. I guess I'm glad that I came back here So what happened? I'm guessing with this equation is because we got to multiply this the the power right here With the previous sack with the current Sacrifice boost so I'm just gonna multiple. I'm just gonna add parentheses around all of this That's my guess. Well, let's just give this a shot and see what happens. Hopefully it doesn't screw anything up I'm pretty sure that would make more sense. Anyways Okay, cool. So that doesn't work Alrighty, let's just keep buying these now Cool so far that is good and where's my script right here. I'm just gonna get myself some anti-matter By max. Yeah, that seems more legit. Oh this dimensional sacrifice boost is 1809 I might want to fix that Okay, and I believe this is plus one actually I I Yeah, that would make more sense. So add a plus one to the end of this equation So I believe I had a wrap parentheses all the way around this and then do a plus one. Maybe not No, we don't have to okay. So yeah, don't forget that plus one and everything should be good now so let's just keep buying these and see this grow and Let's see the ticket the current boost is 30 I'm afraid this will get smaller. Maybe I don't know. I'm honestly really skeptical Because we're currently at like this little wall here, or we can't buy anything So I'm just gonna like dimsack, I don't know I'm just gonna keep working my way up here and see if this gets any better And again, this equation could be off by a massive amount. I Mean this is supposed to be one X 1.03 X. So maybe it that is like part of the factor See what if I change this to one zero? So I feel like it's not supposed to get like harder, right? I don't know that's why I kind of hate when parentheses aren't used and stuff like that And I know that was part of the problem right here Um Okay, so I'm noticing something I think that the boost formula is what it currently is right So obviously it's multiplying each other and that's I think that's what a times J is So I think we're looking at the equation wrong and we're supposed to like not include this times J So I'm just gonna get rid of this. That's what makes most sense to me I'm gonna keep this plus one and I'm looking at the github and I don't see any times J I don't know what this dot max is But I believe we're just gonna keep it like that. I Mean Yeah, everything else seems fine Let's give that a shot. Oh, yeah, I also took off my shirt. Oops. I'm still on my work outfit. That's kind of messy Okay, things still seem kind of sketchy. Yeah, it still seems too extreme Maybe it is this plus one after all maybe we can get rid of that. So it's supposed to be one point one four Okay, let's just keep going Okay, that seems out. This seems more proper Okay, yeah, this equation just seems extreme. Why am I getting an error now? Interesting well I'm just going to Leave this equation just seems extremely weak. I mean this does have to grow So this will take time and this will grow I just don't know why this seems so weak and I think this plus one is actually supposed to be there now Because other way this would be zero point three eight. I just don't I just don't I don't know again I haven't played the actual full game forever Or maybe this is actually what the speed of the game is supposed to be again I'm about to I'm still about to start buying stuff again. So, yeah, maybe I just need to be more a little more patient, you know Alrighty, so I'm just gonna have it at that. Anyways, this is challenge number eight episode Well, yep If you enjoyed this video make sure you smash that like button Subscribe my channel if you're new and trust notifications for future videos and live streams Anyways, thank you guys so much for watching and all the support lately Really it really means a lot to me and anyways have a great day great night Thank you guys for watching and catch you the next one