I'm making progress again on the RSRPGE, but the Readme is taking ages to write. I fixed a bug whereby dead NPCs would prevent other NPCs from traversing the grid node they died on until another NPC was spawned in its slot, but now I've discovered an even stranger glitch.
Occasionally the first enemy I attack becomes a ghost on a successful hit, its sprite remaining visible but floating at the coordinates it died at rather than scrolling with the map when the player moves. Furthermore it seems to disappear after a round is completed (after each existing entity makes a move). I've tried to recreate the glitch and capture it on Jing but I haven't been able to as it occurs rarely.
Here's the latest build: link removed
I'd be grateful to hear any feedback on bizarre behaviour such as this glitch or any others you find.