Monday, July 30, 2018

RPG: Ranged Attacks

Character data has now been externalized, but that doesn't make for an exciting update.

However, ranged attacks have been implemented! Both fireball spell attack and bow&arrow style weapons.

First the fireball...




And going after an unsuspecting guy...



The fireball has a blast radius and you can kill yourself by standing next to where it detonates.

Notice the bow and arrow on the ground?



If I equip both of those, I can shoot (currently comically large) arrows!


The basic arrows only affect whoever they directly impact. But I'm making variations of arrows such as exploding to do other types of damage.

Different bows will affect speed, damage, and maximum range. Different arrows will affect the type of impact and the resulting damage.