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