Mazen El Shaar

AI & Unity Developer

Creating immersive experiences at the intersection of gaming and artificial intelligence

About Me

I am an innovative Game Developer with extensive experience in scripting, mechanics optimization, and development using Unity and C#. Skilled in transforming conceptual visions into compelling gaming experiences with a focus on AI integration and interactive media.

With a strong foundation in both 3D and 2D development environments, I specialize in creating immersive experiences that push the boundaries of interactive technology. Currently working as a Junior Unity Developer at PurpleGlo in Dubai, UAE, where I contribute to pioneering projects including AI integration, robotics, and cutting-edge interactive media solutions.

Dubai, United Arab Emirates
mazenshaar@hotmail.com

My AI Journey

Late 2023
First Steps with Stable Diffusion 1.5
Began AI journey with Stable Diffusion 1.5 using Automatic1111 interface. Created the first AI Photobooth in UAE, a groundbreaking project.
SD 1.5 Automatic1111 Unity
Early 2024
Upgrading to SDXL
Transitioned to the more powerful SDXL model, enabling higher quality generations and more complex prompting capabilities.
SDXL Unity Integration
Early-Mid 2024
Workflow Revolution with ComfyUI
Switched from Automatic1111 to ComfyUI for more granular control over the generation pipeline. Implemented custom nodes and workflows.
ComfyUI Custom Nodes Advanced Workflows
Mid 2024
Cutting-Edge with Flux
Adopted Flux immediately upon release, pushing the boundaries of what's possible with AI image generation.
Flux Latest Diffusion
Jan/Feb 2024
Multi-Character AI System (Game Jam)
Created a state machine system for Inworld AI during the 2024 Global Game Jam. Developed in under 48 hours, enabling multiple AI characters to interact.
Inworld AI State Machines Eleven Labs
2024
Voice & Transcription Innovation
Implemented local Whisper transcription for offline use by modifying code for Inworld and Convai. Integrated Eleven Labs for voice cloning.
Whisper Eleven Labs Inworld Convai

AI Project Showcase

SD 1.5

AI Photobooth

Late 2023
A comprehensive Unity-based front-end for Stable Diffusion 1.5, serving as a powerful interface for AI image generation. This first-of-its-kind project in UAE showcased the potential of integrating AI image generation with interactive experiences.

Key Features

  • Text-to-image generation with SD 1.5
  • Image-to-image transformation
  • Face fixing capabilities
  • Upscaling integration
  • Automatic1111 backend integration
Unity/C# Stable Diffusion 1.5 Automatic1111 REST API
SDXL

Evolution to SDXL

Early 2024
Transition from SD 1.5 to the more powerful SDXL model, enabling higher resolution outputs, improved prompt understanding, and more realistic generations. This upgrade significantly enhanced the quality and capabilities of the AI Photobooth.

Key Features

  • Higher resolution output (1024×1024)
  • Improved prompt understanding
  • Better composition and detail
  • Enhanced photorealism
SDXL Unity Integration API Optimization
ComfyUI

Advanced AI Workflow Control

Early-Mid 2024
Transitioned from Automatic1111 to ComfyUI for more granular control over the generation pipeline. This shift enabled custom node creation, complex workflows, and specialized applications like the robot sketcher project.

Key Features

  • Custom node development
  • Complex workflow creation
  • Visual programming interface
  • Pipeline optimization
ComfyUI Python Custom Nodes
Flux

Cutting-Edge Diffusion with Flux

Mid 2024
Immediate adoption of Flux upon its release, pushing the boundaries of AI image generation. Implemented the latest advancements in diffusion models to create higher quality outputs with better control.

Key Features

  • Latest diffusion technology
  • Improved generation speed
  • Enhanced image quality
  • Advanced control parameters
Flux Unity Integration
Inworld

Multi-Character AI System

Jan/Feb 2024
Developed a state machine system for Inworld AI during the 2024 Global Game Jam in under 48 hours. This innovative system enabled multiple AI characters to listen and respond to each other in each scene, creating dynamic and interactive narratives.

