Skip to content
Sean Bohan edited this page Apr 7, 2017 · 6 revisions

Getting Start

Make sure you have Node.js installed.

Install lesser-panda-cli package globally

npm i -g lesser-panda-cli

Create a new project

By using lesser-panda-cli commands:

lpanda create MyAwesomeGame

or you can clone from the official repo:

git clone https://github.com/pixelpicosean/lesser-panda.git my-game cd my-game && rm -rf .git

or simply download the latest snapshot

Start the dev server and run the game from your browsers

  1. lpanda server (the default server requires a ES6 capatable browser, try lpanda server -es5 if you don't have one)
  2. Open the URL shown in the commandline(usually it'll be http://localhost:4000) and you should see "It Works!" in your browser.
  3. Make some changes and save, the browser will automatically reload

The engine itself contains both engine sources and a folder called game for your JavaScript and CSS files. It is recommend not to modify engine folder so you can upgrade to latest version by replacing it