Added a random item scatter routine for the enemy class. Certain enemies will scatter coins and items at varying random direction vectors multiplied by velocities (all of which are affected by the physics algorithm) along an arc. This will also come in handy when adding the blood splatters which will work in the same manner, except the bloodSplatter (item/game object) is not collectable by the player(s) and will likely have a decay rate and be removed over time from the render routine to reduce processing time.
No comments:
Post a Comment