Scintilla is a small and Open-Source HTML5 Game Engine canvas based. Inspired by melonJS, Phaser and PixiJS allows you to create fast games from small and big projects.
Coming soon...
- Sprite and Spritesheet rendering;
- Tilemap from Tiled JSON format;
- Animation Machine;
- Pooling;
- Signals to listen engine events;
- Loads multiple assets format;
- Simple transition effect;
- Math and Utilities functions (Easing, object validation...);
- Data structures (List, Map, Set);
- Input support: keyboard and mouse;
To build Scintilla follow the steps below.
You have two options:
- Clone this repository via https, ssh using Git or Github Desktop;
- Download this repository as zip;
You also need to install the dependencies:
- Make sure to install node.js 8.11.1 LTS version. This will guarantee that you will have npm installed.
- Under you favorite command prompt (such Git Bash, Terminal (under Linux), cmder and others...) navigate to the Scintilla project directory;
- On the Scintilla directory run:
npm install
This command will install Babel compiler, webpack and related plugins.
After the dependencies installed you can finally build Scintilla!
There is two available configurations Debug and Release mode. The build configuration for each mode can be found in the files webpack.config.js
(Release) and webpack.debug.config.js
(Debug).
As you notice, the engine is written in Javascript ES6 using Babel. We need to transpile to ES5 standard through the webpack bundler.
Using a command prompt to run the following commands will reproduce the Scintilla final source to make your games and can be found under build/
directory.
npm run debug
Will reproduce scintilla.dev.js
.
The debug mode is recommend to use while you are developing your game.
npm run build
Will reproduce scintilla.js
and the minimified version scintilla.min.js
.
The release mode is recommend to use when your game is finished.
Version 0.0.1 - Baby Steps - Work in progress.
- 06/12/16 - First release of 'tobiJS';
- 03/06/18 - Back to development and refactoring everything to new engine;
- 04/20/18 - Initial scratch version to work in a first game.
- 05/28/18 - Including mouse support and minor fixes.
Scintilla was started when I was learning Javascript on 2016. The result was tobiJS written in pure ECMA5. After two years, I returned to work with much enthusiasm refactoring the entire engine with modern Javascript (ECMA6) and improved architecture and design.
The focus of the engine is the game developers community, from beginners to advanced. Scintilla provides a entire systems to create prototypes, experiment ideas, art-games, retro games and so on.
Created by Tobias Ulrich © 2016 - 2018