I'm trying to make plasma ball, but it more of disintegrates than moves and leaves bits behind when it explodes. I stole Jacob's ball code, it's honestly, pretty crappy, even in his mod. But it's at least a base code. (I changed it to c++)
They do, that's the problem, they scatter everywhere and stick. But I need to either destroy them or have them function independatly without compromizing a larger ball.
Perhaps have the plasma ball element pixels decrease their life to zero if they are not touching other plasma ball pixels?
I had that, it made it glitch. In fact, it still won't blow up with 0 life. -_-
Moving solids generally aren't hard to code, if they obey gravity. Mine is supposed to only move with pressure which makes it insane.
(GASP!) I know one problem why it won't work, that aweful function that was screwing up glass and had to be replaced. The new one needs an upgrade.