Skip to content
GODOTLEARNING
LearnMigratePracticeArticlesResources
Editorial method

How this site checks its own code

Tutorial code that was never run is a guess with syntax highlighting. The scripts published here are extracted from the article you read and handed to a real Godot 4.7.2 process. This page shows exactly what that process did, and what it did not do.

72 Assertions passed
22 Scripts executed
26 Scripts compiled
4.7.2 Engine build
The method

The harness reads the article, not a copy of it

The usual failure mode for a tutorial site is that the code in the article and the code the author tested drift apart: the article is edited, the test project is not, and a reader hits an error the author never sees. This harness removes that gap by reading the published article body and hashing each code block it extracts, so a test result always belongs to an exact version of the text on the page.

  1. Extract. Each code block is pulled from the article's own content and recorded with a SHA-256 hash of the exact text a reader sees.
  2. Assemble. The scripts are written into a throwaway Godot project with a minimal scene fixture, following the assembly steps the article itself describes.
  3. Import and compile. Godot imports the project and runs --check-only against every complete script.
  4. Run and assert. A headless run drives the scene and asserts specific outcomes. The run fails on any script error, parse error, or failed assertion.
  5. Publish. The results regenerate the badge data the articles render, so a page can never claim a stronger check than the engine performed.

Last run against Godot 4.7.2.stable.steam.ed1daf0bf on 2026-09-25. The complete machine output, including every file hash and every exclusion reason, is committed to the repository at docs/verification/godot-runtime-evidence.json.

Tier 1

Executed and asserted

The scripts in these 9 articles ran in a real engine and passed behavioral assertions.

ArticleScripts runAssertions
I Can Follow Godot Tutorials. How Do I Build a Feature Myself?128
Building a Save System in Godot 4: FileAccess, JSON, and Save Slots416
State Machines in Godot 4: From an Enum to Node-Based Enemy AI86
Godot 4 Complete Beginner Tutorial: Build Your First Tiny Game35
Your First Godot 3D Scene: Movement, a Camera, and a Playable Room15
Godot Signals Without Hidden Coupling: A Practical Event Flow24
Build a Godot 2D Platformer That Actually Feels Responsive13
Godot Physics: Body Types, Layers, Masks, and a Debugging Order13
Understanding Godot's Node System: Coming from Unity12
Tier 2

Compiled, not executed

Godot accepted the complete scripts in these 15 articles: names and signatures resolve against the engine API. They were not run, so their behavior is not established.

ArticleScripts compiled
Godot Resources Explained: Data Assets for Items, Stats, Abilities, and Tuning3
Migrating a Unity 3D Game to Godot3
GDScript vs Python: The Differences Godot Beginners Actually Notice2
Godot Autoload Singleton Guide: When to Use Global Scripts2
Godot Collision Layers and Masks Explained Without the Headache2
How to Port a Unity Project to Godot 42
Learn GDScript in 30 Minutes: Variables to Signals, With the Errors You Will Hit2
Unity to Godot Migration Checklist: What to Rebuild First2
Unreal Blueprint to Godot GDScript: Rebuild Gameplay Logic2
GDScript Crash Course for Unity C# Developers1
GDScript vs C# in Godot: Choose by Project Constraint1
Godot Animation Tools: Pick the Right Owner for Each Motion1
Why Solo Devs Love Godot: The Perfect Engine for One-Person Teams1
Godot Scenes vs Unity Prefabs: The Migration Explanation That Actually Helps1
Godot vs Unity in 2026: An Honest Comparison1
Limits

What this does not prove

  • A headless run has no renderer. Nothing here verifies that a scene looks right — lighting, layout, and visual polish are checked by eye, and articles say so where it matters.
  • Assertions cover the behavior named in each article's review note, not every example on the page. A tested badge is not a claim that the whole tutorial was played through.
  • C# examples are checked against the Godot .NET API reference. The harness compiles GDScript only.
  • 36 code blocks are excluded by design, each with a recorded reason. Fragments and intentionally wrong examples are inventoried, not padded into fake programs to inflate a number.
Questions

Common questions

What does the 'Code tested in Godot' badge mean?

The scripts printed in that article were extracted from the published page, written into an empty Godot project, and run by a real headless Godot 4.7.2 process. The run asserts specific behavior — that a character lands, that a save file round-trips, that a depleted health bar stops processing. If an assertion fails, the build fails.

What does 'Code compiled in Godot' mean, and why is it weaker?

Godot loaded the script and accepted it: the syntax parses, the class names resolve, and the method signatures match the engine's API. It does not mean the code was run, so it cannot tell you the logic is correct. It is a real check, but a narrower one, and the badge says so.

Why are some code blocks never checked?

36 published blocks are excluded on purpose. Some are deliberately wrong (a Godot 3 example shown so you can recognise it), some are not GDScript, and some are fragments that need surrounding code the reader supplies. Each exclusion is recorded with a reason in the evidence file rather than quietly dropped.

Can I reproduce this myself?

Yes, and that is the point. Clone the repository, set GODOT_BIN to your own Godot binary, and run npm run test:godot. The harness reads the article content directly, so it verifies what you are reading, not a separate copy that can drift from it.

GODOTLEARNING

Short lessons. Real practice.
Make something fun.

Say hello

Learn & practice

  • Start learning
  • Learn GDScript
  • Explore the editor
  • Explained scripts
  • Resources & tools
  • Articles & tutorials

Make the switch

  • Unity to Godot
  • Unreal to Godot
  • Compare engines
  • Equivalents dictionary
  • Godot MCP
  • AI workflow

Around the campfire

  • About GodotLearning
  • How we verify code
  • Contact
  • FAQ
  • Godot documentation
  • Godot community
  • Godot Discord

A little inspiration for your next game

Godot tips, new lessons, and practical tutorials.

© 2026 GodotLearning · Made by Mete
PrivacyTermsShortcuts

Independent learning resource. Not affiliated with the Godot Foundation. Godot is their trademark.