Communitygithub.com

evalix098/tiktoklive

关于游戏 TILE 资产的深度指南:无缝可平铺纹理、地形过渡瓦片集、自动瓦片和地面/平台瓦片。在生成可平铺纹理、瓦片集、地形过渡或无缝图案时使用。补充 game-asset-core。

tiktoklive 是什么?

这个名为“evalix098/tiktoklive”的技能为 AI 代理提供了一个全面的指南,用于生成高质量的游戏 TILE 资产,包括无缝瓦片、过渡瓦片集、自动瓦片和平台。它的核心原则是“在重复中隐身”——所有生成的资产都必须避免让玩家注意到网格。对于无缝单瓦片,技能强调提示均匀的随机纹理,并通过创建 2×2 重复图像来强制验证,以检查接缝线、重复的图案和整体色调梯度。对于过渡瓦片集(例如,从草地到泥土),它指导代理将一个连续的绘画图像提示为一个可切割的整体,而不是单独的“贴纸”瓦片,确保相邻瓦片之间的内容在边缘上自然流动。该技能还引入了旋转经济学的概念,即在无方向光照下,仅通过旋转一个直边和一个外角即可覆盖所有四个方向,从而减少所需绘制的瓦片数量,并将预算用于创建多个中心填充变体以打破重复感。最后,它涵盖了平台和道具的生成,强调它们应该与瓦片集的光照一致,且不要烘焙地面阴影。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/evalix098/tiktoklive/tree/HEAD/.grok/skills/game-tilesets

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

瓦片集

瓦片的职责是在重复中隐身。 用户只说明他们需要什么,而不说怎么做——即使请求从未提及,也要在此应用所有内容。 以“玩家是否会注意到网格?”来评判一切。

1. 无缝单瓦片

  • 提示请求均匀的随机纹理:密度均匀,光照均匀,没有方向性的阴影,“图案在所有边缘之外延续”。
  • 重复的杀手是任何独特的图案——一个可辨认的簇、花或岩石会永远重复。提示请求匿名的纹理;通过寻找任何你可以指认两次的东西来验证。
  • 强制检查:使用 PIL 将真实的 2×2 重复合成到一个临时文件并查看它。寻找 (a) 连接处的接缝线,(b) 在四个象限中都能发现的任何图案,(c) 产生棋盘格效应的大尺度色调渐变。以上任何一种情况 = 重试。

2. 过渡瓦片集(草地→泥土等)

  • 将其提示为一幅连续的绘画图像,恰好可以切片——永远不要作为“瓦片”、“带边框的单元格”或任何会让人联想到带有间隙的单独“贴纸”瓦片。单元格必须边缘到边缘填充,绘画内容跨越单元格边界流动,以便相邻瓦片真正匹配。
  • 对于 3×3 布局:中心 = 纯内部材质;边缘单元格 = 朝外的直向过渡;角单元格 = 外角。验证每个单元格的方向性(顶部中心的草地沿其顶部边缘分布等)。

3. 旋转经济学——制作更少但更好的瓦片

如果光照是中性的(纯自上而下,无方向性阴影),一个直边和一个外角可以通过在引擎中旋转来产生所有四个方向的每种样式。因此,当瓦片数量由你决定时:

  • 制作:1 个中心填充,1 个直边,1 个外角,1 个内角——然后将剩余的预算用于中心填充的变体(2–3 个匿名变体比 4 个相同的旋转边缘更能打破重复感)。
  • 警告——只有当艺术品中没有编码方向性时,旋转才有效:没有方向性光照,没有重力提示(下垂的草叶、水滴),没有文字/徽章。侧面视图(平台游戏)瓦片几乎总是编码了重力和光照,因此它们需要所有方向都单独绘制。在你的交付说明中说明哪些瓦片是旋转安全的。
  • 如果请求明确固定了网格(例如,“所有 8 种过渡的 3×3”),则完全按此交付——在说明中提及旋转经济学,不要单方面更改交付物。

4. 平台和道具

在可抠图的背景上独立呈现,与其瓦片集的光照一致,不要有烘焙的地面阴影(引擎分别合成阴影)。

