You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add support for more advanced logic for weapon usage, possibly via scripting so different aspects of weapons can be developed. Charging, multi-stage weapons like Leaf Shield, etc.
Add a stateful WeaponState object
Make weapons stateful and exposed via scripting layer
Make projectiles stateful and exposed via scripting layer
The text was updated successfully, but these errors were encountered:
Weapons should be stateful since they can have several phases -- like Leaf Shield, all Rush weapons, Pharaoh Shot, etc. With Rush weapons for example, initially the "weapon action" is to summon Rush. While Rush is summoned the weapon action functions just like the normal Mega Buster/Arm Cannon. Rush (a Projectile of sorts) has its own state and logic that interacts with the weapon state. Once Rush is despawned then the weapon state is reset.
Leaf Shield has weapon state as well. The initial weapon action is to summon a shield that stays attached to Rock's position. The projectile waits for input, once direction input is received, the projectile travels in that direction and cannot be stopped. Once despawned, the weapon state is reset.
Most shield weapons work more or less like Leaf Shield but with small tweaks.
Add support for more advanced logic for weapon usage, possibly via scripting so different aspects of weapons can be developed. Charging, multi-stage weapons like Leaf Shield, etc.
WeaponState
objectThe text was updated successfully, but these errors were encountered: