Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- wavetimer = 0
- bullets = {}
- function CreateBullet(x, y)
- local bullet = CreateProjectile("bullet", x, y)
- table.insert(bullets, bullet)
- end
- function Update()
- for i = 0, 5, 1
- do
- local xPos = -Arena.width / 2 + i * Arena.width / 4
- local yPos = Arena.Height / 2 + 50
- CreateBullet(xPos, yPos)
- end
- wavetimer = wavetimer +1
- end
Advertisement
Add Comment
Please, Sign In to add comment