MAKING A GAME IN 10 MINUTES IN UNITY - BRACKEYS CHALLENGE !

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hey everyone and welcome back to black thorn prod me and my brother Liana have a new nighttime routine we try creating a small game in a couple minutes between 10 and 30 minutes to be exact this short yet intense game creation sprint was inspired by a blankies new video where he challenges himself to create a small game in barely 10 minutes it was a lot of fun to watch and also seemed like a great way to come up with game ideas try wacky new things and take lots of old risky decisions my first game based on the Rockies challenge made in roughly 10 minutes using of course unity and c-sharp sees the player manipulating circles with the mouse these circles are randomly moving around the scene and the player must do his best to stop these from touching each other it's actually pretty fun but what was a more fun was creating it it was ten minutes of pure hectic game dev no longer did I feel the burden of having to come up with the perfect game idea it didn't matter whether why made was boring ugly stupid unplayable or confusing because I was only spending a couple minutes on it anyway the second time I tried making a game in a few minutes which has much fun I ended up creating a character that can move around the tiny worlds I must dodge enemies by teleporting himself around our worlds and destroy those red foes with fat juicy bombs I don't think my keyboard ever recovered properly from experience then for the third challenge I made a strange dodging reflex game where you rotate a stick with two heads using your mouse cursor and move around the scene with the arrow keys you almost feel like an agile ninja when you escape a tight spots in short I've loved making these minigames it almost feels like tiny game jams and so I've decided to make another small game from scratch in under ten minutes in this video it's going to be a simple reflex game where the player controls a character they can shoot square triangular and circular projectiles as a bunch of square triangular and circular enemies square product I'll destroy square enemies circular product tiles obliterate circular enemies and so on and if you used the wrong product aisle on a wrong enemy it's game over now I've already created this game and was able to do so in exactly 11 minutes and 12 seconds now I'll try and do that again only in 10 minutes or less now of course 10 minutes is extreme and I'm only trying to beat my previous game creation record for the sake of this video but the main message I want to pass on here is that you should also try making games in a very short period of time not only is an incredibly fun will gain valuable experience expand your portfolio wash out from your system all kinds of bad ideas you thought maybe pool until then and maybe even come up with an extremely fun or interesting prototype you can then expand on and turn into a full-fledged commercial product with that said I'll open up unity Photoshop and begin hacking on my keyboard like a maniac in three two one go alright here we go we're gonna start by creating some game arts I'm gonna jump inside of Photoshop and creates the player character and look at him and then I'm gonna create his three mighty product I love the square the triangle and the circle I'm gonna get a deep bright red and create the three enemies of the yeah those three shapes look at that amazing game art here I'm gonna crop this Photoshop file disable the background layer so that is its parents and exports as a PNG I'm gonna call this characters alright open up unity now and I'm going to of course slice out these various sprites so they become individual sprites because right now there are not there's just one big bloated sprite sheets definitely don't want that so let me slice these up one two three one two three four five six we all know that every single second counts all right slicing these come on I wish I could do this faster and I'm gonna hit apply to save those settings drag and drop the player come on drive all the players on the scene of you remove them right to the length of the screen and I want to add the player character see shop script it's opened up inside a visual studio which I which I pray then open up fast it does let's create a public game object array cold logic tiles and I'm gonna check whether I'm gonna yeah check whether the player hits the dock get down key code a so if the player hits the eight key on the keyboard then I'm going to simply instantiate or spawn the project tile of index 0 in other words the very first thing we try and drop inside of the pie house away and I'm going to spawn that at the player's position and with notation I really wish I could type faster than I am else if so if the player doesn't hit a by hits the Z key on the keyboards and knows that I'm using as our keyboard which is why I'm choosing the AZ keys because they're right next to each other then I'm mostly going to spawn the second game object inside the project house array and then I'm going to check if he hits the e key and if he does let's form the second product I'll basically the third element inside of the game object inside of this plan is house array I'm not making sense right now because I need to do this very very fast all right I'm gonna try and drop into the scene view these three ponytails and to them they should be box Collider so they can detect collisions or detect if they're hitting enemies and I wanna set this to trigger and add a project tile scripts so all of these three key modules open up inside of Visual Studio creates a public flow speed variable and I'm going to get these moving to the length vector to don't know tonight am I saying the right time speed times time dot delta x so now the title will simply be moving towards the right side of the screen which is exactly what I want I'm also going to create three new tags one called square the other called circle and the other of course you guessed it triangle we want to give to the square tile the triangle tagging up the square tag to the triangle the triangle tagging to the circle these circle tag obviously on extends and let's turn the screen to a prefab nor renaming not ever renaming delete them from the scene view trying to drop these three enemies now I'm gonna answer all those three quick quick quick quick I don't have much time left I hope I still have Lourdes public floats speed vibe in the void updates I'm gonna get these moving towards the right so vector no when I say in the leg left right speed times time Delta time all right were doing great guys and of course let's create devoid on trigger enter 2d function and this is gonna allow me to detect if the enemy collides with a pilot if it does and the prior tile has the same tag has the enemy than all goons and we're gonna destroy the enemy character I'm also going to just draw the prior tile I'm the player basically yeah you did well and the game can continue if not though if the player used the wrong product out on the wrong enemy quicker quick then we're simply going to reload the scene because it's game over you know time to make a game over scenes we're simply gonna reload see the brace snappy and ugly way scene management and the way we do that is by writing C manager don't live scene scene manager don't gags have seen dot build index who okay and obviously you don't understand this stuff go my channel bubbles it's a Charles on the topic opening up unity come on let's quickly wait till this all compiles it does a speed I think speed of five is completely fine I'm going to add to the square enemy the square tag to the triangular enemy the shirai angular tag to the circle the circular tangle turn all these three into a prefab and all we need to do now is is create these spawner scripts and get these enemies spawning at regular intervals of time so create team object at the spawner script to it I'm speaking so fast I hope I'm making sense public float start tying between spawn so this is gonna be how much time three ones between each enemies spawn and private flow time between spawn then I'm going to create a public game object array where we will store all of the enemy characters enemies and in the update function I have no clamat I'm glad to help us out by alright I want to check whether time between spawn is less or equal to zero and it is not lesser equal to zero there one a gradually decrease time in spawn using minus equals time dot it's Delta time it is less or equal to zero that means it's time to spawn enemy so I want to instantiate an enemy what enemy you ask I don't know it's gonna be a random enemy so you random don't range zero enemies dot length there we go and gonna be there random times no more time to explain no Rand and at what position simply we're gonna do it at the spawners position and with no rotation you'll care but rotation don't forget to reset time between spawn equal to start time between spawn in this way the enemies spawn at regular intervals of time and that's really it let's wait for units to compile it very quick it doesn't seem as if I've added the script as I have I was just a bug let's get them let's get the enemy spawning every two seconds I'm gonna drag and drop when a lovely inspector actually and ground drop all three enemies inside the enemies array that I'm gonna grab the player a lot of the inspector there and drive off the three product Isles and I'm going to finally finally what Oh all right quick square tag triangle tag oh no in fact I love the inspector circle triangle square perfect then we'd all the player to know oh of course and the player collides with an enemy so we're gonna simply get him no actually what am i doing is more I think it'll work and more if I detect like trying to take whether an enemy collides with the player so if other dog compared tag player so if what the enemy collides with is a player I'm simply going to see manager well you know basically I'm going to reload the scene again because it's game over again ah I think I'm Donna was press always add to the player quick but after the player a circle of light at routine so collisions are detectors and hit play finally they were good I can spawn planet out Oh Brad house quick add some speed ten I think it's good and yes I'm sure prior tiles and if Roger yes okay and reload the scene so if I spawn okay I'm gonna be like this scene again so they are normally if the square class with a square always good and always good perfect great and we finished creating this little game yeah whoa so as you saw that was pre hectic and messy and again ten minutes is extreme thirty minutes to a few hours is really great though a few months ago I was making most of little games in under four hours around a theme that my brother would impose on me there's something just so refreshing about crazy little prototypes quickly making quick arts and smashing into existence lines upon lines of messy cord also try taking parts in game jams which are crazy increasing events the challenge developers to make a game in usually a few days and around a given theme Ladakh dari is a game jam that takes place three times a year however you must try and make a game in two or three days heck I'm also organizing my own game jam that starts tomorrow and which lasts one week make sure to check out my video on why game jams are amazing events to take part in now how you can make the most out of them so the punchline here is create lots of prototypes flush out from your system bad ideas and get used to failing get used to making loads of bad games is by doing so that you'll eventually end up making amazing things with that say it's you tomorrow where I'll announce the theme of the very first Blackthorne prod game jam at 12 p.m. french time before leaving here's also a big thank you to these amazing people for supporting me financially via patreon if you also want to support me and my channel consider donating $1 or more per month by patreon or simply eating the like and subscribe buttons it will be so appreciated and incredibly encouraging or I stay tuned see you very soon Cheers [Music]
Info
Channel: Blackthornprod
Views: 200,877
Rating: undefined out of 5
Keywords: blackthornprod, gameDev, unity, tutorial, noaCalice, c#, programming, art, animation, 10 minutes, make a game fast, brackeys, brackeys challenge, game jams, blackthornprod game jam, 1 minute, fun, prototypes, game prototype, arcade, reflex, game dev challenge, game art, ludum dare, MAKING A GAME IN 10 MINUTES IN UNITY - BRACKEYS CHALLENGE !, indie game dev
Id: lhb5hy4_sIM
Channel Id: undefined
Length: 14min 1sec (841 seconds)
Published: Fri Oct 12 2018
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.