Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --love.load:
- gTime=0
- slowTick = 3
- --love.update:
- gTime = gTime+dt
- if gTime > slowTick then
- slowTick = slowTick + 3
- for i=1, 10 do
- local powerup = {
- x = math.random()*750,
- y = -50,
- yvel = 128
- }
- table.insert(powerups,powerup)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment