Creating Your First Project with AI
Starting a New Project
From the main screen of Bulifier AI, tap the button to create a new project (e.g., a '+' or 'New Project' button).
You will be prompted to choose a template.
Important: Select the "JS template". This template is specifically configured with the necessary structure for developing web-based games/apps, running them locally within Bulifier, and publishing them to the Vibe Store.
Using the AI Button (Initial Creation)
Once your project is created and opened, locate the main "AI" button (often represented by a brain or magic wand icon). Tapping this opens the AI interface. You have two primary approaches for the initial app generation:
- Option 1: Direct Game Prompt
You can directly type a prompt describing the game or app you want into the main input field and submit it (e.g., "Create a simple breakout game with a paddle and ball"). The AI will attempt to generate the initial code structure.
- Option 2: Creating a Document First (Recommended)
Click the "Doc" tab within the AI interface. Here, you can write a more detailed description or set of specifications for your application.
- Why use a Doc? It provides clearer instructions to the AI, especially regarding Bulifier-specific systems like dependency management. It acts as a plan for you and the AI. This document can also be reused later to help auto-generate your app's description when publishing.
- Type your specification in the Doc tab and submit it using the AI button. You can refine the document with further prompts if needed.
The AI Process
After submitting your prompt (either directly or via the Doc tab), you'll notice a timer icon appear, typically in the toolbar. This indicates that the AI is processing your request.
You can often tap this timer icon to view more details, such as the final prompt sent to the AI backend (which Bulifier might optimize) and the time taken (latency). Once processing is complete, the results (e.g., generated code, updated doc) will appear.
Executing the Document
If you used the "Doc" approach, iterate on the document content using further prompts until you are satisfied with the plan.
Once the document accurately reflects your desired app, find and click the "Execute" button (within the Doc tab interface). This instructs the AI to generate or modify the project's code files based on the specifications written in the document.