SodaSplash is a basic slot game that demonstrates the core functionalities of a slot machine, including spinning reels, stopping logic, and win evaluation. The game is built using PixiJS, a fast 2D rendering engine that uses WebGL, making it highly performant and suitable for interactive graphics applications.
In this project, you can manage components and renderer settings based on PixiJS's WebGL renderer. The core Pixi code base is located in the src/core directory and example is located in the src/dev. This project was developed in 2018-2019, and it does not use module bundler like Webpack or Vite and is written in ES5. I recommend adapting it to the latest technology or using it as an example to learn PixiJS.
I hope this project will make it easier for those new to PixiJS to get started, and it provides some insights into essential steps like spinning and winning for those looking to develop a slot game.
Feel free to develop and customize the project as you wish. Although I am not actively working on this project, do not hesitate to reach out if you need any help. I hope it proves useful and helps you in your projects.
This project is made to play a basic slot game. However, you can use the base with small changes.
Simple video examples created based on this project:
To set up the project, follow these steps:
-
Install Dependencies:
npm install
-
Build the Project:
npm run build
-
Project Run: To run the project locally, use the following command:
npm run dev
This will start a development server and open the project in your default web browser.