05-12-2010, 10:56 PM
Mirror sprites have been introduced with the latest version of Little Fighter (2.0a). You'll need a little background-knowledge for that:
When LF2 loads the files, it takes the spritesheets and splits them up according to the "instructions" in the dat-file (the omnipresent row/col & w/h values). Those tiles will be saved in your RAM. Additionally, because an object can face both left and right, the tile is being mirrored horizontally. This way you'll have an original and a mirrored version of the same sprite.
Now, what is this good for? Many graphic-cards have had problems displaying the mirrored sprite when, for example, a character faces left. Suddenly, the char is being shown in his ice-frames, is running left while being displayed as burning, and so on. This doesn't really enhance the gameplay, in my opinion.
This is why the flipped versions have been included now. This way, LF2 won't have the chance to mess up during its internal flipping process (during the loading) but simply loads the pre-flipped sprites. And tadah, no sprite-bugs!
That about the reason why they are there. Alec told you what you can do with that "feature". Although I haven't really seen anybody doing this double-effort....
When LF2 loads the files, it takes the spritesheets and splits them up according to the "instructions" in the dat-file (the omnipresent row/col & w/h values). Those tiles will be saved in your RAM. Additionally, because an object can face both left and right, the tile is being mirrored horizontally. This way you'll have an original and a mirrored version of the same sprite.
Now, what is this good for? Many graphic-cards have had problems displaying the mirrored sprite when, for example, a character faces left. Suddenly, the char is being shown in his ice-frames, is running left while being displayed as burning, and so on. This doesn't really enhance the gameplay, in my opinion.
This is why the flipped versions have been included now. This way, LF2 won't have the chance to mess up during its internal flipping process (during the loading) but simply loads the pre-flipped sprites. And tadah, no sprite-bugs!
That about the reason why they are there. Alec told you what you can do with that "feature". Although I haven't really seen anybody doing this double-effort....
Silverthorn / Blue Phoenix
~ Breaking LFE since 2008 ~
"Freeze, you're under vrest!" - Mark, probably.
» Gallery | » Sprites | » DeviantArt
~ Breaking LFE since 2008 ~
"Freeze, you're under vrest!" - Mark, probably.
» Gallery | » Sprites | » DeviantArt