Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // just keyboard for now
- if (keyboard_check_pressed(vk_f1)) {
- scr_theme_apply("Default");
- script_make_game_for_screenshot(
- "Phil the Pope",
- "Grumpy Grandma",
- GameType.Online,
- 3,
- 6,
- 60*60,
- PieceType.Cross,
- PieceType.Ring,
- [35, 35],
- [
- " x ",
- " o",
- " ooox",
- " o o",
- "oxxxox",
- " x",
- " x",
- ]
- );
- }
- if (keyboard_check_pressed(vk_f2)) {
- scr_theme_apply("Default");
- script_make_game_for_screenshot(
- "Dave",
- "Evil Dave",
- GameType.Online,
- 5,
- 6,
- 60*60*10,
- );
- var _game = script_make_game_for_screenshot(
- "Dave",
- "Penterminator",
- GameType.AI,
- 3,
- 12,
- 60*60*12,
- );
- script_make_game_for_screenshot(
- "Dave",
- "Anton's Evil Twin",
- GameType.Online,
- 5,
- 6,
- 60*60*23.1,
- );
- _game[? GameData.AIDifficulty] = AIDifficulty.Hard;
- }
- if (keyboard_check_pressed(vk_f3)) {
- scr_theme_apply("Pastel");
- var _game = script_make_game_for_screenshot(
- "Isabelle",
- "Pentabot",
- GameType.AI,
- 11,
- 3,
- 60*60,
- PieceType.Cross,
- PieceType.Ring,
- [35-4, 35-2],
- [
- " o o ",
- " x o ",
- " oxoox o",
- " oxxxxox ",
- " x x xo ",
- "o oxx ",
- " x ",
- " oo ",
- ]
- );
- _game[? GameData.AIDifficulty] = AIDifficulty.Normal;
- }
- if (keyboard_check_pressed(vk_f4)) {
- scr_theme_apply("Default");
- var _game = script_make_game_for_screenshot("Cpt Potato", "Spudlord", GameType.Online, 50, 50, 50);
- global.userID = _game[? GameData.Player1];
- var _guid = _game[? GameData.Player2];
- scr_fetch_names(_game);
- scr_chat_add_message(_guid, chat_message_create(_guid, timeStampMS-1000*80, "Dude, well played 👍! Didn't see that coming...", true) );
- scr_chat_add_message(_guid, chat_message_create(_guid, timeStampMS-1000*70, "Another?", true) );
- scr_chat_add_message(_guid, chat_message_create(global.userID, timeStampMS-1000*40, "Yeah, let's go. This is a lot of fun. 🎉🎉🎉", true) );
- scr_chat_add_message(_guid, chat_message_create(_guid, timeStampMS-1000*30, "Totally 😀 I love playing with you over the internet!", true) );
- scr_chat_add_message(_guid, chat_message_create(_guid, timeStampMS-1000*20, "Almost as much as I love having unscripted conversations! 😛", true) );
- scr_chat_add_message(_guid, chat_message_create(global.userID, timeStampMS-1000, "Yep! It's all very natural.", true) );
- }
- if (keyboard_check_pressed(vk_f5)) {
- scr_theme_apply("Dark");
- var _game = script_make_game_for_screenshot(
- "Player 1",
- "Player 2",
- GameType.Local,
- 3,
- 4,
- 60*60,
- PieceType.Cross,
- PieceType.Ring,
- [35, 35],
- [
- " o oo ",
- " oxxxxo",
- " xxxxox",
- " xoooo",
- " xoooox",
- "oxxxxox",
- "o o",
- "",
- ]
- );
- _game[? GameData.RoundCount] = 3+4;
- }
- if (keyboard_check_pressed(vk_f6)) {
- scr_theme_apply("Dark");
- script_make_game_for_screenshot(
- "Spooky Sara",
- "Sparkly Dino 🦕✨",
- GameType.Online,
- 7,
- 8,
- 60*60*23.1,
- );
- var _game = script_make_game_for_screenshot(
- "Player 1",
- "Player 2",
- GameType.Local,
- 26,
- 20,
- 60*60*4,
- );
- _game[? GameData.RoundCount] = 26+20;
- }
- if (keyboard_check_pressed(vk_f7)) {
- scr_theme_apply("Default");
- var _guid = guid_generate();
- var _game = script_make_game_for_screenshot(
- "Lord Lloyd",
- "Kitty Amazing",
- GameType.Online,
- 4,
- 7,
- 60*60,
- PieceType.Cross,
- PieceType.Cat,
- [35-5, 35-2],
- [
- " o",
- " o ox",
- "oxxxxo",
- "xxxxox",
- " xoooox",
- "oxx o x",
- " o x o o",
- " x",
- " o"
- ]
- );
- _game[? GameData.State] = GameState.End;
- _game[? GameData.MyPiece] = Piece.Ring;
- var _guid = _game[? GameData.Player1];
- scr_fetch_names(_game);
- scr_chat_add_message(_guid, chat_message_create(_guid, timeStampMS-3, "read me pls", true));
- scr_chat_add_message(_guid, chat_message_create(_guid, timeStampMS-3, "read me pls", true));
- scr_chat_add_message(_guid, chat_message_create(_guid, timeStampMS-3, "read me pls", true));
- var _chat = global.chats[? _guid];
- _chat[@ ChatData.ReadTimeStamp] = timeStampMS - 5000;
- _chat[@ ChatData.OtherUserTypingTime] = localTimeStamp+10000000;
- }
- if (keyboard_check_pressed(vk_f8)) {
- scr_theme_apply("Default");
- var _game = script_make_game_for_screenshot(
- "Arny S",
- "Penterminator",
- GameType.AI,
- 3,
- 16,
- 60*60,
- PieceType.Cross,
- PieceType.Ring,
- [35-3, 35-3],
- [
- " x",
- " o" ,
- " o o" ,
- " o x" ,
- " oxoo" ,
- "x xoo" ,
- " xxxox",
- " o" ,
- " x" ,
- ]
- );
- _game[? GameData.AIDifficulty] = AIDifficulty.Hard;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement