Now With Dynamic Textures
One of the biggest memory hogs for Bunnies is all the textures that sprites use. So I switched things up a bit. The first thing I changed is that texture handlers now only load their textures if they are actually used. The second change is that objects now reference a texture handler.
The first change means that even though the game supports and knows about X sets of textures, it won’t actually load those sets until an object that references the set has a request for a texture. So the first time a texture handler is actually used the sprites all load. After that it just returns the requested texture.
The second change means that you can use an SS texture set with a Guard object.
The reason for this change is to support custom sprites for players. A default sprite set will be created for players for now. In the future the Bunnies website will support uploading and creating new sprite collections for your account. The Bunnies client will then be updated to be able to make use of these custom sprite collections.
Leave a comment
You must be logged in to post a comment.