Skip to content

Latest commit

 

History

History
57 lines (43 loc) · 1.34 KB

README.md

File metadata and controls

57 lines (43 loc) · 1.34 KB

Gearbox Ninja UI

melonJS Logo

A simple React & MelonJs based app to interact with the Gearbox V2 launch, built with :

  • melonJS 2
  • React JS
  • Styled Components
  • Redux
  • Wepback 5

Prerequisites

Ensure you have Node.js installed, then install all the build dependencies in the folder where you cloned the repository :

$ yarn

Usage

  • npm run dev to start the dev server on watch mode at localhost:9000.
  • npm run build to generate a minified, production-ready build, in the public folder

Folder structure

src
├── game 
|    ├── manifest.tsx
|    └── data
|         ├── bgm
|         ├── img
|         └── map
├── store
├── hooks
├── config
├── utils
├── index.tsx
└── index.html
  • src

    • the root folder app
    • The entry file is index.tsx.
    • houses both the webapp and the game
  • src/game

    • manifest.js is a list of game asset to be preloaded by melonJS
  • src/index.html

    • entry point to the both the game and application
  • public

    • where the production-ready build files will be copied/generated when using npm run build

Questions, need help ?

  • Open a github ticket with a clear question or issue
  • contact lewi#3000 on discord