Examples Overview
Explore our collection of multiplayer games built with Martini. Each example demonstrates different features and patterns you can use in your own games.
Fire & Ice
A cooperative platformer where players must work together to navigate challenges using complementary abilities.
Features:
- Cooperative gameplay mechanics
- Phaser physics integration
- LocalTransport for IDE development
- Lobby system with ready-up flow
Paddle Battle
A modern take on classic Pong with multiplayer support and smooth physics.
Features:
- Real-time physics synchronization
- Input handling with InputManager
- Score tracking and game states
- Support for multiple transports
Blob Battle
An agar.io-style competitive game where players grow by consuming collectibles.
Features:
- Dynamic sprite scaling
- Collision detection
- Player growth mechanics
- Support for all transport types
Arena Blaster
A twin-stick shooter with fast-paced combat and scoring systems.
Features:
- Shooting mechanics
- Health and damage systems
- Score-based victory conditions
- Phaser sprite management
Circuit Racer
A top-down racing game with smooth vehicle controls.
Features:
- Vehicle physics
- Track-based gameplay
- Lap tracking
- Multiplayer racing
Tile Matcher
A Connect Four-style game demonstrating grid-based gameplay.
Features:
- Grid collision detection
- Turn-based gameplay
- GridClickHelper integration
- Win condition detection
TNT Dude
A Bomberman-inspired game with explosive gameplay.
Features:
- Grid-locked movement
- Bomb placement mechanics
- Explosion systems
- Collectible power-ups
Getting Started
All examples are fully playable and editable in the browser. Click any “Try it now” link above to:
- Play the game - Test it out with the built-in game preview
- View the code - See how everything is implemented
- Make changes - Edit and see results in real-time
- Learn patterns - Study the implementation details
Source Code
Want to dive deeper? All examples are open source: