Week 11

Combat Animation (The Jiggle)

A short simple combat animation has been added. Upon attacking, the character will now jiggle back and forth towards the enemy. A damage number has also been added, displaying the damage dealt by the unit if the unit hit, and displaying a big “Miss” if the unit did miss. This way, the player will see the combat happening instead of the unit suddenly disappearing if the unit did die from damage.

Some of the timing needs to be tweaked for a smoother animation, but there is now visuals.

Camera Panning

We can now move the camera by holding down right click. Currently it is not bounded where you can pan the camera too but in the future it will become bounded to a border around the map.

This image has an empty alt attribute; its file name is ScreenPanning-2-1024x568.gif

Leave a Comment

Your email address will not be published. Required fields are marked *

css.php