![]() |
[solved] What are mirror sprites? - Printable Version +- Little Fighter Empire - Forums (https://lf-empire.de/forum) +-- Forum: Little Fighter 2 Zone (https://lf-empire.de/forum/forumdisplay.php?fid=7) +--- Forum: Data Changing (https://lf-empire.de/forum/forumdisplay.php?fid=11) +---- Forum: Solved Problems (https://lf-empire.de/forum/forumdisplay.php?fid=14) +---- Thread: [solved] What are mirror sprites? (/showthread.php?tid=4971) Pages:
1
2
|
[solved] What are mirror sprites? - Layz - 05-12-2010 Some Lf2 Characters have a mirrored sprites, they are just the same as the original ones but turned into right, how does these help? and how can I add the mirrored sprites into the dat file? hope I post in the right place... RE: What are mirror sprites? - Alectric - 05-12-2010 moved to DC section. This is a DC solution. i myself dont really know/use the answer. BUT: mirror sprites are so that you can have the character looking less 2D, because if you notice Deep, he walks one way, and the sword is in his left hand, and then he walks the other way, and his sword is in the other hand. Its for characters that have different details on each side of ther body (left and right) i hope that even made sense :P RE: What are mirror sprites? - Silverthorn - 05-12-2010 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.... RE: What are mirror sprites? - Layz - 05-12-2010 aha, I had a feeling that they may be used for that... but what should I do if I want to use a mirrored sprites, in the data changer, for example: ' Wrote:<bmp_begin> This is from Deep dat file, he has mirrored sprites but they are not written anywhere in the data, how does the EXE recognize whether this char has mirrored sheets or no? RE: What are mirror sprites? - Silverthorn - 05-12-2010 They all have the typical ending. If I'm not mistaken, they all have the following file-format: {spritename}_mirrored.bmp Or anything along those lines. No need to mention it anywhere in the dat-files. The application will detect those files on its own. When they do not exist, it will use the method I described above. by the way, you can use [code=dc] for DCing-codes inside the forum for proper formatting ![]() RE: What are mirror sprites? - SparK - 05-13-2010 something spriters might consider is that if a char have a sword on the left hand, on the mirrored sprites one can edit it to always keep the sword on the left hand. and as it is a HEXing mater we don't even need to bother changing our Data, it will work naturally =) RE: What are mirror sprites? - forgetlatios - 05-13-2010 @bp: its spritesheetname_mirror oh and take note that some chars on the mainsite replace the original chars, thus causing the exe to load the mirror sprites as they have not been deleted(or replaced with new mirror sprites). RE: What are mirror sprites? - 8obis - 05-13-2010 Actually those mirror sprites don't lload i tryed it with my Rock character all i got was an error deleted the mirror sprites good to go. ~RtXaS~ RE: What are mirror sprites? - SirisRhazael - 05-13-2010 But mirror sprites are needed in "extreme" situations only... LF2 readme Wrote:2. Fix a critical bug in Geforce 9800 graphics card - Showing wrong sprite RE: What are mirror sprites? - snorsorbet - 05-13-2010 No, the mirrored sprites are always used, unless you modify the execution file. |