Posts: 18
Threads: 4
Joined: Jan 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?
Thanks given by:
Posts: 18
Threads: 4
Joined: Jan 2010
01-04-2010, 02:25 PM
(This post was last modified: 01-04-2010, 02:25 PM by Vampirel.)
no, still 1.9, again, due to its large sprites the game loading (2.0) won't even complete...
Thanks given by:
Posts: 4,878
Threads: 162
Joined: Mar 2008
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...
Silverthorn / Blue Phoenix
~ Breaking LFE since 2008 ~
"Freeze, you're under vrest!" - Mark, probably.
» Gallery | » Sprites | » DeviantArt
Thanks given by:
Posts: 18
Threads: 4
Joined: Jan 2010
01-04-2010, 02:47 PM
(This post was last modified: 01-04-2010, 03:17 PM by Vampirel.)
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.
Thanks given by:
Posts: 1,073
Threads: 38
Joined: Mar 2008
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~
Thanks given by:
Posts: 18
Threads: 4
Joined: Jan 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...
Thanks given by:
Posts: 18
Threads: 4
Joined: Jan 2010
01-09-2010, 06:10 PM
(This post was last modified: 01-10-2010, 10:52 AM by Vampirel.)
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?
Thanks given by:
Posts: 2,657
Threads: 113
Joined: Mar 2008
got that problem on a laptop as well. if you can, check if the loading error appears also on other computers.
Thanks given by: