Wednesday 19 February 2014

Ranged Attacks and Weapon Stats

This week ive implemented ranged weapons.
Also the weapons influence now the stats.

Also if you skill the the magic elements like fire, ice, darkness etc. you will get those skills also as "Weapons" meaning you can equip them as primary weapon, as secondary weapon and as quick skill
Below you see a gif showing a shot from the laser pistol.

















Furthermore i currently am learning all about pathfinding to check if the npcs should have a fuzzy logic to move, attack, flee and prusu the players or if an intelligent algorithm is the better idea.

For those of you who are interested in the an explanation check the link below
http://www.policyalmanac.org/games/aStarTutorial.htm

Furthermore the core mechanics for the shieldskill, the normal attack, the charged attack and the rapidfire attack , are implemented.

How do they work?

There are two attack keys. The primary and the secondary key.
If you press the primary key you will make a normal attack.
If you press the primary key and hold it for a time it will charge and when you release it you will perform a charged attack. (primary key will use primary weapon)
If you press and hold the secondary key you will perform rapidfire attacks as long as you hold the key and as long as you have stamina. (secondary key will use secondary weapon)

Also there is a shieldbutton. Depending on the equipped shield skill it will drain your stamina as long as you hold it or only drain stamina if your shield deflects an incoming attack.


Also we have a pretty nice video featuring the Gun and a flamethrower in early development.

Lastly i want to add what is upcoming:

I will work on the Skill point spending system, also i will sharpen the battle mechanics.
The battle should be more smooth.

No comments:

Post a Comment