Mar. 8th, 2021

relee: Picture of Relee Starbreeze, Wizard (Default)
10:03pm - Well I was up late last night so I slept long today. Then I couldn't get up for a while, then I got up for a little bit and went down again. I think I might have overworked myself the last couple days. The headache wasn't entirely gone when I got up, either. But I'm feeling somewhat better now, so it's back to the code mines with me.

I pretty quickly figured out what was causing the two left butt wall pieces to be displayed instead of one on the top wall, but then I realized there was a flaw in the code I was using to check for walls. It'll work fine in the middle, but the edge cases were the ones I was worried about. I want it to check for a wall if it's on the 'grid' but just say it's a wall if it's off.

The problem is I realized the way I was checking for the side walls would check the previous row instead of cancelling if it's off grid. So, we'll have to deal with it.

12:00pm - Despite saying that, I realized I wasn't ready yet, and spent a while playing Sparklite. Beat the first boss, too.

Now let's look at the code and see if I explode.

12:19pm - Okay I think I've fixed it. Now I'm going to update the map generator to make something more interesting looking to test it.

1:12am - The walls are working again. For a while I got mixed up because the Y coordinate in this case is down, not up. That's what was twisting my brain so much. XD

At least positive X is still right.

1:43am - I've just about gotten to where I was before, minus all the extra stuff I got from GoRogue. Next I need to make the TimeManagement system.

5:55am - Alright I've got myself an Actor class, a Player class, and an ActorFactory class for making them. But, I realized as I was getting close to finishing them, that the ActorFactory can't instantiate nodes in the scene as a Resource. So, tomorrow I'll have to refactor all this stuff and make ActorFactory into a node instead, and put it in the scene. I might also transfer all the actor stuff to the instanced nodes after all, if I'm doing it that way. We'll see what I think tomorrow.

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 Sep. 2nd, 2025 11:41 pm
Powered by Dreamwidth Studios