Splitter: End of day 4

1 Added mobs. They draw when in FOV but they don’t move and you can’t attack them
and they don’t attack you. Basically they are attractive “mob statues” available
in three sleek designs: giant rat brackets gasp, Orc, Orc Mage brackets exclamation
mark and kobold. You can tell I’m typing this so I don’t have to code. HELP ME, FUTUR
GRASPEE!
2 Added flag so mobs become “aware of player”. So now they are freakishly held-in-place
but they become AWARE OF YOUR PRESENCE. All that’s holding that giant rat back from
jumping at your face with his two claw attacks per-round is a hundred lines of code or so.
Are you afraid yet?!?!! I am!
3 Monsters weren’t being cleared when you changed levels which lead to rats in the walls.
They were literarily (sic) in the walls! Tough crowd
4 Mobs have finally found their legs and move about. They ignore the player, although
they do, as mentioned set a flag when they notice him. (“I’ve got my eye on you, buddy”)
5. You can now rest. This makes it easier to watch the mobs moving around randomly; you no
longer have to run repeatedly into a wall.
6 Realized by writing nullptrs into where mobs used to be in a certain data structure I
was wiping things like stairs, open doors etc off the map:
>kobold walks across staircase.
>now no way off level
7 Implemented the world’s worst pathfinding routine for mobs. (They go left if you are
left of them, up if you are above them, etc.) Messed up even this routine, so mobs were
able to go diagonally while I couldn’t.
8 Upgraded to second worst pathfinding routine: now the mobs randomly check either vertical
position relative to you first, or horizontal. This stops the silly dance when you go
alternately up and down and the mob copies you instead of moving horizontally towards you.
9 Mobs now respect other mobs and don’t move on top of them. Mobs still don’t attack you
so it’s kind of fun to “train” them round the dungeon. They tend to get stuck on things
though. If I had more time, I would do better pathfinding, but I need to try to get this
done in time! Almost end of day 4! PANIC!
10 Player is now treated as a mob. This is to make combat easier. Mobs now attack you but
don’t actually do damage yet, plus you can’t fight back. How unfair!

Is it “OK” if we attack you?

View post on imgur.com

1 thought on “Splitter: End of day 4”

  1. Damnit Past Graspee! Why did you waste all your time on blog posts and leave me with all this code to get done!

    Seriously though, sounds like you’re making good progress. Look forward to seeing this one completed

Leave a Reply