Yup. Portals. Whole level BSP wont fit into 256 page and is just too expensive. The whole project was coded by deepseek v4.1. I gave just general direction (e.g. use MMC3 mapper to have more ROM space and scanline counter). BTW, fixed the screen jumping and began optimizing properly. So hopefully get full gameplay soon.
That's already almost a game. Getting odd crashes even when I'm not doing anything. Oh, it's when the music runs out. Oh, there's music! That's a very Konami rendition of "At Doom's Gate."
The A button should probably be the strafe modifier / run / open doors button, if this ever has proper doors. There's some hitching when moving between rooms... which I notice are grouped or hierarchical. The blue sunken floor still counts as room 0. And player height doesn't change when walking over it, in this version. Are these just decorative? Come to think of it, all the walls changing the floor height are solid grey. And walking between the armor staircase back into the starting room, that drop ceiling snaps in and out instantly...
This is a fixed-height engine. Like Chasm: The Rift. That's some effective cheating.
Fixed this crash as well as a few visual glitches and player falling between sectors. Monsters are now animated, shot projectiles at player and can be killed (or kill player). Apparently AI also added a trigger and a hub systems to support Hexen style hub maps. But I still have to devise a nice scheme to convert them to this portal format while retaining authentic look. I think the engine can be optimized further if worked on by a human, so later i will release source code so people can try fixing it and porting to other systems.
Giggling all the way through E1M1-2026-10-20, because - yeah! That's it. That's the business. That is the alpha version of "we have Doom at home." It needs debugging, it needs optimization, but the parts are fundamentally there. The doors are even smooth, so you're beating PSX Doom. The difference between this and a no-kidding NES port of episode one is tweaking and cramming.
Enemy movement could be fake and still work if you skip pinkies. If they each wander back and forth between two points (maybe avoiding any height changes if their height is simply encoded) then that's good enough for a hostile shooting gallery. Actual Doom pathfinding is incredibly simple; enemies either walk toward you or walk a random direction.
The opaque walls that disappear as you change "rooms" could remain, for the sake of rendering speed, if they were black. They should indicate there's more, if they're deliberate. Overall I suspect the map data is just a little screwy. You can walk backwards through the immediate righthand door in E1M2, but only in one direction. The stairs up that way are borked. I was unsurprised the secret alcove had no button to open the courtyard, then amused when I fell out the window anyway.