7:29
Hellooo?
Looks like Alysan wrote up dialogue for an NPC. Cool! A little nervous because she said she made up a new creature which isn’t what I was looking for but I’ll have a read first. Maybe it does fit in some way.
Sweet. It does fit. It’s like the big bad stole their memories. They can’t remember what the big bad looks like but they also can’t remember their name or their family.
I’ll have to work that into the game asap so we can get a feel for how it looks, how it plays.
Meanwhile in the Discord this comment killed me:
Okay, I say asap but also I was already in the middle of working on the enemy and I woke up in the middle of the night with ideas on that so I’ll start with that. And then I’ll NPC asap.
…
Had an error where the player was turning upside-down. It’s because it was spawning at (0, 0) and the get_character_scale() method returned a negative value for the scale, which is not surprising in hindsight. I don’t know why changing the scale back to positive values didn’t fix the problem of the player being inverted. I just changed get_character_scale() so the output is clamped to [0.1, 10] and that fixed the issue.
18:59
Lots of progress.
Did I have an enemy at all this morning? I forget but now I do. And it chases you around the level, through doors, attacks you and kills you. You can hide from it as long as it wasn’t in the room when you climb into the loculi. It’s pretty sweet!
Windup for the attack:
Follow-through and knockback with bloodied effect on the player.
The door animations use the PlayerArt class which updates according to the GameState singleton. That means the door animations match even if it’s a different instance. Yay!
A second hit to the player will kill the player. I set it up to despawn Player and spawn in PlayerArt at the same location so I don’t have to worry about the player picking up input events or anything. Might make it tricky if other classes notice the reference to player is missing but we’ll see.
So I guess next time I’ll be ready for NPCs?
Posting today’s progress in our server’s #gameplay channel.
Been a good day. 17 pomodoros.