I had to fudge the life of particles.
Their life is calculated by the distance the need to travel divided by their speed. The fudge was adding the height of a subCell to the distance before the calculation, as well as rounding the end value.
I had to fudge the life of particles.
Their life is calculated by the distance the need to travel divided by their speed. The fudge was adding the height of a subCell to the distance before the calculation, as well as rounding the end value.
Added particle trails to the Ice Shard and Fireball spells. (should Iceshard by one word? Fireball is only one because of common use right?)
I think it looks good, but I need to adjust the colours, maybe use the palette instead.
Hmm. Attack movement (for spells) set attacks to use if runSysTimer mod 10 == 0, instead of the if alreadyHit == false, to run the collision code.
Seems to work I should probably experiment to see how infrequent I can be with the trigger.
Now I have Fireballs!
Happy #WIPWednesday! Are you working on a game? Making some art? Practicing a song? Something else? Tell us in the comments!
I now have Magic!
kinda.
Woop!
Huzzah! I now have AoE attacks!
I've swapped to having Magic Staffs instead of having to hold a second button to use Magic.
I'll see what else I can come up with but this fixes the keyboard ghosting issue for now.
Happy #WIPWednesday! Are you working on a game? Making some art? Practicing a song? Something else? Tell us in the comments!
Hmm, trying particles with my magic system. I don't think they really work with the Static Shocks spell.
Also adding a lighting effect, but it doesn't apply to the particles.
I tried, but the offset isn't updated Hmm.
4 comments