Bald mascot and one-word MatGames title on the loading screen
This commit is contained in:
@@ -3,36 +3,43 @@
|
||||
"file": "assets/branding/boot_splash.png",
|
||||
"size": [
|
||||
1024,
|
||||
1218
|
||||
1185
|
||||
],
|
||||
"mode": "P",
|
||||
"palette_colors": 256,
|
||||
"sha256": "78524be4ba17ab04afe56d16b00954989457f9af247367f7c4b0f9ed8ea2dec4"
|
||||
"sha256": "4b4bab87b5038915d5a7493c6ee134cd654293036d093e71d210cbad6359bdb2"
|
||||
},
|
||||
"mascot_source": {
|
||||
"file": "tools/branding/raw/agy_generate_20261010234423_0.jpg",
|
||||
"sha256": "5929495ff606fbcdd74f52a37304f3b569315bcd1fc0fef812b5fd7689dc1396"
|
||||
"file": "tools/branding/raw/agy_edit_20261010235510_0.jpg",
|
||||
"sha256": "913184c2e2e3dd5357f7729988859c8e038e4561ba18af7cb60f12644f7f6994"
|
||||
},
|
||||
"generator": {
|
||||
"tool": "agy_generate (Antigravity direct API)",
|
||||
"model": "gemini-3.1-flash-image",
|
||||
"date": "2026-10-11",
|
||||
"prompt": "single cartoon zombie head-and-bust mascot, unsettling wide grin, thumbs up, 2D cartoon style with bold outlines, flat magenta chroma-key background, no text and no logo",
|
||||
"prompt": "single cartoon zombie head-and-bust mascot, unsettling wide grin, thumbs up, 2D cartoon style with bold outlines, flat magenta chroma-key background, no text and no logo; then edited to a bald scalp with a sparse hair fringe on the sides only",
|
||||
"terms_note": "generated from no third-party source material; the provider terms do not claim ownership of the output. The generator emits no real alpha channel, so the background is keyed out locally by this script."
|
||||
},
|
||||
"chroma_key": {
|
||||
"background_rgb": [
|
||||
250,
|
||||
4,
|
||||
247
|
||||
246,
|
||||
1,
|
||||
237
|
||||
],
|
||||
"transparent_below": 55,
|
||||
"opaque_above": 130
|
||||
},
|
||||
"title": {
|
||||
"text": "Mat Games",
|
||||
"text": "MatGames",
|
||||
"font": "tools/branding/fonts/VT323-Regular.ttf",
|
||||
"license": "SIL Open Font License 1.1 (tools/branding/fonts/OFL.txt)"
|
||||
},
|
||||
"bottom_fade_px": 50
|
||||
"bottom_fade_px": 50,
|
||||
"mascot_derived_from": [
|
||||
{
|
||||
"file": "tools/branding/raw/agy_generate_20261010234423_0.jpg",
|
||||
"sha256": "5929495ff606fbcdd74f52a37304f3b569315bcd1fc0fef812b5fd7689dc1396",
|
||||
"edit": "AI edit (agy_edit): keep face, grin, thumbs up, shirt, pose and flat background; change the hair to a bald scalp with a sparse fringe on the sides only"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 505 KiB |
@@ -0,0 +1,40 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://co32s8aqwa3bj"
|
||||
path="res://.godot/imported/agy_edit_20261010235510_0.jpg-d9de74481e03780407b2a1aacf263683.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://tools/branding/raw/agy_edit_20261010235510_0.jpg"
|
||||
dest_files=["res://.godot/imported/agy_edit_20261010235510_0.jpg-d9de74481e03780407b2a1aacf263683.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/uastc_level=0
|
||||
compress/rdo_quality_loss=0.0
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/channel_remap/red=0
|
||||
process/channel_remap/green=1
|
||||
process/channel_remap/blue=2
|
||||
process/channel_remap/alpha=3
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
@@ -13,13 +13,15 @@ from PIL import Image, ImageDraw, ImageFilter, ImageFont
|
||||
|
||||
parser = argparse.ArgumentParser()
|
||||
parser.add_argument('raw', type=pathlib.Path, help='raw generated image (magenta background)')
|
||||
parser.add_argument('--title', default='Mat Games')
|
||||
parser.add_argument('--title', default='MatGames')
|
||||
parser.add_argument('--canvas', type=int, default=1024)
|
||||
parser.add_argument('--title-height', type=int, default=190)
|
||||
parser.add_argument('--bottom-fade', type=int, default=50,
|
||||
help='soften the generator frame cut at the bottom of the bust')
|
||||
parser.add_argument('--colors', type=int, default=256,
|
||||
help='palette colors for the shipped PNG; 0 keeps 32-bit RGBA')
|
||||
parser.add_argument('--generated-from', type=pathlib.Path, default=None,
|
||||
help='pre-edit generation this file was derived from, for provenance')
|
||||
args = parser.parse_args()
|
||||
args.raw = args.raw.resolve()
|
||||
root = pathlib.Path(__file__).resolve().parents[1]
|
||||
@@ -108,7 +110,8 @@ manifest.update({
|
||||
'date': '2026-10-11',
|
||||
'prompt': ('single cartoon zombie head-and-bust mascot, unsettling wide grin, thumbs up, '
|
||||
'2D cartoon style with bold outlines, flat magenta chroma-key background, '
|
||||
'no text and no logo'),
|
||||
'no text and no logo; then edited to a bald scalp with a sparse hair fringe '
|
||||
'on the sides only'),
|
||||
'terms_note': ('generated from no third-party source material; the provider terms do not claim '
|
||||
'ownership of the output. The generator emits no real alpha channel, so the '
|
||||
'background is keyed out locally by this script.'),
|
||||
@@ -118,5 +121,13 @@ manifest.update({
|
||||
'license': 'SIL Open Font License 1.1 (tools/branding/fonts/OFL.txt)'},
|
||||
'bottom_fade_px': args.bottom_fade,
|
||||
})
|
||||
if args.generated_from is not None:
|
||||
chain = manifest.get('mascot_derived_from', [])
|
||||
manifest['mascot_derived_from'] = chain + [{
|
||||
'file': str(args.generated_from.resolve().relative_to(root)),
|
||||
'sha256': hashlib.sha256(args.generated_from.read_bytes()).hexdigest(),
|
||||
'edit': 'AI edit (agy_edit): keep face, grin, thumbs up, shirt, pose and flat background; '
|
||||
'change the hair to a bald scalp with a sparse fringe on the sides only',
|
||||
}]
|
||||
(source_tools / 'manifest.json').write_text(json.dumps(manifest, indent=2) + '\n')
|
||||
print(out, canvas.size, canvas.mode, 'mascot', mascot.size)
|
||||
|
||||
Reference in New Issue
Block a user