I Made a Game in One Line of Code

Поделиться
HTML-код
  • Опубликовано: 31 июл 2024
  • Making a game in a single line of code be like.
    Hire me: www.fiverr.com/n8dev_yt/edit-...
    /// SOCIALS
    ▸ Twitch: / n8dev
    ▸ Patreon: / n8dev
    ▸ Discord: / discord
    ▸ Twitter: / n8dev_yt
    /// GEAR ///
    ▸ Microphone: amzn.to/42mqD6K
    ▸ Laptop: amzn.to/3JTTt7n
    ▸ Mac: amzn.to/3lnTmaF
    ▸ Boom arm: amzn.to/3ljXBUN
    ▸ Monitor: amzn.to/3loAWGD
    ▸ Mouse: amzn.to/3LEkWuT
    ▸ Headphones: amzn.to/40lIl8s
    /// TIMESTAMPS
    ▸ 0:00 Introooooooooo
    ▸ 0:29 My lawyer gets mad at me
    ▸ 0:44 Game idea be like
    ▸ 0:55 Art
    ▸ 1:16 Setting up my script
    ▸ 1:48 Basic game loooooooooooooop
    ▸ 2:13 How this actually works
    ▸ 2:55 More game stuff lol
    ▸ 3:30 Outrooooooooooooooo
  • НаукаНаука

