Name | Size | Modified | Last Commit | Author |
---|---|---|---|---|
examples | ||||
extras | ||||
src | ||||
.gitignore | Loading ... | |||
.hgignore | Loading ... | |||
LICENSE | Loading ... | |||
Makefile | Loading ... | |||
README.md | Loading ... | |||
TODO | Loading ... | |||
diagrams.dot | Loading ... | |||
diagrams.png | Loading ... | |||
install-deps.lisp | Loading ... | |||
qlfile | Loading ... | |||
qlfile.lock | Loading ... | |||
sugar-qsp.asd | Loading ... | |||
update-deps.lisp | Loading ... |
(инструкции на Русском - внизу)
sugar-qsp
Compiler for QSP games which creates monolithic HTML pages.
Usage
There are three mastery levels
-
Just build me the game:
sugar-qsp game.txt
And it will create the game in game.html -
I know what I'm doing:
sugar-qsp game.txt -o game.html --body body.html --js jquery.js my-js-library.js --css styles/*.css
All options are self-explanatory. The result is a monolithic html specified
with the-o
option. Defaultbody.html
(used by the first mastery level) can
be found inextas
directory. -
I'm a frontend developer!
sugar-qsp game.txt -c -o game.js
It just builds the game script into a js you can put on your website. To run
the game executeSugarQSP.start()
sugar-qsp
Компилятор для игр на QSP создающий монолитные страницы на HTML.
Инструкции
Есть три уровня мастерства.
-
Просто собери мне игру:
sugar-qsp game.txt
Создаст игру в game.html -
Я знаю что делаю:
sugar-qsp game.txt -o game.html --body body.html --js jquery.js my-js-library.js --css styles/*.css
Если вы знаете что делаете, то для вас смысл опций очевиден.body.html
иdefault.css
лежат в каталогеextras
. -
Я - фронтендер!
sugar-qsp game.txt -c -o game.js
Просто соберёт игру в Javascript файл который вы можете разместить на своём
сайте как вам угодно.