Code Monkey home page Code Monkey logo

sodasplash's Introduction

Game Code Base using PixiJS - With Basic Slot Game Example (SodaSplash)

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.

Development and Customization

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.

Demo

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:

  • SodaSplash: here
  • Debug Test: here
  • Example for a basic space shooter game: here

Project Setup

To set up the project, follow these steps:

  1. Install Dependencies:

    npm install
  2. Build the Project:

    npm run build
  3. 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.

sodasplash's People

Contributors

paranoidaandroid42 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.