Menu

AI Game Developer [BETA - v.1.0.1] 

Welcome to the AI Game Developer! Bring your ideas to life in seconds with fully playable, Flarie-ready games - automatically built and compatible with all Flarie Studio settings and integrations.

This guide is designed to help you move from concept to launch faster than ever, all within a completely no-code environment.

 
 
Writing a great Game Concept prompt

A strong prompt helps the AI understand your vision and build a playable game that behaves exactly how you expect. Here’s how to write prompts that consistently produce great results:
Do:✅ Be clear, specific, and simple. It’s better to start small and then add features later - overly complex, multi-phase games may confuse the AI.✅ Describe what the player does and how the game ends.✅ Explain player actions and feedback, e.g. “Tap to shoot,” “Swipe to dodge.”✅ State the goal and success or failure conditions, e.g. “Reach 100 points to win,” “The game ends when the player hits an obstacle.”✅ Include control details, e.g. “Tap to make the player jump,” “Use arrow keys to move left and right.”✅ Mention objects and how they appear, e.g. “Avoid enemies that appear from the sides,” “Collect pickups that fade in from the top.”
✅ Call out randomness if needed, e.g. “Random enemies appear from the top.”
Avoid:
❌  Vague ideas like “a fun adventure” or “something with animals.”❌ Requests for menus, audio, or long storylines.❌ Non-supported gameplay types (e.g. 3D, multiplayer games ).

🧠 Example - Good Prompt:“Create a classic snake game where the player controls a growing snake using the arrow keys. The goal is to collect apples to increase length and score. Add moving enemies that the snake must avoid - colliding with an enemy, wall, or itself ends the game.”
🚫 Example - Poor Prompt:“Make a cool football game with lots of stuff happening.”
⚙️ What’s Not Supported (Yet)The AI Game Developer currently does not support:

❌ Audio or sound effects ❌ Menus or story cutscenes❌ Local storage or persistent save data❌ 3D Games 
❌ Multiplayer Games
❌ Text-based Games

Focus on gameplay logic and interactions -  everything else can be configured later in Flarie Studio after export.

 

 

Useful Shortcuts
The AI responds best to a set of clear shortcuts that let you fine-tune game logic, timers, backgrounds, and object behavior directly through your prompt. Use the examples below as quick references to guide the AI effectively.


ScorebarThe Scorebar automatically manages all logic related to Lives, Moves, and Timers. It’s responsible for tracking progress and determining when the game should end.

Examples:
- “Make sure the game ends when the user runs out of lives.”
- “Make sure the game ends when the user runs out of moves.”
- “Change the amount of moves from 20 to 10.”

Game TypesThe Game Type defines the overall rule set - whether the game is based on lives, moves, time, or pure luck. You can switch type at any time by simply describing it in your prompt.

Examples:
- “Switch the game type to lives-based.”
- “Make the game use limited moves instead of endless play.”
- “Turn this into a luck-based game where the outcome is random.”

TimerbarThe Timerbar is a built-in timer displayed within the Scorebar. It can limit gameplay time, create bonus effects, or trigger events when time runs out.

Examples:
- “Make sure the game ends when the user runs out of time in the timerbar.”
- “Deactivate the timerbar when the bonus mode ends.”
- “Create a timerbar in the scorebar when the player picks up a bonus item. Deactivate it automatically after 10 seconds During this time give double points.”

Background (TileSprite)The background acts as a TileSprite, allowing seamless movement in any direction for dynamic effects such as scrolling skies or moving terrain.

Examples:
- “Make the background scroll slowly to the left to simulate forward motion.”
- “Move the background upward to create a falling effect.”

Changing SizesYou can directly define object dimensions (e.g., player, enemy, pickup) in your prompt to get precise proportions.

Examples:
- “Change the player size to width: 80, height: 120.”
- “Make enemies half the size of the player.”
- “Increase the pickup item size by 50%.”

Lifecycle (Game Start & Game Over)Every game follows the same lifecycle -  starting, running, and ending smoothly. You can customize transitions or effects using simple instructions.

Examples:
- “Make all objects fade in at game start.”
- “Add a 2-second fade-out animation at game over.”
- “Reset the game automatically after the game over sequence ends.”


Collisions & BodiesThe AI supports basic collision detection and physics body setup for all objects. Every object in your game has an invisible body that defines how it interacts with others - whether it’s solid, bouncy, or passable.

You can use prompts to control which objects collide, overlap, or ignore each other, as well as the shape of their collision area (rectangular or circular).

Examples:
- “Make the player collide with the walls”
- “Allow pickups to overlap the player and disappear when collected.”
- “Add a circular body to the player instead of a rectangular one.”

VelocityVelocity controls how fast and in which direction an object moves. You can use it to simulate speed, directional movement, or bouncing effects. Positive or negative values determine the direction along the X or Y axis.

Examples:
- “Add horizontal velocity to enemies so they move left and right.”
- “Increase the player’s jump velocity for a stronger bounce effect.”
- “Double the velocity of the ball so it moves faster.”

