Module jumpy::core::elements::flappy_jellyfish
source ยท Structsยง
- A marker component for flappy jellyfish to indicate that it should explode.
Constantsยง
- GRAVITY ๐
- MAX_SPEED ๐
- MIN_SPEED ๐
- SPEED_JUMP ๐
- SPEED_X ๐
Traitsยง
Functionsยง
- Explode flappy jellyfish that either have the
KillFlappyJellyfish
marker or that have a dead owner. - spawn ๐Spawn a flappy jellyfish.
- A player with a jellyfish is holding shoot. Take control of the flappy if one exists or spawn one.
- take_control ๐Take control of the flappy associated with a jellyfish for a player.