Search found 1 match

by Ries
Sun Dec 01, 2024 3:38 pm
Forum: Support and Development
Topic: Spawning items/checking collision
Replies: 4
Views: 1372

Spawning items/checking collision

Trying to spawn a random amount of objects on load while checking to see whether they collide with any pre-existing objects in the table This is the code where I am adding to the table in the love.load function for i = 1, numberofDust do dust = {} dustSize = 1.5 if next(listofDust) = nil then dust.x...