This is one of those very basic things that I suspect I just never understood properly, so forgive me if this is terribly elementary!
My game is fully parallax so I tend towards using Pictures for objects on the map that can be picked up. But more and more I'm becoming aware of how inefficient this is, and how non-optimal in general. So I'm in the process of transferring things over to event sprites.
Specifically, the maps in my project are littered with garbage, and the player can walk over the garbage to pick it up to clean it. I'd like to have all the garbage images be sprites, if they are small pieces of garbage that are within 48 pixels.
That's fine, since every piece of garbage within the 48 pixel limit can fit into a tilesheet, this works great. However the question becomes, when I want the garbage to have a larger-than-48-pixels sprite, or else to overlap other garbage, then tilesheets no longer work.
For the larger garbage sprites, I have been making individual garbage sprites, but this has proven kinda laborious, since I'm making a 4x3 sprite sheet for every single garbage sprite, when in reality these objects will never move, so it's just the same image in every quadrant. This has to be wasteful, I reckon?
So the question becomes, what is the most efficient way to make a bunch of "garbage" objects that are larger than 48x48, will never move or animate, but will need to be interacted with, without using Show Pictures.
Hope this is clear enough! I suppose it's just a very simple and broad piece of advice I'm looking for. Many thanks!
c
My game is fully parallax so I tend towards using Pictures for objects on the map that can be picked up. But more and more I'm becoming aware of how inefficient this is, and how non-optimal in general. So I'm in the process of transferring things over to event sprites.
Specifically, the maps in my project are littered with garbage, and the player can walk over the garbage to pick it up to clean it. I'd like to have all the garbage images be sprites, if they are small pieces of garbage that are within 48 pixels.
That's fine, since every piece of garbage within the 48 pixel limit can fit into a tilesheet, this works great. However the question becomes, when I want the garbage to have a larger-than-48-pixels sprite, or else to overlap other garbage, then tilesheets no longer work.
For the larger garbage sprites, I have been making individual garbage sprites, but this has proven kinda laborious, since I'm making a 4x3 sprite sheet for every single garbage sprite, when in reality these objects will never move, so it's just the same image in every quadrant. This has to be wasteful, I reckon?
So the question becomes, what is the most efficient way to make a bunch of "garbage" objects that are larger than 48x48, will never move or animate, but will need to be interacted with, without using Show Pictures.
Hope this is clear enough! I suppose it's just a very simple and broad piece of advice I'm looking for. Many thanks!
c