 Hello guys crypto grounds here welcome back to another unity c-sharp idle game tutorial video this episode 41 And today we're gonna be building our project for the very first time So this video can be pretty much done at any point We're gonna be doing this for Android only I really don't feel like getting into the iOS portion because it's complicated Be I don't have my Mac with me and that's why I usually build my iOS But I will do I'll do Android and stand alone for Windows. Okay, so First off this is gonna be probably one of my last videos unfortunately for this series just because I'm running out of like solid ideas because I have like tooltips on the list, but I was like well Tooltips are kind of difficult for mobile games But I thought I could just do that in a separate series on its own rather than add it to this I think that's just kind of silly cuz not really like for only for idle games, you know So I'll probably do of course. I'm it. I'm never gonna stop uploading videos. I promise that it's just the series is Gonna kind of halt I guess unless someone brings up an amazing idea So if you have any ideas, just let me know in the comments below and I will think about it okay, and After this I'm just gonna be continuing doing like different types of genre games like right now I'm doing the anti-matter dimension series in my future. I'm gonna do like merge games I don't your adventure communists I'm gonna expand the cap or adventure capitalists. I'm gonna expand the clicker hero series I really need to and so on so I have a list of stuff to do I've explained it in another video before but anyways if you enjoyed this video Make sure smash that like button subscribe my channel and turn on those notification every single subscriber means a lot to me And it will help me Reach more goals to make more videos for you guys. All right. Yes, let's Let's get started. So let's head to file build settings. Okay, so this is right where we will manage our Building phase now if you have it installed some of these things Let me show you how to do that and you want to do this first. So you want to go to installs here Click the three dots add modules and make sure you have Android built support and built both Android SDK and any K and the open JDK If you want to figure it out, I was built support Macs built support mono. I don't recommend. I that's kind of a mistake because I'd rather build IL to CPP It's so people can't like get into your files and find out what your script to do. So that's not very safe That's what this is good for so and then web GL built support I'm not gonna show you how to build web GL because just various reasons. It's dying first of all and Windows built support IL to CPP. Okay, so make sure you have all those and really the main two you need is Android and Windows, I mean, it depends where you're gonna install it. Okay So once you have those installed, you'll need to restart unity. You might even as well like quit out of it first Okay, so let's start with PC. So here's our settings right here Our target platform is Windows and we're building for 86 64 64 bit architecture and head to our player settings So you're gonna see like a whole bunch of stuff here. Okay. Now. You don't need to do absolutely everything. Okay, so now Company name choose a company name. I can just do crypto grounds now What how is this relevance now? It's relevant because it actually depends on where you save your things So before is default company and that's where my Let's see my idle tutorial series. This is where everything was being saved originally So after I change this company name things will move Okay to my crypto grounds folder and that will be in here and now you can't see it yet because we haven't actually ran the game yet And we have the game right here the product name the version you want to increase this every time you release an update Okay, so icon now I don't have any icons right now, and I don't want to make any but your y'all you need to do is just set a default icon right here Okay, it could just be any PNG And you know, I don't I don't think I've ever done this. I've never touched the icon drop down Resolution and presentation we want to be it could be whatever you want. It could be windowed. It could be a full-screen window Maximize window or borderless window, but I choose windowed Okay, and you can add a full-screen setting in your in your app And if you want to see a tutorial on that, let me know in the comments below and Let's just say the default is 1920 by 1080. Okay, and we want to make this resizable too. So macro tennis port runs in background That's very important because if you want to let's say go alt tab the chrome, you know It's not gonna progress without unless this running backgrounds on Okay Use player log and you can turn it off. This is really good for testing So you can see like the console log that you see in unity, but in like a file, which is where the save would be and I'm turning it off because player logs can get pretty big, but that's up to you So recyclable window. Definitely we want a resizable window and actually this is a mobile game format So I want to change this resolution to something like 640 by 1136. Okay now if you've been doing this in a In a 19 or a 1080p format perfect. Okay, so just make sure you have the Resolution you like. Okay Visible in background. I don't mess with that allow full-screen switch. That's basically where you can make it go full-screen I Don't mess with any of these settings Supported aspect ratios. Okay, so what is the aspect ratio for this? So we do 1640 divided by 1136 And we get this right here, okay Now if we do sit now nine by 16 we get that 0.56 which is the same thing as this so our supported aspect ratio for this game is 16 by 9 okay, so we can just keep others and 16 by 9 on now again This really depends on how you set up your game Splash image. I never adjust this you can add your own logo if you like Also, this is cutting off the screen. Sorry, but yeah, so you just choose an image right here I never I've never like really messed with this you can change the color of the splash image, too So we can make it like a red if you wanted to otherwise, yeah, I just leave it as is other settings and Unfortunately, you can't get rid of the splash image unless you have the Pro Edition which costs money So, I mean, it's not that big of a deal. Honestly, if you add your logo, it's okay Let's see now I leave these settings as is Okay, so Mac App Store options your bundle identifier now if you're building around this for a Mac You can make sure you do something like crypto grounds. Obviously choose your own name, please I'll tutorial game or something like this. So this is the format of the bundle. I ID now We're not building from Mac. So we don't have to worry about this Okay, and every time you build for no matter how small the update or how big it is You want to increment this build by one? Okay, because that's just how the the version control works for any device Okay, so if you're updating with the same build number, it's not gonna let you update or if it's less It won't let you update. It's got to be greater than okay. It's the thing that always increments. All right, and Category I have never touched a category before So I'm gonna ignore that scripting back end. So we want to change from Mono to IL to CPP and We want to change our app API compatibility level to net 4.x and we should have done that at the beginning of the project I just kind of forgot that existed but make sure you change that okay See plus plus I've Release I guess I I don't remember changing this Leave all these settings as is Managed stripping level we want to set this to high okay and Honestly, this is this really depends on how severe you want the When it builds on how it wants like I don't know the correct word I want to say scrambles, but it's not really scrambling so basically when I'm building it compiles your entire game into a bunch of folders and files and stuff and Basically without it. We would be able to access our scripts pretty easily by reverse We can do people can just somehow find your scripts right so the higher this is the better But also the longer and probably the bigger the project is okay, but this also means that your code is safe Which isn't a nice thing okay, so people can't steal your code, so I'm personally set this to high So if you want to do more research on it, you can find it on the unity You can find it on unity's website I Leave this Stack trace okay, so I keep this as script only this also changes your settings for what kind of errors you get in here If you do full The errors you get are the stack trace are pretty lengthy sometimes they can be very useful sometimes they they're okay But personally I do script only so just leave as is XR settings. I yeah, we don't need to touch that. Okay Anyways, we should be able to build for PC now. So we'll just hit build and I'm gonna put this in my builds folder. You can put it wherever you want and I'm just gonna create new folder called idle tutorial Build 0.1. I think this is version 0.1 Yeah, okay now we just wait Okay, so we have experienced our first error. So when building you will get lots of errors Okay, so if you get errors, please don't spam my comments because 100% or 90% of the time it's gonna be completely a different error But here it says the type neat or namespace package manager does not exist in namespace unity editor Okay, so let's check this out so in our case it's a script related editor and Sometimes we won't see this on play and this will actually only show up when you are building your project Which is kind of funny, but it happens So sometimes I get okay I've gone at least hundreds of errors when building and it's beyond stressful I I will knit and there are sometimes where I just want to give up the entire game just because I can't build it But don't just do your research online There will be a solution on there Just pretty much a copy like the first like few lines of this error or something like something like this and Search it on Google and nobody's something to help you out Most cases I probably won't be able to help you because it's just simply trial and error. Okay So, yeah, please don't spam my comments because most of the time I just can't help you And now let's wait for a writer to load so we can see what this error is Okay, so we have this unity editor package manager dot request now I don't remember adding this at all, but once writer Does its thing we will see I don't even think this is used So I'm just gonna safely delete this because I Personally don't know where this came from So I'm just gonna get rid of it save it and let's try again, and I guess it didn't affect our Script initially, so we'll see Okay, so make sure you double check your settings again, and let's build again We'll see if we get anything this time So where's my tutorial folder? All right, so we got yet another error sadly See you just get like random errors like these like failed running Filter on this. Okay. I remember I've had this issue in the past. I just couldn't figure it out Okay, let me see you'll probably get something like this just random errors. You have no idea what it means So that's the case you just search it up Okay, so finally this frickin forever, but I honestly had issues building with I'll I'll to CPP also which stands for I Think it's Intermediate language to see plus plus which is CPP. Okay, so I switched my scripting back into mono I don't want to use mono, but it's I've tried so many times to get I'll to CPP torque I've copied all my exact settings for my other project my main crypto clickers project It just wouldn't work. I just got this same crappy error that tells me nothing and I Get the exact the exact same thing for my Mac OS build. I don't know So if you get errors like that just try doing mono, I mean it sucks, but it's just the way it is I guess that's what we're have to do. All right. So anyways in your folder You should see this right here now when you're uploading it through something like cartridge you just make sure you take all this and Archive it as a zip. So like if you seven zip you can do add to archive and convert to a zip file But otherwise we can just run our application here our idle game tutorial series. Okay, so let's run it also your antivirus might Might get mad at you So that's the case then it's okay. All right, cool. So our game has loaded now. We can Resize it however you want to obviously it's not gonna look that good just because of how our formatting is But and it's meant to be a mobile game Yeah, see this kind of turned out terrible It's okay And you see we have the watch ad obviously it's not doing anything but Okay, but otherwise we can semi-play the game. Yeah, we need to work on our anchors So if you if your game looks bad like this, then you just need to work on your anchors But yeah, everything works It works. Okay. Also looks like I forgot to put this back in some folder It's daily. Let's see. Yeah, things look really weird. Wow. I lost my button here. It's all the way up there All right, but yeah, that's for you to play with an experiment if you have any other issues I would highly suggest you using Google because I'm honestly no master at building this. So, okay, so there's windows. Let's hop into Actually, you know what? Let's do Android a different video because of how How annoying this video is so next video will be Android building, okay? So if you enjoyed this video, and I hopefully it all worked for you if I'll to see BP worked for you great for you Hopefully it did if it didn't then give mono shot. Okay. It's not like what we want, but it'll work for now Okay, anyways smash like button if you enjoyed this video subscribe to my channel If you're new and turn those notifications to get notified for future videos Comment your feedback suggestions all that good stuff below check out my patreon in the link in the description below if you want to support me Or join my channel membership, and that's also a good way of supporting me Otherwise subscribing and liking that will do everything for me. Anyways, thank you guys for watching and peace