Almost Died from Heat Stroke but Figured out How Doom Renders Floors After 3 Days

Sdílet
Vložit
  • čas přidán 23. 07. 2024
  • Streamed Live on Twitch: / tsoding
    Enable Subtitles for Twitch Chat
    More Episodes: • Raycasting in TypeScript
    Chapters:
    - 0:00:00 - Day 1
    - 1:53:11 - Day 2
    - 3:47:49 - Day 3
    - 5:32:54 - Footnotes
    References:
    - Source Code: github.com/tsoding/raycasting
    - Original Rogue: github.com/Davidslv/rogue
    - My Game in Ada: github.com/tsoding/eepers
    - My Game in Ada on Itch: tsoding.itch.io/eepers
    Support:
    - BTC: bc1qj820dmeazpeq5pjn89mlh9lhws7ghs9v34x9v9
    - Pay for my VPS: zap-hosting.com/en/shop/donat...
  • Věda a technologie

Komentáře • 59

  • @Mozartenhimer
    @Mozartenhimer Před 24 dny +37

    "I don't want to post a five hour video to CZcams, no one is going to watch that." - tsoding at 3:47:26
    Hi!

  • @marcsfeh
    @marcsfeh Před 26 dny +68

    zozin is cooked (literally)

    • @TECHN01200
      @TECHN01200 Před 24 dny

      Not far from Borat's country.

  • @everlyy
    @everlyy Před 24 dny +7

    really glad you decided to upload it all, might be a long video but it's really interesting and inspiring to see your entire thought process and how you explain and walk through the problem!

  • @afterschool2594
    @afterschool2594 Před 25 dny +4

    Finally Typescript Coding (Tsoding) first time I saw ur channel thought it was about Typescript, glad that it's not. Not joining the twitch stream since the beginning of this month due to last semester test.
    ADDITION
    I think this is the first time I saw you find difficulties.

  • @atxorsatti
    @atxorsatti Před 26 dny +11

    Tune in for ep3 of mr zozin talking walkign with its c voice and typescript

  • @XORfun
    @XORfun Před 25 dny +5

    5 hours+ ! Thank you my friend ❤

  • @noctavel
    @noctavel Před 25 dny +6

    5:13:35 when the recreational programming session starts having a recreational session with mr azozin

  • @hanshh3532
    @hanshh3532 Před 21 dnem +1

    I watched the whole video in 4 days or so. Thank you for your enthusiasm. It's super interesting.
    Now the next video! :)

  • @bigmiraclewhips
    @bigmiraclewhips Před 22 dny +2

    thank you mr zozin for uploading the 5 hour long video to youtube

  • @NoneNone-ly6xz
    @NoneNone-ly6xz Před 24 dny

    Great vid. I actually watched the whole thing. ❤

  • @iampointless
    @iampointless Před 26 dny +20

    Крута

  • @CHEL0VEK100
    @CHEL0VEK100 Před 26 dny +2

    good job zozin. it was really interesting!

  • @pyajudeme9245
    @pyajudeme9245 Před 26 dny +1

    Awesome! I will watch that tonight!

  • @yooyo3d
    @yooyo3d Před 25 dny +9

    Rotate floor and ceil textures in off screen context to match player rotation. Then use fillrect with rotated textures. This will speedup things a lot because you wont fetch pixles from slow js code.
    Another option is to precompute floor and ceil using ray tracing and build LUT with x,y coordinates. Later, just read LUT and read again from texture. This is slower because you are fetching pixels from JS.

  • @RuiVarela
    @RuiVarela Před 24 dny

    Great video!

  • @StevenMartinGuitar
    @StevenMartinGuitar Před 21 dnem

    5hrs, fuck yeah. I watched it all. Seeing the struggle and overcoming it, figuring out the problem, that's what it's all about.

  • @gkraker04
    @gkraker04 Před dnem

    thanks for the footnote

  • @leokud
    @leokud Před 25 dny +6

    Dungeon master

  • @Grave1001
    @Grave1001 Před 25 dny

    Tsodin leaving 1% of entertaining non-gamedev IT bloggers :)

  • @anilgr1111
    @anilgr1111 Před 18 dny

    5:37:11 I still dont get this, Is that divide by NCP is to adjust the b' to that of NCP = 1.0 i.e ( b' * (1/NCP) ), so that it gives proper perspective ?

  • @iambasantarai
    @iambasantarai Před 26 dny

    watching mr. zozin is leveling up your skills

  • @DemidCode
    @DemidCode Před 26 dny

    nice progress :)

  • @l00k210
    @l00k210 Před 25 dny

    24:29 what about hot reloading or at least auto page refresh? It is really useful

  • @Alfred-Neuman
    @Alfred-Neuman Před 25 dny +2

    21:37 What "SHGA" means?
    I don't know what it means but on the web page where you downloaded these textures (18:56) you can find some clues:
    'The heightmap is in the green channel of the files with "_shga.png" at the end'
    😄

  • @lengors7327
    @lengors7327 Před 21 dnem

    44:52 you could still use get as a function name. it's just the editor highlights no matter what. But it's still valid to name a function get

  • @ronp6108
    @ronp6108 Před 25 dny +2

    3:47:27 have no fear we'll watch it 😂

  • @lucyper8921
    @lucyper8921 Před 25 dny +2

    2:05:58 I don't understand what the -uck is going on, but I still watch (even tho I program)

  • @dkaaakd
    @dkaaakd Před 25 dny +1

    The math would be much more simple (no square roots for taking length multiple times, just multiplications and divisions), if you take into account that it is enough to look on orthogonal projection on yz plane (in terms of the drawing).
    Should be much easier if you write everything in terms of projective geometry.

  • @nyyakko
    @nyyakko Před 25 dny

    Pog

  • @greidinger-reis
    @greidinger-reis Před 18 dny

    1:19:15 famous last words

  • @RandomGeometryDashStuff

    02:03:26 looks strange because content of image strips are rendered high resolution

  • @klevisimeri607
    @klevisimeri607 Před 26 dny

    👍

  • @SwedishviKingohnoes
    @SwedishviKingohnoes Před 25 dny

    hol up let him cook

  • @TECHN01200
    @TECHN01200 Před 25 dny +8

    Me: "Oh, cool, another Zozin' VOD"
    *Looks at timestamp*
    Also Me: "WTF? This is a 5 hour video. Guess I'm watching this tomorrow!"

  • @Kitulous
    @Kitulous Před 25 dny

    4:46:21 bro has been programming in c for 50 years and didn't even think to try out the same syntax in another language

  • @rmnilin
    @rmnilin Před 25 dny +1

    Warning! Stream was unofficial!

    • @juan_cb3357
      @juan_cb3357 Před 24 dny +1

      Wat

    • @rmnilin
      @rmnilin Před 24 dny +1

      @@juan_cb3357 I just miss the good old days when the streams always started officially.

  • @zamnnnnnn
    @zamnnnnnn Před 24 dny

    8:14 рогУе)

  • @matthias916
    @matthias916 Před 24 dny +1

    3:47:27 id watch it

  • @RandomGeometryDashStuff

    44:46 "get"(){

  • @ATAG-yn5pd
    @ATAG-yn5pd Před 25 dny +4

    Heat stroke requires brain and heat, at the same time and position... Sure you were safe 😜

  • @andresconrado
    @andresconrado Před 15 dny

    Or maybe the professors wanted time and space to do the sort of things they like, far from the industry, like you, but I get your point

  • @siupa23
    @siupa23 Před 18 dny

    Now imagine, that Cormac and Romero figure this out all on there own in 90's, without internet, just books about coding in C and there own expertise.

  • @yevheniitsybulskyi2020
    @yevheniitsybulskyi2020 Před 26 dny +1

    Asssss 😂

  • @metala
    @metala Před 25 dny +1

    just noticed that after your video there are only click-bait suggestions. Then I realised that yours is also a click-bait :D

  • @ajzack983
    @ajzack983 Před 23 dny +1

    Yooo g, hire a video editor and make a 30 minutes highlight of this.
    It would do go on CZcams

    • @ajzack983
      @ajzack983 Před 23 dny

      I'm not paying for him either btw