Breadcrumb

  1. Home
  2. Games By Year
  3. Games

XAYÁC

Languages

Spanish (Español)

English (English)

Game Diversifiers
Cubes (Sponsored by Unity)
Random encounter
Diverse
Stay Local
Platforms
Other
Tools and Technologies
Unity
About
MASK MATRIX — Two warriors. One ring. Ancient masks with modern tech.

Channel the spirits of Aztec deities through a custom physical controller. Sync your body and mind: position your hand
in the sacred zone, tune your energy with the dial, then strike when your Flux reaches maximum power.

But beware — your opponent plays by different rules. Each fighter must match their own shifting color pattern. Stay
focused, stay synced, and push your rival into the void.

Controls: Ultrasonic sensor (hand distance) + Potentiometer (tuning) + Touch pad (attack)
Win condition: Push opponent out of the ring. Best of 3 rounds.
Technology Notes
Custom Hardware Controller (Mask Matrix)

Microcontroller:
- ESP32 WROOM-32 (38-pin)
- Arduino IDE / PlatformIO

Sensors & Input:
- HC-SR04 Ultrasonic Sensors (x2) — Hand distance detection for zone selection
- 10K Potentiometers (x2) — Fine-tuning sync point alignment
- MPR121 Capacitive Touch Sensor — 12 pads (6 per player) for attack triggers
- EC11 Rotary Encoder — Menu navigation and character selection

Visual Feedback:
- WS2812B LED Matrix 16x16 (256 LEDs) — Game arena display
- WS2812B LED Strips (x4, 12 LEDs each) — Player sync/flux indicators

Libraries:
- Adafruit NeoPixel (LED control)
- Custom I2C driver for MPR121

Communication

- Serial Protocol (115200 baud) — ESP32 ↔ Unity real-time sync
- Custom simplified protocol: position updates, round/game winners

Software

- Unity 2022 — 2D visualization and animations
- C++ (Arduino) — Firmware logic, sensor fusion, game state machine

Installation Instructions
README_MatrixMask on zip