Un juego de plataformas y disparos 2D desarrollado completamente desde cero usando Vanilla JavaScript y HTML5 Canvas. Todo el juego está diseñado al 100% con puro arte vectorial procedural nativo del navegador, ¡sin utilizar ningún sprite ni motores externos!
Star Cube es un plataformero 2D centrado en el movimiento ágil: control aéreo preciso, dash multidireccional y disparos con carga gradual. Fue diseñado con un rendimiento ultra ligero para correr de forma fluida en cualquier navegador web moderno, tanto en computadoras como en dispositivos móviles.
Juegas como Peggy, un cubo con habilidades acrobáticas. Tu misión es rescatar a tus compañeros capturados a lo largo de seis zonas y derrotar a los jefes que controlan cada mundo.
Puedes jugar Star Cube ahora mismo en tu navegador sin instalar nada:
- GitHub Pages (Jugar de inmediato): https://cotera2024.github.io/Star-Cube/
- Y8 Games (Portal Mundial): https://es.y8.com/games/starcube
- Itch.io (Comunidad y comentarios): https://cotera.itch.io/star-cube
- Newgrounds (Portal de juegos): https://www.newgrounds.com/portal/view/1052101
- 6 Mundos y Jefes Únicos:
- Mundo 1: Explora la hermosa pradera del amanecer y las deslumbrantes cavernas heladas. Enfréntate al espectro gélido (Ice Cube) que lanzó una maldición sobre la pradera, transformándola en un infierno helado.
- Mundo 2: Aventúrate en un mundo digitalizado. Lucha contra enemigos eléctricos y el peligroso MawlerKnight, que hará todo lo posible por alterar el sistema y hacerte explotar en un billón de bits con su inversión de controles.
- Mundo 3: Sobrevive a los ríos de lava del volcán ardiente y derrota a la Centinela Valkyrie antes de que te reduzca a cenizas.
- Mundo 4: Navega en tu barca sorteando el oleaje del mar tempestuoso y desciende a las fosas abisales para enfrentar al Krakatoa Kraken.
- Mundo 5: Adéntrate en oscuras mazmorras y supera desafíos de precisión pura para rescatar a tus aliados atrapados.
- Mundo 6: Noche de Halloween. Sobrevive a la niebla con tu linterna interactiva y escapa de la persecución contrarreloj de La Gran Calabaza.
- Sub-mundos Dinámicos: Portales y zonas subterráneas que cambian drásticamente las mecánicas, la gravedad, la visibilidad y el entorno del nivel.
- Post-Game Oscuro: Al completar la aventura principal, el juego sufre una metamorfosis. Toda la atmósfera se transforma en un entorno oscuro y terrorífico con diálogos alterados, aumento radical de la dificultad y el modo "La Cacería" (mecánicas de persecución y combate cuerpo a cuerpo).
- Soporte Multi-idioma: Traducción completa e integrada en Español, Inglés, Japonés, Ruso y Chino con selector interactivo y auto-detección.
- Soporte Completo para Móviles y PC:
- Móvil: Controles táctiles virtuales en pantalla diseñados a medida, con soporte multitáctil, gestos y respuesta háptica.
- PC: Teclado y soporte nativo para Gamepads (Xbox, PlayStation, mandos genéricos) con vibración.
| Acción | Tecla / Control |
|---|---|
| Moverse | Flechas direccionales (← / →) |
| Saltar | Barra espaciadora (Espacio) |
| Disparar | X |
| Cargar Ataque | Mantener X presionado |
| Dash | C |
| Energy Dash | C (con el ataque cargado al máximo) |
| Interactuar / Entrar | Flecha Arriba (↑) frente a puertas |
| Pausar | P |
- D-Pad Virtual: Moverse a la izquierda o derecha.
- Botones de Acción: Saltar, Dash, Atacar (cargar disparo) y botón especial de Tajo durante el post-game.
- Modo Pantalla Completa: Botón dedicado para aprovechar al máximo la pantalla del teléfono.
- Moverse: Cruceta (D-Pad) o Stick izquierdo.
- Saltar: Botón A (Xbox) / X (PlayStation).
- Disparar / Cargar: Botón X (Xbox) / Cuadrado (PlayStation).
- Dash: Botón B / Gatillos / R1.
Si deseas utilizar, aprender o integrar de forma independiente el sistema modular de Torretas de Alta Tecnología o al jefe Valkyrie, el código está publicado en su propio repositorio, desarrollado 100% en Vanilla JavaScript (ES6 Modules) sin dependencias externas:
- Repositorio oficial: https://github.com/cotera2024/Turrets-High-Tech
Demostración de las mecánicas dinámicas, mundos, cinemáticas y batallas contra jefes:
- HTML5 Canvas: Renderizado gráfico vectorial 2D y bucle de juego propio a 60 FPS.
- Vanilla JavaScript (ES6+): Físicas de plataformas, colisiones AABB, inteligencia artificial de jefes y gestión de estados.
- Web Audio API: Síntesis de sonido en tiempo real para efectos de audio de baja latencia.
- CSS3: Diseño de interfaz de usuario (HUD) y diseño responsivo adaptativo.
- FFmpeg: Optimización y compresión acústica de pistas musicales en formato MP3 para carga ultrarrápida.
Para revisar el código, ejecutar el juego en tu máquina o contribuir:
-
Clonar el repositorio:
git clone https://github.com/cotera2024/Star-Cube.git cd Star-Cube -
Iniciar un servidor HTTP local: Debido a las políticas de seguridad de los navegadores (CORS), no debes abrir
index.htmldirectamente haciendo doble clic (file:///). Es necesario usar un servidor local:- Con Visual Studio Code: Extensión Live Server, clic derecho en
index.html-> "Open with Live Server". - Con Python 3:
python3 -m http.server 8000
- Con Node.js:
npx serve .
- Con Visual Studio Code: Extensión Live Server, clic derecho en
-
Abrir en tu navegador: Ingresa a
http://localhost:8000.
- Desarrollador: Isaac Daniel Cotera (Cotera)
- Año: 2026
- Itch.io: https://cotera.itch.io
- GitHub: https://github.com/cotera2024
A 2D arcade platformer and shooter built entirely from scratch using Vanilla JavaScript and HTML5 Canvas. The entire game is rendered 100% with native procedural vector art, with zero sprites or external game engines!
Star Cube is an agile 2D platformer focused on swift movement: precise aerial control, omnidirectional dashing, and gradual charge shooting. It was engineered for ultra-low overhead to run smoothly on any modern desktop and mobile web browser.
You play as Peggy, an acrobatic cube. Your mission is to rescue your imprisoned friends across six distinct zones and defeat the bosses who command each world.
You can play Star Cube instantly right now in your web browser across any of our official platforms:
- GitHub Pages (Play Immediately): https://cotera2024.github.io/Star-Cube/
- Y8 Games (Global Arcade Portal): https://es.y8.com/games/starcube
- Itch.io (Community & Comments): https://cotera.itch.io/star-cube
- Newgrounds (Game Portal): https://www.newgrounds.com/portal/view/1052101
- 6 Worlds with Unique Boss Encounters:
- World 1: Explore the scenic Dawn Meadow and stunning Glacial Caverns. Face the icy specter (Ice Cube) who cursed the meadow, freezing it into an icy domain.
- World 2: Venture into a digitized grid. Battle electric foes and the rogue MawlerKnight, who hacks the system to disrupt your controls.
- World 3: Traverse molten lava rivers in the fiery volcano and defeat the Valkyrie Sentinel before you get incinerated.
- World 4: Sail your boat against rough oceanic waves and descend into abyssal depths to battle the Krakatoa Kraken.
- World 5: Delve into dark dungeons and conquer precision platforming trials to rescue your captured companions.
- World 6: Halloween Night. Navigate through thick fog with an interactive flashlight and escape the adrenaline-pumping chase of The Great Pumpkin.
- Dynamic Sub-Worlds: Portals and underground caverns that drastically alter physics, gravity, visibility, and terrain.
- Dark Post-Game Mode: Finishing the main story reveals an eerie metamorphosis into a dark nightmare dimension featuring altered dialogue, higher difficulty, and "The Hunt" mode (intense chase and melee slash mechanics).
- Multi-Language Support: Fully localized into Spanish, English, Japanese, Russian, and Chinese with interactive language switching and auto-detection.
- Cross-Platform Controls:
- Mobile: Custom touch controls with virtual D-Pad, dedicated action buttons, and haptic response.
- PC: Responsive keyboard input and native Gamepad support (Xbox, PlayStation, generic controllers) with vibration feedback.
| Action | Key / Input |
|---|---|
| Move | Arrow keys (← / →) |
| Jump | Spacebar |
| Shoot | X |
| Charge Shot | Hold X |
| Dash | C |
| Energy Dash | C (while fully charged) |
| Interact / Enter | Up Arrow (↑) in front of doors |
| Pause | P |
- Virtual D-Pad: Move left and right.
- Action Buttons: Jump, Dash, Attack (charge shot), and special Slash button during the post-game.
- Fullscreen Button: Maximizes screen viewport for distraction-free gaming.
- Movement: D-Pad or Left Stick.
- Jump: A (Xbox) / X (PlayStation).
- Shoot / Charge: X (Xbox) / Square (PlayStation).
- Dash: B / Shoulder Triggers / R1.
If you want to inspect or integrate the standalone High-Tech Turrets system or the Valkyrie Boss into your projects, the code is open-source in its dedicated repository (100% Vanilla JS ES6 Modules):
- Official Repository: https://github.com/cotera2024/Turrets-High-Tech
Visual demonstration of dynamic gameplay mechanics, worlds, cinematics, and boss battles:
- HTML5 Canvas: Custom 2D vector renderer and fixed 60 FPS game loop.
- Vanilla JavaScript (ES6+): Pure platform physics, AABB collisions, boss AI state machines, and sound scheduling.
- Web Audio API: Real-time procedural audio synthesis for zero-latency sound effects.
- CSS3: Responsive UI layout, HUD overlays, and smooth menu animations.
- FFmpeg: High-efficiency MP3 audio compression and bitrate optimization for instant web loading.
-
Clone the repository:
git clone https://github.com/cotera2024/Star-Cube.git cd Star-Cube -
Start a local HTTP server: Due to browser CORS security policies, do not open
index.htmlviafile:///. Use a local server:- VS Code Live Server: Right-click
index.html-> "Open with Live Server". - Python 3:
python3 -m http.server 8000
- Node.js:
npx serve .
- VS Code Live Server: Right-click
-
Open in your browser: Navigate to
http://localhost:8000.
- Developer: Isaac Daniel Cotera (Cotera)
- Year: 2026
- Itch.io: https://cotera.itch.io
- GitHub: https://github.com/cotera2024
(c) 2026 Isaac Daniel Cotera. All rights reserved.










