Done before class:
- First to third person camera animation, PageUp (and vice versa, PageDown)
- Movement controls, W, A, S, D, Space (forward, left, backward, right, jump)
- Added a “cone of focus” for NPC interaction. This cone is stuck to the player’s “face”, and when it hits an NPC, the NPC will look at you. When you type with the NPC’s attention, it knows you’re talking to it and responds accordingly. (Idea for later development: dynamically adjusting cone when screen space is crowded with NPCs)
- Added a chat box for NPC interaction. I threw in an input that shows the text you’re typing on screen. When you hit enter, it appends your text to a chat box. Soon, NPC dialogue will also go into the box. Text is drawn as an overlay, so it doesn’t intersect with geometry in game. Needs a little more polishing, specifically a background for readability, a delay to disappear, and a line limit/scroll.
- Made the chat box go away after a delay. When the player is typing, the chat box stays regardless of the delay.
Done during class:
- Made it so NPCs “lose interest” (do something else) when you don’t interact with them.
- Our NPCs respond to us when inquiring about quests and saying hello.
- Proof of concept quest