Week 7 - Player Movement
This week we'll be looking at player movement. The DevLog will focus on the changes made to the base script provided in the weekly tutorials for KIT109 that introduces player movement and how collisions will work with the Isometric Z as Y tilemap in unity.
Firstly we'll start with the player sprite. To introduce player movement the basic player model was created in Aseprite. The sprite has an attached capsule collider shown on the right.
The player moves by using the WASD keys, as the game is isometric the movement needs to be skewed slightly so that it feels like the player is moving naturally within the environment. To achieve the basic movement an 8 way movement script from the KIT109 tutorials has been used and modified to move the player up and down at half the rate when moving diagonally. For example when pressing the W and D keys the player will move twice as fast to the right (east) as they will going up (north), making the player move in the cardinal direction of east-north-east.
Isolated
Status | Prototype |
Author | Spaghetti_Sauce |
Genre | Role Playing, Action |
Tags | Roguelike |
More posts
- Documentation + User GuideMay 30, 2021
- Week 12 - Game TestingMay 25, 2021
- Week 11 - Part 2: User InterfaceMay 23, 2021
- Week 11 - Part 1: Player and enemy movement (week 9)May 20, 2021
- Week 10 - Presentation / GraphicsMay 09, 2021
- Week 8 - Level BlockingApr 30, 2021
- IsolatedApr 13, 2021
Leave a comment
Log in with itch.io to leave a comment.