Jun. 23rd, 2021

Work Post

Jun. 23rd, 2021 06:11 pm
relee: Picture of Relee Starbreeze, Wizard (Default)
6:11pm - I should be at work today, but I couldn't do it again. My roomie said I should work on my programming projects instead, if I was going to miss work, and he's right, but I was in a funk for a while first.

Now that I'm out of that funk I'm going to take his advice and do some work of my own.

6:16pm - Phew, nobody said this was going to be easy... Just hit my first wave of flee response. It occurs to me that the flee response I get from this work isn't NEARLY as powerful as doing my job. Alas.

6:29pm - I still keep thinking 'Maybe this would be easier if I started from scratch with what I know now' and I'm pretty sure that's wrong, but the thought occurs to me over and over. ^.^;;

7:57pm - It's hard to believe I've been working almost two hours.

8:05pm - Break time!

9:36pm - Well that was a longish break, but I've had longer before and I'm back now.

I'm currently working on implementing the GameMap method stubs I put in before, so that when I overhaul everything else they have a working map to use.

9:51pm - I've been analyzing the code I've got so far and I'm starting to think that the actor_list should be in the map too, since it's a list of the actors on that map. Meanwhile the actor_timing_list would stay on the Level which manages the sequence of events in the game.

...

Yeah I'm gonna do that.

10:17pm - On closer analysis, this might be the best time to implement the Spatial List for the actors, since they are being contained by the map now.

*looks it up* Oh yeah that's how it's done. It's just a pair of dictionaries.

10:39pm - Okay that should do for the add_actor method. It adds an actor to the map by adding it to each of the actor_map and position_map, and sets up the Actor properties to match it's location and connection to the map, and move it to its position graphically.


11:13pm - Alright time to stop for the night, but I managed to get into The Zone and complete all the method stubs in the GameMap class. Next time, I have to migrate the movement code to the map, and integrate it.

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 07:25 pm
Powered by Dreamwidth Studios