1. Getting Started
Get the Bento game engine at https://github.com/LuckyKat/Bento
Some recommended software for development:
Version control
Version control is not necessary, but very useful: Use git with Sourcetree.
Browser
You'll need it for testing your game. Use Chrome!
Text editor
Sublime Text is a good text editor. Technically not free, but an unlimited trial. http://www.sublimetext.com/
Recommended plugins: jsbeautifier/jsformat, jshint
Node.js
Useful development tools. Go to https://nodejs.org/ and install. Node provides a package manager to install third party dependencies. Many useful node applications:
- Development Server: https://www.npmjs.com/package/local-web-server
- Gulp: http://gulpjs.com/
Tiled
Create levels using Tiled. http://www.mapeditor.org/
SETTING Up
Download the Bento game engine from the repo. Include the bento.js script in your html file. Your html file should look like:
<html> <head> <title>Example</title> <script type="text/javascript" src="js/lib/bento.js"></script> <script type="text/javascript" src="js/game.js"></script> <link rel="stylesheet" type="text/css" href="style.css"> </head> <body> </body> </html>
Here I placed bento.js in the folder js/lib. The game.js would be your entry point for your game code.
Want to get started quicker? Download the Bento Empty Project template! https://github.com/LuckyKat/Bento-Empty-Project