Skip to content

Instantly share code, notes, and snippets.

View vibhubhola's full-sized avatar

Vibhu Bhola vibhubhola

  • Bitnomix Labs
  • Delhi
View GitHub Profile
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