Devlog 1 - Week 8


Implementation:

I downloaded a sprite sheet asset from itch.io which was designed by Tokka which contained the key sprite for the game, cops and zombies.

Cop sprite sheet by Tokka - details walking movement of the cop

Zombie sprite sheet by Tokka - illustrates zombie movement and blood spatter pattern

The movement is via keyboard (WASD) and relies on a script adapted from Ketra Games who ultimately wrote the game for a tutorial series on YouTube which I followed and replicated.  The movement is directional which means the animation only faces one way and removes the need for multiple sprites to capture diagonal movement.

The movement for the cops and zombies are captured below:


Uni-directional cop movement

Uni-directional zombie movement

Both sprites have Rigidbody2d enabled with gravity set to zero to stop them falling off the screen.  This also determines how the sprites interact with each other (damage).

Feedback:

 Whilst no external feedback was obtained due to work commitments so personal observations are as follows:

- the movement could benefit from multi-directional sprites to create a more realistic turning of the characters

- the speed at which the sprite turns is also elongated which results in a large 'turning circle' for the cop in the game which reduces reaction time to zombies.

Alternative approach could be to implement a sprite sheet with multi-directional sprites to give a more realistic approach.  This is slightly more complicated than the approach here, but would make for a better game in the long run.

Get Cops and Zombies

Leave a comment

Log in with itch.io to leave a comment.