Editing sprites in video memory
Posted: Sun Aug 12, 2012 6:12 pm
Hello.
Is there any way to edit sprites I loaded? For example, if I loaded car from .png with newimage and then suddenly want to remove top half of it, or make it covered with green paint somewhere, or, I dunno, anything that can't be done with just dividing one whole car sprite to different car parts sprites. Just change color and opacity of x;y pixel in loaded image from lua. Is it possible?
If no, are there other ways to make something like, emm, voxel 2d physics? Is there something I missed in love modules? Because I want to make just normal game, with sprites, but sometimes behaving like 2d-minecraft.
If no, are you going to add functionality like this to LÖVE?
If no, can I or my friends add it? Would you like it?
If no, then... then...
Is there any way to edit sprites I loaded? For example, if I loaded car from .png with newimage and then suddenly want to remove top half of it, or make it covered with green paint somewhere, or, I dunno, anything that can't be done with just dividing one whole car sprite to different car parts sprites. Just change color and opacity of x;y pixel in loaded image from lua. Is it possible?
If no, are there other ways to make something like, emm, voxel 2d physics? Is there something I missed in love modules? Because I want to make just normal game, with sprites, but sometimes behaving like 2d-minecraft.
If no, are you going to add functionality like this to LÖVE?
If no, can I or my friends add it? Would you like it?
If no, then... then...