Message View.js

Talking Scene JavaScript Library
HTML5, WebGame etc..

Source

var message = new MessageViewer({
    "data": [{
        "side_class": "right",
        "name": "生方 すみれ",
        "message":"え?<br>あなたは誰??",
        "img_url": "../img/sample002/character_0001.png"
    },
    {
        "message":"何処からやって来たの???"
    },
    {
        "side_class": "left",
        "name": "撫月 憐",
        "message":"エデイドゥ・イニヤ・ゲ×ルグエ<br>ラー×ムソーラッソ×$・・・・",
        "img_url": "../img/sample002/character_0002.png"
    },
    {
        "message":"×$&ソ×ルルア×ル×$・・・・"
    },
       {
        "side_class": "flash",
        "name": "生方 すみれ",
        "message":"き、きゃあぁーーー!!!!",
        "img_url": "../img/sample002/character_0001.png"
    },
    {
        "message":"な、なんだったの??今の??"
    }],
    "option": {
        "loop": true
    }
});

Demo Creator

Daisuke Takayama

web帳:http://www.webcyou.com/