r/retrogamedev • • 14h ago

Working on a 3d engine for the original Gameboy (not color)

402 Upvotes

This is the process so far!

No framebuffer, so tiles become one, the Game Boy can only show 8x8 tiles, so the 3D view is drawn into tile memory, then copied to the screen.

-Half the lines, same screen. It only draws 56 lines and shows each one twice, by changing the scroll position every two lines.

No multiply. The CPU has no multiply instruction, so the 3D maths uses lookup tables instead. (What wqs a bitch to get working

Drawing heights. Each column is drawn front to back, and a window shrinks as floors, steps and walls fill it, so nothing is drawn twice.

It gets around 12fps average, goal is 15 :)

Lmk what u think!


r/retrogamedev • • 19h ago

POCKET PIT WALL: my real-time racing manager for the GBC, with 16 cars simulated live and Game Boy Printer support

Thumbnail gallery
33 Upvotes

Hi all! I wanted to share my second Game Boy project, POCKET PIT WALL, which came out this week.

It's a motorsport management game where the races play out live: 16 cars on track, a timing tower and a track map on one 160x144 screen. You make the calls (tyres, pace, pit stops) while the weather changes, safety cars come out and cars retire.

Around that there's a full career. You can pick any season from 1988 to 2050, each with the rules of its era, and work your way up through 25 championships, from regional series to the world title, on 512 real circuits.

On the hardware side, it runs on original hardware (MBC5 with a 32 KB battery save; I tested it on my GBA SP with a flash cart) and it prints on the Game Boy Printer: race sheets, lap charts and a card for each circuit.

It's free, with a browser build and the GBC ROM: https://studio77dev.itch.io/pocket-pit-wall

Gameplay trailer: https://www.youtube.com/watch?v=96VuSrGXRvU

If this doesn't sound like your sort of thing, my previous game, SPEED KIDD, a free top-down racer for the Game Boy, is on itch too: https://studio77dev.itch.io/speedkidd


r/retrogamedev • • 10h ago

Been working on an action roguelike for the Game Boy Color - fight zombies using only office supplies in "Corporate Rot!"

Post image
16 Upvotes

r/retrogamedev • • 15h ago

A Developer Has Spent Sixteen Years Reconstructing Pizza Tycoon

Thumbnail handheldhideout.neocities.org
4 Upvotes

r/retrogamedev • • 20h ago

PONTO FINAL - Game Boy Color homebrew game by OuroborosMaker featuring interesting visual techniques

Thumbnail bsky.app
4 Upvotes

r/retrogamedev • • 2h ago

What recompiling a late PS1 game taught me about how it was built: ordering tables, culling, overlays, and the PAL→NTSC conversion (C-12: Final Resistance)

Thumbnail gallery
3 Upvotes

I've been statically recompiling C-12: Final Resistance (SCE Cambridge, 2001) into a native PC program, which meant reading a lot of its code. I wrote up how it all works here:

https://github.com/spartaque12/c12-recomp/blob/main/docs/TECHNICAL.md

A few things in it that might interest PS1 developers:

  • Frame structure: one game frame takes two VBlanks (25 fps PAL, 30 NTSC). The display list built in one frame is submitted in the next, while the frame before that is on screen.
  • One ordering table per view: the world, the menus' item icons and the HUD each get their own, cleared in reverse and drawn with their own DrawOTag call in priority order.
  • Culling by four frustum corner rays built from a fixed 160×120 half-screen, walking a cell grid for up to 150 visible cells. Widening those four rays was all widescreen needed.
  • Level code in relocatable overlays the game loads and fixes up itself. 12 levels carry identical copies of the same fire-particle routine.
  • The controller library patches the BIOS at boot. It reads two instructions from the exception handler to decide where to put its hook. With a placeholder BIOS that address landed in the game's own code and hung one cutscene hours into the game. That matters for anyone high-level-emulating the BIOS.
  • What the US conversion changed: timers ×1.2 (25→30), screen constants for 240 lines (256→240, 128→120), and per-frame animations left alone, so effects run 20% faster on the US disc.

The doc also covers how the game's scene is pulled out of RAM and redrawn as real 3D (no PS1 wobble), frame blending on a steady clock, and save states of native coroutine stacks.

Code (needs your own disc; no game data is included): https://github.com/spartaque12/c12-recomp

Happy to answer questions about any of the internals.


r/retrogamedev • • 17h ago

Retro Coder 2000: you write, compile and run real programs on a 90s PC you build yourself. Even the benchmark in this trailer is a player-readable program

3 Upvotes

r/retrogamedev • • 5h ago

Supergrafx is a powerful console for sure!

Post image
2 Upvotes

r/retrogamedev • • 17h ago

Parrot Cart for ColecoVision

Thumbnail youtu.be
2 Upvotes

r/retrogamedev • • 17h ago

You can use your PSP as a Dreamcast controller, VMU and memory card

Thumbnail youtu.be
1 Upvotes