this is Subway Surfers in Minecraft but to explain how I got here we need to go back about a month [Music] okay so these are the three main parts to tackle might not seem like a lot but there is a lot to do first thing we're gonna need are uh 3D models which I've already made actually so uh but we are going to need some kind of way to generate this map infinitely and I think I have an idea on how I might do that the map is going to be made up of different sections
then when the map is being generated the program can just pick a random one and place it in so let's build these sections [Music] thank you [Music] now to actually making these parts generate and I've also written a bit of a little a little bit of a program here it's going to generate a random number from 1 to 20 if I do slash function generate part it should put something here the only part actually generating is just 11. there we go look at that so now we have something different oh that's uh that's not really
is supposed to happen it's now time to fill them up with obstacles okay so it's been like a couple hours but it doesn't matter so I've I've done something what I'm thinking for like spawning trains and other things so here we have coins for example these are coins and then I have a function here boom so it's gonna take those blocks and then turn them into what we need to turn them into I'm bad at explaining things but basically what I was talking about was sort of a programming language inside of Minecraft using blocks so
a block setup like this would either spawn a barrier here here or not at all and it's gonna make a whole lot of sense and I I love it so then there's gonna be coins here and then you can go like anyways yeah I gotta Implement uh this for chains and other stuff as well though so I'm just I'm just I'm just gonna do that it's not very interesting I just spent an entire day making the assistant what this means is that we can now basically uh make train spawn and stuff just like that all
right now I'm gonna try spawning this and seeing what it looks like and here it is why is that training in the air it uh didn't spawn a coin here so that means something's not working um but it did spawn this with a few bug fixes the programming language was complete I'm calling it mcss script TM so I guess that means I actually have to use it now oh no all right so I've now placed in all the like generator blocks for the first uh section it works but the biggest problem right here is this
do you see that 20 27 000. so I'm I'm gonna go ahead and just fix my code so it's not as terrible five thousand you know it's still quite a lot but it's a lot better so what is but yeah this this works pretty well coins yay that was like a week ago anyways uh I've done a little bit of stuff I got a new mic so I did a couple more sections there's way too much stuff going on there a couple things responding look at that we got some coins I think it's turning out
pretty well so far surprisingly kind of fun even though it's not that much of a challenge so I think these four are really the only ones left I procrastinated for a week to do something that took me about an hour it's like the map generation feels complete you know wait what is going on here we're gonna ignore that and keep going the first section is complete onto the gameplay currently the biggest problem is that all the moving trains have no collision at all so how do you solve that barriers so the trains will be placing
barriers and then removing them as they're moving somehow I haven't really thought this through okay so I changed my mind I think I'm gonna be doing choker choker things instead the thing with the shulkers is that they don't really disturb any other blocks alright so I got it to work pretty well as you can see you can walk on here but one side issue is that you can see the shulkers right so then I tried giving them invisibility that works all right but oh actually they work pretty perfectly but yeah you can see there look
at these the heads are still visible so we're just gonna rid of this and then maybe if we reload the resource pack this will work oh God damn it if it works I doubt it will but it it would be oh wow that worked first try wait it's creating barriers here I am floating very nice all right this should work if I reload yes so I'd say that means we are done with train collision and we can move on to the next step which I think I'm gonna I'm gonna make the roll mechanic this is
what rolling looks like wow okay so I have now made it possible to row you can just shift and You're Gonna Roll you can roll like under these things but you cannot roll under these you're gonna get stuck on these so I think it's time to actually start doing the important work of making the game playable because it isn't right now I mean it is playable but there's no way to actually start the game or end the game so it's been a couple days again because I was busy gluing Flags like a lot of flags
I made this little lobby area looks pretty ugly but I don't really care uh yeah you can start the game by stepping on this little concrete plate and usually this security guard is the one who would be chasing you but security guards are boring let's see here oh yeah it works oh my God look at that it's oh no oh no oh no oh no that is that is actually terrifying I prefer Thomas no oh oh hello there Thomas you're looking mighty fine today I really do think Thomas is looking lovely look at it look
at this guy he looks really good but he looks kind of out of place oh I just I just died nice so for the actual gameplay I think the next part to tackle would be the power-ups probably three of them are gonna be pretty easy to make so I'm thinking we just do those ones first and then we deal with the other ones later [Music] all right so I moved on to making the jet pack and I made this nice model here but the texture just doesn't want to load I I'm not sure why to
be honest I guess I'm gonna have to make a new model [Music] so that's really it for the power up I added some display at the top as you can see to actually know when your power app is active which should mean that we are pretty much done with the power ups I think they work very well actually if there's one item I have neglected to talk about the Subscribe button I'm kidding or am I no but for real I'm in a subwar to 5K right now so maybe you can help me out but the
item I meant to say was coins they currently don't really have a purpose at all so I've added this little area right here and you can go in here and would you look at that so basically just like in the actual game you can actually upgrade the duration of these power-ups so for example you can see right now the jetpack lasts for only eight seconds but if I just give myself like a lot of coins then upgrade this to Max you see we have 25 these ones go up to 30. so let's see this in
action now if we were to actually pick this up the duration up there is a lot longer and with that another section completed let's move on to the fourth but you said there was only three no there's four sound effects [Music] and Boom game is done all that's left is a final play test so my current uh record is 180 000 something I'm gonna try to beat that okay we're now roughly halfway done Thomas is still with us hello Thomas I think Thomas really carried this game let me just get some Thomas appreciation I want
you all to comment uh Thomas is the best just just comment that something we do not have enough of inside anyways we hit 100K a score let's go [Music] that was a bit scary it wasn't really that close to dying though just like oh no oh you're kidding me all right back at zero again oh no dude what is this this game is so trash at least I only have 30k like that's better than dying at like 107k you know and 100k you are all kidding at the same oh my I don't get what this
game has against me it's like as soon as I'm at 100K it's just like no you you're done oh this is dangerous oh my God no no I'm alive somehow let's see here and 100K very carefully now I'm just gonna no that did not just happen jet pack I'm gonna try playing in first person you know I might give me some special power I will say rolling in first person does feel a lot cooler because you're like whoa if I die here I swear I will foreign I have just killed myself I just bugged through
a train jetpack yes okay then I'm like safe for 20 more seconds oh I'll go stick yes very nice and that okay this is a bit of a scary area still a very scary area okay but no we're fine we're fine but this jet pack is almost gonna carry us all the way till the end oh no oh this could be that I think we're good yes we are good that's 180k I don't know what the high score actually is though no okay okay we died please please no no it was 188k