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.

P#131377 2023-06-27 00:18 ( Edited 2023-06-27 00:19)

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.

P#131378 2023-06-27 00:27
P#131379 2023-06-27 00:34

[Please log in to post a comment]