A lightweight but powerful framework designed for building NES games using 6502 Assembly. This project provides a modular base for game development, complete with tools for map handling, actor management, collision detection, and advanced debugging with Mesen.
- Intelligent collision system that uses surrounding tile influencers to determine directional collisions.
- Designed to minimize CPU cycles while offering predictable and flexible behavior.
- Scripts to parse and compress 2x2 metatile maps exported from NEXXT.
- Optimized for memory efficiency while maintaining tile clarity and organization.
- Easy-to-use macros to add and manage actors (player, enemies, NPCs) with minimal code.
- Supports positioning, state control, and update logic hooks.
- Native support for animated metatiles with configurable frame sequences and timing.
- Suitable for water tiles, fire, glowing effects, etc.
-
Custom Lua scripts for Mesen to visualize and monitor:
- Memory changes in real-time (hexdump, watchpoints)
- State machine transitions
- Tile-based collision zones
- Event triggers and game logic flow
- Clone the repo and make sure you have
ca65
/ld65
installed. - Build with the provided Makefile or script for your platform.
- Use the included Lua scripts inside Mesen for advanced debugging.
- Begin development using the example scene and actor macros.
- Scripting system for in-game events
- Sound driver integration
- Built-in sprite animation manager
MIT — free to use and modify for any personal or commercial NES game projects.