Skip to content

Commit 849bdea

Browse files
authored
Revising "Ask AI: Build your game with AI" page (#392)
1 parent 3d4c998 commit 849bdea

File tree

4 files changed

+53
-18
lines changed

4 files changed

+53
-18
lines changed
56.9 KB
Loading
277 KB
Loading
-392 KB
Binary file not shown.

docs/gdevelop5/interface/ai/index.md

Lines changed: 53 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2,45 +2,80 @@
22
title: Ask AI (build/chat with AI)
33
---
44
# Ask AI: Build your game with AI
5-
6-
Click on **Ask AI** on the top-right corner of GDevelop to open the GDevelop AI editor.
7-
8-
![Ask AI screen](./ask-ai-tab.png)
9-
10-
Unlike general-purpose AI tools like ChatGPT, Claude, or Google Gemini, GDevelop AI is **tailored for game creation**. It knows how GDevelop works and can help you:
5+
Unlike general-purpose AI tools like ChatGPT, Claude, or Google Gemini, GDevelop AI is **tailored for game creation**. It knows how GDevelop works, it has access to your game's objects configuration, events and context.
6+
It can help you:
117

128
- Understand features and how to use them
139
- Build specific mechanics or systems
10+
- Help fix small implementation errors
1411
- Explore, brainstorm and bring new ideas to life
1512

1613
!!! tip
1714

18-
Think of it as a mentor and creative collaborator that speaks GDevelop fluently.
15+
Think of it as an always available mentor and creative collaborator that speaks GDevelop fluently.
1916

20-
## How does it work: AI agent and AI chat
17+
Click on **Ask AI** on the top-right corner (1) of GDevelop to open the AI chat.
18+
![Open Ask AI](./Askai-Open.png)
2119

22-
The AI understands all built-in GDevelop features and official, reviewed extensions (it doesn’t include community extensions unless they’ve been approved by the GDevelop team). It can also read the content of your game project when you ask it to build something for you.
20+
## How it works
2321

24-
The AI has two operating modes:
22+
The AI understands all built-in GDevelop features, and official reviewed extensions. However, its knowledge does not include community extensions unless they’ve been approved by the GDevelop team.
23+
Context is everything to assure good AI results. To improve its suggestions, the AI can read the content of your project: object's configuration, behaviors, variables and event sheet.
2524

26-
- **[Build for me (AI agent)](./agent)**: the AI will build your request inside your game. This can range from simple changes ("Make this object bigger") to more complex requests ("Create an enemy that starts attacking when the player comes near").
27-
- **[Ask a question (AI chat)](./chat)**: the AI will answer any question you ask it about game development and usage of GDevelop.
25+
The AI has two modes:
2826

27+
- **[Ask a question (AI chat)](./chat)**: silimar to Chat GPT or Gemini conversations. The AI will answer questions on game development, GDevelop usage, and idea brainstorming. This mode is recommended to learn the tool and define the implementation plan before using the Build mode.
28+
- **[Build for me (AI agent)](./agent)**: similar to Cursor or V0. The AI will build your implementation requests inside your game. This can range from simple changes (example: "Make X object 20% bigger") to more complex requests ("Create an enemy that starts shooting arrows when the player comes 20px near it").
29+
30+
For mor information on credit consumption and good practices:
2931
[Learn more about the GDevelop AI agent](./agent){ .md-button .md-button--primary .full-width }
3032

3133
[Learn more about the GDevelop AI chat](./chat){ .md-button .full-width }
3234

35+
## Cost of AI requests
36+
An AI request could use 3 to 30 credits depending on the scope.
37+
The number of credits used depends on the work and processing ("thinking") the AI has to do:
38+
39+
- an "Ask" request can be 2 to 5 credits,
40+
- a simple "Build" request to do a small change could use 10 credits while implementations with multiple events could be 16 to 20 credits.
41+
42+
!!! tip
43+
44+
Start by using the "Ask" mode to wirte your prompts and define the scope of your desired implementation. Once the AI has a feasible plan switch to "Build mode". This will prevent you from spending unnecessary credits.
45+
46+
## Aquiring credits for AI requests
47+
All accounts starts with a few free AI credits. Once you've used all your free AI credits, you can:
48+
49+
- Wait for them to replenish (every Sunday at 23:50 UTC)
50+
- [upgrade]( https://editor.gdevelop.io/?initial-dialog=subscription) to GDevelop premium subscriptions
51+
- [Buy](https://editor.gdevelop.io/?initial-dialog=credits-purchase) additional [GDevelop credits](/gdevelop5/interface/profile/credits/) to get more AI requests
52+
- Give [quality feedback](/gdevelop5/interface/games-dashboard/player-feedback/) to GDevelop creators
53+
- Follow GDevelop accounts on socials and claim the credits through your profile
54+
55+
!!! note
56+
A package of 500 credits usually represents 60 to 100 requests to the AI.
57+
58+
**Premium Subscriptions** like GDevelop Silver, Gold or Pro receive more free AI requests every week: 200 with Silver, 1000 with Gold and 3000 with Pro.
59+
60+
61+
## AI privacy
62+
63+
GDevelop AI is built on general purpose Large Language Models (LLMs) that can be adapted, fine tuned or have internally multiple agents working on a request.
64+
65+
**GDevelop AI is not trained on your accout's files nor individual projects**.
66+
Local and cloud project are only accessible to the AI when the chat is in use. All cloud projects are stored separately from the GDevelop AI infrastructure which prevents it from access them without your request.
67+
68+
**In all cases there is no usage of private data for improving the AI.**
3369

34-
## About privacy
3570

36-
GDevelop AI is **not trained on your game projects** - be it local or cloud projects. Cloud projects are stored separately from the GDevelop AI infrastructure and the AI has no access to them.
71+
## How to improve the AI
3772

38-
GDevelop AI is built on general purpose Large Language Models that we can be adapted, fine tuned or have internally multiple agents working on a request. In all cases there is no usage of private data for improving the AI.
73+
You can rate the AI’s answers with a 👍 or 👎. Positive ratings will signal the AI to follow that rationale. Negative feedback will nudge the GDevelop team that the answer wasn't correct.
3974

40-
## Help us improve the AI
75+
In the case of negative feedback, adding context to why the answer wasn't correct will help the engineers stir the AI to the right direction.
4176

42-
You can rate the AI’s answers with a 👍 or 👎. These ratings help the GDevelop team improve the assistant.
77+
![AI report](./AI_report.png)
4378

4479
!!! note
4580

46-
Sometimes, high demand can temporarily slow things down or prevent a proper response. If that happens, don’t worry — you won’t be charged credits or lose your free requests.
81+
High AI demand can temporarily slow processing down or prevent the AI to give a proper response. In that case — don’t worry — you won’t be charged any credits.

0 commit comments

Comments
 (0)