Key Features

  • State machine architecture
  • Multi-character awareness
  • Cross-character communication
  • Dynamic response generation
  • Eleven Labs voice integration
Inworld AI Unity/C# State Machines Eleven Labs
Whisper

Offline AI Transcription

2024
Implemented local Whisper transcription for offline use by modifying code for Inworld and Convai. This integration enabled AI systems to function without constant internet connectivity, improving reliability and reducing latency.

Key Features

  • Offline speech recognition
  • Integration with Inworld and Convai
  • Reduced latency
  • Improved privacy
Whisper Python Inworld API Convai API
Robotics

AI-Powered Robotic Art

2024
Combined AI image generation with robotic control to create a system where a robot arm can sketch AI-generated artwork. This project bridged the gap between digital AI creation and physical artistic output.

Key Features

  • AI image to vector conversion
  • Robotic path planning
  • Real-time drawing visualization
  • Style transfer capabilities
Unity/C# AI Image Processing Robotics Integration

Technical Skills

Programming Languages

C#
Expert
C++
Intermediate
Python
Intermediate
CSS
Intermediate

Game Development

Unity
Expert
3D/2D Environments
Advanced
Physics Programming
Advanced
ShaderLab/HLSL
Intermediate

AI & Advanced Technologies

AI Integration
Expert
Stable Diffusion
Expert
Inworld AI
Advanced
Whisper/Voice AI
Advanced
VR/AR Development
Intermediate
Robotics Integration
Intermediate

Tools & Technologies

TouchDesigner
Advanced
Git
Proficient
Blender
Proficient
Photoshop
Proficient
API Integration
Proficient

Professional Experience

Junior Unity Developer

PurpleGlo, Dubai, UAE

February 2024 - Present

  • Innovated in the interactive media space by developing an AI Photobooth using stable diffusion software, a first-of-its-kind project in the UAE
  • Led the integration of Unity with robotics, including programming an XArm robot arm
  • Contributed to pioneering projects that positioned PurpleGlo as a leader in cutting-edge technologies in the UAE

Unity Developer Intern

PurpleGlo, Dubai, UAE

August 2023 - February 2024

  • Led development and optimization of interactive gaming solutions in Unity, collaborating with clients like F1, Forbes Middle East, and Mercedes
  • Managed end-to-end game development lifecycle, with a focus on crafting detailed 3D and 2D environments in Unity
  • Pioneered use of advanced technologies like Kinect, AI, VR, and AR in Unity projects
  • Integrated APIs to enhance game functionality, improve user engagement, and enable compatibility with various hardware
  • Led and mentored teams in Unity development and problem-solving

Featured Projects

AI Photobooth

A comprehensive Unity-based front-end for Stable Diffusion WebUI and other AI tools. This application serves as a powerful interface for AI image generation and manipulation.

153+ commits PurpleGlo Lead Developer
Unity/C# Stable Diffusion GPT-4 ShaderLab HLSL

Deepfake Booth

A Unity application for deepfake video and photo manipulation, allowing users to create and share manipulated media content.

96+ commits PurpleGlo Lead Developer
Unity/C# Deepfake AI Google Drive API QR Code

PipesGame

A Unity-based puzzle game implementing A* pathfinding logic, challenging players to connect pipes correctly.

208+ commits PurpleGlo Core Developer
Unity/C# A* Pathfinding Game Mechanics

Advanced Grappling Physics

A game featuring a grappling hook mechanism with advanced physics and a companion AI character with custom steering behaviors.

Best Project Nominee SAE Institute Lead Developer
Unity/C# Physics Programming AI Behaviors

Education

SAE Institute

Bachelor of Science (BSc) in Game Development/Programming

February 2019 - August 2023

Dubai, UAE

Comprehensive education in game development and programming, with a focus on Unity development, AI programming, physics programming, and game mechanics. Completed multiple game projects, including an award-nominated grappling hook game.

dubai.sae.edu

Contact Me

Location

Dubai, United Arab Emirates

LinkedIn

in/mazenshaar