Hacker News | 📄 原文链接 | 2026-10-12 收录

二维车辆物理原型:GTA 车辆系统的起点

来源:patkerr.co.uk — 2026-10-12

📋 概述

Pat Kerr 回顾了 1996 年 8 月某个周末写下的二维物理模拟——它后来成为《侠盗猎车手》车辆系统的基础。最初只是 Atari ST 上用 GFA BASIC 写的线框 demo,之后移植成 C 用进真正的游戏。为纪念 30 周年,他把这套原型用 JavaScript 重制为可玩的 Motion Lab,提供车辆、飞船和砖块三种模式,还能切换碰撞边界、垂直重力,以及 GTA 里那套相机死区与速度推远效果。

🔑 核心要点

💡 金句

One weekend in late August 1996, I wrote a 2D physics simulation which later became the basis of the vehicle system in the eventually popular game "Grand Theft Auto" aka "GTA".
← 返回 Hacker News 首页