Jump to content




Behold, I give you... Fire! [demo]


47 replies to this topic

#1 GopherAtl

  • Members
  • 888 posts

Posted 15 March 2013 - 05:12 PM

Posted Image
pastebin get 4CY4AYj3 fire

q quits, d toggles the character dithering (I think it looks better on, but you be the judge)

works on monitors, just run with "monitor <side> fire"

#2 nitrogenfingers

    Lua Professor

  • Members
  • 551 posts
  • LocationAustralia

Posted 15 March 2013 - 05:15 PM

That's pretty brilliant :D

#3 SuicidalSTDz

    Permutator of Strings

  • Members
  • 1,308 posts
  • LocationPennsylvania

Posted 15 March 2013 - 05:20 PM

Wow, I never would have thought someone would do this... Looks great though! (*cough* multi/different color settings *cough*) ^_^

EDIT: Why are you standing in front of a furnace? Did that spark your imagination? :P

#4 GopherAtl

  • Members
  • 888 posts

Posted 15 March 2013 - 05:21 PM

Thanks! It looks better in game than in the crappy gif, just for the record. :)

It's easier than it looks, it's an old-school 2d fire effect that was used a lot back in the 90s.

Also worth noting, it redraws the entire screen every tick, so, uh, not really recomended for smp use...

SSTDz: eh? no furnaces around there. I'm on a platform in the sky, with nothing but smooth stone, a computer, and an 8x4 monitor.

#5 LBPHacker

  • Members
  • 766 posts
  • LocationBudapest, Hungary

Posted 15 March 2013 - 09:49 PM

@SSTDz: Actually, in the background (what looks like a Furnace) that's a monitor with fire running on it :D

#6 oeed

    Oversimplifier

  • Members
  • 2,095 posts
  • LocationAuckland, New Zealand

Posted 15 March 2013 - 10:11 PM

Wow.

#7 Cruor

  • Members
  • 413 posts
  • LocationNorway

Posted 15 March 2013 - 11:33 PM

Oh my, that is some nice looking fire :o
Could be cool for a screensaver or silly fake fireplace :D

#8 KaoS

    Diabolical Coder

  • Members
  • 1,510 posts
  • LocationThat dark shadow under your bed...

Posted 16 March 2013 - 12:09 AM

this looks great! :o well done :)

#9 SuicidalSTDz

    Permutator of Strings

  • Members
  • 1,308 posts
  • LocationPennsylvania

Posted 16 March 2013 - 12:20 AM

View PostLBPHacker, on 15 March 2013 - 09:49 PM, said:

@SSTDz: Actually, in the background (what looks like a Furnace) that's a monitor with fire running on it :D
Well it fooled me... Then again, it was 3 am when i made that post ^_^

#10 NonStopGamer

  • Members
  • 27 posts

Posted 16 March 2013 - 02:29 AM

View PostSuicidalSTDz, on 16 March 2013 - 12:20 AM, said:

View PostLBPHacker, on 15 March 2013 - 09:49 PM, said:

@SSTDz: Actually, in the background (what looks like a Furnace) that's a monitor with fire running on it :D/>
Well it fooled me... Then again, it was 3 am when i made that post ^_^/>
You know it's a good program when someone mistakes it for a furnace.

#11 GopherAtl

  • Members
  • 888 posts

Posted 16 March 2013 - 02:43 AM

heh. thanks, all.

Delayed response, SSTDz, if you want to change the colors, there's a couple of tables at the top of the file, dither has the characters used, in order, to shade between colors, and then ranges has the list of color ranges used, in bg/fg color pairs. You can add or remove elements from either table, it will adapt - though if you change the total number of possible values, it will affect the flames.

#12 NonStopGamer

  • Members
  • 27 posts

Posted 16 March 2013 - 02:49 AM

View PostGopherAtl, on 16 March 2013 - 02:43 AM, said:

heh. thanks, all.

Delayed response, SSTDz, if you want to change the colors, there's a couple of tables at the top of the file, dither has the characters used, in order, to shade between colors, and then ranges has the list of color ranges used, in bg/fg color pairs. You can add or remove elements from either table, it will adapt - though if you change the total number of possible values, it will affect the flames.

Possibly a menu within the program to change these values?

Cause that would be so awesome.

#13 oeed

    Oversimplifier

  • Members
  • 2,095 posts
  • LocationAuckland, New Zealand

Posted 16 March 2013 - 02:53 AM

I haven't really had a good look at the code, but would this allow you draw a circle and make it 'fade out'. Sort of like a feathering effect on Photoshop.

#14 Dlcruz129

    What's a Lua?

  • Members
  • 1,423 posts

Posted 16 March 2013 - 03:12 AM

This is pretty damn awesome! I might use this as a fireplace or something.

#15 Cranium

    Ninja Scripter

  • Moderators
  • 4,031 posts
  • LocationLincoln, Nebraska

Posted 16 March 2013 - 03:13 AM

AMAZING. I put it on my emulator at work, and my coworkers were constantly looking over my shoulder at it, like they were transfixed. You, sir, deserve a standing ovation!

#16 PixelToast

  • Signature Abuser
  • 2,265 posts
  • Location3232235883

Posted 16 March 2013 - 05:17 AM

looks awesome :3

#17 Simon

  • Members
  • 58 posts
  • LocationSeattle

Posted 16 March 2013 - 05:38 AM

Wow, I could stare at that for hours

#18 zekesonxx

  • Signature Abuser
  • 263 posts
  • LocationWhere you aren't

Posted 16 March 2013 - 06:21 AM

Amazing. I'm totally setting this up with a monitor like a fireplace.

#19 SuicidalSTDz

    Permutator of Strings

  • Members
  • 1,308 posts
  • LocationPennsylvania

Posted 16 March 2013 - 07:48 AM

View PostGopherAtl, on 16 March 2013 - 02:43 AM, said:

heh. thanks, all.

Delayed response, SSTDz, if you want to change the colors, there's a couple of tables at the top of the file, dither has the characters used, in order, to shade between colors, and then ranges has the list of color ranges used, in bg/fg color pairs. You can add or remove elements from either table, it will adapt - though if you change the total number of possible values, it will affect the flames.
Didnt even notice that table... Too distracted by the flames ^_^

#20 BigSHinyToys

  • Members
  • 1,001 posts

Posted 16 March 2013 - 08:31 AM

Dude great program now add random color shifting like a lava lamp. ow and +1





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users