Log In  


Cart #razohewipu-0 | 2023-06-27 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA

its a...
[19x5]
between me and pico-8 where i just cant code without having issues.



Arrays in Lua are 1-indexed, not 0-indexed, so unless you specifically set something at bullets.x[0], that will return nil and cause your error. You probably want your for loop to start at 1.




[Please log in to post a comment]