What if PI being a constant was more like a feeling?

แชร์
ฝัง
  • เผยแพร่เมื่อ 21 ก.ย. 2024
  • Inspired by Luke Gotszling's MCH2022 talk about changing the PI constant in DooM, I went ahead and forced DooM to recaculate the tables live as you are injured!
    I modified R_InitTables in r_main to take a percentage representing your health and use that as the fractional part in PI. so 100% health gives the full 3.141592657, while 1% is 3.00141592657. It's a very simple calculation:
    where DOOM_PI is 3, FUDGE is 0.141592657
    Calculated as DOOM_PI+(FUDGE*pct)
    You can play it online at internet archive by clicking here:
    archive.org/de...
    It's javascript DOSBox, there is nothing to install, just click & go!
    I'm using a test wad I made out of the map source code release by John Romero, with the FreeDooM assets to plug in for all the missing parts. Credit to all those people, along with John Carmack for the engine & releasing it under GPL.

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

  • @serebit
    @serebit 3 หลายเดือนก่อน +1

    Gave this a try, and it's WRETCHED. It feels like I downed an entire bottle of Benadryl and it's slowly starting to hit. Excellent work.

    • @neozeed8139
      @neozeed8139  3 หลายเดือนก่อน

      I'm glad you liked it! It's such a small change to the engine, with such a dramatic impact! I've found it great fun for just playing around with, it really changes things, and makes the harder levels all that more frantic! The slide from 3.14 to 3.00 is linear, I might try to make it logarithmic to it's more of a subtle slide into hell.

  • @sophieprime4669
    @sophieprime4669 3 หลายเดือนก่อน

    This mf using freedoom ☠️