Zhiyuan's Portfolio

The Last Hospital - Custom 2D Simulation Game Engine

Designed and implemented a custom 2D game engine in C++ as the foundation for a simulation/management game prototype, built from scratch with complete ECS framework.

Project Overview

I designed and implemented a custom 2D game engine in C++ as the foundation for a simulation/management game prototype. The engine was built from scratch and includes comprehensive core systems for entity management, simulation, AI, rendering, and tools.

This project demonstrates my ability to architect and implement a complete game engine, covering simulation logic, tools, and runtime systems. It highlights both low-level engine programming skills and high-level gameplay/system design abilities.

Technical Specifications

  • Language: Modern C++
  • Build System: CMake
  • Libraries: stb_image, magic_enum, spdlog
  • Architecture: ECS Framework
  • Platform: Windows (Cross-platform ready)
  • Integration: MyGUI, Custom UI System

Key Features & Implementation

Entity & Gameplay Systems

  • Entity–Component–System (ECS) framework for flexible game logic
  • State management system (StateMainMenu, StateLoading, StateMapEditor, StatePaused) for structured gameplay flow
  • Character system with animation controllers (AnimBase, AnimDirectional, CharacterManager)

Simulation & World Management

  • GameWorld module managing rooms, tiles, and in-game entities
  • Time system for scheduling, simulation steps, and day/night cycles
  • Virus module (epidemic/contagion simulation mechanics)

AI & Pathfinding

  • AI and Graph modules for agent behavior and path navigation
  • Messaging system for event-driven interactions between game objects

Rendering & UI

  • Custom GUI system (GUIButton, GUILabel, GUIScrollbar, GUIDropDownMenu) supporting interactive UI elements
  • MyGUI integration and custom UI management
  • Sprite/TileMap renderer with texture and animation management

Tools & Extensibility

  • Built-in Map Editor (MapEditorController, GITileSelector) for level creation
  • Logging and debugging tools (Log, spdlod)
  • Modular utilities: math helpers, threading, resource/asset management (audio, textures)

Technical Implementation

  • Written in modern C++ with CMake build pipeline
  • External libraries: stb_image, magic_enum, spdlog integrated as submodules
  • Cross-platform support with Windows build configuration

Middleware Integration

  • Integrated NoesisGUI middleware to handle advanced UI/UX inside the demo engine
  • Demonstrated ability to bridge engine code with external libraries, ensuring smooth workflow integration
  • Extended UI system to support modern GUI features (layouts, styles, event binding)

Tools & Technologies Used

C++
Core Language
CMake
Build System
OpenGL
Graphics API
ECS
Architecture
NoesisGUI
UI Framework

Zhiyuan's Portfolio

Senior Technical Artist with 10+ years of experience building pipelines, shaders, and tools across AAA titles and indie projects.

Connect

© 2025 Zhiyuan. All rights reserved.

Senior Technical Artist & Game Developer