| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| README.md | < 17 hours ago | 10.0 kB | |
| tycapge-typescript-online-classic-adventure-game-engine-v1.1.zip | < 18 hours ago | 188.4 MB | |
| Totals: 2 Items | 188.4 MB | 5 |
TyCAPGE
Online Classic Adventure Point and Click Game Engine

Language / Idioma: English | Español
Source code / Código fuente: github.com/tijuinem/TyCAPGE
![]() |
![]() |
![]() |
English
Summary
TyCAPGE (TypeScript Classic Adventure Point-and-Click Game Engine) is an online, multiplatform open-source game engine ported from PyCAPGE to TypeScript, HTML5 Canvas 2D, Tailwind CSS, and Howler.js.
It runs directly in any modern browser (desktop, tablet, or mobile) from a single unified responsive build (dist/), with no backend or installation required.
Create a graphic adventure without knowing how to program: TyCAPGE is designed with a clean, declarative, AI-friendly architecture so anyone with no programming knowledge can build their own point-and-click graphic adventure using this engine and an AI prompt (describing scenes, characters, dialogues, items, and puzzles).
Features
- Online & Multiplatform: Runs natively in desktop and mobile browsers from one responsive
dist/bundle (classic bottom SCUMM verb bar on desktop; touch-friendly canvas side panels on mobile). - AI-Prompt Friendly: Declarative scene, hotspot, item, dialogue, and cutscene definitions make it easy for AI assistants to generate complete playable adventures from natural-language prompts.
- 9 Classic SCUMM Verbs:
OPEN,CLOSE,PUSH,PULL,PICK UP,USE,TALK TO,GIVE,LOOK AT, with sentence builder, right-click primary verb, and double-click fast walk/exit. - 5 Playable Demo Scenes: Avenida de la Paz, Town Hall, Panoramic Street, Dark Room (radial flashlight), and Parallax Forest (multi-layer parallax + auto-scroll).
- Pathfinding & Depth Scaling: A* grid pathfinding over walkable masks (
*_bm.*), dynamic Y-scaling, and lightmap tinting. - Dialogues, Cutscenes & Cinematics: Branching dialogue trees,
LUCAS/SIERRA/SUBTITLEnarration styles, scripted cutscenes (MOVE,SAY,WAIT,FACE,ANIM,FUNC), and intro/ending zoom slides. - Interactive Travel Map: Pin-based map navigation with zoom transitions.
- 57 Languages (i18n) & 5 Save Slots (
localStorage).
Project Structure
TyCAPGE/
├── index.html # Unified entry HTML (desktop & mobile modes)
├── package.json
├── vite.config.ts
├── public/assets/ # Backgrounds, sprites, hotspots, items, sounds, 57 languages
└── src/
├── main.ts # Responsive bootstrap (Desktop / Mobile)
├── config.ts # Engine constants & character definitions
├── types.ts # TypeScript interfaces
├── style.css # Responsive mode CSS & modals
├── engine/ # Core engine (Game, Scene, Player, Pathfinding, Audio, I18n, Save, Map...)
├── scenes/ # Scene definitions & global game state variables
└── ui/ # VerbBar (Desktop) & MobileUI (Touch Canvas UI)
Getting Started
npm install
npm run dev # Local development server
npm run build # Production build into dist/
npm run preview # Preview production build locally
To deploy online, upload the contents of dist/ to any static hosting (GitHub Pages, Netlify, Cloudflare Pages, Nginx, Apache, etc.).
Controls (Desktop)
| Input | Action |
|---|---|
| Left Click | Walk / Execute selected verb on hotspot or item |
| Right Click | Execute hotspot's primary verb directly |
| Double Click | Fast walk / Instant exit travel |
| Space / Enter | Skip or clear floating dialogue text |
| F1 | Toggle in-game hints overlay |
| F2 | Open Save / Load menu |
| F3 | Open Settings menu |
| F4 | Toggle Debug mode (walkmask, hitboxes, coordinates) |
| Esc | Cancel verb / Close map or dialogue / Skip cutscene |
Credits & License
- Developed in TypeScript, ported from PyCAPGE by Garba (www.eduardogarbayo.com)
- Technical support: Incubadora de proyectos (www.zainder.com)
- Graphics collaboration: www.riojawebs.com
- Special thanks: Python Community, Pygame Developers, LucasArts (for inspiration), Chir (Indy Java MAGE)
- License: GNU General Public License v3.0 (GPLv3), see LICENSE.
Espanol
Resumen
TyCAPGE (Online Classic Adventure Point and Click Game Engine) es un motor de código abierto online y multiplataforma, portado de PyCAPGE a TypeScript, HTML5 Canvas 2D, Tailwind CSS y Howler.js.
Funciona directamente en cualquier navegador moderno (ordenador, tablet o móvil) desde una única compilación responsiva (dist/), sin necesidad de servidor ni instalación.
Crea una aventura gráfica sin saber programación: TyCAPGE está pensado con una arquitectura declarativa y clara para que cualquier persona sin conocimientos de programación pueda crear su propia aventura gráfica point-and-click usando este motor y un prompt de Inteligencia Artificial (describiendo escenas, personajes, diálogos, objetos y puzles).
Características
- Online y Multiplataforma: Funciona de forma nativa en navegadores de escritorio y móvil desde un único
dist/responsivo (barra inferior clásica SCUMM en escritorio; paneles laterales táctiles en canvas en móvil). - Preparado para Prompts con IA: Las definiciones declarativas de escenas, hotspots, objetos, diálogos y cutscenes permiten que una IA genere aventuras jugables completas a partir de descripciones en lenguaje natural.
- 9 Verbos Clásicos SCUMM:
ABRIR,CERRAR,EMPUJAR,TIRAR,COGER,USAR,HABLAR CON,DAR,MIRAR, con constructor de frases, clic derecho para verbo principal y doble clic para caminar rápido o salir al instante. - 5 Escenas Jugables de Demostración: Avenida de la Paz, Ayuntamiento, Calle Panorámica, Cuarto Oscuro (linterna radial) y Bosque Parallax (parallax multicapa + autoscroll).
- Pathfinding y Escalado por Profundidad: Búsqueda de caminos A* sobre máscaras transitables (
*_bm.*), escalado dinámico en Y e iluminación por lightmaps. - Diálogos, Cutscenes y Cinemáticas: Árboles de diálogo ramificados, estilos de narración
LUCAS/SIERRA/SUBTITLE, escenas secuenciadas (MOVE,SAY,WAIT,FACE,ANIM,FUNC) y diapositivas con zoom en intro y final. - Mapa Interactivo de Viaje: Navegación por pines con transiciones de zoom.
- 57 Idiomas (i18n) y 5 Ranuras de Guardado (
localStorage).
Primeros Pasos
npm install
npm run dev # Servidor de desarrollo local
npm run build # Compilación para producción en dist/
npm run preview # Previsualización local de producción
Para publicarlo online, sube el contenido de dist/ a cualquier alojamiento estático (GitHub Pages, Netlify, Cloudflare Pages, Nginx, Apache, etc.).
Controles (Escritorio)
| Entrada | Acción |
|---|---|
| Clic Izquierdo | Caminar / Ejecutar verbo seleccionado sobre hotspot u objeto |
| Clic Derecho | Ejecutar directamente el verbo principal del hotspot |
| Doble Clic | Caminar rápido / Salida instantánea |
| Espacio / Enter | Saltar o limpiar texto flotante |
| F1 | Activar/desactivar pistas en pantalla |
| F2 | Abrir menú de Guardar / Cargar |
| F3 | Abrir menú de Ajustes |
| F4 | Activar/desactivar modo Debug (máscara, hitboxes, coordenadas) |
| Esc | Cancelar verbo / Cerrar mapa o diálogo / Saltar cutscene |
Créditos y Licencia
- Desarrollado en TypeScript, portado de PyCAPGE por Garba (www.eduardogarbayo.com)
- Apoyo técnico: Incubadora de proyectos (www.zainder.com)
- Colaboración en los gráficos: www.riojawebs.com
- Agradecimientos especiales: Python Community, Pygame Developers, LucasArts (por la inspiración), Chir (Indy Java MAGE)
- Licencia: GNU General Public License v3.0 (GPLv3), ver LICENSE.


