diff --git a/README.md b/README.md index 77452a1..a690c89 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ Snake: Wanna eat apple 苹果 🍎🍎🍎? then ``` include 'ChatBlock.php'; -$lines = file_get_contents('./chapter-1.txt'); +$lines = file_get_contents('./chapter.1.txt'); $cb = new ChatBlock($lines); echo $cb->read(); ``` diff --git a/chapter.1.txt b/chapter.1.txt new file mode 100644 index 0000000..24289d1 --- /dev/null +++ b/chapter.1.txt @@ -0,0 +1,18 @@ +妖猫: //i.imgur.com/Jvh1OQm.jpeg?color=blue +大蛇丸: //i.imgur.com/FEiFVeO.png?color=green +天狗: //i.imgur.com/pW71NE5.jpeg?color=red +--- +Background: //www.yummy-sounds.com/data/music/music/zoomplayer/2-0521_Lino_Rise_Media_-_Steve_Sin_City_layout.mp3 +Narator: 日本,云间里的破庙... +大蛇丸: 谁偷吃了我的千年智慧之果 🍎🍎🍎? +妖猫: 区区小货色竟敢宣称这神圣之物是你的?我呸!看我的暗影飞转无影爪! + +大蛇丸: 哎哟!我的鳞片都被你刮掉了!我的妈呀!滑头油舌头术! +妖猫: 好滑~四肢脚都站立不定,没法结印。我撤! +Narator: 滋滋滋滋 +妖猫: 怎么有结界? +大蛇丸: 呵呵,你天真啊!以为我千年来是如何镇守这里?飞🐍缠身擒拿法! +妖猫: 喵呜呜~ 好疼~ 我…… 我…… 没法呼吸…… +大蛇丸: 不知自己的分寸私闯禁地,我吃了补补我今晚的魔力吧! +天狗: 休想! +妖猫: 狗兄!救命! \ No newline at end of file diff --git a/demo.php b/demo.php index d9355aa..b17b85e 100644 --- a/demo.php +++ b/demo.php @@ -2,7 +2,8 @@ include './src/ChatBlock.php'; use ChatBlock as ChatUI; -$sample = file_get_contents('./sample.txt'); +// $sample = file_get_contents('./sample.txt'); +$sample = file_get_contents('./chapter.1.txt'); // $sample = file_get_contents('./sample.2.txt'); ?> @@ -23,7 +24,7 @@
-

打赏宣言#1

+

Novel Title

read(); diff --git a/imessage.css b/imessage.css index 4c50b58..27d9f98 100644 --- a/imessage.css +++ b/imessage.css @@ -199,7 +199,7 @@ } .imessage .chat-name-me{ text-align: right; - justify-content: flex-end; + flex-direction: row-reverse; } .imessage .chat-name-them{ text-align: left; diff --git a/sample.txt b/sample.txt index 3a18e54..f441790 100644 --- a/sample.txt +++ b/sample.txt @@ -2,6 +2,7 @@ Adam: //i.imgur.com/pW71NE5.jpeg?color=red Eve: //i.imgur.com/Jvh1OQm.jpeg?color=blue Snake: //i.imgur.com/FEiFVeO.png?color=green --- + Background: //filesamples.com/samples/audio/mp3/sample3.mp3 Narator: Once upon a time... Snake: Wanna eat apple 苹果 🍎🍎🍎? @@ -12,6 +13,7 @@ Snake: It is too late! hahaha! Tiger: It is too late! hahaha! Dog: It is too late! hahaha! Cat: It is too late! hahaha! + Narator: Thats why human have been cast away away away away away away away away away away away away away. Narator: Thats why human have been cast away. Narator: Thats why human Here have been cast away. @@ -19,7 +21,6 @@ Narator: Thats why human
have been cast away. Narator: end of the story.FIN.👍 - Image: //i.imgur.com/pW71NE5.jpeg?color=red MP3: //filesamples.com/samples/audio/mp3/sample3.mp3 Youtube: //www.youtube.com/embed/tgbNymZ7vqY?controls=0