Blit-Tech Examples

WebGPU Retro Game Engine — Phase 1 Demos

[*]
Basic Example
Bouncing square demo. Demonstrates a basic setup and rendering.
Getting Started
[#]
Primitives
Showcase of all drawing primitives: pixels, lines, rectangles, and filled shapes.
Drawing API
[o]
Camera
Demonstrates camera scrolling in a large world with mini-map and UI overlay.
Camera System
[~]
Patterns
Animated mathematical patterns: spirals, waves, Lissajous curves, and more.
Animation
[%]
Sprites
Textured sprite rendering with color tinting, transparency, and animation effects.
Sprite System
[A]
Bitmap Fonts
Bitmap font rendering with colors, effects, and custom font loading.
Text Rendering
[+]
Sprite Effects
Practical tinting effects: damage flash, shadows, team colors, and ambient lighting.
Sprite System
[>]
Animation & Timing
Tick-based animation with state machines, cooldowns, and frame-based game logic.
Animation

Phase 1 Features Implemented:

Not Yet Implemented (Planned):

Requirements:

Assets and Fonts:

Bitmap font examples use PragmataPro by Fabrizio Schiavi.
Available at https://fsd.it/shop/fonts/pragmatapro/

Blit-Tech - Inspired by RetroBlit | Built with WebGPU