goldenXcode / thelements

Automatically exported from code.google.com/p/thelements
0 stars 0 forks source link

temperature effect on insects #77

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When any insect is placed when the atmosphere is above 130 temperature the 
insect appears as fire instead of the normal. Insects that are already in 
existance appear to be unaffected. Since this is about an average temperature 
(between 0 and 255) I feel the insects should not be bursting into flames at 
this point. I am also interested in the basis of the atmosphere temperature 
range. Is it based upon standard farenheight temperatures or the standard 0-255 
scale that is normal for computer data such as color intensity? 

Original issue reported on code.google.com by Dan.corrigan222@gmail.com on 22 Jul 2012 at 4:53

GoogleCodeExporter commented 9 years ago
Thanks for the bug reports again :)

I'll test this out when I have the time and try to debug it. The temperature 
range wasn't based on any real scale. We just wanted to fit the temperature 
within 1 byte (0 - 255), for optimization.

Original comment by GurtejKanwar@gmail.com on 24 Jul 2012 at 3:40

GoogleCodeExporter commented 9 years ago

Original comment by GurtejKanwar@gmail.com on 25 Jul 2012 at 3:18

GoogleCodeExporter commented 9 years ago
I was able to reproduce the issue. The problem is that Termites come into the 
scene at the atmosphere temperature, and burn above 125. I'm making the 
Termites come in at 100, and increasing burn temperature to 175 (doing the same 
for Ant).

Original comment by GurtejKanwar@gmail.com on 26 Jul 2012 at 3:35

GoogleCodeExporter commented 9 years ago
Fixed in r464.

I made all insects come in at 100, and burn at 175. It now takes about 30 
seconds in an atmosphere of 255 for insects to start spontaneously combusting. 
Because fire releases heat, they tend to combust in a wave, which I think looks 
pretty great :D

Dan -- can you review this when update?

Original comment by GurtejKanwar@gmail.com on 26 Jul 2012 at 3:42

GoogleCodeExporter commented 9 years ago
It works

Original comment by Dan.corrigan222@gmail.com on 1 Aug 2012 at 3:53