Search found 2 matches

by M_Bison
Tue Aug 26, 2014 2:13 pm
Forum: Support and Development
Topic: "Questions that don't deserve their own thread" thread
Replies: 905
Views: 410688

Re: "Questions that don't deserve their own thread" thread

I'm trying to create a collider table, I think I tried almost everything, not sure how to handle adding and removing colliders (I want to add and remove bullet colliders in a top-down shooter) bulletsCollider = {} table.insert(bulletsCollider,Collider:addCircle(playerX,playerY,bulletRadius)) all oth...
by M_Bison
Tue Aug 26, 2014 1:57 pm
Forum: Support and Development
Topic: Keeping track of bullet colliders
Replies: 1
Views: 2293

Keeping track of bullet colliders

I'm creating a top-downshooter and I want to keep track of all my bullets in a table, so I can iterate through them so I can later delete them ,and also move them during the update loop. I created a table bulletsCollider = {} tried local num = #bulletsCollider bulletsCollider[num+1] = HC:addCircle(p...