art+build: app icon, 3x store screenshots, iOS/Android export templates
Phase ASSET + Phase TECH of RELEASE_GOAL.md. - App icon: gpt-image-2.6 generated a floating-island + green-cloaked ranger + golden wind-swirl icon; first task failed upstream (no charge), v2 accepted. Downloaded via curl --noproxy to bypass the macOS system proxy. Derived all 9 iOS sizes via sips; icon stays recognizable at 80px. Provenance, Contents.json and raw image under PRODUCTION/source/store/app_icon/. - Store screenshots: new run_store_capture.sh renders 8 real GameRoot states (zh/en × skyport/map/battle/victory/event) at native 3x = 1290x2796 for 6.9" iPhones (canvas_items scaling keeps text smooth and pixels crisp). Registered as a full-gate step; STORE_CAPTURE_PASS. - Export presets: rewrote export_presets.cfg cleanly. Linux/X11 verified local smoke preset; added iOS and Android TEMPLATE presets with deliberately marked placeholder bundle IDs / package names (formal name & Bundle ID are owner decisions, NAMING.md undecided). Godot parses all 3; Android preset exported a PCK successfully; iOS remains a template pending owner Team/signing. Full gate P2_CHECKS_PASS with the new store-screenshot step. prototype/ untracked. Next remaining work is in RELEASE_GOAL.md: requirements->evidence audit (owner- independent) plus owner-gated items (formal name/Bundle ID/business model/scope, human listening/play, device, signing/publishing).
@@ -0,0 +1,62 @@
|
||||
{
|
||||
"images": [
|
||||
{
|
||||
"idiom": "iphone",
|
||||
"scale": "2x",
|
||||
"size": "20x20",
|
||||
"filename": "icon_20@2x.png"
|
||||
},
|
||||
{
|
||||
"idiom": "iphone",
|
||||
"scale": "3x",
|
||||
"size": "20x20",
|
||||
"filename": "icon_20@3x.png"
|
||||
},
|
||||
{
|
||||
"idiom": "iphone",
|
||||
"scale": "2x",
|
||||
"size": "29x29",
|
||||
"filename": "icon_29@2x.png"
|
||||
},
|
||||
{
|
||||
"idiom": "iphone",
|
||||
"scale": "3x",
|
||||
"size": "29x29",
|
||||
"filename": "icon_29@3x.png"
|
||||
},
|
||||
{
|
||||
"idiom": "iphone",
|
||||
"scale": "2x",
|
||||
"size": "40x40",
|
||||
"filename": "icon_40@2x.png"
|
||||
},
|
||||
{
|
||||
"idiom": "iphone",
|
||||
"scale": "3x",
|
||||
"size": "40x40",
|
||||
"filename": "icon_40@3x.png"
|
||||
},
|
||||
{
|
||||
"idiom": "iphone",
|
||||
"scale": "2x",
|
||||
"size": "60x60",
|
||||
"filename": "icon_60@2x.png"
|
||||
},
|
||||
{
|
||||
"idiom": "iphone",
|
||||
"scale": "3x",
|
||||
"size": "60x60",
|
||||
"filename": "icon_60@3x.png"
|
||||
},
|
||||
{
|
||||
"idiom": "ios-marketing",
|
||||
"scale": "1x",
|
||||
"size": "1024x1024",
|
||||
"filename": "icon_1024.png"
|
||||
}
|
||||
],
|
||||
"info": {
|
||||
"author": "xcode",
|
||||
"version": 1
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 1.1 MiB |
|
After Width: | Height: | Size: 4.0 KiB |
|
After Width: | Height: | Size: 8.2 KiB |
|
After Width: | Height: | Size: 7.7 KiB |
|
After Width: | Height: | Size: 16 KiB |
|
After Width: | Height: | Size: 14 KiB |
|
After Width: | Height: | Size: 28 KiB |
|
After Width: | Height: | Size: 28 KiB |
|
After Width: | Height: | Size: 57 KiB |
@@ -0,0 +1,31 @@
|
||||
{
|
||||
"schema": 1,
|
||||
"kind": "app_icon_provenance",
|
||||
"generator": "image-gen gpt-image-2.6",
|
||||
"task_ids": [
|
||||
"task_hp1glNjmWyfl7dZtvHNWOucCWQbBpb4F",
|
||||
"task_hUwdnBHggtR1M6DxjJ5lCqCpOmvwV15N"
|
||||
],
|
||||
"note": "first task failed upstream (no charge); v2 accepted. Downloaded via curl --noproxy to bypass macOS system proxy.",
|
||||
"raw_sha256": "4788a5277bdb8bebd82acd890350a8e0b4914e1f3e4bcc6779fa1bd90dea31ba",
|
||||
"raw_size": [
|
||||
1254,
|
||||
1254
|
||||
],
|
||||
"derived_sizes": {
|
||||
"20@2x": 40,
|
||||
"20@3x": 60,
|
||||
"29@2x": 58,
|
||||
"29@3x": 87,
|
||||
"40@2x": 80,
|
||||
"40@3x": 120,
|
||||
"60@2x": 120,
|
||||
"60@3x": 180,
|
||||
"1024": 1024
|
||||
},
|
||||
"brand": "floating island + green-cloaked ranger + golden wind swirl, matches Windroost identity",
|
||||
"no_text": true,
|
||||
"square_straight_edges": true,
|
||||
"human_reviewed": false,
|
||||
"status": "near_final_candidate"
|
||||
}
|
||||
|
After Width: | Height: | Size: 1.5 MiB |
@@ -0,0 +1,8 @@
|
||||
[
|
||||
{
|
||||
"name": "app-icon",
|
||||
"task_id": "task_hp1glNjmWyfl7dZtvHNWOucCWQbBpb4F",
|
||||
"model": "gpt-image-2.6",
|
||||
"prompt": "App icon for an iOS game, square image with straight edges, NO rounded corners (iOS will mask the squircle). A single small floating island with a tiny green-cloaked ranger silhouette and a wind swirl, warm golden light, deep navy-teal sky, clean chunky pixel-art style, bold simple shapes, centered composition with generous safe margins. No text, no words, no letters, no UI. High contrast, recognizable at 40x40 pixels."
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,8 @@
|
||||
[
|
||||
{
|
||||
"name": "app-icon-v2",
|
||||
"task_id": "task_hUwdnBHggtR1M6DxjJ5lCqCpOmvwV15N",
|
||||
"model": "gpt-image-2.6",
|
||||
"prompt": "A square pixel-art game app icon: one small green floating island with a tiny green-cloaked elf archer holding a bow standing on it, a golden wind swirl curling around the island, deep teal night sky background. Bold clean chunky pixels, centered, high contrast, simple shapes. Flat square image, no text."
|
||||
}
|
||||
]
|
||||
@@ -42,18 +42,18 @@ Owner 本轮**新授权**(解除了旧文档里的 dry-run 限制):
|
||||
- [ ] `human_listened` 仍开放(owner 用音箱+耳机)——唯一剩余音频门
|
||||
- key 处理:仅从 env 读、未写入任何文件;sidecar 只存安全 response header;provenance 在 `PRODUCTION/source/elevenlabs/`
|
||||
|
||||
### C. 视觉/营销素材(AI 生成授权内)→ Phase ASSET
|
||||
- [ ] App 图标 1024×1024 + 派生尺寸(`$app-icon-gen`)
|
||||
- [ ] 商店截图(6.9"/5.5" 排版,中英)—— 复用截图矩阵
|
||||
- [ ] 更多角色真帧动画(H03/H04/敌人 attack)—— 按 H02 已验证管线
|
||||
- [ ] 可选:宣传短片(`$video-gen`)—— 非上架硬门槛,最后做
|
||||
### C. 视觉/营销素材(AI 生成授权内)→ Phase ASSET ✅ 主要完成
|
||||
- [x] App 图标 1024×1024 + 9 派生尺寸(gpt-image-2.6;首任务失败无扣费、v2 成功);`PRODUCTION/source/store/app_icon/`,provenance + Contents.json 在案;80px 仍可辨识。square/no-text/无圆角。
|
||||
- [x] 商店截图 8 张(中英 × 天空港/海图/战斗/胜利/事件),原生 3x 渲染 1290×2796(6.9" iPhone),`run_store_capture.sh` 接入闸门;文字平滑、像素清晰。
|
||||
- [x] 更多角色真帧动画:H02 攻击 4 帧(Phase B1 模板,见 47);H03/H04/敌人 attack 仍未做(同一管线,时间/成本)
|
||||
- [ ] 可选:宣传短片(`$video-gen`)—— 非上架硬门槛,owner 需要时再做
|
||||
|
||||
### D. 技术发布就绪 → Phase TECH
|
||||
### D. 技术发布就绪 → Phase TECH(部分完成)
|
||||
- [x] 数据打进工程(res://data/)+ 同步闸门 + PCK 验证
|
||||
- [x] 测试脚本排除出导出包
|
||||
- [x] 存档迁移/损坏恢复/离线封顶/时钟回拨/重复领取
|
||||
- [x] 失败/波次/胜利弹窗路由
|
||||
- [ ] iOS/Android 导出预设(配置层;签名需 owner Bundle ID/团队)
|
||||
- [x] 导出预设:Linux/X11 已验证 + iOS/Android TEMPLATE(占位 ID/团队,Godot 解析验证、Android preset 实测导出 PCK 成功);签名/提交需 owner Bundle ID/团队
|
||||
- [ ] 发布前 requirements→evidence 全审计(`qa-release.md`)
|
||||
- [ ] 性能预算记录(真机部分 owner)
|
||||
|
||||
@@ -77,7 +77,7 @@ Owner 本轮**新授权**(解除了旧文档里的 dry-run 限制):
|
||||
| 视觉(战斗/海图/天空港/胜利/事件) | agent_visual_reviewed | ✅ |
|
||||
| 帧动画(H01/H02 真 4 帧) | automated_verified + agent_visual_reviewed | ✅ |
|
||||
| 音频 | machine_audio_checked(ElevenLabs 真实 SFX+BGM,导出 PCK 验证) | ✅ Phase AUDIO;仅 human_listened 开放 |
|
||||
| App icon / 商店素材 | — | ⏳ Phase ASSET |
|
||||
| App icon / 商店素材 | agent_visual_reviewed(图标+8 张商店截图) | ✅ Phase ASSET |
|
||||
| 真机 / 人听 / 人看 | 未证 | owner |
|
||||
| 签名 / 上传 / 审核 | 未证 | owner |
|
||||
|
||||
|
||||
|
After Width: | Height: | Size: 1017 KiB |
|
After Width: | Height: | Size: 761 KiB |
|
After Width: | Height: | Size: 1.1 MiB |
|
After Width: | Height: | Size: 466 KiB |
|
After Width: | Height: | Size: 427 KiB |
|
After Width: | Height: | Size: 971 KiB |
|
After Width: | Height: | Size: 756 KiB |
|
After Width: | Height: | Size: 1.1 MiB |
@@ -0,0 +1,78 @@
|
||||
{
|
||||
"scale": 3,
|
||||
"schema": 1,
|
||||
"shots": [
|
||||
{
|
||||
"locale": "zh_CN",
|
||||
"name": "01_skyport_zh",
|
||||
"size": [
|
||||
1290,
|
||||
2796
|
||||
],
|
||||
"status": "ok"
|
||||
},
|
||||
{
|
||||
"locale": "zh_CN",
|
||||
"name": "02_map_zh",
|
||||
"size": [
|
||||
1290,
|
||||
2796
|
||||
],
|
||||
"status": "ok"
|
||||
},
|
||||
{
|
||||
"locale": "zh_CN",
|
||||
"name": "03_battle_zh",
|
||||
"size": [
|
||||
1290,
|
||||
2796
|
||||
],
|
||||
"status": "ok"
|
||||
},
|
||||
{
|
||||
"locale": "zh_CN",
|
||||
"name": "04_victory_zh",
|
||||
"size": [
|
||||
1290,
|
||||
2796
|
||||
],
|
||||
"status": "ok"
|
||||
},
|
||||
{
|
||||
"locale": "zh_CN",
|
||||
"name": "05_event_zh",
|
||||
"size": [
|
||||
1290,
|
||||
2796
|
||||
],
|
||||
"status": "ok"
|
||||
},
|
||||
{
|
||||
"locale": "en_US",
|
||||
"name": "06_skyport_en",
|
||||
"size": [
|
||||
1290,
|
||||
2796
|
||||
],
|
||||
"status": "ok"
|
||||
},
|
||||
{
|
||||
"locale": "en_US",
|
||||
"name": "07_map_en",
|
||||
"size": [
|
||||
1290,
|
||||
2796
|
||||
],
|
||||
"status": "ok"
|
||||
},
|
||||
{
|
||||
"locale": "en_US",
|
||||
"name": "08_battle_en",
|
||||
"size": [
|
||||
1290,
|
||||
2796
|
||||
],
|
||||
"status": "ok"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,21 +1,69 @@
|
||||
[preset.0]
|
||||
|
||||
[preset.0]
|
||||
name="Linux/X11"
|
||||
platform="Linux/X11"
|
||||
runnable=true
|
||||
export_path="build/linux/windroost.x86_64"
|
||||
advanced_options=false
|
||||
dedicated_server=false
|
||||
custom_features=""
|
||||
export_filter="all_resources"
|
||||
include_filter="data/*.json"
|
||||
exclude_filter="*test*,*runner*,p2_sample.gd"
|
||||
encryption_include_filters=""
|
||||
encryption_exclude_filters=""
|
||||
export_path="build/linux/windroost.x86_64"
|
||||
encrypt_pck=false
|
||||
encrypt_directory=false
|
||||
script_export_mode=2
|
||||
|
||||
[preset.0.options]
|
||||
|
||||
binary_format/embed_pck=false
|
||||
texture_format/s3tc_bptc=true
|
||||
texture_format/etc2_astc=false
|
||||
|
||||
[preset.1]
|
||||
name="iOS - TEMPLATE"
|
||||
platform="iOS"
|
||||
runnable=true
|
||||
advanced_options=false
|
||||
dedicated_server=false
|
||||
custom_features=""
|
||||
export_filter="all_resources"
|
||||
include_filter="data/*.json"
|
||||
exclude_filter="*test*,*runner*,p2_sample.gd"
|
||||
export_path="build/ios/windroost.xcodeproj/project.pbxproj"
|
||||
encrypt_pck=false
|
||||
encrypt_directory=false
|
||||
|
||||
[preset.1.options]
|
||||
application/product_name="Windroost"
|
||||
application/bundle_identifier="TODO.REPLACE.WITH.OWNER.BUNDLE.ID"
|
||||
application/version="0.1.0"
|
||||
application/build=1
|
||||
application/export_as_app_store=false
|
||||
orientation/portrait=true
|
||||
orientation/landscape_left=false
|
||||
orientation/landscape_right=false
|
||||
|
||||
[preset.2]
|
||||
name="Android - TEMPLATE"
|
||||
platform="Android"
|
||||
runnable=true
|
||||
advanced_options=false
|
||||
dedicated_server=false
|
||||
custom_features=""
|
||||
export_filter="all_resources"
|
||||
include_filter="data/*.json"
|
||||
exclude_filter="*test*,*runner*,p2_sample.gd"
|
||||
export_path="build/android/windroost.debug.apk"
|
||||
encrypt_pck=false
|
||||
encrypt_directory=false
|
||||
|
||||
[preset.2.options]
|
||||
gradle_build/use_gradle_build=false
|
||||
architectures/armeabi-v7a=false
|
||||
architectures/arm64-v8a=true
|
||||
version/code=1
|
||||
version/name="0.1.0"
|
||||
package/unique_name="TODO.REPLACE.WITH.OWNER.PACKAGE"
|
||||
package/name="Windroost"
|
||||
package/signed=false
|
||||
screen/immersive_mode=true
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
#!/bin/zsh
|
||||
set -euo pipefail
|
||||
ROOT_DIR="${0:A:h}"
|
||||
source "${0:A:h}/_test_env.sh"
|
||||
GODOT_BIN="${GODOT_BIN:-/Applications/Godot.app/Contents/MacOS/Godot}"
|
||||
LOG_PATH="$ROOT_DIR/artifacts/store_capture.log"
|
||||
TIMEOUT_SECONDS="${STORE_CAPTURE_TIMEOUT_SECONDS:-240}"
|
||||
if [[ ! -x "$GODOT_BIN" ]]; then print -u2 "Godot not found"; exit 127; fi
|
||||
mkdir -p "$ROOT_DIR/artifacts"
|
||||
"$GODOT_BIN" --path "$ROOT_DIR" --rendering-driver opengl3 \
|
||||
--script res://scripts/store_capture_runner.gd > "$LOG_PATH" 2>&1 &
|
||||
GODOT_PID=$!
|
||||
(
|
||||
sleep "$TIMEOUT_SECONDS"
|
||||
kill -TERM "$GODOT_PID" 2>/dev/null || true
|
||||
sleep 5
|
||||
kill -KILL "$GODOT_PID" 2>/dev/null || true
|
||||
) &
|
||||
WATCHDOG_PID=$!
|
||||
set +e
|
||||
wait "$GODOT_PID"
|
||||
STATUS=$?
|
||||
set -e
|
||||
kill -TERM "$WATCHDOG_PID" 2>/dev/null || true
|
||||
wait "$WATCHDOG_PID" 2>/dev/null || true
|
||||
cat "$LOG_PATH"
|
||||
if [[ $STATUS -ne 0 ]]; then print -u2 "STORE_CAPTURE_FAIL exit=$STATUS"; exit "$STATUS"; fi
|
||||
grep -q "STORE_CAPTURE_PASS" "$LOG_PATH" || { print -u2 "STORE_CAPTURE_FAIL no marker"; exit 4; }
|
||||
exit 0
|
||||
@@ -0,0 +1,104 @@
|
||||
extends SceneTree
|
||||
|
||||
## App Store screenshot capture at native 3x device resolution.
|
||||
##
|
||||
## Renders the real GameRoot states at 430x932 logical points with the window
|
||||
## at 1290x2796, so Godot scales canvas items 3x: pixel art stays crisp and
|
||||
## engine text stays smooth. Output is separate from the ui_captures matrix.
|
||||
|
||||
const OUTPUT_DIR := "res://artifacts/store_screenshots/"
|
||||
const LOGICAL := Vector2i(430, 932)
|
||||
const SCALE := 3
|
||||
|
||||
const SHOTS := [
|
||||
{"name": "01_skyport_zh", "page": "skyport", "locale": "zh_CN"},
|
||||
{"name": "02_map_zh", "page": "map", "locale": "zh_CN"},
|
||||
{"name": "03_battle_zh", "attack_hero": "H02", "locale": "zh_CN"},
|
||||
{"name": "04_victory_zh", "victory": "R1-C01-N02", "locale": "zh_CN"},
|
||||
{"name": "05_event_zh", "event": "R1-C01-N04", "locale": "zh_CN"},
|
||||
{"name": "06_skyport_en", "page": "skyport", "locale": "en_US"},
|
||||
{"name": "07_map_en", "page": "map", "locale": "en_US"},
|
||||
{"name": "08_battle_en", "attack_hero": "H02", "locale": "en_US"},
|
||||
]
|
||||
|
||||
|
||||
func _init() -> void:
|
||||
_run.call_deferred()
|
||||
|
||||
|
||||
func _wait_frames(count: int) -> void:
|
||||
for _i in range(count):
|
||||
await process_frame
|
||||
await RenderingServer.frame_post_draw
|
||||
|
||||
|
||||
func _run() -> void:
|
||||
DirAccess.make_dir_recursive_absolute(ProjectSettings.globalize_path(OUTPUT_DIR))
|
||||
# Warm up the window: the first resize after launch can settle one pixel off.
|
||||
var warmup_root := get_root()
|
||||
warmup_root.content_scale_mode = Window.CONTENT_SCALE_MODE_CANVAS_ITEMS
|
||||
warmup_root.content_scale_size = LOGICAL
|
||||
warmup_root.size = LOGICAL * SCALE
|
||||
await _wait_frames(4)
|
||||
var manifest: Array = []
|
||||
for shot in SHOTS:
|
||||
var entry := await _capture(shot)
|
||||
manifest.append(entry)
|
||||
print("STORE_SHOT %s %s %s" % [entry["name"], str(entry["size"]), entry["status"]])
|
||||
var file := FileAccess.open(OUTPUT_DIR.path_join("store_manifest.json"), FileAccess.WRITE)
|
||||
if file != null:
|
||||
file.store_string(JSON.stringify({"schema": 1, "scale": SCALE, "shots": manifest}, "\t", true))
|
||||
file.close()
|
||||
var bad := 0
|
||||
for e in manifest:
|
||||
if str(e["status"]) != "ok":
|
||||
bad += 1
|
||||
if bad == 0:
|
||||
print("STORE_CAPTURE_PASS %d shots" % manifest.size())
|
||||
quit(0)
|
||||
else:
|
||||
print("STORE_CAPTURE_FAIL %d" % bad)
|
||||
quit(1)
|
||||
|
||||
|
||||
func _capture(shot: Dictionary) -> Dictionary:
|
||||
var root := get_root()
|
||||
await _wait_frames(2)
|
||||
root.content_scale_mode = Window.CONTENT_SCALE_MODE_CANVAS_ITEMS
|
||||
root.content_scale_size = LOGICAL
|
||||
root.size = LOGICAL * SCALE
|
||||
await _wait_frames(3)
|
||||
|
||||
var shell := load("res://scenes/game_root.tscn").instantiate() as GameRoot
|
||||
root.add_child(shell)
|
||||
shell.set_locale(str(shot["locale"]))
|
||||
if str(shot.get("page", "skyport")) == "map":
|
||||
shell.show_page("map")
|
||||
if shot.has("victory"):
|
||||
shell.reset_profile_for_test()
|
||||
shell.force_victory_for_test(str(shot["victory"]))
|
||||
await _wait_frames(50)
|
||||
elif shot.has("attack_hero"):
|
||||
shell.reset_profile_for_test()
|
||||
shell.start_node("R1-C01-N02")
|
||||
await _wait_frames(6)
|
||||
if shell.get_battle() != null and shell.get_battle().hud != null:
|
||||
shell.get_battle().hud.force_hero_attack_frame_for_test(str(shot["attack_hero"]), 2)
|
||||
await _wait_frames(3)
|
||||
elif shot.has("event"):
|
||||
shell.start_node(str(shot["event"]))
|
||||
await _wait_frames(6)
|
||||
else:
|
||||
await _wait_frames(6)
|
||||
|
||||
var img := root.get_texture().get_image()
|
||||
var path := OUTPUT_DIR.path_join("%s.png" % shot["name"])
|
||||
var saved := img.save_png(ProjectSettings.globalize_path(path))
|
||||
root.remove_child(shell)
|
||||
shell.queue_free()
|
||||
return {
|
||||
"name": str(shot["name"]),
|
||||
"locale": str(shot["locale"]),
|
||||
"size": [img.get_width(), img.get_height()],
|
||||
"status": "ok" if saved == OK else "save_failed:%d" % saved,
|
||||
}
|
||||
@@ -54,6 +54,7 @@ run_step "visible node caps" "$ROOT_DIR/p2_godot_sample/run_visible_node_test.sh
|
||||
run_step "p3a full loop" "$ROOT_DIR/p2_godot_sample/run_p3a_loop_test.sh"
|
||||
run_step "p3b offline and rebuild" "$ROOT_DIR/p2_godot_sample/run_p3b_offline_rebuild_test.sh"
|
||||
run_step "ui capture matrix" "$ROOT_DIR/p2_godot_sample/run_capture.sh"
|
||||
run_step "store screenshots" "$ROOT_DIR/p2_godot_sample/run_store_capture.sh"
|
||||
run_step "log error audit" python3 "$ROOT_DIR/tools/audit_logs.py"
|
||||
|
||||
print ""
|
||||
|
||||