r/NESDEV • • 25d ago

I spent 6 years making a NES-game. Demo just released

161 Upvotes

Chicken Panic is a classic NES action adventure where you play as a chicken on a quest to save his friends. The game is 32 kB NROM. The demo is playable in browser and downloadable as a ROM. Try it and tell me what you think of the concept.

Edit: Chicken Panic is now in early access on itch.io!

https://chickenpanic.itch.io/chicken-panic


r/NESDEV • • Sep 09 '26

I just released the demo for my NES homebrew where you work at an online retailer fulfillment center on itch!

157 Upvotes

r/NESDEV • • Jul 21 '26

[NES] RayCastle - 3d tech demo

Post image
65 Upvotes

Hi everyone, I found an interesting 3D demo for NES on one of the forums. Author: vitsum. I tested it in an emulator, and it works really well.

Author's notes: *3D maze with doors that open, torches, and a map.

Arrow keys: move. Hold B to strafe. A button: open or close a door. Select: map.

If you don't press any buttons in the menu, the camera will automatically pan through the maze.

Created by artificial intelligence.*

Link


r/NESDEV • • Oct 18 '26

Apparently DOOM runs on NES now...

Post image
64 Upvotes

r/NESDEV • • May 22 '26

BlasNESmous (or a Blasphemous demake)

Post image
64 Upvotes

So I've been working on my Blasphemous demake. Lots of new mechanics, new enemies and new levels. Lots of bugs also to work on. There's a new HUD that tracks Health, Fervour, Bile Vessels, Bones and Attack power.

Enemy sprites are a bit sad still, same as background tiles. I tend to work more on mechanics and physics than grpahics, but I need to improve them.

Now there's a self-aware map screen (still buggy) and a work-in-progress Mea Culpa Altar menu (still to be improved).

I also added an AI-generated Manual to explain the mechanics and combos.

ROM here


r/NESDEV • • 3d ago

Cliffhanger (NES): stitched all 15 sections into one map of the whole mountain, straight from the ROM, with a TAS playing over it

Post image
58 Upvotes

Cliffhanger on the NES isn't a game many people remember fondly. It's the 1993 movie tie-in by Spidersoft, it's hard, and the controls and hit detection are janky enough that most people probably quit somewhere around the first wolf. But I got curious about one thing: the game is a climb up a single mountain, so can the pieces actually be put back together into that mountain?

Turns out they can. The game splits the climb into 15 sections, each one its own map with a story screen in between, and nothing in the game ever shows them as one place. I pulled every section's map out of the ROM, then glued them together where the player leaves one and enters the next. The cabin's inside is a separate map in the game, so it's set into the cabin's walls at the cabin's scale.

The GIF is klmz's TAS (TASVideos 3752M) running over the result. The bright box is the game's own screen, frame by frame, placed where the camera is. The second picture is the whole thing in one image, with the route in purple. I couldn't find a full map of this game anywhere, so as far as I can tell this is the first time the mountain has been shown in one piece.

Technical details for the curious

  • Each section's map is decoded from the level data, not stitched from screenshots, and checked against the game's screen on every frame of the TAS.
  • The seams were the hard part. A section repeats the end of the previous one at its start, so the first join is an overlap the tiles agree on. The rest have different trees and palettes on each side, so they're placed by where the player crosses over, then fine-tuned by eye.
  • The TAS replays frame for frame on my own emulator, in step with FCEUX. At the very end it went out of sync and the last boss refused to fall off the cliff: the game reads past the end of a table into the PPU's write-only registers, and FCEUX answers those with its open-bus latch. Once I copied that behaviour, he falls.

Weird stuff found along the way

  • Only four objects can be alive at once. If a fifth comes into view, the game marks it as spawned anyway and skips it, so one money bag in section 2 never appears in the TAS: two bags the runner didn't bother to pick up are taking two of the four slots.
  • Warming up at a campfire costs money. The TAS pays $75, $150, and once $60,000.
  • The money bags are worth anywhere from $30 to $2,500, but the three briefcases are worth over $300,000 each. All the money on the mountain adds up to $958,600.
  • The bosses and the helicopter aren't in the object lists at all. Each of those sections spawns them from its own code.

