- Create a simple 3D scene with ground, light, camera, and player.
- Use Fable 5 to generate explained scripts, not black boxes.
- Prepare a testing checklist before exporting.
Suggested scenes: scenes/ main.tscn player.tscn collectable.tscn door.tscn scripts/ player_controller.gd collectable.gd door.gd game_state.gd
Build Order
- Empty scene with ground, light, and camera.
- Player with `CharacterBody3D` and basic movement.
- Three collectibles with a detection area.
- Simple global state: counter and objective.
- Door that opens when the counter reaches three.
- Final message and export.
Script prompt: Act as a Godot 4 instructor. I need a GDScript script for a 3D player with CharacterBody3D. It must include: - WASD movement - gravity - simple jump - mouse camera rotation - brief comments on the difficult parts Constraints: - do not use plugins - do not invent APIs - explain which node each script goes on - add a checklist of typical errors if it does not move
Minimum QA: - the player does not pass through the floor - the camera does not rotate backwards - all 3 objects are collected only once - the door does not open early - there is visual or textual feedback - the project starts from main.tscn - web export tested in browser
Official Sources
Playable feel test
A prototype should not only compile. It should feel understandable: input, feedback, and goal must be clear without someone explaining it next to the player.
playtest_5_min:
player: "someone who has not seen the project"
observe:
- understands the goal without help
- controls the camera in under 30s
- identifies interactive objects
- understands why the door opens
- finishes without a blocking bug
priority_changes:
- "improve collectible feedback"
- "reduce camera speed"- Godot: CharacterBody3D
- Godot documentation
- Godot: exporting for the web