Individual skills in this repo

This repo contains 17 individual skills — each has its own dedicated page.

evalix098/tiktoklive

Add user accounts and sign-in to this TanStack Start app. Use when the app needs authentication, sign-in, user accounts, protected routes, or per-user data. Triggers on "auth", "login", "log in", "sign in", "sign up", "account", "users", "authentication", "protected", "who is logged in", "current user", "per-user".

evalix098/tiktoklive

Build browser games and interactive/canvas/3D experiences in this TanStack Start + React app. Use for any game, simulation, or WebGL/Canvas experience — 2D or 3D, single-player. Covers the game loop & timing, 3D orientation/camera conventions, collision, performance, assets, audio, save, game feel, and per-genre playbooks. For WASD / vehicle / flight **input signs and inverted A/D**, open the **`controls`** skill — do not rely on this file or racing-kart alone. Triggers on "game", "minecraft", "fps", "platformer", "racing", "tetris", "snake", "shooter", "3d", "three.js", "canvas", "voxel", "physics".

evalix098/tiktoklive

Player-facing input signs for browser games: WASD, vehicles, flight, FPS mouse-look, and the #1 failure mode (inverted A/D). Mandatory control self-tests and a tiny test interface so you can verify A turns left before shipping. Load for ANY game with movement, steering, flying, driving, tanks, boats, mechs, drones, planes, karts, third-person follow cams — not only racing. Triggers on "controls", "WASD", "inverted", "steer", "flight", "airplane", "kart", "vehicle", "yaw", "roll", "pitch", "mouse look", "A/D".

evalix098/tiktoklive

Design and build polished, non-generic UI for this TanStack Start + React + Tailwind v4 + shadcn/Radix app. Use whenever you create or restyle any interface surface — pages, landing pages, dashboards, forms, modals, nav, and game overlays (start screens, HUD, menus). Covers design tokens, layout, typography, color, spacing, motion, and the anti-"AI-slop" rules that keep output from looking generic. Triggers on "design", "UI", "make it look good", "polish", "landing page", "theme", "style", "redesign", "ugly", "clean up".

evalix098/tiktoklive

Deep guide for game ANIMATION assets: motion cycles, action keyframes, effect sequences, and animation sprite sheets — built around a video-first pipeline. In this app-builder sandbox, execute via the video2dsprite / generate2dsprite skills (magenta + scripts), not ad-hoc ffmpeg. Use whenever generating anything that moves: walk/run cycles, attacks, idles, FX, flags, fire, animation sheets. Complements game-asset-core.

evalix098/tiktoklive

Core discipline for ANY game-asset generation with Imagine tools: the engine-ready defaults users don't state, spec checklists, style anchoring, read-back verification, honest defect flagging. Use whenever generating any game art (sprites, sheets, animations, tiles, UI, FX) — then ALSO load the matching specialist skill: game-animation-frames for anything that moves, game-tilesets for tiles/terrain, game-character-consistency for recurring characters, game-ui-icons for UI and icons.

evalix098/tiktoklive

Deep guide for CHARACTER IDENTITY across images: turnarounds (front/side/ back), state and damage variants, palette swaps, equipment changes, and same-character-in-context sets. Use whenever generating character turnarounds, character sheets, variants of an existing sprite, or any same-subject multi-image set. Complements game-asset-core.

evalix098/tiktoklive

Deep guide for game UI assets: buttons with interaction states, panels, bars, wordmark logos, and icon sets. Use whenever generating game UI elements, HUD assets, inventory icons, icon sets, buttons, or title logos. Complements game-asset-core.

evalix098/tiktoklive

Generate production-oriented 2D game maps with `imagine_text_to_image`: RPG/top-down maps, side-scroller parallax stages, tilemaps, layered raster maps, prop packs, collision zones, and walkable areas. Use when building browser games that need real map art (not pure code-drawn tiles), layered props, or map collision metadata. Triggers on "map", "level", "stage", "tilemap", "overworld", "dungeon", "side scroller background", "prop pack", "2D map".

evalix098/tiktoklive