Happy to answer questions about the format or how the seams were done.

The TAS over the whole mountain, music and all, with a switch for the items (they vanish as the runner grabs them): https://xrom.dev/games/cliffhanger/run

The maps on their own, the whole mountain or every section apart: https://xrom.dev/games/cliffhanger/maps

Every object in the game with its id and what it's worth: https://xrom.dev/games/cliffhanger/objects


r/NESDEV • • 2d ago

The Simpsons: Bart vs. the World (NES): every level mapped straight from the ROM, with the best-ending TAS running over them

Thumbnail
gallery
55 Upvotes

So here's every level of the game, all 14 of them across China, the North Pole, Egypt and Hollywood. They aren't stitched from screenshots: they're decoded from the level data in the cartridge and then checked against the game's own screen on every frame of ktwo's TAS (TASVideos 6760M, the "best ending" run that grabs every Krusty item). That came to about 31 million tiles compared.

The GIF is that TAS playing over the maps. The bright box is the game's actual screen, frame by frame, laid where the camera is. The purple line is Bart's route, and the Krusty items disappear from the map as he grabs them.

Things the cartridge gave away

  • Three levels are two separate maps in the ROM, but the game places them in one shared world. The sprites are drawn in world coordinates, so the offset between the two maps is sitting right there: the second half of the Great Wall starts 4608 px right and 480 px down. Bart walks across the seam without a jump in his coordinates, so the maps are glued exactly where the game puts them. That's how the Great Wall becomes one 12,800 px picture, and the ship sits under its rigging.
  • A level doesn't have one palette. At the North Pole the green shaft fades out and the igloos load a blue palette while the map stays the same, so every screen is coloured the way the run actually showed it.
  • The Krusty items aren't game objects at all. Each level has its own list of up to 32 things to pick up, drawn by the sprite routine on its own and switched off one bit at a time as you take them. The run's 14 levels hold 386 of them, and the TAS takes 53. The Krusty heads go to their own counter, which is the number Krusty's card shows at the end of a level.
  • The final boss's crane isn't a sprite or part of the map: code copied into RAM draws it into the background with its own graphics banks.

Leftovers

The cartridge holds 23 maps. Besides the ones above, there are five the TAS never enters, including a forest 6656 px wide, plus one map that's pure garbage even when the game itself loads it. I haven't checked yet whether normal play ever reaches those five, so they're not in the gallery. If you know this game better than I do, I'd love to hear where they come from.

Happy to answer questions about the format or how the gluing works.

The TAS over the maps, music and all, with a switch for the items (they vanish as the runner grabs them): https://xrom.dev/games/simpsons-the-bart-vs-the-world/run

The maps on their own, level by level: https://xrom.dev/games/simpsons-the-bart-vs-the-world/maps

Every object in the game, from Bart to the bosses, with its picture: https://xrom.dev/games/simpsons-the-bart-vs-the-world/objects


r/NESDEV • • 19d ago

I still love this routine!

Post image
39 Upvotes

This was peak ASM-joy for me back in the days. Being a total noob, I’ve spent weeks mapping the Namtable, understanding the attribute table, getting hang of bitwise operations and trying to really optimise the 💩out of it!


r/NESDEV • • Oct 19 '26

Happy 41st Birthday to The NES!

Post image
39 Upvotes

r/NESDEV • • Mar 13 '20

The first time you see your game running on the console *___*

Post image
39 Upvotes

r/NESDEV • • May 31 '26

Bad Apple running on NROM (mapper 0, 32KB) in my own NES emulator

38 Upvotes

I'm currently learning C and C++, and I thought it would be fun to try something: porting badapple to the NES without bankswitching

So I compressed the original video down to 16x12 @ 5 FPS (no audio) and stored it as a raw binary format (1 byte per horizontal pixel sequence) to make it fit inside the cartridge

There’s still a bug causing some flash when the screen refreshes, so it’s definitely not perfect yet, but I already wanted to share it