Комментарии • 3 тыс.

  • @n8dev
    @n8dev  3 года назад +4515

    source code :0
    using System.Collections; using UnityEngine; using TMPro; using UnityEngine.SceneManagement; namespace com.N8Dev.Flappy { public sealed class Game : MonoBehaviour { /* PLAYER */ [Header("Player")] [SerializeField] private string PlayerTag = "Player"; [SerializeField] private ParticleSystem PlayerJumpParticles; [SerializeField] private float PlayerJump; [SerializeField] private KeyCode PlayerJumpKey; private Rigidbody2D _playerRigidbody; private bool _isDead; /* PLAYER */ /* SCORE */ [Header("Score")] [SerializeField] private string ScoreTag = "Score"; [SerializeField] private TextMeshProUGUI ScoreText; private int _score; /* SCORE */ /* SPIKES */ [Header("Spikes")] [SerializeField] private string SpikesTag; [SerializeField] private string InstantKillTag = "InstantKill"; [SerializeField] private float SpikeScroll; [SerializeField] private Collider2D SpikeEndCollider; [SerializeField] private Transform SpikeStart; [SerializeField] private float MinY; [SerializeField] private float MaxY; private Rigidbody2D _spikeRigidbody; /* SPIKES */ /* UNITY EVENT METHODS */ private void Awake() { if (gameObject.CompareTag(PlayerTag)) _playerRigidbody = GetComponent(); else if (gameObject.CompareTag(SpikesTag)) _spikeRigidbody = GetComponent(); } private void Update() { if (gameObject.CompareTag(PlayerTag) && Input.GetKeyDown(PlayerJumpKey) && !_isDead) { _playerRigidbody.velocity = new Vector2(_playerRigidbody.velocity.x, PlayerJump); PlayerJumpParticles.Play(); } } private void FixedUpdate() { if (gameObject.CompareTag(SpikesTag)) { _spikeRigidbody.MovePosition(_spikeRigidbody.position - Vector2.right * SpikeScroll); } } private void OnCollisionEnter2D(Collision2D collision) { if (gameObject.CompareTag(PlayerTag)) { if (collision.collider.CompareTag(SpikesTag)) StartCoroutine(Co_Death(0.5f)); else if (collision.collider.CompareTag(InstantKillTag)) StartCoroutine(Co_Death(0f)); } } private void OnTriggerEnter2D(Collider2D collider) { if (gameObject.CompareTag(PlayerTag) && collider.CompareTag(ScoreTag) && !_isDead) { _score++; ScoreText.text = _score.ToString(); } else if (gameObject.CompareTag(SpikesTag) && collider == SpikeEndCollider) { Vector3 __startPosition = SpikeStart.position; __startPosition.y = Random.Range(MinY, MaxY); _spikeRigidbody.position = __startPosition; } } /* UNITY EVENT METHODS */ /* Death */ private IEnumerator Co_Death(float delay) { _isDead = true; yield return new WaitForSeconds(delay); SceneManager.LoadScene(SceneManager.GetActiveScene().buildIndex); } /* Death */ } }

    • @eddie.z
      @eddie.z 3 года назад +496

      oh god

    • @n8programs733
      @n8programs733 3 года назад +491

      that made me die

    • @n8dev
      @n8dev  3 года назад +386

      @@n8programs733 mb

    • @win_ini
      @win_ini 3 года назад +50

      aa

    • @win_ini
      @win_ini 3 года назад +8

      aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

  • @pentaguss3231
    @pentaguss3231 3 года назад +14176

    Unity:
    "error occurrred on line : 1"
    him:
    thank god it tells me

    • @n8dev
      @n8dev  3 года назад +1583

      LOL what a relief

    • @spicywings4614
      @spicywings4614 3 года назад +1125

      tfw the error occurs on line 2

    • @richardbullick7827
      @richardbullick7827 3 года назад +399

      At least “error occurred” shows that there’s an error in the first place

    • @GospodKrompir
      @GospodKrompir 2 года назад +50

      Yeh unity saw 2 lines I guess

    • @yodigochau
      @yodigochau 2 года назад +32

      you don't know unity

  • @AndrewDavidJ
    @AndrewDavidJ 3 года назад +10537

    Wait, you mean people usually write code on more than one line?!?

    • @n8dev
      @n8dev  3 года назад +1017

      LOL

    • @Someoneyeeted
      @Someoneyeeted 3 года назад +801

      No people code in only 1 line like shown in this devlog

    • @n8dev
      @n8dev  3 года назад +564

      ;)

    • @carlosnava1471
      @carlosnava1471 3 года назад +757

      Depends. If it's a simple game, one line is more than enough, but for more serious projects you might want more cocaine that that.

    • @AndrewDavidJ
      @AndrewDavidJ 3 года назад +88

      @@notrohit No no, not woosh, read what he said again :P Specifically the end part lol

  • @ATSM_33
    @ATSM_33 2 года назад +1386

    As a coding enthusiast myself, I would actually like to hear about the pain this must've given you, scrolling through the Great Wall of China's code.

    • @n8dev
      @n8dev  2 года назад +113

      LMAO glad you can relate

    • @dinoavenger
      @dinoavenger Год назад +7

      Did you meant line?

    • @ATSM_33
      @ATSM_33 Год назад +24

      @@dinoavenger I was making an exaggeration because it's an entirety of a program's code in a single line, hence the expression "Great Wall of China", since the GWoC is f*cking huge to my knowledge.
      If you were just asking if I was exaggerating in the first place, then I'm sorry for possibly making this sound like I was calling you an idiot or... something like that. I don't mean any offense.

    • @deletodraw1944
      @deletodraw1944 Год назад +10

      Basically imagine this: Your latest english essay, except shorten the paragraphs to one line. good luck reading all that to find your error.

    • @ChinchillaBONK
      @ChinchillaBONK Год назад +8

      Great Line of Code

  • @TheMartyredextras
    @TheMartyredextras Год назад +61

    I had a professor who told me he once had a blind student who would write their code and then have a text reader read it to them to debug. The result was, they had no reason to properly space code so they'd just write it all on one line

    • @n8dev
      @n8dev  Год назад +15

      That's actually really interesting

    • @TheMartyredextras
      @TheMartyredextras Год назад +10

      @@n8dev I have no idea whether it was true. The guy was a creep. But it is an interesting story

    • @user-rx2oc5tl3u
      @user-rx2oc5tl3u Год назад +1

      @@TheMartyredextras why was he a creep?

    • @TheMartyredextras
      @TheMartyredextras Год назад +2

      @@user-rx2oc5tl3u long story

    • @thinkingspace3438
      @thinkingspace3438 Год назад +7

      no python i guess

  • @thatotherandrew_
    @thatotherandrew_ 3 года назад +3699

    I like how half the shots are of your project, and the other half is completely random stuff

  • @forshovelry2705
    @forshovelry2705 3 года назад +4241

    Gotta love how he is lightly stroking random keys rather than typing xD

    • @n8dev
      @n8dev  3 года назад +283

      LOL yes

    • @EsquisseBeats
      @EsquisseBeats 3 года назад +209

      I still don’t understand what’s happening in those shot

    • @n8dev
      @n8dev  3 года назад +224

      @@EsquisseBeats same

    • @artelislt
      @artelislt 3 года назад +35

      @@n8dev same

    • @Cyorg13
      @Cyorg13 3 года назад +26

      @@n8dev same

  • @emberkeil6513
    @emberkeil6513 2 года назад +123

    You know what's crazy? When he showed the little guy without the spikes jumping up and down, my mind still genuinely thought it was moving forward, even though there was nothing moving to the left to signify that, the fact that Flappy Bird had such a big effect on my brain that a small character jumping up and down tells my brain it's also moving right is insane to me

    • @emberkeil6513
      @emberkeil6513 2 года назад +16

      It's like a reverse optical illusion

    • @n8dev
      @n8dev  2 года назад +8

      Yeah fr

    • @wiwita63
      @wiwita63 Год назад +6

      I think it's also the eyes of the character, the lines on the triangle are facing right so you've think if it was moving then it's obviously moving to the right and not to the left.

  • @-TheFacelessGamer-
    @-TheFacelessGamer- 3 года назад +90

    I'm looking at those food scenes and I was asking myself if there was a deeper meaning behind them. Nope. I'm pretty sure N8Dev was hungry while editing and wanted us to see what he was cooking up.

    • @n8dev
      @n8dev  3 года назад +25

      correct, the food was very good :D

    • @marsopolisnoice
      @marsopolisnoice 2 года назад +1

      @@n8dev I fear nothing, but that thing
      That thing:
      It scares me

  • @Makeroni100
    @Makeroni100 3 года назад +936

    Friend: hey want to join me on making a game?
    Me: sure, how much do you have done?
    Friend: oh not much, only one script
    The script:

  • @NickMirambeau
    @NickMirambeau 3 года назад +600

    I like how to-the-point this was. he literally just went "yea I did it, here's the thing I made, k bye"

    • @n8dev
      @n8dev  3 года назад +37

      thanks :)

    • @D4ngrs
      @D4ngrs Год назад

      well, plus any random clips inbetween. Not a fan of seeing dogs, food and "fake typing" on a video about coding :D

  • @nodvick
    @nodvick 3 года назад +41

    0:12 yes but a "line of code" is specifically defined. Hop into your visual studio and you can actually do a quick diag and it will tell you how many lines it is, ignoring whitespace.

    • @n8dev
      @n8dev  3 года назад +16

      yup; I figured everyone would interpretate “one line” as “one straight line of code”, but I see that’s not the case :D

  • @MsChestnutter1
    @MsChestnutter1 3 года назад +20

    2:55 I play basketball a lot and I can confirm that white circles do emit from your feet when you jump

    • @n8dev
      @n8dev  3 года назад +1

      LOL good to know

  • @theemeraldfalcon9184
    @theemeraldfalcon9184 3 года назад +1542

    The fact that you didn't call it Flyangle hurts my soul lol.

    • @n8dev
      @n8dev  3 года назад +190

      sorryyyyyyyyyyy haha

    • @zurabtsereteli6947
      @zurabtsereteli6947 3 года назад +42

      Tryangle Flyangle

    • @Wuddigot
      @Wuddigot 3 года назад +24

      Man thats way better than High-Velocity Farting Triangle. Hire him not me. lol

    • @olegmoki
      @olegmoki 2 года назад +4

      Flappy and Triangle can be either Flyangle, or Trippy.... oh wait

    • @noeticsparrow6381
      @noeticsparrow6381 2 года назад +1

      lol i vote for Flyangle lmao

  • @isto_inc
    @isto_inc 3 года назад +835

    We were too busy asking if we could, we never stopped to ask if we should.

  • @rossjennings4755
    @rossjennings4755 Год назад +26

    I'm impressed that you actually kept this as one line the entire time, rather than writing it normally and then just deleting all the newlines at the end.

  • @EraWaffles
    @EraWaffles Год назад +18

    This was really fun to watch, I'd love to see more of your coding adventures

  • @rubenuijtde
    @rubenuijtde 3 года назад +212

    The title: Making a game
    The video: Making food
    im hungry.

  • @HenryNWhite-zp5zp
    @HenryNWhite-zp5zp 3 года назад +1595

    "I'm not a good artist" proceeds to make really beautiful art that i vould never get even close

    • @n8dev
      @n8dev  3 года назад +149

      haha thank you

    • @yourfellowgamer487
      @yourfellowgamer487 3 года назад +23

      lol when making a game I usually get NO INSPIRATION (0:50) other people's artwork, but anyways I made art from his assets. (I didn't directly copy it, I just had a flame in my heart too use the same concept as him)

    • @CreatorLikeMaster
      @CreatorLikeMaster 2 года назад +5

      I wouldn't get close either.

    • @HuneeBruh
      @HuneeBruh Год назад +13

      they're literally just triangles lmao

    • @pipcabrap
      @pipcabrap Год назад +4

      ITS A TRIANGLE

  • @hijijij
    @hijijij Год назад +5

    n8dev: “But you probably don’t care, so moving on.”
    Most true AND funniest youtuber😂😂

  • @telnobynoyator_6183
    @telnobynoyator_6183 3 года назад +19

    - program game normally
    - find and replace new lines with empty strings
    done.
    A better challenge would be to create a game with just one statement. While not trivial it should definitely be possible.

    • @n8dev
      @n8dev  3 года назад +2

      yup! maybe I’ll try that in the future ;)

    • @splitpierre
      @splitpierre Год назад

      my thoughts exactly. I'm on board, one statement can be indeed a fun challenge..

    • @CL4K.
      @CL4K. Год назад

      Giant string of else else else else maybe? I think that'd be a funny one.

  • @aptrock327
    @aptrock327 3 года назад +416

    "everyone knows that when you jump white particles come out of your feet"
    literally died out of laughter

    • @n8dev
      @n8dev  3 года назад +29

      haha love that

    • @hexagon8899
      @hexagon8899 3 года назад +4

      you sound sarcastic

    • @aptrock327
      @aptrock327 3 года назад +3

      @@hexagon8899 really lol?

    • @hexagon8899
      @hexagon8899 3 года назад +3

      @@aptrock327 yea isnt sarcasm meant to be when something is false?

    • @randomlightstand
      @randomlightstand 3 года назад +2

      @@hexagon8899 yes

  • @ViewoPlays
    @ViewoPlays Год назад

    The amount of people you replied to is impressive, very genuine good job

  • @Yanzinator
    @Yanzinator 2 года назад +8

    the worst part is that since its one line of code with no documentation, it is impossible to and will never be updated

    • @n8dev
      @n8dev  2 года назад +1

      Facts

  • @oyjuk9192
    @oyjuk9192 3 года назад +407

    If a line of code gives you 4 minutes, imagine with the hundreds that a normal game has

    • @n8dev
      @n8dev  3 года назад +69

      LOL yeah, generally I like to keep my videos around 6 or 7 minutes; I just didn't want to spend more time than I needed talking about this ;)

    • @OrgBrent
      @OrgBrent 3 года назад +13

      Working on a console based cinema application together with my project team in C# for university. Got over 600 hours total, nearing the finish of the project.

    • @EdKolis
      @EdKolis 2 года назад +3

      If I hadn't recently started using Unity, I would have said, "Hundreds? Surely a 'normal' game has at least 10,000!" Why did I not start using Unity sooner?!

  • @coolfilms3213
    @coolfilms3213 3 года назад +113

    I love how you randomly edit in scenes of you getting cereal and playing with your dog

    • @n8dev
      @n8dev  3 года назад +13

      haha thank you

  • @TonsOfHunStudios
    @TonsOfHunStudios 3 года назад +1

    Mad props to you for sticking through with it, I would have given up as soon as I had to scroll horizontally xD Very interesting video idea and the game looks really nice!

    • @n8dev
      @n8dev  3 года назад +1

      haha thank you

  • @GreenCrewmate
    @GreenCrewmate 3 года назад +2

    I subbed just because of how brief and clean the editing is

    • @n8dev
      @n8dev  3 года назад

      we love that :D

  • @higgsboson8103
    @higgsboson8103 3 года назад +77

    "Did you do it"
    "Yes"
    "What did it cost? "
    "My sanity'

    • @n8dev
      @n8dev  3 года назад +4

      LOL yeah

  • @thelegend8570
    @thelegend8570 3 года назад +28

    As a person who uses two if statements instead of just one long one, this hurts my soul.

    • @n8dev
      @n8dev  3 года назад +1

      LOL sorry

  • @alexruedi1995
    @alexruedi1995 Год назад +2

    those collisions are really nice :) great job

  • @scratcher-random-clips7434
    @scratcher-random-clips7434 2 года назад +1

    Bro your way to Underated. Very good video and Editing

    • @n8dev
      @n8dev  2 года назад

      🙏

  • @PowerOnYT
    @PowerOnYT 3 года назад +67

    1:16 with all of the art finished, i figured it was time for me to eat breakfast

    • @n8dev
      @n8dev  3 года назад +5

      LOL

    • @olegmoki
      @olegmoki 2 года назад +1

      i figured it was time for me to start co -ding- oking

  • @legends389
    @legends389 3 года назад +9

    Awesome =D
    I just love the "AASDEE" keyboard footage you use on all of your vids lol

    • @n8dev
      @n8dev  3 года назад +1

      LOL thanks :D

  • @Mario-xb2fs
    @Mario-xb2fs 3 года назад +2

    The editing, voice over and the video overall is so great that I thought you had hundreds of thousands of subscribers. You have a new one tho ;)

    • @n8dev
      @n8dev  3 года назад

      thanks!

    • @fly7188
      @fly7188 Год назад

      he could have wrote it normally, then backspaced the lines js

  • @samanthak.2706
    @samanthak.2706 3 года назад +1

    this was a nice video!! also plus points for the doggo c:

    • @n8dev
      @n8dev  3 года назад

      haha thank you

  • @GoobyDev
    @GoobyDev 3 года назад +15

    Thanks for the recommended youtube, now i get to enjoy this cursed content

    • @n8dev
      @n8dev  3 года назад +1

      haha yes that's awesome

  • @lukebarger9788
    @lukebarger9788 2 года назад +3

    You wanted to get the eggs in the video because you knew they looked real tasty, and you had no other way of showing that fine art to everybody else. So you snuck it in there. RESPECT EARNED!!! And a sub!

    • @n8dev
      @n8dev  2 года назад

      🥳🥳🥳

  • @huntdjordan9929
    @huntdjordan9929 Год назад +1

    I love how you randomly add videos of your dog 😂 so cute btw

  • @thespeedyyoshi
    @thespeedyyoshi 2 года назад +1

    Hecka professional editing ^w^ Love the random B-roll at times to break up the video just a bit.

  • @AndreiNYK
    @AndreiNYK 3 года назад +5

    You deserve more than 900 subscribers, 900k should do fine! YOU'RE AWSOME!!!!

    • @n8dev
      @n8dev  3 года назад +2

      thanks so much :D

  • @JassChess
    @JassChess 3 года назад +10

    Got this in my recommendation, not disappointed🙃

    • @n8dev
      @n8dev  3 года назад

      thanks :D

  • @PomPiDoum
    @PomPiDoum 3 года назад +1

    Great video. Love the foods transitions :)

    • @n8dev
      @n8dev  3 года назад

      thanks :D

  • @amoguslover6937
    @amoguslover6937 3 года назад

    small creators are often appearing on my recommended recently, and i aint complaining

  • @iandoesallthethings
    @iandoesallthethings Год назад +4

    Fun fact, compilers (including JIT compilers for interpreted languages like Javascript) already condense code to 1 line!
    So really, the entire front end of RUclips is probably only 1 line of code too.

  • @Marloobie
    @Marloobie 3 года назад +3

    Amazing that I've seen you reply to almost every comment I've seen. Also great work on the video. I may try and get into coding just so I can do something similar as a gag.

    • @n8dev
      @n8dev  3 года назад

      thanks! I would definitely try and learn programming, it’s opened up a ton of doors for me :)

  • @sammy_sand_utubeyt6901
    @sammy_sand_utubeyt6901 Год назад

    New sub, great video, nice color palette!

  • @painmandrake6360
    @painmandrake6360 Год назад +1

    Oh I love that this popped out in my recommendations

    • @n8dev
      @n8dev  Год назад

      I'm glad it did too

  • @mmh5419
    @mmh5419 Год назад +3

    Back in high school a teacher was talking about how inefficient my project was due its (aprox) 1500 lines of code it had. I made some jokes about deleting all the spaces between each one with friends but never image someone would actually do it. Congrats for your super efficient game 🤘👍

    • @n8dev
      @n8dev  Год назад

      Lmaooo thank you

  • @aw1lt
    @aw1lt 3 года назад +7

    i am excited to see this

    • @n8dev
      @n8dev  3 года назад

      awesomeeeee

  • @Killer-44
    @Killer-44 Год назад

    Damn Bro I know im a year late but this vid is awesome! Love the quick IRL shots so now and then (doggo looks very cute) great vid! Earned that sub!

  • @badgerfish7
    @badgerfish7 Год назад +1

    Man these images are actually really nice looking

  • @Themasterofkeys.
    @Themasterofkeys. 2 года назад +5

    2:27 "because the player oveesly is not a spike"
    That looks like a spike to me......

    • @n8dev
      @n8dev  2 года назад

      Triangle != spike 🥲

  • @BootifulBlaze
    @BootifulBlaze 2 года назад +4

    1:15 thats my favorite cereal lol
    idk why im talking about the cereal and not the actual video lol, but good job

  • @smuliis3688
    @smuliis3688 2 года назад +2

    The length of the video is a neat detail

    • @n8dev
      @n8dev  2 года назад

      100% intentional

  • @RehanPlayzYT
    @RehanPlayzYT Год назад +2

    Love the art style lmao

  • @creationgamers
    @creationgamers 3 года назад +5

    I saw this 1000 times but still find it funny

    • @n8dev
      @n8dev  3 года назад +1

      haha love that

  • @EdKolis
    @EdKolis 2 года назад +5

    You could make the game harder as you progress by making the top spike and bottom spike closer together, or by making the spikes appear more frequently, or making them move faster. But that might require another line of code! 😉

    • @n8dev
      @n8dev  2 года назад

      Lmaooo right

  • @trappist-1d587
    @trappist-1d587 Год назад +2

    He successfully makes a game in one line of code, really good, aestetically awesome and in almost no time.
    In the meantime, I am stuck because I forgot to add a letter in one of 283662727 lines of code after working for that for 56 years and with the aesthetic resembeling a game made using 2 pixels...

  • @EnzoHB
    @EnzoHB 3 года назад +2

    Awesome channel!!!

    • @n8dev
      @n8dev  3 года назад

      thank you :D

  • @fennecfugames
    @fennecfugames 3 года назад +3

    Yo these game dev challenges are getting out of control 🤣 Nice flappy bir- I mean, jumping triangle ;)

    • @n8dev
      @n8dev  3 года назад +1

      LOL thanks ;)

  • @richardbullick7827
    @richardbullick7827 3 года назад +22

    “Chapters” thing:
    0:00 Introooooooooo
    0:29 My lawyer gets mad at me
    0:44 Game idea be like
    0:55 Art
    1:16 Setting up my script
    1:48 Basic game loooooooooooooop
    2:13 How this actually works
    2:55 More game stuff lol
    3:30 Outrooooooooooooooo

    • @n8dev
      @n8dev  3 года назад +4

      yuppp

  • @Nerd0.09
    @Nerd0.09 2 года назад +1

    Your such a underrated RUclipsr trust me you are going to hav millions of subs soon!!!+1sub

    • @n8dev
      @n8dev  2 года назад +1

      🙏🙏🙏

  • @GrahamOfLegend
    @GrahamOfLegend Год назад

    This is a hilarious nightmare 😂😂. Thanks for making this video so I didn't have to lmao

    • @n8dev
      @n8dev  Год назад

      Lmaooo thank you

  • @TheCaptainMoo
    @TheCaptainMoo 3 года назад +5

    Ohohoh yes, I can't wait

  • @daheergt8874
    @daheergt8874 3 года назад +3

    lol how the code will look like

    • @n8dev
      @n8dev  3 года назад

      one massive line ;)

  • @croixwin
    @croixwin 3 года назад +2

    This video is next level!

    • @n8dev
      @n8dev  3 года назад

      thanks!

  • @glegandre
    @glegandre Год назад +1

    my humor is broken I laughed so much at the white particles joke 😂

  • @TylerGreen
    @TylerGreen 3 года назад +27

    That lawyer’s Aussie accent got to me lol. I wonder how far you could take it with one line of code. Although like you said, I guess technically this game does have more than 1 line of code if you include game engine base code, Post Processing, etc lol. Cool idea though! Can you remake Skyrim in one line of code??

    • @n8dev
      @n8dev  3 года назад +3

      LOL thanks haha, we’ll see about skyrim 👀

    • @nathansnail
      @nathansnail 3 года назад +1

      Skyrim has multiple objects all with their own code and the game needs one manager object to do everything so it would be even more of a nightmare making more complex behaviours such as pathfinding. You could probably merge an open source engines code with your games making it truly 1 line.

    • @n8dev
      @n8dev  3 года назад

      @@nathansnail oh goodness haha, that could be fun (painful). I really appreciate you taking the time to give feedback :)

    • @TylerGreen
      @TylerGreen 3 года назад +1

      @@nathansnail haha I was clearly joking by suggesting Skyrim but I like where this is going!

  • @AlbanianGladiator
    @AlbanianGladiator 3 года назад +8

    me when he hits 10M:Only OG’s will remember

  • @HarnaiDigital
    @HarnaiDigital 3 года назад +1

    Just clicked due to the beautiful Thumbnail and Spectacular video. You have used a Super Attractive colour palate. Keep up the Good work.

    • @n8dev
      @n8dev  3 года назад +1

      thanks so much :D

  • @ailuromantic
    @ailuromantic Год назад +1

    im a big fan of the random shots of u making urself breakfast

  • @gholesoul5810
    @gholesoul5810 3 года назад +4

    0:45 flexing nails or something? KEKW

  • @naseemgharibi
    @naseemgharibi 3 года назад +6

    damn man this game looks cool!, for real upload it on steam or whatever and let's play it

    • @n8dev
      @n8dev  3 года назад +2

      haha thank you; this game is not good enough for steam though ;)

  • @SinanAkkoyun
    @SinanAkkoyun 3 года назад +1

    Bro, thats a sub from me for that clarification at the beginning with unity, we have a hero here!!!

    • @n8dev
      @n8dev  3 года назад +1

      thank you so much :D

  • @champion_991
    @champion_991 2 года назад +2

    This video is getting recommended like crazy. Nice job.

  • @saftigebadewanne5650
    @saftigebadewanne5650 3 года назад +4

    Although I only code VERY simple stuff I can feel the pain!

  • @auxencefromont1989
    @auxencefromont1989 3 года назад +11

    The real fun start when you do one liners in python

    • @n8dev
      @n8dev  3 года назад +1

      haha yeah

    • @EmergencyTemporalShift
      @EmergencyTemporalShift 3 года назад +2

      Waaaaait.

    • @auxencefromont1989
      @auxencefromont1989 3 года назад +3

      You can make a loop with a recursive function, there is an inline if and you can store variables as parameters of the function, so its kind of doable

  • @loopy2140
    @loopy2140 Год назад +2

    this is the best clickbait ive ever seen, we all needed it

  • @Anonymous-zp4hb
    @Anonymous-zp4hb Год назад

    Blinking animation is nice and easy especially when your player's eyes are just straight monochrome lines.
    That tiny detail adds so much character imo.

  • @c0dertang
    @c0dertang 3 года назад +3

    When you get that "Error on line 1" message... You should host a 1 line game jam!

    • @n8dev
      @n8dev  3 года назад +1

      LOL I like that idea :D

    • @Niki1A_
      @Niki1A_ 3 года назад +2

      People will probably just code everything in one script normally and delete the new-lines in the end. I was actually very surprised that you didn't do that and really developed everything within one line.

    • @c0dertang
      @c0dertang 3 года назад

      @@Niki1A_ I didn't even think about that. Wow. That's smart.

  • @dl5498
    @dl5498 3 года назад +8

    0:55 why is this here

    • @n8dev
      @n8dev  3 года назад +3

      :o

  • @ThinkDad
    @ThinkDad 11 месяцев назад

    The force is strong with this one

  • @turbojax07
    @turbojax07 Год назад +1

    Anger every programmer every any% speedrun.
    Honestly though, great video! The debugging must have been worse than in apps script though...

  • @proloycodes
    @proloycodes 3 года назад +4

    3:52
    captions: "like if you dislike"
    😂😂

    • @n8dev
      @n8dev  3 года назад +2

      well that’s actually what I said haha

    • @proloycodes
      @proloycodes 3 года назад

      @@n8dev oh nvm😅

  • @zarifahmed5192
    @zarifahmed5192 2 года назад +4

    The funny thing is yandere dev is basically doing this exact thing for the student ID system 2:31

    • @n8dev
      @n8dev  2 года назад

      💀💀💀💀

  • @InternetThings
    @InternetThings 3 года назад +1

    Great video 👌

    • @n8dev
      @n8dev  3 года назад

      thanks :D

  • @The_EmployeesYT
    @The_EmployeesYT Год назад

    This guys a mad lad wth 😭💀🙏🏾

  • @teamcyeborg
    @teamcyeborg Год назад +3

    This is a terrible idea and I love it. Very interesting decision to make art before the game itself, heh.

    • @n8dev
      @n8dev  Год назад

      Lmaooo thank you

  • @KeidonKelley
    @KeidonKelley 3 года назад +3

    Cool! The only problem I had with this is that you didn't juggle three Rubik's cubes in one hand solving them while also typing 250 words per minute with your feet and coding all of this in under an hour typing with one hand.
    You know other than that this was amazing!

    • @KeidonKelley
      @KeidonKelley 3 года назад +1

      wait who said he didn't do all of this stuff?!

    • @n8dev
      @n8dev  3 года назад

      LOL thank you haha

    • @KeidonKelley
      @KeidonKelley 3 года назад +1

      @@n8dev Wow thanks for answering so fast, that usually doesn't happen, I like your content!

    • @n8dev
      @n8dev  3 года назад

      thanks :D I try to reply to everyone haha

    • @KeidonKelley
      @KeidonKelley 3 года назад +1

      @@n8dev Well that's good!

  • @MiraiMindz
    @MiraiMindz 3 года назад +1

    waiting to this channel become mainstream, lol good content bro

    • @n8dev
      @n8dev  3 года назад

      thank you :D

  • @darkAwesome100
    @darkAwesome100 2 года назад +1

    I did this once in my programming course and my professor said he wasn't even going to dignify that with a response

    • @n8dev
      @n8dev  2 года назад

      LMAO

  • @mitozzz9611
    @mitozzz9611 3 года назад +6

    YandereDev: **laughs in 170+ lines for a fucking clock**

    • @n8dev
      @n8dev  3 года назад +1

      LOL

    • @SoleiLilyn
      @SoleiLilyn 3 года назад

      this is why modules exist yandev!

    • @pudding2675
      @pudding2675 3 года назад

      I swear, at some point he just asked himself, sleepdeprived at 4:50am: So, how many if statements can I actually nest and get away with?

  • @jkking3213
    @jkking3213 3 года назад +6

    ctrl + s moment: 3:28

    • @n8dev
      @n8dev  3 года назад

      oh yes

  • @oeo.2024
    @oeo.2024 2 года назад +1

    You're insane N8

  • @unstablesoup3543
    @unstablesoup3543 3 года назад +1

    Thank you RUclips recommendation gods

    • @n8dev
      @n8dev  3 года назад

      yessss we love that

  • @_MrNoob
    @_MrNoob 3 года назад +3

    N8, i DARE you to make a game in 0 lines of code.

  • @rogancliphub
    @rogancliphub 3 года назад +3

    such a great video, this also blew up

    • @n8dev
      @n8dev  3 года назад

      yesssss thanks :D

  • @klism
    @klism 3 года назад +2

    this is awesome

    • @n8dev
      @n8dev  3 года назад

      thanks :D

  • @leobozkir5425
    @leobozkir5425 3 года назад +1

    This channel gonna blow up soon I'm telling you

    • @n8dev
      @n8dev  3 года назад

      thanks :D