GravityGravity defines how strongly an object is pulled down (or in any direction if specified). It can be adjusted per object in the game. 

Examples:
- “Give the player a constant downward gravity so it falls naturally.”
- “Set gravity to zero so all objects float freely.”
- “Increase the gravity strength to make everything fall faster.”

 

Building your Game

The AI Game Developer is trained on Flarie’s internal game engine and a large collection of existing Flarie games. It follows strict coding conventions to ensure every game it creates is fully compatible with all standard Flarie Studio settings and integrations.

All Flarie games share a common foundation - they must include specific methods for loading, initializing, starting, and ending the game. These ensure the game lifecycle runs smoothly and that player scores are tracked and saved correctly within Flarie Studio.

Each game file includes predefined “zones” where the AI applies its creativity - writing logic, defining visuals, and bringing your idea to life. Your prompt (game concept) serves as the blueprint the AI uses to fill in these zones and generate a complete, ready-to-play Flarie game.

 

Game TypesWhen you create your first prompt, the AI automatically selects one of its four supported game types based on your concept. Each type follows a slightly different structure, which the AI sets up automatically - and you can switch modes at any time. If you want a specific type, mention it in your prompt. 

Type Description
Normal Standard Arcade gameplay
Moves Limited moves / turns
Lives 3 Lives before game over
Luck Pure chance outcome. Game always have a win / lose condition instead of ordinary points

 

 

Lifecycle

Game LoadDuring the load phase, all assets are preloaded and every object is initialized - but remains hidden until it’s meant to appear. This ensures the game is fully prepared before the player starts interacting with it.

Game StartWhen the game starts, gameplay always resets to its initial state. Objects fade in or appear dynamically based on the flow of the game, creating a clean and engaging start for each new play session.

Game OverThe game over phase gracefully concludes gameplay with a short, cinematic sequence — typically lasting around two seconds - where the scene fades out or triggers a simple animation before ending. This ensures a polished and consistent ending across all games.

 

Background

All Flarie games are built on a 750×1334px canvas, which defines the visible game area across all devices.

The background functions as a TileSprite, meaning it can be moved or scrolled seamlessly in any direction - horizontally, vertically, or diagonally - without visible edges or breaks. This allows you to create effects such as moving skies, scrolling terrain, or endless runners.

You can instruct the AI to move, loop, or animate the background to match your gameplay. For example:
- “Make the background slowly scroll to the left to simulate forward movement.”
- “Move the background downward to give a falling effect.”

Keep in mind:
- The AI does not generate custom background art - it uses a placeholder asset by default that you can change once you have exported your game to Flarie Studio

 

 

Assets & Images
Each build uses placeholder images so your game can run instantly. Don’t worry about visuals yet - focus on gameplay and feel. You’ll see simple colored PNGs labeled with names like “PLAYER,” “ENEMY,” or “PICKUP,” making it easy to identify and reference specific objects in your prompts if you want to adjust their behavior.

At this stage, the AI does not support replacing these placeholders with real images, generating graphics, or embedding image URLs. All objects are rendered in square or rectangular shapes - so even if you request a circular object, it will behave circularly in the game but still appear as a rectangular placeholder.

Once you export your game to Flarie Studio, you can freely replace and configure all assets - images and other visuals - directly within Flarie Studio, without modifying any code.

Please note:- Audio is not supported at this stage.
- The AI will not add text elements unless you explicitly include them in your prompt. For now, we recommend ignoring text entirely and focusing on core gameplay.

 

 

Restore to an earlier Version
Every time the AI creates or updates your game, a new version is automatically saved. This lets you experiment freely without worrying about losing previous work.
If you ever want to revert changes, you can restore your project to any earlier version with a single click. The restored version will instantly become your active working copy, allowing you to continue building or exporting from that specific state.

 

 

Exporting your game to Flarie Studio
Once you're happy with your game, you can export it directly to Flarie Studio. A new game will be created there based on the exact version you exported.

Inside Flarie Studio, you’ll be able to edit and replace all assets and images, as well as access the full library of Flarie settings and integrations — everything from data collection and challenges to rewards and webhooks is automatically available.

If you notice anything that needs tweaking, simply return to the AI Game Developer, adjust your prompt, and export again. You can export as many times as you like until your game feels just right.

 


AI Credits
Every time the AI apply an update to the code it will cost you 1 AI Credit, as simple as that! 

 

 
 
Tips & Tricks

Start fresh when needed.
If your generated game drifts too far from your intended idea, it’s usually faster to start over with a new prompt rather than trying to fix everything within an existing version. Clean starts often produce better, more consistent results.

Add features gradually.
When expanding your game, it’s best to add logic and features one at a time instead of stacking multiple complex changes into a single prompt. This allows you to test and validate each update individually - and easily restore to a stable version if something doesn’t behave as expected.

Iterate like a designer.
Treat each version as an experiment. Small, focused prompts usually guide the AI more effectively than large, complicated ones.

Use clear cause-and-effect language.
The AI responds best when you describe what should happen and when, e.g. “When the player collects a star, increase the score by 10.”