Aug. 26th, 2017

Work Post

Aug. 26th, 2017 03:40 pm
relee: Picture of Relee Starbreeze, Wizard (Default)
3:45pm - I was finally able to join the call again last night and then sleep all night until close to my usual wakeup time, so that's nice. It took me a while to get moving but I also felt like working on my projects so I'm down at the McDonalds. It was hard getting here, though, because the sun is so bright today. I could hardly keep my eyes open. It's like snowblindness without the snow. Bleh.

So anyways the last time I worked on my project I finished what I thought I had done the time before that. I might still have to tweak the values as time goes on, too. But for now I need to start coding the reactions. Make it so that when the tag player sees an object flagged "It" that it switches to Flee properly, and likewise with the other actions.

5:03pm - I worked a little then got distracted by Twitter and other things. I'm all out of new Tweets though so hopefully I'll get back on track!

5:31pm - I've been a bit distracted by my friends but I've done some more work. I'm having a bit of trouble with the sensor designs. They currently return a list of all mobiles in the sensor area. After that I'll have to poll each individual sensed target for the value of its It property. Assuming it even has one.

6:18pm - Okay now I've got the code in that senses targets for both sight and hearing and I've tested that it works. It properly switches from Wander to Flee when it senses a player who is It.

6:39pm - I added the code that senses targets during the flee state, so it can switch between Wander and Flee now. I also tested that code by moving an it target that was in range away from the non-it player, and everything seems to work.

7:09pm - Okay seriously, I should compress the code for finding out if a player can see an it player or a target player in a function and call that instead of repeating the code. But right now I don't feel like doing that. I need to do it eventually though, so I'm writing this to remind myself to do it later. It's important because I need to test in the wander state whether you're it or not so it knows if it should be looking for it players or target players.

7:21pm - Yeah after thinking about it for a bit I've decided to go home a little earlier than I had planned. I was going to stay another 40 minutes or so but I don't feel much like working right now, and I don't want to play/watch shows in the McDonalds.

I'll pick up where I left off today later on.

Profile

relee: Picture of Relee Starbreeze, Wizard (Default)
Relee Squirrel

July 2023

S M T W T F S
      1
23456 78
9101112131415
16171819202122
23242526272829
3031     

Most Popular Tags

Page Summary

Style Credit

Expand Cut Tags

No cut tags
Page generated May. 24th, 2025 10:06 pm
Powered by Dreamwidth Studios