Going live
Why would you want to worry about hosting your game of someone is offering to host it for you? not only MochiMedia wants to host your game(its up to you they don't force it like some other big companies) it enables you to switch game versions and not worry about updating all the sites that are hosting your game.
Video Transcript
00:00Let's get our game running on our start on their server and actually get it to be hosted on their server and get it
00:06to run
00:08Their preloader automatically and let's see how that runs so first of all if I just look at one more second in my app
00:13I just got rid of my show
00:16pregame ad and now if I go back into them into our home page of our game of our
00:22Video I'm just gonna click on the banner to take me to
00:26My profile I'm just gonna log in
00:29And after I log in if you just scroll down
00:32you could just click on your game and drag and drop learn French English is my game and
00:38Then I'm gonna click on game settings
00:41And after I click on game settings, I'm gonna scroll down and I'm gonna I want to set up to have
00:48Upload your game for distribution and that's what I want to do use live updates. Yes, and
00:55I want to upload a game
00:58Now I need to authenticate my game. So step one. I'm just gonna grab this authentication code gonna copy it and
01:08I'm gonna place it right on top here all the way in the beginning of my class. I'm gonna set it as a public
01:20variable
01:23And you can see that that
01:24ID is the exact same ID as my game ID
01:28So instead of setting a game ID again
01:30Let me just set that to be the exact same value instead of rewriting the code again
01:36I'm just gonna make sure that we don't have any mistakes where we duplicate two different lines
01:41Alright, so now I just want to publish my game making sure that I capture that
01:45And we can see that our ad is running and everything is good
01:48Our main application has loaded and if we go back now we said we set our game
01:55Next step is we want to set a different style maybe to our preloader
01:58Which by the way, you noticed before that you could have done it also directly inside of the application. So in my application
02:05I just want to make sure
02:06that my preloader
02:09Background color will be similar to the background color in my site. So I'm just gonna select that background color
02:15And I'm gonna go back in there. I'm gonna set my background
02:23But oh, it's because I have there that just delete them
02:33There we go now our bar color, let me just make my bar color
02:38maybe
02:42whitish
02:44No, let's see what color we could use here. So we take our we'll take our color and I'll just make it a little bit lighter
02:51Or much later. Let me just grab that
02:55And we probably wanna let's see what would happen if we do this
03:01And let's put here just a little full white or maybe yeah
03:13There we go, so let's say this is our preloader and we're happy with this preloader I
03:18Want to use my default background? I'm happy with that. The next step is I need to upload my game
03:23So I'm just gonna select my game and we're already in my deploy folder. So I'm just gonna grab that main dots with
03:30And I'm gonna give a version number. So my version number will be one dot one or let's call it our one dot one
03:39Enter a description. Let's hear first upload of our
03:45French game now what's nice about this is that as your game changes you could update the game and
03:52Every every site that's using your game every site that's hosting your game will automatically get the updated game, which is very very convenient
04:00All right. So let's upload the game. Let's boy
04:03So let's click on that upload game and let's see what happens and there we go
04:14Our game was uploaded now. We could download the game if we want to
04:18If we want to host the game ourselves
04:22But we don't really we don't really need to so the next step is we probably want to fill out our profile for the game
04:28So to fill out the profile to make sure that our game will actually work then let's set here muchi ads
04:35Which is our URL a description for now?
04:39We're gonna put that up in a few minutes
04:43And I'll probably just fill this whole thing out a little bit later
04:47So as you fill out your your application, then let me just delete that because we're gonna get back to it
04:54I'm gonna fill that up a little bit later. Our game is for everyone
04:59game category
05:01Right. I'll just fill this up later
05:05But basically after you fill it up and you fill a hundred percent profile 24 hours after
05:11Or so your game gets approved or not and you start making money and that's about it
