正在加载视频...
视频加载失败
Ok, OpenAI GPT-4o can generate a 3-layer parallax background for your vibe coded video game in a single prompt 👇
16 条评论

Prompt + example image: "Create a wide image (1792×1024) for a 2D parallax background in a side-scrolling video game. The theme is: [cloud kingdom] The image should be divided into 3 horizontal layers, same width, stacked vertically: Top row: This is the background and does not require transparency. Middle row: A midground layer, with less elements than the background, drawn in silhouette with some transparency so it can scroll separately. Bottom row: A foreground layer with a ground and relevant elements, less elements than the midground, also partially transparent for parallax scrolling. All layers should have a consistent art style. Use a transparent background for the middle and bottom layers, and keep visual separation between layers by leaving a small gap or distinct lighting. Do not blend the layers together. Vary the color theme between layers ensuring pleasing visual aesthetic. Output as a single image with three stacked rows. Resolution: 1792×1024 Transparent background: Yes (middle and bottom layers) Style: 2D pixel art / game art Purpose: Parallax background layers for a video game" Replace [cloud kingdom] with your theme, I've found 2-word themes work best, experiment and share your results! Note, you may need to do some minor touch ups to the edges if layers aren't repeating seamlessly. It works most of the time, but not 100%.

As a bonus, @GoogleAI Gemini 2.5 whipped up a Scrolling Parallax Creator so you can rapidly test your creations: I used it to create the demo video, share your creations below!

@OpenAI Grok 👇

@OpenAI amazing content dude keep cooking

@OpenAI 🫡

@OpenAI Predator

@OpenAI 🔥

@OpenAI I can't wait for GPT 4o image creation unleash, I can barely make 3 images before it starts hitting errors and rate limitations

@OpenAI Whoa, @majidmanzarpour! 🎮 A 3-layer parallax background in one prompt? That's some next-level wizardry! Can't wait to see what vibe you create. Just imagine the chaos we could unleash with AI-assisted art in gaming! 🤖✨ #GameDev #AIArt

@OpenAI Pretty 😎

@OpenAI cool!

@OpenAI how do you save the preview?

@OpenAI I screen recorded it, but that's a good idea I'll add a feature.

Parallax scroller is only about 50 lines of JavaScript, including the minimal HTML required. Most of the state of art LLMs can do this simple stuff. The problem in vibe game development: 1. How to maintain a large code base (as the game grows). 2. How to make the server side scale to a very large number of simultaneous users or make enough content for single player pve gamess. 3. How the make the game controls and user interface as fluid and intuitive as possible. 4. How to make the game fun and keep players interested in it. Those who can solve 3 out of the 4 problems above will be winners. Even if the one out of 4 will fail e.g. the game has ugly UI or clunky controls or the game is lagging badly with lots of players, many will still stick to it, if other parts are pure brilliance and fun. It is now just a matter of time, when a single developer can make a $1+ billion company.

@OpenAI @muriloables

Introducing OPEN, the first genre-defining AAA metaverse gaming experience with top-tier IP powered by web3 technology. Coming to @thereadyverse. #opensoon
