Battlefield Portal provides a scripting environment for creating custom game modes, but building truly engaging experiences requires overcoming significant technical challenges. The Portal SDK has limitations around UI customization, spawn management, team balancing, and state synchronization that make it difficult to create polished, competitive game modes that feel professional.
I developed a comprehensive solution for Snipers vs Runners that pushed the boundaries of what's possible in Portal:
- Custom UI Framework: Built a reusable UI helper system from scratch that abstracts Portal's complex API, enabling dynamic displays, team-specific elements, and real-time game state visualization across multiple game modes.
- Advanced Lobby System: Implemented a 30-second pre-game lobby with automatic team randomization, countdown timers, and smooth transitions for a polished matchmaking experience.
- Dynamic Spawn Management: Created a sophisticated spawn system with area-based teleportation and state-dependent positioning that handles lobby, in-game, spectator, and game-over scenarios seamlessly.
- Level Design Integration: Used Godot Engine to design custom map elements with precise trigger zones and teleportation boundaries, then extracted coordinates into the TypeScript codebase for perfect synchronization.