Best 10 minute game ever made (Maze in Unity) | Brackeys challenge

  Рет қаралды 21,079

Awesome GameDev

Awesome GameDev

Күн бұрын

Пікірлер: 165
@awesomegamedev
@awesomegamedev Жыл бұрын
My other videos you might like: I made the WORST Game of the Brackeys Jam: kzbin.info/www/bejne/iqHIpmRjnNZ0adE Easiest Money I Made With Gamedev (without code): kzbin.info/www/bejne/mJCvhnukbauXbsk Coding a simple game in 1 minute: kzbin.info/www/bejne/rJ-8doaVm8eUY68 Join my Discord: discord.gg/f5XpW3k89v for more personal stuff and I don't know why
@ThenonoxLoquendero
@ThenonoxLoquendero 3 жыл бұрын
Great job, I love how the game turned out!
@awesomegamedev
@awesomegamedev 3 жыл бұрын
Thanks! It's nice indeed:)
@twitchloader5356
@twitchloader5356 3 жыл бұрын
var dirs = new[] { (x - 1, y, hwalls, x, y, Vector3.right, 90, KeyCode.A), }; "A" I WANT TO PUT A UI BUTTON INSTEAD OF THIS
@awesomegamedev
@awesomegamedev 3 жыл бұрын
There is no shortcut to put a UI button. You'll need to go through some Unity UI tutorials, for example kzbin.info/www/bejne/gWXYgJ2YatVmf9E (in any case, I recommend to look for tutorials published within the last 12 months as Unity changes quite fast). You will then need a method/function which does these lines (remove them from Update) with appropriate k, wx, wy, nx, ny (depending on the key pressed and intended move direction): if (Input.GetKeyDown(k)) if (wall[wx, wy]) Player.position = Vector3.Lerp(Player.position, new Vector3(nx, ny), 0.1f); else (x, y) = (nx, ny);
@flolu
@flolu 3 жыл бұрын
This is incredible!
@awesomegamedev
@awesomegamedev 3 жыл бұрын
Thanks! I plan to do more "cool game in Unity in X minutes" a bit later:)
@AmanteDeCacetinho
@AmanteDeCacetinho 4 жыл бұрын
where i can play the total darkness variant?
@awesomegamedev
@awesomegamedev 4 жыл бұрын
Uploaded night and darkness modes to the Itch page: nns2009.itch.io/just-maze check download section
@ahmetozbey3208
@ahmetozbey3208 3 жыл бұрын
Hello, I want to customize this game and share it on my own developer account. But when I print it out, I think there is no scene on some phones originating from LightRenderer. How can I fix?
@awesomegamedev
@awesomegamedev 3 жыл бұрын
Hi! I don't exactly understand you: > when I print it out ... > there is no scene on some phones ... What do you mean?
@ahmetozbey3208
@ahmetozbey3208 3 жыл бұрын
@@awesomegamedev THE SCREEN DOES NOT WORK ON SOME PHONES BECAUSE IT IS DUE TO "URP"
@awesomegamedev
@awesomegamedev 3 жыл бұрын
​@@ahmetozbey3208 I've never compiled Unity project for phones so I don't know how to fix it:( It might be not URP itself, but specifically: 2D Renderer and 2D Lights, because they are still "Experimental" features. Another thing you need to know is that Unity's 2D shadows are currently quite performance-intensive. 40x40 maze was already lagging a lot on my PC. You will have performance issues on mobiles with much smaller maze sizes.
@Jacob_Ryfen
@Jacob_Ryfen 4 жыл бұрын
This is awesome! Can't wait to work with it and make my own version ;) ! Please make more videos like this! For me its a great way to learn.
@awesomegamedev
@awesomegamedev 4 жыл бұрын
There will certainly be more, both challenges and tutorials! Stay tuned:)
@mhdk677
@mhdk677 5 ай бұрын
The Universal Render Pipleine template dosent show in the current unity hub. Is there anything I can use instead of this?
@awesomegamedev
@awesomegamedev 5 ай бұрын
Very strange. It should be there. Maybe it's abbreviated as "URP"?
@abduzzami
@abduzzami 3 жыл бұрын
It has a lot in common with my game which i have made for Brackeys game jam 2021.2 but mine is 3D.My game is very easy and it has only 5 levels . That's my first game jam :)
@awesomegamedev
@awesomegamedev 2 жыл бұрын
Congrats on completing your first jam! Have you tried implementing procedural maze generation afterwards?
@moropaneedwin4915
@moropaneedwin4915 2 жыл бұрын
please share your source code. I am also building a 3D version of this
@awesomegamedev
@awesomegamedev 2 жыл бұрын
I shared a link to the source code in the description (or the pinned comment), check it. I'm currently writing this from mobile, so it's it's hard for me to resend it
@gouthamgaddam3385
@gouthamgaddam3385 3 жыл бұрын
Bro .. can you tell me where did you learn unity and how much time it took
@awesomegamedev
@awesomegamedev 3 жыл бұрын
> where did you learn unity Various KZbin tutorials, googling specific question. At the moment, Unity's official learning resources and Unity's official KZbin channel are quite good. > how much time it took I've been learning over the course of several years. But you can start creating games with Unity right-away, just don't expect to create games fast as in the video. It takes time, especially if you are just learning. Take part in "game jams". Brackeys game jam is coming soon, by the way.
@FoxApo
@FoxApo 4 жыл бұрын
This is just amazing! Simplicity is beauty. I would really like to know how did you proceed to make such maze generation. Great video and looking forward to next :)
@awesomegamedev
@awesomegamedev 4 жыл бұрын
Thanks! Big maze generation tutorial will happen, but later (maybe after 5-6 videos), once I am more comfortable/fast with video production. The next video will be as stupid as the previous one. Some interesting Physics stuff turned out to be harder than I estimated, so I had to default to a simple idea for the next video to keep myself on video-production-"track", but I laid the groundwork for some cool stuff in the future.
@egertsus
@egertsus 10 ай бұрын
its so cool game I tried to make it but I just don't have these options that you had. Can I get the Unity project file to see what I did wrong
@awesomegamedev
@awesomegamedev 4 ай бұрын
Sorry for a long reply. I did this project quite some time ago and I don't have the files on my current laptop. But the files likely wouldn't help you much since Unity changes quite a lot from year to year. If it's still relevant, feel free to ask specific questions and I'll try to answer. You can also try to watch the most recent tutorials on relevant topics, as they'd be most likely to use an updated Unity.
@egertsus
@egertsus 4 ай бұрын
@@awesomegamedev I don't need it any more. I figured out how to similar game in newer version. but thx still
@awesomegamedev
@awesomegamedev 4 ай бұрын
Good! I'm glad you figured it out
@framex_media
@framex_media 4 жыл бұрын
Great, thanks for sharing the process!
@awesomegamedev
@awesomegamedev 4 жыл бұрын
Your welcome And thanks for watching!
@moropaneedwin4915
@moropaneedwin4915 2 жыл бұрын
How can I make it a 3D? which code do I need to add or change?
@awesomegamedev
@awesomegamedev 2 жыл бұрын
You actually don't need to change any code. Change: 1. Camera (or likely Virtual Camera, i don't remember exactly) settings to "perspective" instead of "orthographic" 2. Replace the prefab which is spawned from a 2d sprite to some kind of 3d box If you want to make it 1st/3rd person: 3. Add first person controller to the character (search on KZbin for some tutorials) 4. Add box collider to the new wall prefab from step #2 5. Remove all of the movement code from my script
@efeozcelik6464
@efeozcelik6464 3 жыл бұрын
king
@awesomegamedev
@awesomegamedev 3 жыл бұрын
Thanks! I'll probably also do "chess in X minutes" one day, by the way:)
@algs5483
@algs5483 4 жыл бұрын
The pun on the title was just great. The game is about mazes. You wrote "maze in Unity"... lollll
@awesomegamedev
@awesomegamedev 4 жыл бұрын
Hahaha. It happened accidentally:) I only noticed it after I've uploaded the video. I first thought it is a typo and I was about to correct it, but then I realized it is not [a typo]
@algs5483
@algs5483 4 жыл бұрын
@@awesomegamedev oh wow. Ok then.
@NotASpyReally
@NotASpyReally 3 жыл бұрын
I don't get it. He's making a game about walking through a maze, ok. What's the other meaning?
@ahmetselim1166
@ahmetselim1166 3 жыл бұрын
How can I download your Photoshop files
@awesomegamedev
@awesomegamedev 3 жыл бұрын
Uploaded it for you: drive.google.com/file/d/1nhlKzt3j8_ONlqzidnTqv-MqkKTvtYVm/view?usp=sharing But you can also probably just remake it yourself, just like in the video
@svadba5542
@svadba5542 4 жыл бұрын
Поздравляю с первым прорывным видео!
@awesomegamedev
@awesomegamedev 4 жыл бұрын
Спасибо! Это первое, которое я запостил на фейсбуке, и это сработало
@svadba5542
@svadba5542 4 жыл бұрын
@@awesomegamedev Репость вообще везде, куда можешь дотянуться. Кстати, вставка со вторым комментатором тоже прикольная, гикам я думаю зайдет.
@awesomegamedev
@awesomegamedev 4 жыл бұрын
@@svadba5542 Да, у меня целый список куда постить, но я планирую постить последовательно, чтобы более-менее оценить эффект: откуда приходит больше людей, откуда - меньше, что "работает", а что - нет
@awesomegamedev
@awesomegamedev 3 жыл бұрын
Want to play AMONG US with me (and other subscribers)? - Join my Discord: discord.gg/f5XpW3k89v Check out how I've made a game (although a much simpler one) in just 1 minute - kzbin.info/www/bejne/q6eueGqroM6ShJo and join me on: Discord: discord.gg/f5XpW3k89v Twitter: twitter.com/NnsMe Itch: nns2009.itch.io/ - this is where I post my games Facebook: facebook.com/groups/advancedgamedevelopment - my group for any advanced game dev related stuff, not necessarily channel related
@meddjihed9108
@meddjihed9108 3 жыл бұрын
I still don't understand HOW THE F DID YOU DO THAT!. More videos please... Like and subscribe from me. Awesome job, loved all of it, especially the phone holder part, lol... Seriously, you proved that we don't need those stupid gadgets. I hope you ll be doing some tutorials
@awesomegamedev
@awesomegamedev 2 жыл бұрын
I am glad this video impressed you:) I constantly got side-tracked from KZbin, so not enough of new videos, but I keep pushing! Regarding phone-holder: you found it cool, but it's actually more like an inconvenient workaround - making it took some time and then it was quite limited in camera angles it can hold. Sorry for a long-long reply.
@e_a_r_t_h_m_a_n
@e_a_r_t_h_m_a_n 4 жыл бұрын
Simplicity is great.
@awesomegamedev
@awesomegamedev 4 жыл бұрын
Indeed
@jimmyliu0104
@jimmyliu0104 3 жыл бұрын
May I ask a question? The most difficult part for me to understand is probably how the maze's walls self generate without forming a little loop(or square,circle?). I would like to know which part of code solve it. I guess it would be the "if" statement. BTW, great video!
@awesomegamedev
@awesomegamedev 3 жыл бұрын
Comparison: st[nx, ny] == 2 is responsible for not placing too many walls It means: "only place wall if the next cell has been fully processed" There is also an extra comparison && Random.value > holep (now that I think about it, it should have been >= holep, but not a big difference) which sometimes prevents a wall from being placed and creates a small number of loops, which make the maze more interesting. I am glad you liked the video! I have been absent from channel for quite some time, but next videos are in the works:)
@Octivo_
@Octivo_ 4 ай бұрын
Can u make an update version of this turorial? Bc it unfortunally doesn't work now
@awesomegamedev
@awesomegamedev 4 ай бұрын
Most likely no (or not in the near future): it takes me forever to release videos. But I may try to help you. What exactly doesn't work?
@Octivo_
@Octivo_ 4 ай бұрын
@@awesomegamedev I can't find the same setting as u have for example I don't havve a cinemachine
@Octivo_
@Octivo_ 4 ай бұрын
@@awesomegamedev I will just try with older version of unity and check if it will work
@awesomegamedev
@awesomegamedev 4 ай бұрын
You need to install Cinemachine from the Package Manager with any version of Unity
@Octivo_
@Octivo_ 4 ай бұрын
@@awesomegamedev I don't think I have it
@fredericr.masson3847
@fredericr.masson3847 3 жыл бұрын
Hi, it's just Amazing! How can I replace keycode with inputgetAxis to make it work with a controller? Can you put me in the right direction please?
@awesomegamedev
@awesomegamedev 2 жыл бұрын
Sorry for a long reply. In case it's still relevant for you or others: I would highly suggest to only use Unity's new input system - it's much better. With new input system, you can create 4 actions (Left, Right, Up, Down) and assign multiple bindings to each action (WASD, Arrow keys, Gamepad D-Pad, Gamepad Joystick).
@vinayakdhyani4676
@vinayakdhyani4676 3 жыл бұрын
Amazing 🔥
@awesomegamedev
@awesomegamedev 3 жыл бұрын
Thanks 🔥 I'll do more videos like this:)
@motimo_on_air
@motimo_on_air 3 жыл бұрын
Didn't get how to create Shader Graph for Wall. Does not work.( - implicit truncation of vector type
@awesomegamedev
@awesomegamedev 2 жыл бұрын
Sorry for a long reply. Is it still relevant? If so, can you join the Discord and share a screenshot there.
@gozybercuti4592
@gozybercuti4592 2 жыл бұрын
Great tutorial! Truly amazing, do you mind if i use the source code for project? Kind want to try to port it to phones :)
@awesomegamedev
@awesomegamedev 2 жыл бұрын
Thanks:) Feel free to use! No problem
@wolderado
@wolderado 4 жыл бұрын
This is incredible! Man, game development speedrunning should become a thing. What's your keyboard? I've been looking for something like that for a while
@awesomegamedev
@awesomegamedev 4 жыл бұрын
Thanks:) > game development speedrunning should become a thing It might be a bit tricky (although probably not impossible) to define clear goals/conditions/rules for game dev speedrunning. In any case I hope I can set some world records before it becomes to crowded and competitive. I'll do more videos like this with something cool made in a short time, but likely after a couple of tutorials. Stay tuned (subscribed:) > What's your keyboard? Defender Domino 825 Nano B. But I haven't put much thought into the keyboard yet. And I am actually not very proficient touch-typer, so I have a lot where to grow typing-wise.
@splendidus
@splendidus 4 жыл бұрын
Good job!
@awesomegamedev
@awesomegamedev 4 жыл бұрын
Thanks! This took quite some effort:)
@null21235
@null21235 3 жыл бұрын
you deserve 10000 subs, very polish and skill, how long have you been coding? just curious cause your code is so smooth :D
@awesomegamedev
@awesomegamedev 3 жыл бұрын
Thanks:) > how long have you been coding? About 14 years, although I also had to practise for this specific game (as shown in the video) to be able to create it that fast, without any hiccups. More videos coming ...
@mrxpcookie
@mrxpcookie 4 жыл бұрын
This is very impressive, as simple as it is for under 10 minutes it's probably the most sophisticated game I've seen it might mean nothing from a stranger but good job.
@awesomegamedev
@awesomegamedev 4 жыл бұрын
Thanks for watching and commenting!
@user-ef6tm3ut4r
@user-ef6tm3ut4r 3 жыл бұрын
what a video, u r very underrated, and this needs to be seen by more people, well-done bro.
@awesomegamedev
@awesomegamedev 2 жыл бұрын
Thanks:) And I totally need to make more video like this!
@motimo_on_air
@motimo_on_air 3 жыл бұрын
Can you tell me. Why does Unity opens so slow when hitting Create button of a new project?
@awesomegamedev
@awesomegamedev 2 жыл бұрын
I don't know. Any time you import many files (e.g. assets from Unity Asset Store), Unity takes quite some time to process.
@nurfitririzkiadinda9187
@nurfitririzkiadinda9187 3 жыл бұрын
Hi, i wanna ask why my Sprite Unlit Master and Light 2D doesnt appear?
@awesomegamedev
@awesomegamedev 3 жыл бұрын
Hi! Sorry for a long reply. I can't say for sure, but the problem might be because you haven't set up "2D Renderer", as shown here: kzbin.info/www/bejne/fGbPaamGbpV4rLc (I linked the specific moment, although I recommend to watch the whole tutorial)
@derrdoggle
@derrdoggle 3 жыл бұрын
Can you please make a tutorial
@awesomegamedev
@awesomegamedev Жыл бұрын
Thanks for the request and sorry for a long-long reply. The tutorial would take a ton of effort to put together, so I didn't know what to reply myself. At this point I'm more sure that I'm taking this channel in the direction of a mix of entertainment (Dani) and (hopefully) cool projects (Sebastian Lague). So the tutorial is unlikely to happen, at least in the near future:( In any case, it's been over one year, I hope you could find some nice tutorials by this point. Let me know if you have any questions:)
@derrdoggle
@derrdoggle Жыл бұрын
Don't worry I have moved on at this point.
@Gurpreetsingh-qc6fi
@Gurpreetsingh-qc6fi 3 жыл бұрын
hi, can you help me how to put path finding algorithm c # (Maze in Unity)
@awesomegamedev
@awesomegamedev 2 жыл бұрын
Hi! Thanks for your comment and sorry for a long reply. Is the question still relevant? The pathfinding algorithm is called BFS (Breadth First Search) - you may find it online and feel free to ask me if you have any questions about it:)
@HehasChinese
@HehasChinese 3 жыл бұрын
Hi,in minute 18:12, how did u made that u can´t see through walls and those shapes of light?
@awesomegamedev
@awesomegamedev 3 жыл бұрын
The setup is the same in all variation, but in the case of total darkness I just disabled global light (from 5:40) and set shadow intensity (from 5:46) to 0. No other changes (as far as I can remember). Shapes of light are just done by Unity based on Lights and Shadow-Casters.
@kimobm
@kimobm 3 жыл бұрын
Awesome video and good work :) I tried to do the same project, and it worked !! But there is a problem when replacing the simple line wall you draw with a sprite of a wall : When it comes to the 6 or 7th level, the number of batches increases a lot, and the fps starts to drop ! And even more every next level, as there is more and more instanciated walls and ground. It seems that both Static and Dynamic Batching don't do big difference at this state. Any help would be greatly Welcome :)
@awesomegamedev
@awesomegamedev 3 жыл бұрын
Thanks, glad you liked it:) The simple line (in this case) is still a sprite (it needs to be because of the use of shader graph) so it doesn't make a difference whether it's just a line or another sprite. I also observed big fps drops on bigger levels while working on this video and I tracked it down to shadows. Try removing shadows (Shadow Casters on walls) and everything will become much faster (and the number of batches will decrease drastically). Although I don't have a simple solution for how to maintain shadows and fix performance at the same time.
@kimobm
@kimobm 3 жыл бұрын
@@awesomegamedev Thanks a lot ! Effectively, it worked like a charm ! Unfortunately, that casted angular shadow which moves with the player position was very important and it brings an awesome visual style ! Thanks again for your feedbacks, and gg once again for your video :)
@purefoxcore2848
@purefoxcore2848 2 жыл бұрын
Авито и русская раскладка клавы хммм
@awesomegamedev
@awesomegamedev 2 жыл бұрын
Я сразу понял, что речь о моём ноуте, но мне пришлось перелистать видео, чтобы вспомнить, где я его засветил:)
@maripellecer
@maripellecer 2 жыл бұрын
Hi! Love this game! I was wondering if there's a way to finish the game after 3 randomize mazes
@awesomegamedev
@awesomegamedev 2 жыл бұрын
Yes: add variable to keep the level number (in addition to level width, height and others). Increase it when level finishes and check if it's three. You'll obviously also need to make something to show as an end-screen instead of new level
@maripellecer
@maripellecer 2 жыл бұрын
@@awesomegamedev I'm still a bit new programming, could you please show me how would you code it?
@awesomegamedev
@awesomegamedev 2 жыл бұрын
@@maripellecer Are you comfortable with: variables, conditionals (if/else), functions? You'll likely need to follow some easier beginner tutorials on programming to understand it and write the logic. In order to create an end-screen, I'd suggest to look up (and follow) some Unity UI tutorials. It's a broad topic, but shouldn't be too hard to get started.
@Kowalski2007
@Kowalski2007 4 жыл бұрын
Well done! However, you're using Vector3.Lerp wrong :-D The third parameter is t that should keep increasing to interpolate from A to B. If you use a constant, you end up getting the same value over and over again (unless you move A or B, which should not be done as long as you're lerping)
@ArtisticallyGinger
@ArtisticallyGinger 4 жыл бұрын
I disagree. Sure the leap function can interpolate between 2 values, but its also a fantastic way to get certain distances along a straight line between 2 vectors. I've used plenty to take specific positions out of a set of Vector3s.
@awesomegamedev
@awesomegamedev 4 жыл бұрын
Thanks for the comment > If you use a constant, you end up getting the same value over and over again (unless you move A or B, which should not be done as long as you're lerping) I use Lerp two times and in both times the code is essentially: A = Vector3.Lerp(A, B, t); so in my case 'A' changes 1) First time it's: Player.position = Vector3.Lerp(Player.position, new Vector3(nx, ny), 0.1f); - this slightly moves the player towards the wall, it is only executed during one frame and does exactly the job expected 2) Second time it's: Player.position = Vector3.Lerp(Player.position, new Vector3(x, y), Time.deltaTime * 12); - this produces effect where movement is faster at the beginning (because distance between A and B is large) and slower at the end (which looks nice and is the desired behaviour). Although this line is frame-rate dependent (the ball moves faster with low frames-per-second and correspondingly big Time.deltaTime), so it's not ideal, but it does the job and it's short:)
@awesomegamedev
@awesomegamedev 4 жыл бұрын
​@@ArtisticallyGinger yes! I explained it's usage in my code a bit more in the comment above. Not sure if all people in the thread get notified about new comments.
@marceloio9007
@marceloio9007 4 жыл бұрын
Wow! Very good the didactic continues like this =))
@awesomegamedev
@awesomegamedev 4 жыл бұрын
Yeah, more is coming:)
@RealformStudioXR
@RealformStudioXR 3 жыл бұрын
Can I use your scripts for a 3d maze game?
@awesomegamedev
@awesomegamedev 3 жыл бұрын
Yes, sure! You'll need to make some adjustments like changing input in the Update method and changing the prefab you instantiate as a wall, but it should be mostly good to go
@lushgulati8682
@lushgulati8682 3 жыл бұрын
Really amazing work, I was just wondering if I could get the first version of the code (at 13:32) if possible.
@awesomegamedev
@awesomegamedev 2 жыл бұрын
Sorry for such a long (11 months ...) reply. I was travelling back then. Feel free to ping me if it ever happens again. Here is the first version of the game code: gist.github.com/nns2009/3d05c9a90dfd8d20a09822b586c67fe4?permalink_comment_id=4172402#gistcomment-4172402 It has the maze generation function separate and is overall easier to understand.
@lushgulati8682
@lushgulati8682 2 жыл бұрын
@@awesomegamedev Thank you so much for this:) I understand it a lot better
@awesomegamedev
@awesomegamedev 2 жыл бұрын
You're welcome ☺️
@nooby9001
@nooby9001 3 жыл бұрын
Hipppity Hoppy, your code...is now my property.
@awesomegamedev
@awesomegamedev 3 жыл бұрын
* Dani music intensifies *
@flofdev
@flofdev 2 жыл бұрын
You're german, right xD
@awesomegamedev
@awesomegamedev 2 жыл бұрын
Warum denkst du das? xD
@flofdev
@flofdev 2 жыл бұрын
@@awesomegamedev war nur so ne Vermutung
@awesomegamedev
@awesomegamedev 2 жыл бұрын
@@flofdev Eigentlich bin ich aus Russland, aber lerne ich viele sprachen (Deutsch, Französisch, Spanisch, Japanisch)
@flofdev
@flofdev 2 жыл бұрын
@@awesomegamedev cool krass, ich bin froh wenn ich nur Englisch lernen muss xD
@awesomegamedev
@awesomegamedev 2 жыл бұрын
​@@flofdev In der Schule, lernte ich night gerne Englisch, aber heute macht sprachen lernen mir Spaß. Ich war noch nie in Deutschland, aber denke ich nach dass vielleicht ich dorthin bald gehen sollte für 2-3 Monaten :)
@DivSharp
@DivSharp 3 жыл бұрын
Great Video😄
@awesomegamedev
@awesomegamedev 2 жыл бұрын
Glad you enjoyed it:) Sorry for a long reply
@chenni8759
@chenni8759 3 жыл бұрын
This is so fantastic! Thank you so much!
@awesomegamedev
@awesomegamedev 2 жыл бұрын
Glad you liked it and sorry for a long reply!
@monishvyas2749
@monishvyas2749 3 жыл бұрын
I would love to learn to create random maze generation. Also the video was super fun to watch.
@awesomegamedev
@awesomegamedev 3 жыл бұрын
Thanks:) Let me know if you have any questions
@monishvyas2749
@monishvyas2749 3 жыл бұрын
@@awesomegamedev Sure, I would love if you make a video following up this and explain how to create such random mazes.
@awesomegamedev
@awesomegamedev 3 жыл бұрын
That still seems like a good idea, but likely not in the next few videos: I progressed slower with videos than I wanted (now back to video-work though:) and I expect this specific video will be pretty hard to make. I would like to gain a bit more experience before working on it.
@monishvyas2749
@monishvyas2749 3 жыл бұрын
@@awesomegamedev Sure take your time. Meanwhile if you can please share in the comments how can I make such a maze, I guess many people will be interested to know.
@LardCreep
@LardCreep 2 жыл бұрын
Awesome indeed!!!
@awesomegamedev
@awesomegamedev 2 жыл бұрын
Thanks!!!
@fasgrtdfdf
@fasgrtdfdf 3 жыл бұрын
Amazing!
@awesomegamedev
@awesomegamedev 3 жыл бұрын
Thanks! There was a huge gap in video uploads, but I'm working on the next ones already, so more is coming:)
@NotASpyReally
@NotASpyReally 3 жыл бұрын
Ok so you can write all of this in 8 minutes and _that is very impressive_ but, you had it all planned out beforehand. I mean, the video is really great but not realistic if you think about it.
@awesomegamedev
@awesomegamedev 3 жыл бұрын
It's like speedrunning: planned and practiced. Of course, making a game without preparation takes much longer. Original Brackeys 10-minute game challenge video is also planned.
@laasyapriya8011
@laasyapriya8011 3 жыл бұрын
after how many attempts does the game stop, I have created the game but it is not ending
@awesomegamedev
@awesomegamedev 3 жыл бұрын
It stops when your computer is out of memory or there is a stack overflow:) Otherwise it never stops - it's infinite, one (random) side (width or height) of the maze just increases by one with each completion.
@kurallalaasyapriya9425
@kurallalaasyapriya9425 3 жыл бұрын
@@awesomegamedev is there any chance to rewrite the code and stop the game after some levels
@awesomegamedev
@awesomegamedev 3 жыл бұрын
No need to rewrite. At 11:14 add something like: if (w + h > 40) { YouWin(); } on line 79, but you'll of course have to create method "YouWin" and corresponding User Interface to at least show the player winning message (and maybe some button to restart from the beginning).
@laasyapriya8011
@laasyapriya8011 3 жыл бұрын
@@awesomegamedev I have tried to add a new model but couldn't do add that while I am adding a new scene both screens are coinciding, could you help me on how to create a new model and corresponding UI(scene)
@awesomegamedev
@awesomegamedev 3 жыл бұрын
@@laasyapriya8011 > new model I don't understand. What do you mean here by "model"? 3D-model? If so, you need to check out some 3d-modelling software (like Blender), but how do you want to insert model into this game?
@Mr.SilentOne
@Mr.SilentOne 2 жыл бұрын
How could you make the movement different? Instead of spamming to go in certain directions how would you make it to hold then stop when no longer pressing the key? Anyone figure this out? I been trying to do it for a couple hours now.
@awesomegamedev
@awesomegamedev 2 жыл бұрын
There might be (I don't know) some way to implement "repeating" keys with new Unity Input System, but without it, you'll need some "float timer" variable to keep track of how much time passed since you pressed the key. I write code without testing so there might be mistakes: // If at least something is pressed if (Input.GetKey(KeyCode.Left) || Input.GetKey(KeyCode.Right) ...) { timer += Time.deltaTime; } else { timer = 0; } // Then for specific keys if (timer > 0) { timer -= repeatingInterval; if (Input.GetKey(KeyCode.Left)) { DoWhatYouNeedToDo ... } }
@Mr.SilentOne
@Mr.SilentOne 2 жыл бұрын
@@awesomegamedev Well with my skill level (Which is really low) I could not find a way to get it to work sadly.
@awesomegamedev
@awesomegamedev 2 жыл бұрын
@@Mr.SilentOne Which part doesn't work? What happens?
@Mr.SilentOne
@Mr.SilentOne 2 жыл бұрын
@@awesomegamedev I have been jumping around trying to understand maze generation but it is something that is quite confusing. I do have a question in regards to yours here though. I built a player movement script in order to move within a grid. By any chance do you have this algorithm seperate from the player movement etc?
@awesomegamedev
@awesomegamedev 2 жыл бұрын
@@Mr.SilentOne Can you please clarify the question: what do you mean by "this algorithm"?
I Paid Game Developers on Fiverr to Make Minecraft
11:13
BadGameDev
Рет қаралды 1,7 МЛН
I Made the Same Game in 8 Engines
12:34
Emeral
Рет қаралды 4,1 МЛН
Brawl Stars Edit😈📕
00:15
Kan Andrey
Рет қаралды 57 МЛН
The joker favorite#joker  #shorts
00:15
Untitled Joker
Рет қаралды 30 МЛН
Шок. Никокадо Авокадо похудел на 110 кг
00:44
I Made a 500 IQ Vacuum Cleaner (Devlog)
10:54
Jonas Tyroller
Рет қаралды 279 М.
The Most Impressive Scratch Projects
11:00
DenshiVideo
Рет қаралды 4,9 МЛН
How to Procedurally Generate a Perfect Maze (Unity Tutorial)
22:40
Big Bertha 1k Artillery Outpost Blueprint
17:37
Morpheus
Рет қаралды 1,4 МЛН
I Made a Game with Infinite Levels...
9:47
Sam Hogan
Рет қаралды 7 МЛН
I Made Portal 3 Because Valve Wouldn't
8:53
CodyCantEatThis
Рет қаралды 2,9 МЛН
I Made a Rewindable Game - Brackeys Game Jam 2020.2
13:33
BenBonk
Рет қаралды 266 М.
PROCEDURAL TERRAIN in Unity! - Mesh Generation
13:35
Brackeys
Рет қаралды 607 М.
Starting Development of My Dream Game
14:50
DevDuck
Рет қаралды 895 М.
Why Solo Developers Should Use Unreal
9:51
Thomas Brush
Рет қаралды 386 М.
Brawl Stars Edit😈📕
00:15
Kan Andrey
Рет қаралды 57 МЛН