Hello

I'm Sanjay Duggal, a game developer with 4 years of experience.
I'm passionate about game development, primarily as a gameplay programmer using Unity. I enjoy discussing, designing, and creating games.
You can reach me at [email protected].

Games

2D Platformers

Bheem vs Super Villains Game

Game Jam Games

Other Games

Bheem vs Super Villains Game

Bheem vs Super Villains Game is 2D Action/Adventure platformer game.

Main Features

  1. Epic Boss Fights – Challenging and engaging battles against powerful foes.

  2. Dynamic Character Classes – Switch classes in real-time during gameplay.

  3. Varied Enemies – Face diverse enemy types, each with unique behaviors.

  4. Optimized Gameplay & Graphics – Smooth performance with high-quality visuals.

Platforms & Tools Used

  • Platforms: Mobile (Android & iOS)

  • Game Engine: Unity

  • Programming Language: C#

  • Design & Art: Photoshop (Textures/UI), Spine 2D (Animation), Figma (Level Design)

  • Game Design Documentation: Google Docs

  • Version Control: GitHub

Team

  • Role: Game Programmer

  • Team Size: 3 (1 Programmer, 1 Artist, 1 Game Designer)

Challenges & Solutions

1. Efficient Object Handling in Levels
Levels are divided into distinct grid-based cells, each with a defined width and height. After designing the entire level, objects are assigned to their respective cells based on their positions.
During gameplay, objects are dynamically enabled or disabled based on the player’s position. Only the cells near the player remain active, while others are deactivated. This optimization significantly boosts game performance by reducing unnecessary calculations in inactive areas of the scene.
2. Optimizing Spine-Animated Foliage
Since the game features a large amount of animated foliage, using Spine animations for every foliage object would be computationally expensive. To optimize performance, we animated only a single Spine object using the CPU, while the rest were rendered as instances using materials.
Spine provides the RenderExistingMesh class, which allows reusing the same mesh without reanimating each bone separately. This significantly reduces computational overhead while maintaining visual fidelity.
3. Runtime Character Switching
The game features four character classes, each with unique abilities and skins. When switching characters during gameplay, it was essential to properly manage the transition. This involved reassigning controls and actions to the new character while ensuring the previous character's controls were disabled seamlessly.
4. Hierarchical State Machine for NPC Behavior
Implemented a Hierarchical State Machine (HSM) to efficiently manage NPC behavior. This approach allowed NPCs to transition between different states (e.g., Idle, Patrol, Attack) in a structured and scalable way, improving overall AI responsiveness and maintainability.

Screenshots

Download Link

Bheem Galaxy Rush Game

Bheem Galaxy Rush Game is platformer game.