UbiBelETF / dagger

A fully-featured, modern game engine made for educational purposes.
https://www.ubisoft.com/en-gb/
11 stars 5 forks source link

Team/morning afternoon/feature/aiming system #82

Closed Coakim closed 3 years ago

Coakim commented 3 years ago

Made a simple aiming system along with circular movement based on it as a possible solution to how we are going to handle combat in our game. Aiming system has a crosshair component which rotates around the player character sprite (angle changes on A and D keys) , and the player now only has the ability to go forward or backwards , but in the direction the crosshair is pointing at , so basically 360 degrees. (Player sprite scale also changes based on the viewing angle , so it kind off looks nice even though the game is sort off three-quarter view) This might make it easier for 2 players to play on the same keyboard (as it is currently the plan ) , because movement and aiming would be done by one hand , leaving other hand free for using spells and other combat related things