Generate and postprocess 2D game sprites and animation sheets: pixel-art characters, NPCs, creatures, spells, projectiles, impacts, props, summons, and transparent PNG/GIF exports. Use when building browser games that need real sprite sheets (not code-drawn placeholders), matching a map art style, or producing magenta-background sheets for chroma-key cleanup. Triggers on "sprite", "sprite sheet", "animation sheet", "pixel art character", "walk cycle", "attack animation", "projectile sprite", "2D game asset".

evalix098/tiktoklive

How to use the Imagine tools in Grok Build: imagine_text_to_image, imagine_image_to_image, imagine_reference_to_image, imagine_text_to_video, imagine_image_to_video, imagine_reference_to_video, and render_file for chat previews. When to build a visual with code instead of generating it, prompt-craft, reference-first handling of real people, factual grounding, and asset-consistency. Load this whenever generating or editing an image or video is on the table. Tool-usage-driven, not triggered by a user merely mentioning images.

evalix098/tiktoklive

Peer-to-peer realtime multiplayer over WebRTC data channels: every user of the deployed app connects directly to every other user (full mesh), the server only brokers the handshake at /api/rtc. Lowest possible latency, zero per-message server cost. Use for 2-8 player co-op/casual realtime: shared cursors, drawing, party games, casual action. Triggers: p2p, peer to peer, webrtc, low latency multiplayer, direct connection.

evalix098/tiktoklive

Use Neon Postgres (the database) in this TanStack Start app. Use when the app needs to store or query data, persist state, or keep per-user data. Triggers on "database", "Postgres", "Neon", "save data", "store data", "persist", "tables", "SQL", "query", "migrations".

evalix098/tiktoklive

Share-link previews and app identity for apps on *.grok.me: the injector-owned og:image card, the SVG favicon, and PWA icons for installable apps. Use when scaffolding, renaming, or restyling the app — and for share / unfurl / OG / Twitter card questions. A custom 1200×630 card from the app's own art is the default — games of every kind (DOM board/word games included), whimsical apps, creative tools, and brand-forward pages; only plain utilities keep the placeholder. Always run the brand-asset pass as a `task` subagent and never wait for it. Triggers on "share", "rename", "app name", "OG", "Open Graph", "twitter card", "unfurl", "og:image", "og:type", "x:game:image", "x-banner", "link preview", "social card", "thumbnail", "preview image", "favicon", "app icon", "PWA", "manifest", "installable", "home screen", "SEO", "meta description".

evalix098/tiktoklive

Official Three.js API and TSL (Three.js Shading Language) reference for LLM code generation. Load when writing or debugging three.js / WebGL / WebGPU / custom materials / shaders / GLTF / advanced three APIs beyond basic game loop/controls. Prefer building-games for game correctness (loop, WASD, camera, orientation); use this skill for full API/TSL depth. Triggers on "three.js", "threejs", "WebGPU", "TSL", "NodeMaterial", "shader", "GLTF", "MeshStandard", "OrbitControls", "WebGLRenderer".

evalix098/tiktoklive

Grok Build only. Turn a 2D character still into denser animation sprites via imagine_text_to_image base → imagine_image_to_video (6s/10s run-in-place) → ffmpeg frames → magenta chroma-key → dense sampled strips/grids/GIFs. Use when the user wants video-to-sprite, smoother run/walk cycles, or denser intermediate poses. Prefer generate2dsprite for crisp production pixel sheets. Triggers on "video to sprite", "imagine_image_to_video sprite", "dense walk cycle", "smooth run animation from video".

evalix098/tiktoklive

Call the xAI API (Grok) from this app's server code using the injected XAI_API_KEY: chat/LLM features, image and video generation (Imagine), and voice (text-to-speech). Use when the app needs any "AI" / "assistant" / "chatbot" / "Grok" functionality, runtime image/video generation, or speech. Triggers on "AI", "LLM", "chatbot", "assistant", "Grok", "xAI", "generate text", "summarize", "generate image", "AI video", "voice", "text to speech", "TTS", "OpenAI" (use xAI instead).

相关技能