Skip to content

Commit

Permalink
kirilllive
Browse files Browse the repository at this point in the history
  • Loading branch information
Kirilllive committed Jun 14, 2023
1 parent 22f1daf commit 8f8d4e1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
1 change: 1 addition & 0 deletions example/example_mouse_hover_css.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"parameters":{"text_panel":{"size":["95%","25%"],"position":[],"color":"rgba(242,242,242,0.7)","style":"border-radius:8px;backdrop-filter: blur(12px);","color_text":"#000","indent_text":"8px","indent_bottom":"32px","dialog_speed":"10","art":{"en":""}},"name_panel":{"size":["","32px"],"position":["0","0","-36px","0"],"style":"border-radius:8px;","indent_text":"0 8px","color_text":"#fff","align":["flex-start","center"],"color":"#000","art":{"en":""}},"title":{"en":"new novel"},"launch_story":"block_1","key":{"next":"","back":"","save":"","load":"","full_screen":"","launch_story":"","load_autosave":""},"languares":["en"],"buttons":[{"name":"tue_back","position":["2.5%",0,0,"32px"],"size":["25%","25%"],"color_text":"#000","size_text":"28px","text":{"en":"<"},"hotspot":["0%","0%"],"align":["flex-start","flex-end"],"indent_text":"8px 14px","art":{"en":""},"sound":{"en":""}},{"name":"tue_next","position":[0,"2.5%",0,"32px"],"size":["25%","25%"],"color_text":"#000","size_text":"28px","text":{"en":">"},"hotspot":["0%","0%"],"align":["flex-end","flex-end"],"indent_text":"8px 14px","art":{"en":""},"sound":{"en":""}}],"autosave":false,"font":"Arial","font_size":"18px","variables":{},"characters":{},"css":".button {\n background-color:#afa !important;\n border-radius:8px;\n cursor:pointer;\n}\n\n.button:hover {\n background-color:#aaf !important;\n}\n"},"blocks":{"block_1":["588px","404.5px","block",false]},"block_1":[{"dialogs":[{"choice":[{"go_to":"block_1","position":["31.67%",0,"36.46%",0],"size":["224px","46px"],"color":"#afa","color_text":"#000","text":{"en":"CSS Style ( :hover )"},"indent_text":"8px","art":{"en":""},"sound":{"en":""},"hotspot":["0%","0%"],"className":"button"}]}]}]}
14 changes: 7 additions & 7 deletions tuesday_visual.html
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@
.icon_cut{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='100%' height='100%' viewBox='0 0 64 64'%3e%3cg fill='none' stroke='%23000' stroke-width='3' stroke-linejoin='round'%3e%3cpath d='M34,34V2l6,12V34m0,6V54m-6-8V40M53.984,40.016h-40l-12-6h44'/%3e%3ccircle cx='32' cy='54' r='8'/%3e%3ccircle cx='54' cy='32' r='8'/%3e%3c/g%3e%3c/svg%3e")}
.icon_map{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='100%' height='100%' viewBox='0 0 128 128'%3e%3cpath fill='none' stroke='%23000' stroke-width='6' stroke-linejoin='round' d='M96,26L127,37v88L85,111,43,125,1,111V23L43,37l12-4M85,52v58M43,124V38M75,67S54,38,54,26a21,21,0,0,1,42,0C96,38,75,67,75,67Zm0-50a8,8,0,1,0,8,8A8,8,0,0,0,75,17Z'/%3e%3c/svg%3e")}
.icon_replace{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='100%' height='100%' viewBox='0 0 64 64'%3e%3cpath fill='none' fill-opacity='0' stroke='%23000' stroke-width='3' stroke-linejoin='round' d='M4,42l7-7,7,7M60,22l-7,7-7-7M30,56C20,56,11,46,11,36M33,8C44,8,53,17,53,28M38,58L47,38,56,58M9,27L26,6M27,27L10,6M41,51H53'/%3e%3c/svg%3e")}
.icon-telegram{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='100%' height='100%' viewBox='0 0 512 512'%3e %3cpath fill='none' fill-opacity='0' stroke='%23000' stroke-width='8' stroke-linejoin='round' stroke-linecap='round' d='M8,244L496,51,415,455,194,312,386,144,126.294,287.247ZM126,287l68,149,1-124M193,436l84-70'/%3e%3c/svg%3e")}
.icon-telegram{filter:var(--ft);background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='100%' height='100%' viewBox='0 0 512 512'%3e %3cpath fill='none' fill-opacity='0' stroke='%23000' stroke-width='14' stroke-linejoin='round' stroke-linecap='round' d='M8,244L496,51,415,455,194,312,386,144,126.294,287.247ZM126,287l68,149,1-124M193,436l84-70'/%3e%3c/svg%3e")}
.bg_1{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3e%3cpath stroke-opacity='0.4' stroke='%23fff' stroke-width='1' d='M0,1H64M0,17H64M0,49H64M0,9H64M0,41H64M0,25H64M0,57H64M1-4V64M49-4V64M17-4V64M57-4V64M25-4V64M41-4V64M9-4V64'/%3e%3cpath stroke-opacity='1' stroke='%23fff' stroke-width='1' d='M-1,32H68M32-4V65'/%3e%3c/svg%3e")}
.bg_2{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3e%3cpath fill='%23fff' d='M64,14.4v9.2L40.3,0h9.2Zm-64,0L14.4,0h9.2L0,23.6V14.4ZM0,49.5V40.3L23.6,64H14.4ZM8.3,32L32,8.3,55.6,32,32,55.6ZM32,17.5L17.5,32,32,46.4,46.4,32Zm32,32L49.5,64H40.3L64,40.3v9.2Z'/%3e%3c/svg%3e")}
.bg_3{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3e%3cpath fill='%23fff' d='M32,32V0H64V32H32ZM0,64V32H32V64H0Z'/%3e%3c/svg%3e")}
Expand All @@ -157,10 +157,10 @@
.bg_e{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3e%3cpath fill='none' stroke='%23fff' stroke-width='1' d='M16,10L32,0,16,32V10ZM32,21V0L16,32ZM16,10L0,0,16,32V10ZM0,21V0L16,32ZM32,42L48,32,32,64V42ZM48,53V32L32,64ZM0,42L16,32,0,64V42ZM16,53V32L0,64ZM32,42L16,32,32,64V42ZM16,53V32L32,64ZM64,42L48,32,64,64V42ZM48,53V32L64,64ZM48,10L64,0,48,32V10ZM64,21V0L48,32ZM48,10L32,0,48,32V10ZM32,21V0L48,32ZM32,21L16,32H48ZM16,53L0,64H32ZM48,53L32,64H64ZM32,42L16,32H48ZM16,10L0,0H32ZM48,10L32,0H64ZM0,21L-16,32H16ZM0,42L-16,32H16ZM64,21L48,32H80ZM64,42L48,32H80Z'/%3e%3c/svg%3e")}
.img_mouse{filter:var(--ft);background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='100%' height='100%' viewBox='0 0 256 256'%3e%3cpath fill='none' stroke='%23000' stroke-width='2' stroke-linejoin='round' d='M128,36a55,55,0,0,1,55,55v73a55,55,0,0,1-111,0v-73A55,55,0,0,1,128,36ZM127,51a8,8,0,0,1,8,8V81a8,8,0,0,1-16,0V59A8,8,0,0,1,127,51Zm55,51H73m54,0V89m0-38V37'/%3e%3c/svg%3e");}
.img_touch{filter:var(--ft);background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='100%' height='100%' viewBox='0 0 256 256'%3e%3cpath fill='none' stroke='%23000' stroke-width='2' stroke-linejoin='round' d='M42,47H213a10,10,0,0,1,10,10V198a10,10,0,0,1-10,10H42a10,10,0,0,1-10-10V57A10,10,0,0,1,42,47ZM33,166H223m-95,42V167'/%3e%3c/svg%3e")}
.img_html{filter:var(--ft);background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='100%' height='100%' viewBox='0 0 128 128'%3e%3cpath fill='none' stroke='%23000' stroke-width='2' stroke-linejoin='round' d='M111,27v97H18V3H88ZM111,27H88V3M51,95L30,74,51,53M77,95L97,74,77,53M55,95L72,53'/%3e%3c/svg%3e")}
.img_zip{filter:var(--ft);background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='100%' height='100%' viewBox='0 0 128 128'%3e%3cpath fill='none' stroke='%23000' stroke-width='2' stroke-linejoin='round' d='M19,4h90a16,16,0,0,1,16,16v88a16,16,0,0,1-16,16H19A16,16,0,0,1,3,108V20A16,16,0,0,1,19,4ZM30,18H41V39H30V18ZM30,39H41V50H30V39ZM125,31a16,16,0,0,0-16-16H19A16,16,0,0,0,3,31m106,84H19M40,91H31m9-6H31m9-6H31m9-6H31m9-6H31m9-6H31m9-6H31m9,60H31m9-6H31m9-6H31m9-6H31'/%3e%3c/svg%3e")}
.img_html{filter:var(--ft);background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='100%' height='100%' viewBox='0 0 128 128'%3e%3cpath fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M111,27v97H18V3H88ZM111,27H88V3M51,95L30,74,51,53M77,95L97,74,77,53M55,95L72,53'/%3e%3c/svg%3e")}
.img_zip{filter:var(--ft);background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='100%' height='100%' viewBox='0 0 128 128'%3e%3cpath fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M19,4h90a16,16,0,0,1,16,16v88a16,16,0,0,1-16,16H19A16,16,0,0,1,3,108V20A16,16,0,0,1,19,4ZM30,18H41V39H30V18ZM30,39H41V50H30V39ZM125,31a16,16,0,0,0-16-16H19A16,16,0,0,0,3,31m106,84H19M40,91H31m9-6H31m9-6H31m9-6H31m9-6H31m9-6H31m9-6H31m9,60H31m9-6H31m9-6H31m9-6H31'/%3e%3c/svg%3e")}
.img_wait{filter:var(--ft);background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='100%' height='100%' viewBox='0 0 128 128'%3e%3ccircle cx='64' cy='64' r='56' style='stroke: %23000; stroke-dasharray:360; stroke-dashoffset:360; stroke-width:6; fill:transparent'%3e%3canimate attributeName='stroke-dashoffset' dur='1.5s' to='-360' repeatCount='indefinite'/%3e%3canimateTransform attributeName='transform' type='rotate' values='0 64 64;360 64 64' dur='1s' repeatCount='indefinite'/%3e%3c/circle%3e%3c/svg%3e")}
.img_base{filter:var(--ft);background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='100%' height='100%' viewBox='0 0 128 128'%3e%3cpath fill='none' stroke='%23000' stroke-width='2' stroke-linejoin='round' d='M19,4h90a16,16,0,0,1,16,16v88a16,16,0,0,1-16,16H19A16,16,0,0,1,3,108V20A16,16,0,0,1,19,4ZM64,124V102.926a12,12,0,1,0,0-17.852V64H85.074a12,12,0,1,1,17.852,0H125M64,4V25.074a12,12,0,1,0,0,17.853V64H42.926a12,12,0,1,1-17.853,0H3'/%3e%3c/svg%3e")}
.img_base{filter:var(--ft);background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='100%' height='100%' viewBox='0 0 128 128'%3e%3cpath fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M19,4h90a16,16,0,0,1,16,16v88a16,16,0,0,1-16,16H19A16,16,0,0,1,3,108V20A16,16,0,0,1,19,4ZM64,124V102.926a12,12,0,1,0,0-17.852V64H85.074a12,12,0,1,1,17.852,0H125M64,4V25.074a12,12,0,1,0,0,17.853V64H42.926a12,12,0,1,1-17.853,0H3'/%3e%3c/svg%3e")}
.scene{background-color:var(--cb);border-radius:12px;padding:4px;margin-top:4px;}
.dialog_element{padding:4px;font-size:12px;border-radius:6px;background-color:var(--wn);margin-bottom:4px;}
.dialog{margin-top:4px;padding:4px;border-radius:8px;background-color:var(--cw);}
Expand Down Expand Up @@ -1537,7 +1537,7 @@
x.classList.add("toast_anim");
}
function about(){
var html="<div class='window' style='padding:24px 16px 0px 16px;width:422px;'><div><div class='window_close icon icon_close' onclick='modal_window(\"close\")'></div></div><div align='center'><p style='font-size:22px;'>Tuesday JS visual novel engine</p><hr><p>Release: 33</p>"
var html="<div class='window' style='padding:24px 16px 0px 16px;width:422px;'><div><div class='window_close icon icon_close' onclick='modal_window(\"close\")'></div></div><div align='center'><p style='font-size:22px;'>Tuesday JS visual novel engine</p><hr><p>Release: 34</p>"
+"<table style=' border-spacing:10px;border-collapse:separate; width: 100%;'><tr><td align='right' colspan='1'>E-Mail:</td><td align='left' colspan='2'><a href='mailto:[email protected]' target='_blank'>[email protected]</a></td></tr><tr><td align='right' colspan='1'>WebSite:</td><td align='left' colspan='3'><a href='https://kirilllive.github.io/tuesday-js' target='_blank'>kirilllive.github.io/tuesday-js</a></td></tr> <tr><td align='right' colspan='1'>Tutorial:</td><td align='left' colspan='3'><a href='https://kirilllive.github.io/tuesday-js/doc_editor.html#quick_tutorial' target='_blank'>kirilllive.github.io/tuesday-js/doc_editor</a></td></tr><tr>"
+"<td class='button_menu' style='border-radius:16px;width:33%;height:64px' align='center'><a href='https://github.com/Kirilllive/tuesday-js' target='_blank'><svg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 256 256' style='filter:var(--ft);'><path d='M128,0C57,0 0,57 0,128c0,57 37,104 88,121 6,1 9,-3 9,-6 0,-3-0,-13-0,-24C64,225 56,212 53,204 52,201 45,189 40,186c-4,-2-11,-8-0,-8 10,-0 17,9 20,13 12,19 30,14 37,11 1,-8 4,-14 8,-17-28,-3-58,-14-58,-63 0,-14 5,-25 13,-34-1,-3-6,-16 1,-34 0,0 11,-3 35,13 10,-3 21,-4 32,-4 11,0 22,1 32,4 24,-17 35,-13 35,-13 7,18 3,31 1,34 8,9 13,20 13,34 0,49-30,60-58,63 5,4 9,12 9,24 0,17-0,31-0,35 0,3 2,7 9,6C219,232 256,184 256,128 256,57 199,0 128,0Z' fill='#000' /></svg></a></td>"
+"<td class='button_menu' style='border-radius:16px;width:33%;height:64px' align='center'><a href='https://www.reddit.com/r/TuesdayJS/' target='_blank'> <svg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 116 116' style='filter:var(--ft);'><path fill='#000' transform='translate(-82,-80)' d='m 195.7,139.8 c 0,-6.8 -5.5,-12.2 -12.2,-12.2 -3.3,0 -6.3,1.3 -8.5,3.4 -8.4,-6 -19.9,-9.9 -32.7,-10.4 l 5.6,-26.2 18.2,3.9 c 0.2,4.6 4,8.3 8.7,8.3 4.8,0 8.7,-3.9 8.7,-8.7 0,-4.8 -3.9,-8.7 -8.7,-8.7 -3.4,0 -6.4,2 -7.8,4.9 l -20.3,-4.3 c -0.6,-0.1 -1.2,0 -1.6,0.3 -0.5,0.3 -0.8,0.8 -0.9,1.4 l -6.2,29.2 c -13,0.4 -24.7,4.3 -33.2,10.4 -2.2,-2.1 -5.2,-3.4 -8.5,-3.4 -6.8,0 -12.2,5.5 -12.2,12.2 0,5 3,9.2 7.2,11.1 -0.2,1.2 -0.3,2.4 -0.3,3.7 0,18.8 21.9,34.1 48.9,34.1 27,0 48.9,-15.2 48.9,-34.1 0,-1.2 -0.1,-2.5 -0.3,-3.7 4.2,-1.9 7.2,-6.2 7.2,-11.2 z m -83.8,8.7 c 0,-4.8 3.9,-8.7 8.7,-8.7 4.8,0 8.7,3.9 8.7,8.7 0,4.8 -3.9,8.7 -8.7,8.7 -4.8,0.1 -8.7,-3.9 -8.7,-8.7 z m 48.7,23.1 c -6,6 -17.4,6.4 -20.7,6.4 -3.4,0 -14.8,-0.5 -20.7,-6.4 -0.9,-0.9 -0.9,-2.3 0,-3.2 0.9,-0.9 2.3,-0.9 3.2,0 3.8,3.8 11.8,5.1 17.5,5.1 5.7,0 13.8,-1.3 17.5,-5.1 0.9,-0.9 2.3,-0.9 3.2,0 0.8,0.9 0.8,2.3 0,3.2 z M 159,157.3 c -4.8,0 -8.7,-3.9 -8.7,-8.7 0,-4.8 3.9,-8.7 8.7,-8.7 4.8,0 8.7,3.9 8.7,8.7 0,4.7 -3.9,8.7 -8.7,8.7 z'/></svg></a></td>"
Expand All @@ -1552,9 +1552,9 @@
modal_window("open",html);
}
function build_choice(){
var html="<div class='window'><div class='win_head'>Build project<div class='window_close icon icon_close' onclick='modal_window(\"close\")'></div></div><hr style='margin:0px;'><div style='margin:0 8px 0 8px;max-height:75vh;overflow-x:hidden;'>"
var html="<div class='window' style='padding:0px 0px 16px 0px;'><div class='win_head'>Build project<div class='window_close icon icon_close' onclick='modal_window(\"close\")'></div></div><hr style='margin:0px;'><div style='max-height:75vh;overflow-x:hidden;'>"
+'<table style="border-spacing:10px;border-collapse:separate;border-bottom:1px solid var(--cb);" class="button_menu" onclick="modal_window(\'close\');build(0);"><tbody><tr>'
+'<td style="width:82px;height:82px;background-repeat:no-repeat;background-size: 48px 48px;background-position:center;" class="img_html"></td><td><p style="font-size:12px;text-align:left;width:320px;" class="select_tutorials">'+texts.tutorials[8].en+'</p></td></tr>'
+'<td style="width:82px;height:82px;background-repeat:no-repeat;background-size: 48px 48px;background-position:center;" class="img_html"><div style="width:54px;display:block;"></div></td><td><p style="font-size:12px;text-align:left;width:320px;" class="select_tutorials">'+texts.tutorials[8].en+'</p></td></tr>'
+'</tbody></table>'
+'<table style="border-spacing:10px;border-collapse:separate;border-bottom:1px solid var(--cb);" class="button_menu" onclick="modal_window(\'close\');build(1);"><tbody><tr>'
+'<td style="width:82px;height:82px;background-repeat:no-repeat;background-size: 48px 48px;background-position:center;" class="img_zip"></td><td><p style="font-size:12px;text-align:left;width:320px;" class="select_tutorials">'+texts.tutorials[9].en+'</p></td></tr>'
Expand Down

0 comments on commit 8f8d4e1

Please sign in to comment.