PPP Week 0

Overview

I started working this week by trying to incorporate the technology required for my project. I wanted to get this out of the way as soon as possible so that I could identify any weak spots or risks before they became too difficult to handle in the time I allotted myself. This turned out really well. In much less time than I thought I would, I integrated the eye-tracking and voice recognition, and I played around with some other concepts I wanted to try out, like terrain generation and unit movement.

Speech Recognition

Right now, I’m handling speech recognition in a simplistic way. I wanted to make sure it works, so I didn’t stress the details. Better structure for my speech recognition is the plan for week 1. The way it currently works is that after a string is generated from what a player says, I search through the string to see if it has any of my keywords. If it does, I classify it as one of four categories – move, attack, gather, build. Only move is implemented, so I get the spot on the screen and move the unit to that spot if a move command is uttered.

Eye Tracking

My work on eye tracking, besides implementing it, consisted of using Tobii’s premade scripts for selecting an object that is being looked at. I store that object in a manager class where I can manipulate it with commands later.

World Generation

I dipped my toes into world generation this week by trying to generate a map. First I split the map into two sections – one for the player and one for the NPC. Then I set up a frequency table for objects with which I want to populate the map for each section. I increased the probability for placing an object near like tiles because I want forests and rock formations to clump together. The results, as you can see in the video above, are noticeably not 100% random, but it’s not where I want it yet. I plan to continue refining this in the coming weeks.

One thought on “PPP Week 0

Leave a comment