moveWithCollisions() can only be called on a sprite with a valid collide rect (this sprite's collide rect is (0.0, 0.0, 0.0, 0.0). stack traceback:
...
projectile.lua: 31: in function <projectile.lua:29>
[C]: in field `update`
main.lua: 362: in function <main.lua:361>