by Odin (6 Submissions)
Category: Graphics
Compatability: Visual Basic 3.0
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating:
(19 Votes)

This is an update to my previous fire effect program. This runs slightly faster, much better coding styles, easier to understand, and is more realistic. There are two different ways this can simulate the fire now. Just simply comment out either line 154 or 156 to see the two different effects. This code is very well documented. Both styles are different than the previous. Using line 154 is a simplistic "flow map" which is the left picture, and line 156 is the linear. Please let me know what you think. (And yes, I have started development on the full screen version). Please make sure you compile the code to see the actual speed, it runs slow in IDE.
Assumes
Compile code to see speed
Side Effects
Unknown
API DeclarationsGetObject
SetBitmapBits
GetTickCount
CopyMemory