![]() |
Game slows down when facing left - 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) +--- Thread: Game slows down when facing left (/showthread.php?tid=4291) Pages:
1
2
|
Game slows down when facing left - Vampirel - 01-04-2010 Hello, I am working on Bleach LF2 modification and as title says, due to its large sprites it slows down when going or casting moves to left. It depends on user's Pc though, as I was getting reports; some do have these problems and some don't. Though the version is still in like half of progress I am afraid that it will one day stop completely. Any solution to all this? RE: Game slows down when facing left - TheNave - 01-04-2010 do you use lf2 v2.0a? RE: Game slows down when facing left - Vampirel - 01-04-2010 no, still 1.9, again, due to its large sprites the game loading (2.0) won't even complete... RE: Game slows down when facing left - Silverthorn - 01-04-2010 hmm, I think this is caused by the lf2-engine itself. All lf2-sprites are facing to the right, so when you do something to the left, the exe has to render the sprite the other way round. Depending on your processing power, this can be fast or slow. I haven't made any tests, but afaik, 2.0a has those bonus-sprites, where you can specify the facing-left/right sprites yourself. So, those sprites would simply be displayed, instead of re-rendered first. According to my logic, this would be faster, but I don't want to solely rely on this. You could also think about splitting up your sprites. Think if you really need everything. If not... awesome. If yes, well then try the following. Basically, you'd need to opoint multiple objects, each of them displaying one part of the larger image. That's why you'll have to mess a lot with opoint-coordinates. Can get messy if you split many images that way... I wonder, how large is your sprite? According to your description, it must be in the 4-digit pixel rage... RE: Game slows down when facing left - Vampirel - 01-04-2010 The sprites are - w: 199 h: 199 row: 10 col: 7 That's alot for LF2 version I think, but I wanted better quality and also the small ones were missing walking frames and such. RE: Game slows down when facing left - Azriel - 01-04-2010 actually 1.9c would be already alright, as it produces the flipped sprites during loading, 1.9's the one that flips the sprites realtime, hence you get lag. saying that, newer graphics cards don't support the flipping of the sprites during loading, that's y marti included the already flipped sprites in 2.0a Azriel~ RE: Game slows down when facing left - Vampirel - 01-05-2010 What should I do then, when 2.0 won't even load? The data folder's not so huge to reach its limit I say... >.> I even tried the 1000dat one but that one won't load as well... RE: Game slows down when facing left - MH-Razen - 01-08-2010 well, I would say you got a real problem, but lets try to fix your 2.0 problem then - whats the problem with the loading? any error message, anything which could help us? please describe it as good as you can.. Oh, and did you install this here: http://www.microsoft.com/downloads/details.aspx?FamilyID=200b2fd9-ae1a-4a14-984d-389c36f85647&DisplayLang=en If not - better do so ![]() RE: Game slows down when facing left - Vampirel - 01-09-2010 Its normal error message like always, says could not find some sprite and such, but the sprite it says is always ok. Well, 2.0 used to work well for my game, but then after some time I got these crashes. And yes, I did install C++, well, at least I hope I did...while installing it, files copies and suddenly it crash or disappear like it was done...dunno... EDIT: I have installed c++ 08, is that enough? RE: Game slows down when facing left - Bamboori - 01-10-2010 got that problem on a laptop as well. if you can, check if the loading error appears also on other computers. |