作者拆解了利用AI生成Three.js赛车足球游戏的完整工作流,提供了从技术选型到参数调优的可复用步骤。
This is f*cking insane.
Rocket League used to be the game we played while our MMORPG was queuing.
Now we play it in the browser while Claude or Grok finishes another project.
BlendiByl built a full browser Rocket League with Fable 5.2. Real car physics, a ball that feels right, and it's open source.
You can build your own version this weekend. Here's how:
Pick a boring stack
Three.js for the 3D, Rapier or cannon-es for physics, Vite to run it. Don't let the model pick something exotic. Boring tech means fewer bugs.
Start with one sentence
"Build a browser car-soccer game in Three.js + Rapier. One car, one ball, one arena with walls and two goals. WASD to drive, space to jump, shift to boost." Ask for a single working file first. Make it pretty later.
Get the ball right before anything else
Feel is 90% of this genre. Have the model expose gravity, ball bounce, car mass, boost force and jump impulse as constants at the top of the file. Then tweak them yourself until hitting the ball feels good.
Add the moves that make it Rocket League
Double jump, flips toward where you're steering, air roll, ball cam on a key toggle. Add them one at a time and playtest after each one. Never ask for 5 features in one prompt.
Give it an opponent
A simple bot that drives at the ball and tries to hit it toward your goal is enough. Then ask for a goalie mode and a difficulty slider.
Polish
Score UI, a kickoff countdown, goal explosions, a boost meter, sounds. This is where the model shines. Let it go wild.
Ship it
Push to GitHub, deploy on Vercel or GitHub Pages. Now you have a link to send your friends.
Or skip all of this. Fork Blendi's repo and build your own twist on top.
Your next "waiting for the agent" break just got a lot better.
i used fable 5.2 to make a rocket league that runs in the browser ⚽ it has the most convincing feel i've ever seen, and is open source, try it! https://patch.gg/play/blendi/kickoff在 X 查看被引用的帖子
来源:Rift · x.com