![]() |
[solved] How to change the background while doing a skill? - 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] How to change the background while doing a skill? (/showthread.php?tid=5590) |
[solved] How to change the background while doing a skill? - kane - 09-19-2010 I've began learning to DC , I wanna know how to change the background while performing a skill ? like when I hit DVJ I want the background to change while my character is doing a skill .. how? EDIT : Example : ![]() how it changed to black? RE: How to change the background while doing a skill? - HappyHouR - 09-19-2010 You opoint a t3(ball)/5 with no body and big pic while doing this attack. This ball will last for about 3-2 seconds I guess. use short vaule like meh 60/59 = 2 seconds. Its need hit_j: 1 or mor eI think to make appear behind the character. Edit: thanks. RE: How to change the background while doing a skill? - Drahcir - 09-19-2010 Actually, it would be hit_j: 1. But otherwise, what HappyHour said. RE: How to change the background while doing a skill? - vandesdelca - 09-19-2010 hit_j: 1? i thought it should be around 45-49 or 51-54(i dunno wich one), so the ball will move upside the z edge and appear behind the character.. RE: How to change the background while doing a skill? - forgetlatios - 09-19-2010 hit_j: 1 to appear behind all the chars; what drahcir and happyhour said RE: How to change the background while doing a skill? - Alblaka - 09-19-2010 uhm... actually hit_j: 1 means the T3 is moving with 49 px speed per frame upwards. I don't know whether it has a special "always display behind" effect, but if the wait is 2 or bigger, the pic will of course move to the upper edge ^^ RE: How to change the background while doing a skill? - Lauli - 09-19-2010 You can use hit_j: 49 too if you want. Only thing that hit_j: 1 does is, that it move extremely fast. That way it looks like it immediatly appears on the highest z-value, a.k.a. background. RE: How to change the background while doing a skill? - Silverthorn - 09-19-2010 (09-19-2010, 09:15 AM)Alblaka Wrote: I don't know whether it has a special "always display behind" effect, but if the wait is 2 or bigger, the pic will of course move to the upper edge ^^ Objects will be drawn over each other in regard to their z-position. Only if they're on the same line (z-wisely), something weird will happen (I think, it'll then matter who spawned first. Don't drag me to court for that theory, tho). So yeah, the method has been explained already. What I would like to amend is that large images can very likely crash the game during loading (note that it's not always; only from time to time). Just so you know what to expect. RE: How to change the background while doing a skill? - Alblaka - 09-19-2010 I just wanted to ensure "hit_j: 1" wasn't a special tag. If it's not, it will cause the object to move behind everything behind (being displayed as background). And if you keep the hit_j:1 in all frames, it should be displayed behidn everything permanently. @the pic size: I usually make pics of 1500x700 to cover whole screen, works fine ^^ Just load that pic and opoint it every 1500 px. That way the picsize isn't too large, but everything is still covered. RE: How to change the background while doing a skill? - kane - 09-19-2010 Thanks everyone , I'll try to understand . |