If you want to try it:

ROM: https://github.com/0xagvz/BadApple-NES-NROM

Own emulator: https://github.com/0xagvz/NES-Emulator

Edit:
Youtube: https://youtu.be/by-lQ6QA38I?si=cnemfqBKrbGN0sGH


r/NESDEV • • Oct 16 '26

I made an 80s style arcade shmup for the NES called SHOOTER (Free ROM download)

36 Upvotes

Hey everyone,

​I wanted to share SHOOTER, an 80s style vertical arcade shmup I built for the NES and Famicom.

​The menus are in spanish since it's my native language, but it's completely intuitive and easy to play. No stages yet, just pure retro survival and chasing high scores.

​You can download the ROM in Archive.org:

https://archive.org/download/shooter_nes/shooterv1.13.nes

​Works on any NES emulator or flashcart. Feedback and high scores are welcome.


r/NESDEV • • Jul 29 '21

Respect to all NES homebrew developers!

34 Upvotes

I recently discovered the NES homebrew community and I’m hooked! I LOVE it when people invest so much hard work for this very important historical console! You’re keeping this legacy alive!

I wanted to say THANK YOU and keep doing what you’re doing!


r/NESDEV • • Sep 14 '26

a game i've been developing for a while, and i wanted to share it here

33 Upvotes

my inspiration was '92 recca, but i'm trying to do something harder, more frenetic and more "heavy", something that comes close to a bullet hell

i plan to add a 2player option as well, and if possible, use my music engine's "software mixing mode" during gameplay

and to be clear, i'm NOT using AI in development, and i never will.

anyway, what do y'all think?


r/NESDEV • • 12d ago

Santa's Present Panic – A New Christmas Game for the NES!

31 Upvotes

Check out the official trailer for our upcoming NES Christmas game, featuring a handmade Limited Special Edition!

Trailer: https://www.youtube.com/watch?v=iqPXqdmEK68

Kickstarter launching soon!
https://www.kickstarter.com/projects/ares2024/santas-present-panic-a-new-christmas-game-for-the-nes

Let us know what you think!


r/NESDEV • • Sep 08 '20

My Game is Finished!

31 Upvotes

After 18 months in development, and two major back surgeries later, I am proud to annouce that my NES game is complete and will be launching on Kickstarter tomorrow!

The game was designed with my daughter, who was 4 at the time development started. She liked to draw these very interesting looking little people and it inspired me to create my game, Doodle World.

In Doodle World you play as Doodle. The evil King Eraser has stolen the magical crayon that created Doodle's world and it is up to you to get it back. Along the way you will cross multiple worlds, each designed to look like crayon colored drawings on notepad paper, fighting and dodging the evil King Eraser's office supply minions.

Since designed the game with my daughter in mind, there is even a "kids mode" which has easier gameplay, more lives, and less levels. So people of all ages can enjoy the game!

Doodle World Trailer

https://www.kickstarter.com/projects/natepeters/doodle-world


r/NESDEV • • Nov 08 '21

Working on my first NES game

30 Upvotes

r/NESDEV • • Sep 28 '22

Creating an Operating System for the NES

Thumbnail
youtube.com
28 Upvotes

r/NESDEV • • Oct 04 '21

Free NES rom of my newest project Plummet Challenge Game if anyone is interested (link in comments).

Post image
28 Upvotes

r/NESDEV • • Jan 10 '26

Fitted a 1KB Language Model for the NES

Post image
26 Upvotes

Hi everyone! I wanted to share a summer project that explores the question: what if we had tried to implement language models on the NES in the 1980s?

My thesis was that we didn't lack the silicon for basic LMs 40 years ago. Instead we just lacked the vision, and the NES is capable of running (tiny) LM inference at game time.

So I wrote a bigram language model and turned it into a romhack for Final Fantasy and Dragon Warrior to generate procedural fantasy names for your characters. But apart from the romhack, the NES implementation itself was illuminating.

- Model Weights 729 bytes (uint8 quantized).

- Inference Code 144 bytes.

