0 Members and 5 Guests are viewing this topic.
.AxeClrDraw[FEFDFBF7EFDFBD7F]->Str1 //Each Byte here has 7 bits set and 1 bit not set (like FE is 11111110 in binary) //This is so that we can erase a random pixel, since Axe has no built in way to do thatLine(0,63,95,63 //the pixels to catch fire, explained a little laterRepeat getKey(15) //until we press clearFor(F,L6+12,L6+767 //loop through all of the screen pixels except the last 12{F} and {rand^8+Str1}->{F-12} //take the byte, use AND to erase a single bit from it, and then store it into the byte directly *above* itEnd //this makes it so that as the byte rises, each frame a pixel is erased from itDispGraphEnd
Wow, this is awesome Now I can make that "light people on fire" game I was going to make a while back How well would this work for animated sprites? And is there a way to make only part of the screen (say, a sprite) on fire?