Ever since I started coding, I've been making games. Most of my projects would start with me reprogramming these game components:
- Collision detection
- Level data structure, almost always block-based
- Basic application flow
So instead of programming these same components over and over I've condensed them into my own game engine and level designer so I can focus on programming the unique parts of these games.
- Requires Grunt 0.4+ and a web browser that supports HTML5 canvas
- Clone git repo and run grunt task 'build'
- Open ../sample/play.html
- Requires Grunt 0.4+ and a web browser that supports HTML5 canvas
- Clone git repo and run grunt task 'build'
- Copy rsc folder from ../sample to ../dist
- Open ../dist/gameCreator.html
-
Build JoResEngine.js and add the script from ../dist to your webpage.
<script type="text/javascript" src="JoResEngine.js"></script>
Your page must have a canvas element with id "JoRes-target".
<canvas id="JoRes-target"></canvas>
-
Create an instance of the Engine.
var joRes = new JoResEngine();
-
Override the default menu and load screen.
joRes.load(['MyMenu.js', 'MyLoadScreen.js']);
-
Add the relative level data and image paths for JoRes to find.
joRes.setLevelPath('myLevels/level*.js'); joRes.setImgPath('myImages/*.png');
-
Start!
joRes.start();
- Add audio modules
- music
- loading
- starting / pausing / stoping
- volume and (?)stereo control
- sound effects
- music
- Complete LevelCreator and Leveldata data format
- paralax scrolling background
- foregrounds
- Add entity and unit support
- Optization
- Add default settings/properties file
- Complete HUD
- Add scoreboard and points module
- Add statistics to track in game actions
- Add pause and setting screen
- Add docs
- Tutorials with screenshots on how to use
- Docs on how to create units and blocks
Over the past decade I've collected maybe a hundred half-started coding projects. This began as a platformer game and was re-adopted in March 2016. Decemeber 2016 development was resumed and I decided to convert the project into a stand alone Game Engine.