跳到正文
eichi· 来源· @eichiyorozu · X·· 2 小时前AI 评分70
正文 · 原文

Want to try these in your own AI-built 2D game? Copy-paste this prompt 👇

Implement these 2D game feel techniques:
- Coyote time (100ms grace after leaving a ledge)
- Jump buffering (100ms pre-landing queue)
- Variable jump height (velocity cut on early release)
- Apex hang gravity modulation (0.28x near peak, 1.65x fall)
- Fast fall (2.4x downward gravity when holding Down)
- Responsive mid-air horizontal control
- Ceiling corner correction (nudge up to 4px)
- Ledge forgiveness (auto-lift feet up to 4px)
- Wall slide & 100ms wall-jump coyote window
- Acceleration, braking friction, and turn-around curves
- Automatic step-up over 3px curbs
- Melee attack forward lunge toward nearby enemies
- Hitstop (8-frame freeze on melee contact)
- 2-frame high-contrast inverted impact silhouette on finishers
- 4-frame pure white hit flash on damaged enemies
- Physical knockback arc and hitstun on hit enemies
- Trauma-squared directional screen shake
- Volume-preserving squash and stretch on jump and landing
- Fading cyan/gold afterimages on dash
- Pitch-escalating musical scale on consecutive pickups/hits
- Persistent skid dust, cracks, and impact marks on tiles
- Spring-damped horizontal camera look-ahead
- Exponential camera smoothing (no jitter)
- Ground-locked Y camera (updates only on landing)
- Wide FOV kick with radial speed lines during dash

引用eichi@eichiyorozu
Inspired by @poteto and @ziwenxu_ — you can only prompt what you can name. So I made a visual series covering 48 2D game feel terms, each shown as a before/after demo with voiceover & SFX. NAME IT TO BUILD IT Game Dev Terms for AI Builders Vol. 1: Jump & Forgiveness (9 terms) Full 5-volume thread below 👇
在 X 查看被引用的帖子

来源:eichi · x.com