Show More
@@ -4,23 +4,19 b'' | |||
|
4 | 4 | Compiler for QSP games which creates monolithic HTML pages. |
|
5 | 5 | |
|
6 | 6 | ## Usage |
|
7 | ||
|
8 | 7 | There are three mastery levels |
|
9 | 8 | |
|
10 |
1. Just build me the game: |
|
|
11 |
`txt2web game.txt` |
|
|
9 | 1. **Just build me the game**: | |
|
10 | `txt2web game.txt` | |
|
12 | 11 | And it will create the game in game.html |
|
13 | 12 | |
|
14 |
2. I know what I'm doing: |
|
|
15 |
`txt2web game.txt -o game.html --body body.html --js jquery.js my-js-library.js --css styles/*.css` |
|
|
16 | All options are self-explanatory. The result is a monolithic html specified | |
|
17 | with the `-o` option. Default `body.html` (used by the first mastery level) can | |
|
18 | be found in `extas` directory. | |
|
13 | 2. **I know what I'm doing**: | |
|
14 | `txt2web game.txt -o game.html --body body.html --js jquery.js my-js-library.js --css styles/*.css` | |
|
15 | All options are self-explanatory. The result is a monolithic html specified with the `-o` option. Default `body.html` and `default.css` (used by the first mastery level) can be found in `extras` directory. | |
|
19 | 16 | |
|
20 |
3. I'm a frontend developer! |
|
|
21 |
`txt2web game.txt -c -o game.js` |
|
|
22 | It just builds the game script into a js you can put on your website. To run | |
|
23 | the game execute `qsp_start()` | |
|
17 | 3. **I'm a frontend developer**! | |
|
18 | `txt2web game.txt -c -o game.js` | |
|
19 | It just builds the game script into a js you can put on your website. To run the game execute `qsp_start()` | |
|
24 | 20 | |
|
25 | 21 | # txt2web |
|
26 | 22 | Компилятор для игр на QSP создающий монолитные страницы на HTML. |
@@ -29,16 +25,14 b' the game execute `qsp_start()`' | |||
|
29 | 25 | |
|
30 | 26 | Есть три уровня мастерства. |
|
31 | 27 | |
|
32 |
1. **Просто собери мне игру**: |
|
|
33 |
`txt2web game.txt` |
|
|
28 | 1. **Просто собери мне игру**: | |
|
29 | `txt2web game.txt` | |
|
34 | 30 | Создаст игру в game.html |
|
35 | 31 | |
|
36 |
2. **Я знаю что делаю**: |
|
|
37 |
`txt2web game.txt -o game.html --body body.html --js jquery.js my-js-library.js --css styles/*.css` |
|
|
38 | Если вы знаете что делаете, то для вас смысл опций очевиден. `body.html` и `default.css` | |
|
39 | лежат в каталоге `extras`. | |
|
32 | 2. **Я знаю что делаю**: | |
|
33 | `txt2web game.txt -o game.html --body body.html --js jquery.js my-js-library.js --css styles/*.css` | |
|
34 | Если вы знаете что делаете, то для вас смысл опций очевиден. `body.html` и `default.css` лежат в каталоге `extras`. | |
|
40 | 35 | |
|
41 |
3. **Я - фронтендер!** |
|
|
42 |
`txt2web game.txt -c -o game.js` |
|
|
43 | Просто соберёт игру в Javascript файл который вы можете разместить на своём | |
|
44 | сайте как вам угодно. Чтобы запустить игру: `qsp_start()` | |
|
36 | 3. **Я - фронтендер!** | |
|
37 | `txt2web game.txt -c -o game.js` | |
|
38 | Просто соберёт игру в Javascript файл который вы можете разместить на своём сайте как вам угодно. Чтобы запустить игру: `qsp_start()` |
General Comments 0
You need to be logged in to leave comments.
Login now