Started by Dream of Omnimaga, 7 years and 1 month ago
0 Members and 1 Guest are viewing this topic.
Quote from: DJ Omnimaga on 7 years and 1 month agoThanks. The speed is actually a bit slow because when loading a walrus sprite I need to provide its ID and the calc has to go through an endless string of If commands with large string data before finally finding the right data and exiting that program. It might not seem like something that is normally slow, but said program is over 55 KB large, so that's a crapload of code to go through. I allievated the problem by grouping walruses into packs of 25 with three nested If/then/else blocks, so the speed is much greater than it originally was (although as a result, the speed at which walruses load varies depending of which one you try to load):Walrus 1 to 25 and 76 to 100: FasterWalrus 26 to 50 and 101 to 125: MediumWalrus 51 to 75 and 126 to 150: SlowerAnd that's because I only want to load one at a time since they wouldn't fit at once in memory, unless one day grosged implemented real-time sprite scaling.
Page created in 0.086 seconds with 33 queries.