Cabin Crew Express · Lesson 49 of 50 · Publishing · About 34 min
A reviewer should be able to start Ari's first flight, load a water order and finish a passenger delivery using the notes you prepared.

Download the projects from the course page. In Godot’s Project Manager, choose Import, select project.godot, and use Run Project (F5). Start from checkpoints/48 when the lesson builds on prior work, or copy the checkpoints/49 folder to try this lesson on its own. Read the file names in the steps before editing.


Build it step by step
Language and tools in this lesson Array[String], Dictionary, .get(), String.join(), boolean checks, review notes.
-
Identify the exact candidate
Write the app name, build ID, supported device and operating system, current icon and exact tested project. Add the test record from lesson 42 and factual policies from lesson 46.
Why it works A reviewer and the publisher need to know that the checklist describes the same build they will open.
-
Use the practice board
Import checkpoint 49. In FileSystem open main.gd and press F5. Compare the missing notes and complete rehearsal cases. The lab has no account integration.
Why it works Working through a classroom version gives you a safe way to understand the release path.
-
Read the required list
Find ITEMS and missing_items(). For each required key, check the supplied evidence using get(). Follow the default false when an item is absent.
if evidence.get(key, false) != true:Why it works A check that defaults to missing makes gaps visible and gives the publisher a specific next task.
-
Write useful review notes
Start from a clean install and list the actions to complete the first flight. Include whether the tested build uses any login and how the reviewer can reach its main features. Supply accurate support and privacy links in the store fields.
Why it works Review notes save time when they describe specific interactions on the build supplied.
-
Explain the two platforms
An adult publisher follows App Store Connect to select a build, complete fields and submit to App Review. In Play Console they use the appropriate testing and release tracks, review the app's declarations and submit when eligible. Check the official testing and submission documentation.
Why it works Each platform has its own steps. A filled checklist, an uploaded build and a review decision are separate stages.
-
Handle feedback
If review asks for a change, read the exact note, make the smallest appropriate fix and rerun your affected test cases. Update screenshots and metadata when the shipped feature changes. Record the new build number.
Why it works The history connects feedback to a tested adjustment.
Watch the values change
-
Check missing notes The packet sets review notes false.
What you see. Output names the missing item. -
Check a complete sample All five classroom checks are present.
What you see. Output says ready for adult review. -
Wait for an actual decision No store review has happened in the simulator.
What you see. The test result has no authority over a release.
Predict before you run The mock board says the packet is complete. Is the app approved?
Reveal the answer
No. It only checks five example fields. Stores review real submissions using their own requirements.
Complete checkpoint
The first case names review notes. The second says the classroom packet is complete.
main.gd
extends Control
const Lab = preload("res://release_lab.gd")
const TITLE = "Rehearse the release handover"
var ui: VBoxContainer
func _ready() -> void:
ui = VBoxContainer.new()
ui.set_script(Lab)
add_child(ui)
ui.start(TITLE)
build()
const ITEMS: Array[String] = ["build", "device tests", "screenshots", "privacy record", "review notes"]
func build() -> void:
ui.say("Check a fictional handover packet. Nothing is submitted.")
ui.option("Check missing-notes packet", report.bind({
"build": true, "device tests": true, "screenshots": true, "privacy record": true
}))
ui.option("Check complete rehearsal", report.bind({
"build": true, "device tests": true, "screenshots": true, "privacy record": true, "review notes": true
}))
func missing_items(evidence: Dictionary) -> Array[String]:
var gaps: Array[String] = []
for key in ITEMS:
if evidence.get(key, false) != true:
gaps.append(key)
return gaps
func report(evidence: Dictionary) -> void:
var gaps := missing_items(evidence)
if gaps.is_empty():
ui.say("Classroom packet complete. Give it to the adult publisher for review.")
else:
ui.say("Still needed: %s." % ", ".join(gaps))
release_lab.gd
extends VBoxContainer
var output: Label
func start(title_text: String) -> void:
set_anchors_and_offsets_preset(Control.PRESET_FULL_RECT)
offset_left = 32.0
offset_top = 28.0
offset_right = -32.0
offset_bottom = -28.0
add_theme_constant_override("separation", 12)
var background := ColorRect.new()
background.color = Color("#14283d")
background.mouse_filter = Control.MOUSE_FILTER_IGNORE
get_parent().add_child(background)
background.set_anchors_and_offsets_preset(Control.PRESET_FULL_RECT)
get_parent().move_child(background, 0)
var title := Label.new()
title.text = title_text
title.add_theme_font_size_override("font_size", 32)
title.add_theme_color_override("font_color", Color("#ffd293"))
add_child(title)
output = Label.new()
output.custom_minimum_size.y = 151.0
output.autowrap_mode = TextServer.AUTOWRAP_WORD_SMART
output.add_theme_font_size_override("font_size", 19)
add_child(output)
func say(message: String) -> void:
output.text = message
func option(label: String, command: Callable) -> void:
var button := Button.new()
button.text = label
button.custom_minimum_size.y = 46.0
button.add_theme_font_size_override("font_size", 19)
button.pressed.connect(command)
add_child(button)
GDScript line by line
Follow the line numbers, including the indent at the start of each line. Find the code the game will run first, then look for the function that reacts when you tap or change something.
Read main.gd line by line
-
extends ControlStarts with Godot's Control type. This script gets the abilities of that type and adds the game's own rules. -
const Lab = preload("res://release_lab.gd")Creates a constant named Lab. The expression prepares a resource at a fixed project path when the script is loaded. -
const TITLE = "Rehearse the release handover"Creates a constant named TITLE. The expression uses the text inside the quotes. -
var ui: VBoxContainerDeclares ui for later use. A colon followed by a type says which kind of value belongs here. -
func _ready() -> void:Godot calls this once after the scene and its children are ready. Use it to set up the room and connect controls. -
ui = VBoxContainer.new()Stores the new value in ui. The expression creates a new VBoxContainer object. -
ui.set_script(Lab)Calls ui.set_script with the values in its parentheses. -
add_child(ui)Adds the new node to the scene tree so that Godot can run and draw it. -
ui.start(TITLE)Calls ui.start with the values in its parentheses. -
build()Calls build with the values in its parentheses. -
const ITEMS: Array[String] = ["build", "device tests", "screenshots", "privacy record", "review notes"]Creates a constant named ITEMS. The expression makes a list whose items keep their order. The type after the colon says what kind of value it can hold. -
func build() -> void:Defines build, a reusable set of instructions. Parameters between the parentheses receive inputs. A return type after the arrow tells you which kind of result to expect. -
ui.say("Check a fictional handover packet. Nothing is submitted.")Calls ui.say with the values in its parentheses. -
ui.option("Check missing-notes packet", report.bind({Calls ui.option with the values in its parentheses. -
"build": true, "device tests": true, "screenshots": true, "privacy record": trueContinues the same instruction on a new line. This is one of the arguments, data entries or expressions started above. -
}))Continues the same instruction on a new line. This is one of the arguments, data entries or expressions started above. -
ui.option("Check complete rehearsal", report.bind({Calls ui.option with the values in its parentheses. -
"build": true, "device tests": true, "screenshots": true, "privacy record": true, "review notes": trueContinues the same instruction on a new line. This is one of the arguments, data entries or expressions started above. -
}))Continues the same instruction on a new line. This is one of the arguments, data entries or expressions started above. -
func missing_items(evidence: Dictionary) -> Array[String]:Defines missing items, a reusable set of instructions. Parameters between the parentheses receive inputs. A return type after the arrow tells you which kind of result to expect. -
var gaps: Array[String] = []Creates a variable named gaps. The expression makes a list whose items keep their order. The type after the colon says what kind of value it can hold. -
for key in ITEMS:Repeats the indented instructions for each value in ITEMS. -
if evidence.get(key, false) != true:Checks evidence.get(key, false) != true. The indented instructions below run only if this test passes. -
gaps.append(key)Adds an item to the end of a list. -
return gapsFinishes the function and hands its result back to the caller. The expression reads gaps. -
func report(evidence: Dictionary) -> void:Defines report, a reusable set of instructions. Parameters between the parentheses receive inputs. A return type after the arrow tells you which kind of result to expect. -
var gaps := missing_items(evidence)Creates a variable named gaps. The expression calls missing_items with the values in its parentheses. Godot infers the type from the first value. -
if gaps.is_empty():Checks gaps.is_empty(). The indented instructions below run only if this test passes. -
ui.say("Classroom packet complete. Give it to the adult publisher for review.")Calls ui.say with the values in its parentheses. -
else:Runs the indented fallback instructions if none of the earlier tests passed. -
ui.say("Still needed: %s." % ", ".join(gaps))Calls ui.say with the values in its parentheses.
Read release_lab.gd line by line
-
extends VBoxContainerStarts with Godot's VBoxContainer type. This script gets the abilities of that type and adds the game's own rules. -
var output: LabelDeclares output for later use. A colon followed by a type says which kind of value belongs here. -
func start(title_text: String) -> void:Defines start, a reusable set of instructions. Parameters between the parentheses receive inputs. A return type after the arrow tells you which kind of result to expect. -
set_anchors_and_offsets_preset(Control.PRESET_FULL_RECT)Positions this Control relative to the bounds of its parent. -
offset_left = 32.0Stores the new value in offset_left. The expression reads 32.0. -
offset_top = 28.0Stores the new value in offset_top. The expression reads 28.0. -
offset_right = -32.0Stores the new value in offset_right. The expression reads -32.0. -
offset_bottom = -28.0Stores the new value in offset_bottom. The expression reads -28.0. -
add_theme_constant_override("separation", 12)Calls add_theme_constant_override with the values in its parentheses. -
var background := ColorRect.new()Creates a variable named background. The expression creates a new ColorRect object. Godot infers the type from the first value. -
background.color = Color("#14283d")Stores the new value in background.color. The expression builds a colour from these values. -
background.mouse_filter = Control.MOUSE_FILTER_IGNOREUpdates background.mouse_filter, which controls how this control participates in pointer and touch input. The expression reads Control.MOUSE_FILTER_IGNORE. -
get_parent().add_child(background)Calls get_parent with the values in its parentheses. -
background.set_anchors_and_offsets_preset(Control.PRESET_FULL_RECT)Positions this Control relative to the bounds of its parent. -
get_parent().move_child(background, 0)Calls get_parent with the values in its parentheses. -
var title := Label.new()Creates a variable named title. The expression creates a new Label object. Godot infers the type from the first value. -
title.text = title_textUpdates title.text, which controls the words a player sees. The expression reads title_text. -
title.add_theme_font_size_override("font_size", 32)Calls title.add_theme_font_size_override with the values in its parentheses. -
title.add_theme_color_override("font_color", Color("#ffd293"))Calls title.add_theme_color_override with the values in its parentheses. -
add_child(title)Adds the new node to the scene tree so that Godot can run and draw it. -
output = Label.new()Stores the new value in output. The expression creates a new Label object. -
output.custom_minimum_size.y = 151.0Stores the new value in output.custom_minimum_size.y. The expression reads 151.0. -
output.autowrap_mode = TextServer.AUTOWRAP_WORD_SMARTStores the new value in output.autowrap_mode. The expression reads TextServer.AUTOWRAP_WORD_SMART. -
output.add_theme_font_size_override("font_size", 19)Calls output.add_theme_font_size_override with the values in its parentheses. -
add_child(output)Adds the new node to the scene tree so that Godot can run and draw it. -
func say(message: String) -> void:Defines say, a reusable set of instructions. Parameters between the parentheses receive inputs. A return type after the arrow tells you which kind of result to expect. -
output.text = messageUpdates output.text, which controls the words a player sees. The expression reads message. -
func option(label: String, command: Callable) -> void:Defines option, a reusable set of instructions. Parameters between the parentheses receive inputs. A return type after the arrow tells you which kind of result to expect. -
var button := Button.new()Creates a variable named button. The expression creates a new Button object. Godot infers the type from the first value. -
button.text = labelUpdates button.text, which controls the words a player sees. The expression reads label. -
button.custom_minimum_size.y = 46.0Stores the new value in button.custom_minimum_size.y. The expression reads 46.0. -
button.add_theme_font_size_override("font_size", 19)Calls button.add_theme_font_size_override with the values in its parentheses. -
button.pressed.connect(command)Links a signal to the function that should run when the event happens. -
add_child(button)Adds the new node to the scene tree so that Godot can run and draw it.
Find and fix a bug
If a checked item still appears missing, compare the dictionary key to the exact spelling in ITEMS.
Try a change
Ages 10–12. Write reviewer steps to deliver a blanket. Ages 13–16. Add a new evidence field for versioned accessibility testing.