I'm making a visual novel and I'm at a crossroad on how to set up the layouts and sprite objects.
Right now I have, for example, 1 sprite named "background" and multiple layouts for each room, each having the background_sprite object placed out. When you go to a new layout/room, the background_sprite just switch to the frame for that room. It's the same for all my assets with similar functions. 1 door, 1 left_character, 1 right_character, 1 UI_Button, etc. All determined with instance and global variables.
Now, does that mean that the game has to load every frame of every sprite that exist in the layout? Would it be faster for the game if I split up frames into individual sprites that only exist in the the layout in which they are needed?
Or is it the opposite? Would compressing it even more be what's faster? (Have 1 layout with everything in it, with as few objects as possible)
Maybe using the Create/Delete object is fastest? 1 layout and then just create objects when needed and the delete them after.
What makes the game run the fastest?
Thank you for any help! :)