Just completed Phase 2 of Slayie!
Converted the map into a full 2D array matrix (dungeon[10][10]) to store real wall layouts and obstacle data. Added solid boundary walls (#), interior obstacles, and built collision detection so the player @ can’t walk through walls. Also added an exit door (D) at (8, 8) to clear the dungeon, and fixed a movement math bug where pressing S was moving the player in reverse!
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.