This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local function fire() | |
local beam = {} | |
for i = 1, 20 do | |
--Have used circle, but if you use a blurry yellow glow, it would look more like a fire | |
beam[i] = display.newCircle(0,0,3.5) --display.newImage("glow4.png")-- | |
beam[i].x, beam[i].y = math.random(100,200) , 500 |