Simple Tutorial 3 work
In the fourth tutorial, the main task is to set up simple mouse movement and automatic pathfinding based on the Nav Mesh.
This is the rough map I built (actually the map is from Mylo download):
The main components are a capsule, a cube, a movable cube (the leftmost one on the map), and an obstacle, the capsule is controlled by the player (the mouse) and the Cube is controlled by the AI which predicts the player's direction of action and pursues it(Because I hate losing, I set the AI speed very low).
- Mouse - controlled movement:
- Automatic pathfinding
- Moving Cube
- Chasing
Special thanks: part of the AI code was borrowed from the alien game code in KIT109 :)
In my experience, the Ray-based movement has always felt clunky and impossible to turn right away.
But for me, I prefer to use the keyboard to move and the mouse only to turn (such as the classic CS operation).
Get “UTAS KIT207 Portfolio"
“UTAS KIT207 Portfolio"
Status | Released |
Author | Satori_Kear |
More posts
- Simple Tutorial 6 workAug 23, 2021
- Self Study 5Aug 16, 2021
- Self Study 4 Game IdeasAug 09, 2021
- Self Study 4Aug 09, 2021
- Self Study 3Aug 02, 2021
- Simple Tutorial 2 workAug 01, 2021
- Self Study 2Jul 26, 2021
- Simple Tutorial 1 workJul 23, 2021
- Self Study 1Jul 18, 2021
Leave a comment
Log in with itch.io to leave a comment.