Commit message | Age | Author | Refs | |||
---|---|---|---|---|---|---|
r70:b03a5f77
|
|
0 | ||||
r69:19e7324c
|
|
0 | ||||
r68:b533adc9
|
|
0 | ||||
r67:d0477458
|
|
0 | ||||
r66:84186fb0
|
|
0 | ||||
r65:4e5eb097
|
|
0 | ||||
r64:44143cfd
|
|
0 | ||||
r63:9d6b47b8
|
|
0 | ||||
r62:dce8343e
|
|
0 | ||||
r61:544aa655
|
|
0 |
(инструкции на Русском - внизу)
txt2web
Compiler for QSP games which creates monolithic HTML pages.
Usage
There are three mastery levels
-
Just build me the game:
txt2web game.txt
And it will create the game in game.html -
I know what I'm doing:
txt2web 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
anddefault.css
(used by the first mastery level) can be found inextras
directory. -
I'm a frontend developer!
txt2web 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 executeqsp_start()
txt2web
Компилятор для игр на QSP создающий монолитные страницы на HTML.
Инструкции
Есть три уровня мастерства.
-
Просто собери мне игру:
txt2web game.txt
Создаст игру в game.html -
Я знаю что делаю:
txt2web game.txt -o game.html --body body.html --js jquery.js my-js-library.js --css styles/*.css
Если вы знаете что делаете, то для вас смысл опций очевиден.body.html
иdefault.css
лежат в каталогеextras
. -
Я - фронтендер!
txt2web game.txt -c -o game.js
Просто соберёт игру в Javascript файл который вы можете разместить на своём сайте как вам угодно. Чтобы запустить игру:qsp_start()