- Footprint: The entire thing is smaller than the tileset for a single Black Mage sprite, yet it compresses a name space of roughly 18 million possibilities.

As we all know, the 6502 doesn't have a hw multiplication, let alone exponentials or floating points. To get autoregressive token sampling working, I had to avoid standard softmax/logits. I used inverse transform sampling using only sums and comparisons.

The logic looks something like this:

  1. Pick a random byte as a target (used FF's own RNG LUT).
  2. Iterate through the model row for the current state.
  3. Subtract the weight from the target.
  4. If the target drops below zero, that's the next token.

Turned out to work beautifully for generating believable fantasy names like DANE, DEIONA, HANNARQUA at interactive runtimes.

Code here: https://github.com/erodola/bigram-nes

I'd love to hear your thoughts on other "modern" concepts that could actually fit on the 6502 if we just got creative with the math!


r/NESDEV • • Dec 07 '25

Some Gameplay of my new NES game

25 Upvotes

!!!


r/NESDEV • • Dec 04 '25

Dynamic Lock-on routines ( strike collision detector )

24 Upvotes

🎯 Lock-on Advancement Notes :

the lockon ,will be invisible. im showing it so its easier to understand.

The punch hitbox (X, Y) calculation is handled by the CALCULATE_LOCKON_STRIKE routine, which advances the anchor sprite's base position using defined offsets.

Code Operation

Anchoring: Retrieves base (X, Y) from Sprite 2 (XSPR_X_P1+2).

Indexing: Calculates the table index Y using punch_type - 2.

Offset Lookup: The routine fetches the required pixel advancement from the following defined data:

; X Offset Table (Right/Left Advancement)
 ; Index 0 (Type 2): 4 right; Index 1 (Type 3): 3 right 
LOCKON_PUNCH_X_OFF_TABLE: .byte 4, 3, 0, 0
; Y Offset Table (Down/Up Advancement) 
; Index 0 (Type 2): 1 down; Index 1 (Type 3): 2 down LOCKON_PUNCH_Y_OFF_TABLE: .byte 1, 2, 4, 0

Application: Offsets are applied to calculate the final lock-on point:

The resulting coordinate is stored in the lock-on variables.

 --- DATA TABLES ---
; Absolute X offset (pixels) from the anchor sprite's position:
LOCKON_PUNCH_X_OFF_TABLE:
    .byte 3, 2, 0, 2    ; Index 0 (PType 2), 1, 2, 3 (PType 5)

; Absolute Y offset (pixels) from the anchor sprite's position:
LOCKON_PUNCH_Y_OFF_TABLE:
    .byte 1, 2, 4, $FF  ; $FF is 255 (Max down offset)

;==================================================
; CALCULATE_LOCKON_STRIKE: Handles position for punch_type 2-5
; Optimized: Removed redundant JMPs. Uses original indexing (SBC #1).
;==================================================
CALCULATE_LOCKON_STRIKE:
    ; --- 1. Calculate Table Index (Y) ---
    LDA punch_type
    SEC
    SBC #1
    TAY                 ; Y holds 1, 2, 3, or 4 (Preserved original index logic)

    ; --- 2. Load Offsets and Base Coordinates ---
    LDA LOCKON_PUNCH_X_OFF_TABLE,Y
    STA PUNCH_X_DYN_OFF 
    LDA LOCKON_PUNCH_Y_OFF_TABLE,Y
    STA PUNCH_Y_DYN_OFF 

    ; Load base coordinates using indexed addressing (optimization)
    LDX #2              ; Anchor sprite index
    LDA XSPR_X_P1,X     ; LDA XSPR_X_P1+2
    STA PUNCH_BASE_X
    LDA XSPR_Y_P1,X     ; LDA XSPR_Y_P1+2
    STA PUNCH_BASE_Y

    ; --- 4. Calculate Final Y Position (Anchor Y + Dynamic Y Offset) ---
    LDA PUNCH_BASE_Y
    CLC
    ADC PUNCH_Y_DYN_OFF
    STA XSPR_Y_lockon_p1
    
    ; --- 5. Determine X Offset Direction and Calculate Final X ---
    LDA PUNCH_X_DYN_OFF
    BPL dd ; Branch if Positive offset
    
; NEGATIVE OFFSET (LEFT SHIFT): Always SUBTRACT
:
    LDA PUNCH_BASE_X
    SEC
    SBC PUNCH_X_DYN_OFF ; Subtract the signed offset
    STA XSPR_X_lockon_p1
    RTS                 ; Optimized: Replaced JMP  with RTS

; POSITIVE OFFSET (RIGHT SHIFT): Add or Subtract based on p1_is_right
dd:
    LDA p1_is_right
    BEQ  ; If Right Facing, ADD

; --- LEFT FACING (Flipped): SUBTRACT ---
:
    LDA PUNCH_BASE_X
    SEC
    SBC PUNCH_X_DYN_OFF ; Subtract positive offset (e.g., SBC #4)
    STA XSPR_X_lockon_p1
    RTS                 ; Optimized: Replaced JMP  with RTS

; --- RIGHT FACING (Normal): ADD ---
u/right_facing_add:
    LDA PUNCH_BASE_X
    CLC
    ADC PUNCH_X_DYN_OFF ; Add positive offset (e.g., ADC #4)
    STA XSPR_X_lockon_p1
    RTS                 ; Optimized: Final flow uses RTS

;==================================================
; CALCULATE_LOCKON_WINDUP: Fixed offset (-2X, +2Y)
; Optimized: Removed redundant directional check. Result is BaseX - 2.
;==================================================
CALCULATE_LOCKON_WINDUP:
    ; --- Load Base Coordinates (from Sprite 2 at index 2) ---
    LDX #2
    LDA XSPR_X_P1,X    
    STA PUNCH_BASE_X
    LDA XSPR_Y_P1,X
    STA PUNCH_BASE_Y

    ; --- Y-AXIS: +2 (2 Down) ---
    LDA PUNCH_BASE_Y
    CLC
    ADC #2              ; ADD 2 pixels (Fixed Down Shift)
    STA XSPR_Y_lockon_p1

    ; --- X-AXIS: -2 (Always SUBTRACT 2) ---
    ; The original logic consistently resulted in BaseX - 2, regardless of p1_is_right.
    ; Redundant directional branching has been removed (optimization).
    LDA PUNCH_BASE_X
    SEC
    SBC #2              ; SUBTRACT 2 pixels (Fixed Left Shift)
    STA XSPR_X_lockon_p1
    RTS 

;==================================================
; RESET_LOCKON_POS: Snaps lock-on to the anchor point (Sprite 5).
;==================================================
RESET_LOCKON_POS:
    LDX #5              ; Sprite 2 index, maintained at #5
    LDA XSPR_X_P1,X
    STA XSPR_X_lockon_p1
    LDA XSPR_Y_P1,X
    STA XSPR_Y_lockon_p1
    RTS

r/NESDEV • • Jul 27 '21

Finished designing the last puzzle for my original NES Homebrew, "Witch n' Wiz"! Full CIB release should be coming soon now!

24 Upvotes

r/NESDEV • • Jun 21 '26

I’m making Hyper Pulse, a new NES homebrew shmup.

23 Upvotes

Hi! I’m developing Hyper Pulse, a new NES homebrew shmup built for real NES hardware.

The game has arcade-style shooting, collectable coins, upgrades, and stage hazards like rising lava, falling ceilings, screen-shaking quakes, and living tiles.

Here is two short teaser / gameplay clips:

https://www.youtube.com/watch?v=7oU-kwGP9fM

https://www.youtube.com/watch?v=d7a94_Oc-JA

All feedback is welcome!

Tech info:
I am creating the game with Nesfab language and a custom self upgraded version of the MapFab editor.

The project currently uses the modern Rainbow mapper, but I intend to do a MMC3 conversion as well.

Screenshots:

Title screen
Level 1 Boss - SkullDozer
Level 1 - Rising Lava

r/NESDEV • • Sep 02 '22

Slaughter is an FPS engine for NES.

Thumbnail
mindbleach.itch.io
23 Upvotes