Need a unique gift idea?
A Pastebin account makes a great Christmas gift
SHARE
TWEET

Untitled

a guest Dec 15th, 2017 53 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  1. window.onload = function() {
  2. var msg="だよだよだよだよだよだよ";
  3. var i=0;
  4.  
  5. function tipeMes(){
  6. if (i<msg.length){
  7. game.typetext = msg.substring(0,i++);
  8. setTimeout(tipeMes(),100);
  9. }else{
  10. i=0;
  11. }
  12. }
  13. game.onload = function() {
  14. game.rootScene.addChild(bg);
  15.         var typetext =new Label();
  16.         typetext.color = '#ffffff';
  17.         typetext.y = 200;
  18.         typetext.x = 200;
  19.         typetext.font = '16px monospace';
  20.         game.rootScene.addChild(typetext);
  21.         tipeMes();
  22. }
  23. game.start();
  24. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top