refactor loading and rendering of board tile sprites #1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "Lui798/3DS-Sweeper:sprite-refactor"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Loads board tile sprites using a loops and stores the in 2 arrays. One for the normal set and one for the selection set. Removes the switch statement for rendering these in favor of accessing the arrays directly by index.
Also renames sprite image files and changes sprite load order in .t3s file, which is important for the index-based access of the array to work properly