refactor loading and rendering of board tile sprites #1

Merged
wilson048 merged 1 commit from Lui798/3DS-Sweeper:sprite-refactor into main 2024-09-23 00:24:56 -05:00
Contributor

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

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
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
wilson048/3DS-Sweeper!1
No description provided.