TinCLE: Tiny C Lovely Engine
🤖 Game Engine of the AI, by the AI, for the AI.
⚡ What is TinCLE?
Are you tired of bloated modern game engines that take gigabytes of space just to render a 2D sprite? Are you sick of feeding complex, endless API documentation to ChatGPT, Gemini, or Claude, only to receive hallucinated, broken code that misses the point?
Welcome to TinCLE.
TinCLE is an ultra-lightweight 2D game framework optimized from the ground up for AI-driven development (Vibe Coding) and pure C beginners. We don't waste time writing cozy, hand-holding manuals for human brains. Instead, we provide `SKILL.md`—a highly-dense, hyper-optimized "talent chip" designed specifically for LLM comprehension.
Humans, Stand Aside. Let Your AI Do the Talking.
You don't need to know how to code complex logic. You just need to know how to talk to your AI. Feed `SKILL.md` to your favorite LLM, and watch it output 100% perfect, compilable game code on its very first try.
🛠️ The Ultimate Lightweight Ecosystem
TinCLE isn't just an engine; it's a complete, unhinged deployment pipeline engineered for pure speed and instant relief from development constipation.
| Tool Name | Core Function & Philosophy |
|---|---|
| TinCLE Core | A quick, fluid 2D framework running on Pure C99 + SDL2. Fast, light, and flows perfectly. No waste, just pure performance. |
| asspack | Seals and compresses your heavy, solid assets (textures, sounds, data) into a single, un-crackable `game.data` package. No leaks allowed. |
| icondom | Unprotected graphics are dangerous. icondom takes a single raw image and instantly stretches, compresses, and wraps it into a secured multi-resolution `.ico` file. Protect your pipeline from format leaks. |
| poopee | The final post-processing powerhouse. It flushes out compiling residue, injects your high-res icons, embeds the Windows manifest, and squeezes every last drop of dead weight out of your EXE. |
| emcass | Streams your entire low-level creation into high-performance WebAssembly (WASM) bytecode directly into the browser. No heavy runtimes, no filters—just absolute web domination. |
🚀 How to Vibe Code with TinCLE (Workflow)
Method 1: The Interactive AI Chat Workflow
- Load Context: Copy and paste the contents of `SKILL.md` into your AI chatbot (Gemini, ChatGPT, Claude, etc.).
- Prompt Your Vision: Tell the AI what kind of game you want (e.g., "Make a retro space shooter using TinCLE").
- Copy & Run: Paste the generated output into `game.c`, run `tinclec` in your terminal to playtest on Windows, or use `emcass` for web testing.
Method 2: Fully Automated AI Agent Workflow
If you use advanced AI agents with file-handling privileges, simply place all TinCLE framework files into the workspace. The AI agent will read `SKILL.md`, write your entire code architecture, and automatically invoke `tinclec` or `emcass` to hand you the finalized game package.
💎 Production-Ready Specifications
- Target Architecture: Cross-compiles flawlessly to pure Windows Desktop (Win32/Win64 EXE via TCC) and Web Browser (Wasm HTML via Emscripten) from a single, unified source code.
- Hardware Control: Native SDL2 constants for Keyboard, Mouse, and Gamepad input with built-in deadzone filtering.
- Rendering: Clean, lightning-fast canvas rendering via native `SDL_Renderer` scaling to a default 640x480 virtual resolution.
🏰 Powered by Cresemi
TinCLE is brought to you by the master archmage of computing from Cresemi (Creating Seminar), a legendary one-on-one game development seminar in Japan with over 40 years of engineering expertise.
If you want to read the underlying system mechanics with human eyes, you can review `document.pdf` (bundled in the official package). But remember: the fastest way to understand TinCLE is to let your AI read `SKILL.md` and ask it the questions directly.
🌐 Now, get it for free right here!
👉 Get TinCLE Now on [itch.io]
(📝 🔄 )
