Midnight Deck Dash · Lesson 49 of 50 · Publishing · About 45 min
A new crew member must understand the first route without asking the programmer. Give them the correct build and the shortest useful walkthrough.

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], has(), Dictionary, join(), readiness checks, release notes, staged releases.
-
Make a release folder
Create a folder with the build identifier, packaged file, icon and screenshots, plain description, tested device list, release notes and links to the rights and questionnaire evidence. Keep signing secrets and private tester information outside it.
Why it works Each artefact has one release identity, so review and testing can reproduce your result.
-
Write reviewer notes
In four short lines tell a first-time reviewer how to start a route, pick up one parcel, match the destination and reach the exit. Say where to find sound and control settings if your game has them. If your own game needs a login, the adult publisher follows that store's test-access instructions.
Why it works A reviewer needs to reach meaningful content without guessing which buttons to use.
-
Try the launch checklist
Press F5 in checkpoint 49. Compare the incomplete and completed mock packets. In readiness(), iterate the required checklist. Ask how has() decides if a piece of evidence has been recorded.
if not packet.has(item):Why it works Matching requirement keys is repeatable and it names exactly what is missing.
-
Prepare a Google release
Have the adult publisher select the right Play Console app and track. Upload the verified AAB, add release notes, finish the required listing and App content declarations, and resolve blocking messages. Confirm production access where required. Start rollout only after the publisher reviews the selected track and release settings.
Why it works Play testing, production access and rollout are different actions. The right track keeps a test from becoming an unintended public release.
-
Prepare an Apple submission
In App Store Connect the adult publisher selects the correct app version, processed build, screenshots and information. Add review notes, complete agreements and declarations, then use Add for Review and the submission workflow. Choose the intended release option and monitor feedback through App Store Connect.
Why it works A prepared draft and an actual submitted review are different states. Each platform decides whether the app meets its rules.
-
Handle a rejection or revision
Record the exact requirement named in reviewer feedback. Reproduce the issue, fix it, bump the build number if you create a new build, and run the affected device checks before resubmitting. Keep old and new release notes in your log.
Why it works Knowing which change went into which build makes it easier to answer the reviewer accurately.
Watch the values change
-
Read a draft packet Build and notes are present but device test and store answers are missing.
What you see. The lab lists both gaps. -
Read a complete practice packet All four pieces are present.
What you see. The lab says it is ready for a publisher to review. -
Handover Adult publisher verifies the real store account and selected track.
What you see. Only the platform workflow can submit a real candidate.
Predict before you run Does the completed mock packet publish an app?
Reveal the answer
No. It only checks the fictional packet. The adult publisher must review the real build and submit through their store account.
Complete checkpoint
The draft reports Device tests and Store answers. The full packet reports publisher review.
main.gd
extends Control
const Lab = preload("res://release_lab.gd")
const TITLE := "Prepare the review and release handover"
var ui: VBoxContainer
func _ready() -> void:
ui = VBoxContainer.new()
ui.set_script(Lab)
add_child(ui)
ui.start(TITLE)
build()
const REQUIRED: Array[String] = ["Build file", "Device tests", "Store answers", "Reviewer notes"]
func build() -> void:
ui.say("Practise the handover. This example has no store connection.")
ui.option("Check an incomplete packet", func(): ui.say(readiness(["Build file", "Reviewer notes"])))
ui.option("Check a complete packet", func(): ui.say(readiness(REQUIRED)))
func readiness(packet: Array[String]) -> String:
var missing: PackedStringArray = []
for item in REQUIRED:
if not packet.has(item):
missing.append(item)
if missing.is_empty():
return "The sample packet is ready for publisher review. Only the publisher can submit with the real account."
return "Before publisher review, add: " + ", ".join(missing) + "."
release_lab.gd
extends VBoxContainer
var body: Label
func start(title_text: String) -> void:
set_anchors_and_offsets_preset(Control.PRESET_FULL_RECT)
offset_left = 34.0
offset_top = 24.0
offset_right = -34.0
offset_bottom = -24.0
add_theme_constant_override("separation", 12)
var title := Label.new()
title.text = title_text
title.add_theme_font_size_override("font_size", 31)
title.add_theme_color_override("font_color", Color("#f5cd85"))
add_child(title)
body = Label.new()
body.custom_minimum_size.y = 138.0
body.autowrap_mode = TextServer.AUTOWRAP_WORD_SMART
body.add_theme_font_size_override("font_size", 19)
add_child(body)
var bg := ColorRect.new()
bg.color = Color("#132942")
bg.mouse_filter = Control.MOUSE_FILTER_IGNORE
bg.set_anchors_and_offsets_preset(Control.PRESET_FULL_RECT)
get_parent().add_child(bg)
get_parent().move_child(bg, 0)
func say(message: String) -> void:
body.text = message
func option(label: String, command: Callable) -> void:
var button := Button.new()
button.text = label
button.custom_minimum_size.y = 45.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 := "Prepare the review and release handover"Creates a constant named TITLE. The expression uses the text inside the quotes. Godot infers the type from the first value. -
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 REQUIRED: Array[String] = ["Build file", "Device tests", "Store answers", "Reviewer notes"]Creates a constant named REQUIRED. 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("Practise the handover. This example has no store connection.")Calls ui.say with the values in its parentheses. -
ui.option("Check an incomplete packet", func(): ui.say(readiness(["Build file", "Reviewer notes"])))Calls ui.option with the values in its parentheses. -
ui.option("Check a complete packet", func(): ui.say(readiness(REQUIRED)))Calls ui.option with the values in its parentheses. -
func readiness(packet: Array[String]) -> String:Defines readiness, 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 missing: PackedStringArray = []Creates a variable named missing. The expression makes a list whose items keep their order. The type after the colon says what kind of value it can hold. -
for item in REQUIRED:Repeats the indented instructions for each value in REQUIRED. -
if not packet.has(item):Checks not packet.has(item). The indented instructions below run only if this test passes. -
missing.append(item)Adds an item to the end of a list. -
if missing.is_empty():Checks missing.is_empty(). The indented instructions below run only if this test passes. -
return "The sample packet is ready for publisher review. Only the publisher can submit with the real account."Finishes the function and hands its result back to the caller. The expression uses the text inside the quotes. -
return "Before publisher review, add: " + ", ".join(missing) + "."Finishes the function and hands its result back to the caller. The expression uses the text inside the quotes.
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 body: LabelDeclares body 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 = 34.0Stores the new value in offset_left. The expression reads 34.0. -
offset_top = 24.0Stores the new value in offset_top. The expression reads 24.0. -
offset_right = -34.0Stores the new value in offset_right. The expression reads -34.0. -
offset_bottom = -24.0Stores the new value in offset_bottom. The expression reads -24.0. -
add_theme_constant_override("separation", 12)Calls add_theme_constant_override 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", 31)Calls title.add_theme_font_size_override with the values in its parentheses. -
title.add_theme_color_override("font_color", Color("#f5cd85"))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. -
body = Label.new()Stores the new value in body. The expression creates a new Label object. -
body.custom_minimum_size.y = 138.0Stores the new value in body.custom_minimum_size.y. The expression reads 138.0. -
body.autowrap_mode = TextServer.AUTOWRAP_WORD_SMARTStores the new value in body.autowrap_mode. The expression reads TextServer.AUTOWRAP_WORD_SMART. -
body.add_theme_font_size_override("font_size", 19)Calls body.add_theme_font_size_override with the values in its parentheses. -
add_child(body)Adds the new node to the scene tree so that Godot can run and draw it. -
var bg := ColorRect.new()Creates a variable named bg. The expression creates a new ColorRect object. Godot infers the type from the first value. -
bg.color = Color("#132942")Stores the new value in bg.color. The expression builds a colour from these values. -
bg.mouse_filter = Control.MOUSE_FILTER_IGNOREUpdates bg.mouse_filter, which controls how this control participates in pointer and touch input. The expression reads Control.MOUSE_FILTER_IGNORE. -
bg.set_anchors_and_offsets_preset(Control.PRESET_FULL_RECT)Positions this Control relative to the bounds of its parent. -
get_parent().add_child(bg)Calls get_parent with the values in its parentheses. -
get_parent().move_child(bg, 0)Calls get_parent with the values in its parentheses. -
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. -
body.text = messageUpdates body.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 = 45.0Stores the new value in button.custom_minimum_size.y. The expression reads 45.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 the reviewer cannot get past a screen, try the install as a new player on a clean device and follow your notes without using private shortcuts or known save data.
Try a change
Ages 10–12. Ask a friend to follow reviewer notes with no help. Ages 13–16. Build a test matrix that maps each claimed feature to a repeatable test and its matching build.