[祖產] 戰慄時空一路沿用雷神之鎚的閃爍燈光已回收

看板C_Chat作者 (擲雷爆卦)時間4年前 (2021/06/19 21:40), 編輯推噓5(504)
留言9則, 6人參與, 4年前最新討論串1/1
https://is.gd/lBKvXT https://9gag.com/gag/aXoKpWV https://i.imgur.com/70ZqqG6.gifv 從左上角開始,依次是《雷神之鎚》《戰慄時空》《戰慄時空2》和《傳送門》, 將四個場景放到一塊後,雖然發光的設備不同,但可以很明顯地看出它們維持著相同的 閃爍頻率。 在仔細研究戰慄時的空開源代碼後,一位玩家給出了相對合理的解釋。V社自初代 《戰慄時空》誕生以來,一直使用26個字母來表示燈光的明暗程度,字母「a」 代表完全熄滅,「Z」相反,表示最大亮度。 而在這些遊戲的原始碼中,都能找到一條「mmamammmmmammamamaaamammma」的代碼,注釋 也正好是「燈光閃爍」: What’s wild is that this flickering pattern can be found in not only Valve titles, but in Quake. That’s because Half-Life was built off a heavily modified version of the original Quake engine. So it’s very likely that long and random string of Ms and As that controls when a light should flicker was written over 20 years ago by John Carmack himself. And because Valve’s original Half-Life 1 engine (Goldsrc) and later Source, used to power all Valve since Half-Life 2, contain bits of old Quake code still, these flickering lights sync up perfectly.” -- 七魄興輪無上伊甸瑜珈雖然是以看來較為平和的方式以蟬蛻和生乳取代血肉等腥穢之物 作為密義源起供養;然而聚歛於上的是冥界的深冤與大樂奔瀉的淨慈,行者於閉關修持 之時若生起退失動搖之心,則神識旋即離散且肉身消殞;即便如此還是願意受灌頂嗎? https://imgur.com/cEVD0kE
---妖道七祖《攝一切魔根本瑜珈論/誓命問品第一》--- 文章代碼(AID): #1K0Lp7VP (CFantasy) [ptt.cc] Re: [新聞] 湖南偏鄉驚曝百餘...... https://imgur.com/eRQKYMF
文章網址: https://is.gd/J7nd2k -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 1.162.207.229 (臺灣) ※ 文章網址: https://www.ptt.cc/bbs/C_Chat/M.1624110028.A.688.html

06/19 21:45, 4年前 , 1F
06/19 21:45, 1F

06/19 21:47, 4年前 , 2F
祖傳閃爍
06/19 21:47, 2F

06/19 21:52, 4年前 , 3F
因為大部分玩家不太會關心頻率, 要的是閃爍當下的氣氛
06/19 21:52, 3F

06/19 21:52, 4年前 , 4F
引擎直接套?
06/19 21:52, 4F

06/19 21:54, 4年前 , 5F
引擎慢慢改上去的,源代碼是Quake引擎
06/19 21:54, 5F

06/19 21:55, 4年前 , 6F
這種直接一路套用, 無傷大雅就是
06/19 21:55, 6F

06/19 21:56, 4年前 , 7F
不少遊戲引擎源自id社的雷神引擎或id tech,所以至今
06/19 21:56, 7F

06/19 21:56, 4年前 , 8F
不少遊戲仍然能找到20年前的源代碼
06/19 21:56, 8F

06/19 21:59, 4年前 , 9F
沒關係啊 3快點出啦
06/19 21:59, 9F
文章代碼(AID): #1WpVFCQ8 (C_Chat)