Little Fighter Empire - Forums
[solved] Balls and shadows. - 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] Balls and shadows. (/showthread.php?tid=4339)

Pages: 1 2


RE: Balls and shadows. - Reaper - 01-13-2010

I don't know what doesn't work with no ones solution so I don't know whether this is better, but what about:
You give your character a special bdy: in EVERY frame.
Your ball constantly spawns other invisible balls at his position which get deleted because they react with this bdy:.
The special frame hasn't got that bdy but another special one which destroys the first ball while the constantly spawned ball goes to the visible disappearing frames.
Requires quite a lot of editing though.


RE: Balls and shadows. - Lauli - 01-13-2010

Is it absolutely essential, that you hide the shadow?
Are you trying to achieve something special, or just want a normal energy-ball that has now shadow?

Because, if not, I'd just sneak around the problem with something clever.


RE: Balls and shadows. - JossuaDC - 01-14-2010

I've altered the attack and the sprites; hiding the shadows is no longer necessary.
Thanks for the comments etc., though. Might come in handy with future projects.

-Solved-