Advertisement
Guest User

Untitled

a guest
Sep 12th, 2019
308
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // just keyboard for now
  2.  
  3. if (keyboard_check_pressed(vk_f1)) {
  4.     scr_theme_apply("Default");
  5.    
  6.     script_make_game_for_screenshot(
  7.         "Phil the Pope",
  8.         "Grumpy Grandma",
  9.         GameType.Online,
  10.         3,
  11.         6,
  12.         60*60,
  13.         PieceType.Cross,
  14.         PieceType.Ring,
  15.         [35, 35],
  16.         [
  17.             " x    ",
  18.             "  o",
  19.             " ooox",
  20.             "  o o",
  21.             "oxxxox",
  22.             "  x",
  23.             " x",
  24.         ]
  25.     );
  26.  
  27. }
  28.  
  29. if (keyboard_check_pressed(vk_f2)) {
  30.     scr_theme_apply("Default");
  31.    
  32.     script_make_game_for_screenshot(
  33.         "Dave",
  34.         "Evil Dave",
  35.         GameType.Online,
  36.         5,
  37.         6,
  38.         60*60*10,
  39.     );
  40.    
  41.    
  42.     var _game = script_make_game_for_screenshot(
  43.         "Dave",
  44.         "Penterminator",
  45.         GameType.AI,
  46.         3,
  47.         12,
  48.         60*60*12,
  49.     );
  50.  
  51.    
  52.     script_make_game_for_screenshot(
  53.         "Dave",
  54.         "Anton's Evil Twin",
  55.         GameType.Online,
  56.         5,
  57.         6,
  58.         60*60*23.1,
  59.     );
  60.    
  61.     _game[? GameData.AIDifficulty] = AIDifficulty.Hard;
  62. }
  63.  
  64. if (keyboard_check_pressed(vk_f3)) {
  65.    
  66.     scr_theme_apply("Pastel");
  67.    
  68.     var _game = script_make_game_for_screenshot(
  69.         "Isabelle",
  70.         "Pentabot",
  71.         GameType.AI,
  72.         11,
  73.         3,
  74.         60*60,
  75.         PieceType.Cross,
  76.         PieceType.Ring,
  77.         [35-4, 35-2],
  78.         [
  79.             "     o o ",
  80.             "    x o  ",
  81.             "  oxoox o",
  82.             " oxxxxox ",
  83.             " x  x xo ",
  84.             "o  oxx   ",
  85.             "     x   ",
  86.             "    oo   ",
  87.         ]
  88.     );
  89.    
  90.     _game[? GameData.AIDifficulty] = AIDifficulty.Normal;
  91.    
  92. }
  93.  
  94. if (keyboard_check_pressed(vk_f4)) {
  95.    
  96.     scr_theme_apply("Default");
  97.  
  98.     var _game = script_make_game_for_screenshot("Cpt Potato", "Spudlord", GameType.Online, 50, 50, 50);
  99.     global.userID = _game[? GameData.Player1];
  100.     var _guid = _game[? GameData.Player2];
  101.    
  102.     scr_fetch_names(_game);
  103.    
  104.     scr_chat_add_message(_guid, chat_message_create(_guid, timeStampMS-1000*80, "Dude, well played 👍! Didn't see that coming...", true) );
  105.     scr_chat_add_message(_guid, chat_message_create(_guid, timeStampMS-1000*70, "Another?", true) );
  106.    
  107.     scr_chat_add_message(_guid, chat_message_create(global.userID, timeStampMS-1000*40, "Yeah, let's go. This is a lot of fun. 🎉🎉🎉", true) );
  108.    
  109.     scr_chat_add_message(_guid, chat_message_create(_guid, timeStampMS-1000*30, "Totally 😀 I love playing with you over the internet!", true) );
  110.     scr_chat_add_message(_guid, chat_message_create(_guid, timeStampMS-1000*20, "Almost as much as I love having unscripted conversations! 😛", true) );
  111.    
  112.     scr_chat_add_message(_guid, chat_message_create(global.userID, timeStampMS-1000, "Yep! It's all very natural.", true) );
  113. }
  114.  
  115. if (keyboard_check_pressed(vk_f5)) {
  116.     scr_theme_apply("Dark");
  117.        
  118.     var _game = script_make_game_for_screenshot(
  119.         "Player 1",
  120.         "Player 2",
  121.         GameType.Local,
  122.         3,
  123.         4,
  124.         60*60,
  125.         PieceType.Cross,
  126.         PieceType.Ring,
  127.         [35, 35],
  128.         [
  129.             " o oo   ",
  130.             " oxxxxo",
  131.             " xxxxox",
  132.             "  xoooo",
  133.             "  xoooox",
  134.             "oxxxxox",
  135.             "o o",
  136.             "",
  137.         ]
  138.     );
  139.    
  140.     _game[? GameData.RoundCount] = 3+4;
  141. }
  142.  
  143. if (keyboard_check_pressed(vk_f6)) {
  144.     scr_theme_apply("Dark");   
  145.    
  146.     script_make_game_for_screenshot(
  147.         "Spooky Sara",
  148.         "Sparkly Dino 🦕✨",
  149.         GameType.Online,
  150.         7,
  151.         8,
  152.         60*60*23.1,
  153.     );
  154.    
  155.     var _game = script_make_game_for_screenshot(
  156.         "Player 1",
  157.         "Player 2",
  158.         GameType.Local,
  159.         26,
  160.         20,
  161.         60*60*4,
  162.     );
  163.    
  164.     _game[? GameData.RoundCount] = 26+20;
  165. }
  166.  
  167. if (keyboard_check_pressed(vk_f7)) {
  168.     scr_theme_apply("Default");
  169.    
  170.     var _guid = guid_generate();
  171.    
  172.     var _game = script_make_game_for_screenshot(
  173.         "Lord Lloyd",
  174.         "Kitty Amazing",
  175.         GameType.Online,
  176.         4,
  177.         7,
  178.         60*60,
  179.         PieceType.Cross,
  180.         PieceType.Cat,
  181.         [35-5, 35-2],
  182.         [
  183.             "       o",
  184.             " o ox",
  185.             "oxxxxo",
  186.             "xxxxox",
  187.             " xoooox",
  188.             "oxx o  x",
  189.             " o x o  o",
  190.             "    x",
  191.             "     o"
  192.         ]
  193.     );
  194.    
  195.     _game[? GameData.State] = GameState.End;
  196.     _game[? GameData.MyPiece] = Piece.Ring;
  197.    
  198.     var _guid = _game[? GameData.Player1];
  199.     scr_fetch_names(_game);
  200.     scr_chat_add_message(_guid, chat_message_create(_guid, timeStampMS-3, "read me pls", true));
  201.     scr_chat_add_message(_guid, chat_message_create(_guid, timeStampMS-3, "read me pls", true));
  202.     scr_chat_add_message(_guid, chat_message_create(_guid, timeStampMS-3, "read me pls", true));
  203.  
  204.    
  205.    
  206.     var _chat = global.chats[? _guid];
  207.     _chat[@ ChatData.ReadTimeStamp] = timeStampMS - 5000;
  208.     _chat[@ ChatData.OtherUserTypingTime] = localTimeStamp+10000000;
  209. }
  210.  
  211. if (keyboard_check_pressed(vk_f8)) {
  212.     scr_theme_apply("Default");
  213.    
  214.     var _game = script_make_game_for_screenshot(
  215.         "Arny S",
  216.         "Penterminator",
  217.         GameType.AI,
  218.         3,
  219.         16,
  220.         60*60,
  221.         PieceType.Cross,
  222.         PieceType.Ring,
  223.         [35-3, 35-3],
  224.         [
  225.             "     x",
  226.             "    o" ,
  227.             " o o"  ,
  228.             "  o x" ,
  229.             " oxoo" ,
  230.             "x xoo" ,
  231.             " xxxox",
  232.             "    o" ,
  233.             "    x" ,
  234.         ]
  235.     );
  236.    
  237.     _game[? GameData.AIDifficulty] = AIDifficulty.Hard;
  238. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement