# Picophysics: A Single-File Physics Engine for Retro Consoles

Original title: Picophysics: Single file physics for games on platforms like N64, PSX, DC

> Hacker News story 49182148 · language: en · submitted 2026-08-05
> Web version: https://zeli.app/story/49182148
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 88 · by [klaussilveira](<https://news.ycombinator.com/user?id=klaussilveira>) · 💬 24
[original](<https://gitlab.com/Kazade/picophysics>) · [HN discussion](<https://news.ycombinator.com/item?id=49182148>)

## Summary

Picophysics is a compact, single-file C physics engine designed for retro gaming platforms like the N64, PSX, and Dreamcast. It offers collision detection and response, including box-triangle and multiple collision shapes, with a focus on simplicity and performance. The project includes examples, tests, and tools, and is actively developed on GitLab.

## Key quote

> A single-file physics engine for games on platforms like N64, PSX, DC.

## HN discussion (24 comments)

### [klodolph](<https://news.ycombinator.com/item?id=49238222>)

> Everything being static inline makes it hostile to these older systems which have limited RAM. Use of float makes it unlikely that you’d run it on the PlayStation, which has no FPU.

### [iamcoder18](<https://news.ycombinator.com/item?id=49237962>)

> It's hand written and should also work on microcontrollers like ESP32s or Pi Pico 2. Have you tried anything like that yet?
>
> The Pico in particular has enough RAM and supports floating point math.

### [Attummm](<https://news.ycombinator.com/item?id=49238049>)

> Sounds interesting, but there isn't any description or readme to go by.

---

## Cite

- Page: https://zeli.app/story/49182148
- Date: 2026-08-05
- Source: gitlab.com (https://gitlab.com/Kazade/picophysics)
- Hacker News: https://news.ycombinator.com/item?id=49182148

## Other languages

- zh: https://zeli.app/zh/story/49182148 · markdown: https://zeli.app/zh/story/49182148.md
- ja: https://zeli.app/ja/story/49182148 · markdown: https://zeli.app/ja/story/49182148.md
- ko: https://zeli.app/ko/story/49182148 · markdown: https://zeli.app/ko/story/49182148.md
- de: https://zeli.app/de/story/49182148 · markdown: https://zeli.app/de/story/49182148.md
- es: https://zeli.app/es/story/49182148 · markdown: https://zeli.app/es/story/49182148.md
