Skip to content

gamesalad/gs-webpack

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

68 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“¦ webpack Boilerplate

License: MIT

Sensible webpack 5 boilerplate using Babel, PostCSS and Sass (update for GameSalad)

Game Setup

Download your GameSalad HTML5 package and place files as follows:

GameSalad HTML5 Tauri Project Note
images src/assets/images Scene loading indicator image
js/gse/gs-export.js public/js/gse/gs-export.js Game Engine
game public/game Game Project.
css src/assets/css CSS. Optional since it doesn't change often and it's already included

Place your custom logic in js/delegates.js To keep your final distribution small, comment out any delegates you don't need.

Delegate documentation goes here: https://help.gamesalad.com/knowledge-base/does-the-html5-engine-have-any-apis-i-can-interact-with/

Installation

Clone this repo and npm install.

npm i

Usage

Development server

npm start

You can view the development server at localhost:8080.

Production build

npm run build

Note: Install http-server globally to deploy a simple server.

npm i -g http-server

You can view the deploy by creating a server in dist.

cd dist && http-server

Features

Dependencies

webpack

Babel

Loaders

Plugins

Linters

Author

License

This project is open source and available under the MIT License.

About

πŸ“¦ β€Ž A sensible webpack 5 boilerplate for GameSalad

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 80.7%
  • CSS 10.5%
  • HTML 5.6%
  • SCSS 3.2%