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

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 พ.ย. 2024

ความคิดเห็น • 165

  • @awesomegamedev
    @awesomegamedev  ปีที่แล้ว +1

    My other videos you might like:
    I made the WORST Game of the Brackeys Jam: th-cam.com/video/Tpeu1-gqA3o/w-d-xo.html
    Easiest Money I Made With Gamedev (without code): th-cam.com/video/b_LUHn8Fd8g/w-d-xo.html
    Coding a simple game in 1 minute: th-cam.com/video/vnYES_fba-M/w-d-xo.html
    Join my Discord: discord.gg/f5XpW3k89v
    for more personal stuff and I don't know why

  • @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  3 ปีที่แล้ว

      Thanks:)
      And I totally need to make more video like this!

  • @Jacob_Ryfen
    @Jacob_Ryfen 4 ปีที่แล้ว +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 ปีที่แล้ว +3

      There will certainly be more, both challenges and tutorials!
      Stay tuned:)

  • @svadba5542
    @svadba5542 4 ปีที่แล้ว +2

    Поздравляю с первым прорывным видео!

    • @awesomegamedev
      @awesomegamedev  4 ปีที่แล้ว

      Спасибо!
      Это первое, которое я запостил на фейсбуке, и это сработало

    • @svadba5542
      @svadba5542 4 ปีที่แล้ว

      @@awesomegamedev Репость вообще везде, куда можешь дотянуться.
      Кстати, вставка со вторым комментатором тоже прикольная, гикам я думаю зайдет.

    • @awesomegamedev
      @awesomegamedev  4 ปีที่แล้ว

      @@svadba5542 Да, у меня целый список куда постить, но я планирую постить последовательно, чтобы более-менее оценить эффект: откуда приходит больше людей, откуда - меньше, что "работает", а что - нет

  • @framex_media
    @framex_media 4 ปีที่แล้ว +2

    Great, thanks for sharing the process!

    • @awesomegamedev
      @awesomegamedev  4 ปีที่แล้ว

      Your welcome
      And thanks for watching!

  • @ThenonoxLoquendero
    @ThenonoxLoquendero 4 ปีที่แล้ว +1

    Great job, I love how the game turned out!

  • @chenni8759
    @chenni8759 3 ปีที่แล้ว

    This is so fantastic! Thank you so much!

    • @awesomegamedev
      @awesomegamedev  3 ปีที่แล้ว +1

      Glad you liked it and sorry for a long reply!

  • @FoxApo
    @FoxApo 4 ปีที่แล้ว +1

    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.

  • @flolu
    @flolu 3 ปีที่แล้ว

    This is incredible!

    • @awesomegamedev
      @awesomegamedev  3 ปีที่แล้ว +1

      Thanks!
      I plan to do more "cool game in Unity in X minutes" a bit later:)

  • @e_a_r_t_h_m_a_n
    @e_a_r_t_h_m_a_n 4 ปีที่แล้ว +1

    Simplicity is great.

  • @LardCreep
    @LardCreep 2 ปีที่แล้ว

    Awesome indeed!!!

  • @marceloio9007
    @marceloio9007 4 ปีที่แล้ว

    Wow! Very good the didactic continues like this =))

  • @vinayakdhyani4676
    @vinayakdhyani4676 3 ปีที่แล้ว +1

    Amazing 🔥

    • @awesomegamedev
      @awesomegamedev  3 ปีที่แล้ว +1

      Thanks 🔥
      I'll do more videos like this:)

  • @monishvyas2749
    @monishvyas2749 3 ปีที่แล้ว

    I would love to learn to create random maze generation. Also the video was super fun to watch.

    • @awesomegamedev
      @awesomegamedev  3 ปีที่แล้ว +1

      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 ปีที่แล้ว +1

      @@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.

  • @algs5483
    @algs5483 4 ปีที่แล้ว +1

    The pun on the title was just great. The game is about mazes. You wrote "maze in Unity"... lollll

    • @awesomegamedev
      @awesomegamedev  4 ปีที่แล้ว +1

      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?

  • @splendidus
    @splendidus 4 ปีที่แล้ว +1

    Good job!

    • @awesomegamedev
      @awesomegamedev  4 ปีที่แล้ว

      Thanks!
      This took quite some effort:)

  • @abduzzami
    @abduzzami 3 ปีที่แล้ว +1

    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  3 ปีที่แล้ว

      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

  • @nooby9001
    @nooby9001 3 ปีที่แล้ว

    Hipppity Hoppy, your code...is now my property.

  • @efeozcelik6464
    @efeozcelik6464 4 ปีที่แล้ว +1

    king

    • @awesomegamedev
      @awesomegamedev  4 ปีที่แล้ว

      Thanks!
      I'll probably also do "chess in X minutes" one day, by the way:)

  • @reek_games
    @reek_games 3 ปีที่แล้ว

    Amazing!

    • @awesomegamedev
      @awesomegamedev  3 ปีที่แล้ว +1

      Thanks!
      There was a huge gap in video uploads, but I'm working on the next ones already, so more is coming:)

  • @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:)

  • @DivSharp
    @DivSharp 3 ปีที่แล้ว

    Great Video😄

    • @awesomegamedev
      @awesomegamedev  3 ปีที่แล้ว

      Glad you enjoyed it:)
      Sorry for a long reply

  • @ahmetozbey3208
    @ahmetozbey3208 3 ปีที่แล้ว +2

    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.

  • @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 ปีที่แล้ว +1

      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 ...

  • @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 ปีที่แล้ว +1

      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 ปีที่แล้ว +2

      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 ปีที่แล้ว +1

      ​@@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.

  • @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 ปีที่แล้ว +2

      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.

  • @mhdk677
    @mhdk677 7 หลายเดือนก่อน

    The Universal Render Pipleine template dosent show in the current unity hub. Is there anything I can use instead of this?

    • @awesomegamedev
      @awesomegamedev  7 หลายเดือนก่อน

      Very strange. It should be there. Maybe it's abbreviated as "URP"?

  • @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 ปีที่แล้ว +1

      I am glad this video impressed you:)
      I constantly got side-tracked from TH-cam, 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.

  • @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

  • @gouthamgaddam3385
    @gouthamgaddam3385 3 ปีที่แล้ว +1

    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 TH-cam tutorials, googling specific question.
      At the moment, Unity's official learning resources and Unity's official TH-cam 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.

  • @HehasChinese
    @HehasChinese 4 ปีที่แล้ว

    Hi,in minute 18:12, how did u made that u can´t see through walls and those shapes of light?

    • @awesomegamedev
      @awesomegamedev  4 ปีที่แล้ว +1

      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.

  • @Octivo_
    @Octivo_ 6 หลายเดือนก่อน

    Can u make an update version of this turorial? Bc it unfortunally doesn't work now

    • @awesomegamedev
      @awesomegamedev  6 หลายเดือนก่อน

      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_ 6 หลายเดือนก่อน

      @@awesomegamedev I can't find the same setting as u have for example I don't havve a cinemachine

    • @Octivo_
      @Octivo_ 6 หลายเดือนก่อน

      @@awesomegamedev I will just try with older version of unity and check if it will work

    • @awesomegamedev
      @awesomegamedev  6 หลายเดือนก่อน

      You need to install Cinemachine from the Package Manager with any version of Unity

    • @Octivo_
      @Octivo_ 6 หลายเดือนก่อน

      @@awesomegamedev I don't think I have it

  • @egertsus
    @egertsus ปีที่แล้ว

    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  6 หลายเดือนก่อน

      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 6 หลายเดือนก่อน

      @@awesomegamedev I don't need it any more. I figured out how to similar game in newer version.
      but thx still

    • @awesomegamedev
      @awesomegamedev  6 หลายเดือนก่อน

      Good!
      I'm glad you figured it out

  • @kimobm
    @kimobm 4 ปีที่แล้ว

    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  4 ปีที่แล้ว +1

      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 4 ปีที่แล้ว

      @@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 :)

  • @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.

  • @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.

  • @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: th-cam.com/video/F5l8vP90EvU/w-d-xo.html (I linked the specific moment, although I recommend to watch the whole tutorial)

  • @Gurpreetsingh-qc6fi
    @Gurpreetsingh-qc6fi 3 ปีที่แล้ว

    hi, can you help me how to put path finding algorithm c # (Maze in Unity)

    • @awesomegamedev
      @awesomegamedev  3 ปีที่แล้ว

      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:)

  • @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 ปีที่แล้ว +1

      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 ☺️

  • @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).

  • @ahmetselim1166
    @ahmetselim1166 4 ปีที่แล้ว +1

    How can I download your Photoshop files

    • @awesomegamedev
      @awesomegamedev  4 ปีที่แล้ว

      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

  • @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 TH-cam 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

  • @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 ปีที่แล้ว +1

      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.

  • @twitchloader5356
    @twitchloader5356 3 ปีที่แล้ว +2

    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 th-cam.com/video/K4uOjb5p3Io/w-d-xo.html (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);

  • @awesomegamedev
    @awesomegamedev  4 ปีที่แล้ว

    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 - th-cam.com/video/uvKG7uki_N8/w-d-xo.html
    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

  • @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

  • @Mr.SilentOne
    @Mr.SilentOne 3 ปีที่แล้ว

    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  3 ปีที่แล้ว

      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 3 ปีที่แล้ว

      @@awesomegamedev Well with my skill level (Which is really low) I could not find a way to get it to work sadly.

    • @awesomegamedev
      @awesomegamedev  3 ปีที่แล้ว

      @@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"?

  • @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.

  • @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?

  • @RealformStudioXR
    @RealformStudioXR 4 ปีที่แล้ว

    Can I use your scripts for a 3d maze game?

    • @awesomegamedev
      @awesomegamedev  4 ปีที่แล้ว

      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

  • @fen4flo
    @fen4flo 2 ปีที่แล้ว

    You're german, right xD

    • @awesomegamedev
      @awesomegamedev  2 ปีที่แล้ว

      Warum denkst du das? xD

    • @fen4flo
      @fen4flo 2 ปีที่แล้ว

      @@awesomegamedev war nur so ne Vermutung

    • @awesomegamedev
      @awesomegamedev  2 ปีที่แล้ว +1

      @@fen4flo Eigentlich bin ich aus Russland, aber lerne ich viele sprachen (Deutsch, Französisch, Spanisch, Japanisch)

    • @fen4flo
      @fen4flo 2 ปีที่แล้ว

      @@awesomegamedev cool krass, ich bin froh wenn ich nur Englisch lernen muss xD

    • @awesomegamedev
      @awesomegamedev  2 ปีที่แล้ว

      ​@@fen4flo 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 :)

  • @purefoxcore2848
    @purefoxcore2848 3 ปีที่แล้ว

    Авито и русская раскладка клавы хммм

    • @awesomegamedev
      @awesomegamedev  3 ปีที่แล้ว +1

      Я сразу понял, что речь о моём ноуте, но мне пришлось перелистать видео, чтобы вспомнить, где я его засветил:)

  • @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 ปีที่แล้ว +1

      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.