TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

The Old-School Fire Effect and Bare-Metal Programming

154 pointsby zmodemover 7 years ago

10 comments

Jareover 7 years ago
This post and his fixes to the Javascript version made me so happy last week. Amazing that something I wrote 24 years ago can still be of interest to anyone.
评论 #15848445 未加载
评论 #15849187 未加载
midnightclubbedover 7 years ago
Such a simple but effective effect. Came in super useful for the N64 port of Killer Instinct 2 (couldn&#x27;t afford the memory for the pre-rendered fire that the arcade machine used, Jare to the rescue). Thanks for saving a junior programmers ass!<p><a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=B8fph9nhq4k" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=B8fph9nhq4k</a>
评论 #15851688 未加载
评论 #15856171 未加载
zellynover 7 years ago
Sad that the author didn&#x27;t run across Denthor&#x27;s tutorials… <a href="http:&#x2F;&#x2F;textfiles.com&#x2F;programming&#x2F;astrainer.txt" rel="nofollow">http:&#x2F;&#x2F;textfiles.com&#x2F;programming&#x2F;astrainer.txt</a><p>Discussed a few years ago on hn: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=8837545" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=8837545</a>
评论 #15847912 未加载
评论 #15848257 未加载
评论 #15848126 未加载
评论 #15847023 未加载
mattnewportover 7 years ago
My favorite version of the old school fire effect was Hugo Elias&#x27; version that added a feedback driven warping effect: <a href="https:&#x2F;&#x2F;web.archive.org&#x2F;web&#x2F;20160418004150&#x2F;http:&#x2F;&#x2F;freespace.virgin.net&#x2F;hugo.elias&#x2F;models&#x2F;m_fire.htm" rel="nofollow">https:&#x2F;&#x2F;web.archive.org&#x2F;web&#x2F;20160418004150&#x2F;http:&#x2F;&#x2F;freespace....</a>
评论 #15848323 未加载
评论 #15848798 未加载
TuringNYCover 7 years ago
Thank you for sharing this, this brings back such fond memories of the 90s! I was in middle school and the best I ever achieved were the scrolling pipes effect using Basic. Bonus points two with multi-colored scrolling pipes with proper overlap :-)
bananaboyover 7 years ago
Awesome! I love this effect. Here&#x27;s a size-optimised version I wrote in assembly a long time ago: <a href="http:&#x2F;&#x2F;www.humbug.net&#x2F;projects&#x2F;download&#x2F;demos&#x2F;js-fire7.zip" rel="nofollow">http:&#x2F;&#x2F;www.humbug.net&#x2F;projects&#x2F;download&#x2F;demos&#x2F;js-fire7.zip</a><p>It&#x27;s 173 bytes in size. I wasn&#x27;t going for the tiniest possible fire effect, but rather the tiniest but still decent looking version.
mysterydipover 7 years ago
Ironically, the first fire effects I saw were on QBasic, found via various webrings in the mid to late 90s, like this one: <a href="http:&#x2F;&#x2F;www.petesqbsite.com&#x2F;sections&#x2F;tutorials&#x2F;tutorials&#x2F;fire.txt" rel="nofollow">http:&#x2F;&#x2F;www.petesqbsite.com&#x2F;sections&#x2F;tutorials&#x2F;tutorials&#x2F;fire...</a>
azeirahover 7 years ago
Ha, I remember being in high school and messing with my TI-84, I ran across a tutorial on running assembly on the TI-84. I was seriously impressed by the fact that I could run a semi-realistic fire simulation on that device with only two lines of assembly code.<p>Thanks omnimaga forums!
chocolatebunnyover 7 years ago
holy cow. I remember doing this on Turbo Pascal back in the 90s.
评论 #15847992 未加载
jbverschoorover 7 years ago
Ahh. Good times