Like a swooper, just more friend-shaped.
A download link can be found here:
https://drive.google.com/file/d/1BeAdgt ... sp=sharing
Demo:
https://www.youtube.com/watch?v=iuFO-R_ISsY
1:02
Installation instructions can be found in the
handbook or in my
thread.
Modifications and adaptations of the code is permitted. If you use this particular code as a basis for an enhanced version of these NPCs, please give credit.
NPC codes:
Stationary:
minrange: minrange (minimum trigger range in facing direction)
maxrange: 144 (maximum trigger range in facing direction
shockframes: 2 (frames on spritesheet dedicated to being shocked)
shocktimer: 64 (time before falling)
health: 3 (fireball health)
fallingid: 756 (id the npc transforms into when falling)
Falling:
health: 3 (fireball health)
earthquakes: 2 (strength of earthquake effect)
bounceheight: 8 (self-explanatory)