{
  "submission_id": "3248956",
  "keywords": [
    {
      "keyword_id": "3061",
      "keyword_name": "bill",
      "contributed": "f",
      "submissions_count": "578"
    },
    {
      "keyword_id": "192",
      "keyword_name": "game",
      "contributed": "f",
      "submissions_count": "12818"
    },
    {
      "keyword_id": "11078",
      "keyword_name": "python",
      "contributed": "f",
      "submissions_count": "1025"
    },
    {
      "keyword_id": "198819",
      "keyword_name": "shooty",
      "contributed": "f",
      "submissions_count": "4"
    }
  ],
  "hidden": "f",
  "scraps": "f",
  "favorite": "f",
  "favorites_count": "1",
  "create_datetime": "2024-02-12 09:55:58.620347+00",
  "create_datetime_usertime": "12 Feb 2024 10:55 CET",
  "last_file_update_datetime": "2024-02-12 09:55:34.654219+00",
  "last_file_update_datetime_usertime": "12 Feb 2024 10:55 CET",
  "username": "FreePi",
  "user_id": "337515",
  "user_icon_file_name": "218123_FreePi_maraca_snake.png",
  "user_icon_url_large": "https://nl1.ib.metapix.net/usericons/large/218/218123_FreePi_maraca_snake.png",
  "user_icon_url_medium": "https://nl1.ib.metapix.net/usericons/medium/218/218123_FreePi_maraca_snake.png",
  "user_icon_url_small": "https://nl1.ib.metapix.net/usericons/small/218/218123_FreePi_maraca_snake.png",
  "file_name": "4900545_FreePi_bill_s_super_shooty_world.txt",
  "file_url_full": "https://nl1.ib.metapix.net/files/full/4900/4900545_FreePi_bill_s_super_shooty_world.txt",
  "file_url_screen": "https://nl1.ib.metapix.net/files/screen/4900/4900545_FreePi_bill_s_super_shooty_world.txt",
  "file_url_preview": "https://nl1.ib.metapix.net/files/preview/4900/4900545_FreePi_bill_s_super_shooty_world.txt",
  "files": [
    {
      "file_id": "4900545",
      "file_name": "4900545_FreePi_bill_s_super_shooty_world.txt",
      "file_url_full": "https://nl1.ib.metapix.net/files/full/4900/4900545_FreePi_bill_s_super_shooty_world.txt",
      "file_url_screen": "https://nl1.ib.metapix.net/files/screen/4900/4900545_FreePi_bill_s_super_shooty_world.txt",
      "file_url_preview": "https://nl1.ib.metapix.net/files/preview/4900/4900545_FreePi_bill_s_super_shooty_world.txt",
      "mimetype": "text/plain",
      "submission_id": "3248956",
      "user_id": "337515",
      "submission_file_order": "0",
      "full_size_x": null,
      "full_size_y": null,
      "screen_size_x": null,
      "screen_size_y": null,
      "preview_size_x": null,
      "preview_size_y": null,
      "initial_file_md5": "7860583005642b6ae0aa837c1edc7027",
      "full_file_md5": "7860583005642b6ae0aa837c1edc7027",
      "large_file_md5": "",
      "small_file_md5": "",
      "thumbnail_md5": "",
      "deleted": "f",
      "create_datetime": "2024-02-12 09:55:34.654219+00",
      "create_datetime_usertime": "12 Feb 2024 10:55 CET"
    }
  ],
  "pools": [],
  "description": "",
  "description_bbcode_parsed": "<span style='word-wrap: break-word;'></span>",
  "writing": "import pygame\nfrom sys import exit #So \"pygame.quit()\" does not undo \"pygame.init()\"\n\n#initiates pygame\npygame.init()\n#variable for window size (width,height)\nscreen = pygame.display.set_mode((256,256))\n#Name of game displayed on the window\npygame.display.set_caption(\"bill's Super Shooty World\")\n#Set maximum frame rate to keep framerate consistant\nclock = pygame.time.Clock()\n\nbg1_surface = pygame.image.load('Graphics/BG 1.png')\nblock_surface = pygame.image.load('Graphics/Block.png')\n\n#Keep the code running forever instead of just for one frame, thus keeping the window open instead of it closing after one frame.\nwhile True:\n\t#allows us to actually quit the windows\n\tfor event in pygame.event.get():\n\t\tif event.type == pygame.QUIT:\n\t\t\tpygame.quit()\n\t\t\texit() #So \"pygame.quit()\" does not undo \"pygame.init()\"\n\t# draw all our elements\n\t# update everything\n\n\t#The order in which you call the images determind what layer they're on\n\tscreen.blit(bg1_surface,(0,0))\n\tscreen.blit(block_surface,(0,0))\n\n\tpygame.display.update()\n\tclock.tick(60) #Set maximum frame rate to keep framerate consistant",
  "writing_bbcode_parsed": "<span style='word-wrap: break-word;'>import pygame<br />from sys import exit #So &quot;pygame.quit()&quot; does not undo &quot;pygame.init()&quot;<br /><br />#initiates pygame<br />pygame.init()<br />#variable for window size (width,height)<br />screen = pygame.display.set_mode((256,256))<br />#Name of game displayed on the window<br />pygame.display.set_caption(&quot;bill&#039;s Super Shooty World&quot;)<br />#Set maximum frame rate to keep framerate consistant<br />clock = pygame.time.Clock()<br /><br />bg1_surface = pygame.image.load(&#039;Graphics/BG 1.png&#039;)<br />block_surface = pygame.image.load(&#039;Graphics/Block.png&#039;)<br /><br />#Keep the code running forever instead of just for one frame, thus keeping the window open instead of it closing after one frame.<br />while True:<br />\t#allows us to actually quit the windows<br />\tfor event in pygame.event.get():<br />\t\tif event.type == pygame.QUIT:<br />\t\t\tpygame.quit()<br />\t\t\texit() #So &quot;pygame.quit()&quot; does not undo &quot;pygame.init()&quot;<br />\t# draw all our elements<br />\t# update everything<br /><br />\t#The order in which you call the images determind what layer they&#039;re on<br />\tscreen.blit(bg1_surface,(0,0))<br />\tscreen.blit(block_surface,(0,0))<br /><br />\tpygame.display.update()<br />\tclock.tick(60) #Set maximum frame rate to keep framerate consistant</span>",
  "pools_count": 0,
  "title": "New Submission",
  "deleted": "f",
  "public": "t",
  "mimetype": "text/plain",
  "pagecount": "1",
  "rating_id": "0",
  "rating_name": "General",
  "ratings": [],
  "submission_type_id": "12",
  "type_name": "Writing - Document",
  "guest_block": "f",
  "friends_only": "f",
  "comments_count": "0",
  "views": "32"
}