跳到正文
Mack Benz· 来源· @HospitalityMack · X·· 5 小时前AI 评分68
正文 · 原文

Day 7...
of building a cyberpunk isometric cRPG in Godot with zero game-dev experience. Characters and lore are based off my book.

Yesterday I had zero art in the apartment. Today I evicted the greyboxes... and accidentally got a crash course in how 2.5D games pull off their whole optical illusion without melting into chaos.

What that looks like right now:

• Greybox-to-painted 2.5D pipeline (ComfyUI + Photoshop).
Fed my Godot greybox straight into local AI depth control to keep 1:1 geometry.
Z-Image-Turbo flipped the camera to eye-level (horrific).
FLUX.2 Klein turned my moody noir penthouse into a Saturday morning cartoon.
MOSS-Image + Qwen 3.5 9B + MoGe 3 depth finally locked the room... after a lengthy custody battle where it kept putting wooden doors on an open bathroom, racks of suits in a closed closet, and a concrete slab where the front door goes.
Also found a hidden Scale Image to Total Pixels node secretly capping me at 1360×768 before pushing it to 1920×1080, blending a subtle Oil Paint pass in Photoshop, and lasso-slicing 3 transparent foreground cutouts (both interior walls + the kitchen counter).

• The Orthogonal Camera magic trick.
Dropped the 4K background onto a -30° / 45° tilted Sprite3D, hit play, and watched my guy vanish into the shadow realm every time he entered the bedroom.
Turns out a flat tilted image slices diagonally straight through a 3D floor.
The fix: because the game camera is Orthogonal (distance doesn't shrink anything), you can shove the background 15 meters behind the room and pull the cutouts 24 meters in front of it. In the editor it looks like an exploded IKEA diagram floating in space (see video). In-game, it's pixel-exact 1:1.

• Ghost-fading foreground walls. Even with the floor fixed, a flat 2D wall sitting at the same depth as a 3D character slices him in half diagonally. So the cutouts now sit completely in front of the player and check his 3D position against the invisible greyboxes—smoothly fading to 35% opacity when he steps behind the bedroom/bathroom walls, while the kitchen counter stays solid.

• Resurrecting the AR scan wave & killing the void. Hiding the greyboxes broke my 3D AR scan shader (turns out shaders need actual geometry to draw on, wild), and leaving Transparent checked on the backdrop buried all my AR icons.
Fixed it by turning the greyboxes into invisible, shadowless shader-only hosts (render_priority = 5), boosting icons to 10, rescuing my ping SFX from a script rewrite, and setting the entire exterior void and project Clear Color to pure #000000.

Also got thoroughly humbled by screaming at Godot for hiding my 3D Move arrows while Camera3D → Preview was checked on, flipping one negative sign on the Y-axis and launching a second floating kitchen island into the abyss, and building my entire Photoshop layer folder stack upside down.

The apartment finally looks like a moody, rain-soaked Bellevue penthouse at 3:42 AM. Our hardened cyberpunk operative is still a literal white Tylenol capsule sliding across walnut floors.

Video's attached if you want to watch a pill walk behind a ghost wall and ping a room that technically isn't there.

Still no idea what I'm doing. Still doing it anyway.

#gamedev #indiedev #godot #solodev #cRPG

来源:Mack Benz · x.com