11-24-2024, 09:17 PM
I am familiar with arrays and gradually getting my head around tables... My question may be lame but I need to know... How does one determine whether to use an array or a table?
J
J
Logic is the beginning of wisdom.
Live long and prosper.
Live long and prosper.


I think tables (arrays are just a special case) make things look clearer. Let's say you want to have an array with 100 enemies, where each enemy has an image, a position (x, y) and speed (x, y):