Week 1 Develog - Player movement.



Week 1: Player Movement
Player movement mechanics:
The spirits light, is a top down 2D game, the player is free to move in all 8 directions around the compass using WASD!!
This week I worked on getting the player controls, animations and a basic shooting mechanic.
For the controls I used the 8 way movement script that was provided in the unity tutorials!!
Ive commissioned a friend to make the in game sprites, at current the player is using idle animations in replacement for movement but will soon have a full walking animation!
Another thing that came with working on player movement was making sure the camera tracked the player!
To do this i used the cinemachine! It was tricky to get working at first, as I didn't have a tile map down, and was confused at why it wasn't working. Once i put down a temporary tile map, the camera followed the player around the map nicely!
The tile map I'm using while working on my own is the Grass & Road Tiles by CardinalZebra on itch.io
I also had issues with the player being massive compared to the game world but after messing around with the PPU in the inspector, I think I've come up with a nice ratio! The player is now about two grass tiles tall!
Player shooting mechanics:
As the game involves a magic fighting mechanic, the player is required to have some sort of way to shoot magic! To do this I used the PlayerShooting script from the unity tutorials. At the moment I'm using the same bullet prefab that was used in the tutorials. I'm yet to set up that the player faces the direction they are shooting in but hopefully done soon!
Feedback:
I received lots of excellent feedback this week during the class on Thursday!! and that the movement was working as expected!!
The Spirit's Light
Explore, fight shadowy enemies, and restore hope to a fading world!!
More posts
- Week 6 - Testing29 days ago
- Documentation + User Guide29 days ago
- Week 5 - User Interface and Polish35 days ago
- Game Testing36 days ago
- Week 4 - Presentation and Graphics41 days ago
- Week 3 Devlog - Enemies and Interaction49 days ago
- Week 2 Devlog - Basic level blocking54 days ago
- The Spirit's Light || Assignment 2 — Game Concept Devlog79 days ago
Leave a comment
Log in with itch.io to leave a comment.