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 @@