Skip to content

Commit

Permalink
kirilllivve
Browse files Browse the repository at this point in the history
  • Loading branch information
Kirilllive committed Mar 18, 2022
1 parent 55c7186 commit 088920a
Show file tree
Hide file tree
Showing 2 changed files with 183 additions and 1 deletion.
1 change: 0 additions & 1 deletion example/enter_name.json

This file was deleted.

183 changes: 183 additions & 0 deletions example/example_enter_name.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,183 @@
{
"parameters": {
"text_panel": {
"size": [
"95%",
"25%"
],
"color": "#efefff",
"color_text": "#000",
"indent_text": "8px",
"indent_bottom": "32px",
"size_text": "20px",
"style": "border-radius:16px;",
"dialog_speed": "10",
"art": {
"en": ""
},
"className": "",
"position": [
"0",
"0",
"0"
],
"font_family": "Arial"
},
"name_panel": {
"size": [
"222px",
"48px"
],
"position": [
"0",
"0",
"-48px",
"0"
],
"indent_text": "8px",
"size_text": "18px",
"color_text": "#000",
"align": [
"flex-start",
"center"
],
"art": {
"en": ""
},
"className": "",
"font_family": "",
"color": ""
},
"title": "new novel",
"launch_story": "block_1",
"key": {},
"languares": [
"en"
],
"buttons": [
{
"name": "tue_back",
"style": "border-radius:26px;",
"position": [
"2.5%",
"0",
"0",
"32px"
],
"size": [
"38px",
"38px"
],
"color": "",
"color_text": "#000",
"size_text": "28px",
"text": {
"en": "<"
},
"art": {
"en": ""
},
"sound": {
"en": ""
},
"hotspot": [
"0%",
"0%"
]
},
{
"name": "tue_next",
"style": "border-radius:26px;",
"position": [
"0",
"2.5%",
"0",
"32px"
],
"size": [
"38px",
"38px"
],
"color": "",
"color_text": "#000",
"size_text": "28px",
"text": {
"en": ">"
},
"art": {
"en": ""
},
"sound": {
"en": ""
},
"hotspot": [
"0%",
"0%"
]
}
],
"style_file": "",
"autosave": false,
"font": "Arial",
"font_size": "18px",
"variables": {
"user_name": ""
},
"sounds": {},
"characters": {},
"plugins": [],
"icon": "",
"font_files": {}
},
"blocks": {
"block_1": [
"67px",
"92.5px",
"block",
false
]
},
"block_1": [
{
"dialogs": [
{
"choice": [
{
"go_to": "tue_go",
"position": [
"36.74%",
0,
"19.31%",
0
],
"size": [
"171px",
"43px"
],
"color": "#efefff",
"color_text": "#000",
"text": {
"en": "choice"
},
"indent_text": "8px",
"art": {
"en": ""
},
"sound": {
"en": ""
},
"hotspot": [
"0%",
"0%"
],
"js": "let person = prompt(\"Please enter your name:\",\"User Name\");\nstory_json.parameters.variables.user_name=person;"
}
]
},
{
"text": "hello <user_name>"
}
]
}
]
}

0 comments on commit 088920a

Please sign in to comment.