DivinityCodes

Experiment Slot Machine Prototype Using Entitas

Experimental slot machine implementation built with the Entitas ECS framework, exploring data oriented gameplay architecture and system driven logic.

  • ECS
  • Entitas
  • Data Oriented
  • Slot Machine
  • System Architecture
  • Gameplay Framework

Introduction

This prototype harnesses the power of Entitas, a fast and efficient Entity Component System (ECS) Framework for C# and Unity, to optimize a slot machine game. My aim is to demonstrate performance enhancements and seamless gameplay through ECS architecture.

Project Highlights

  • Entitas Framework: Integrates Entitas to maximize performance and system organization.
  • Performance Focus: Dedicated to optimizing the responsiveness and efficiency of the slot machine mechanics.

Game Controller

In the GameController script, we can store paylines, click on Load button in the inspector then add or remove. (still in progress)

Unity Inspector for Game Controller script — payline list with 5x3 grid editors and pagination

Visual debugging

Unity Inspector showing matrix grid of slot symbols for debugging

Spin Result

Test Tries inspector with 5x3 symbol matrix and result pay lines section