I saw a youtube video about a guy using python in sublime text to create a mock version of Flappy Bird
So I tried copying his basic codes, his video is basically a tutorial explaining every step in creating the game. But after trying to Build the code with sublime text, nothing appears like the "app" that appeared on his video.
Code:
import pygame
pygame.init()
screen = pygame.display.set_mode((500,800))
pygame.display.set_caption('Boblox')
running = True
GREEN = (0, 200, 0)
clock = pygame.time.Clock()
while running:
clock.tick(60)
screen.fill(GREEN)
for event in pygame.event.get():
if event.type ==pygame.QUIT:
running = False
pygame.display.flip()
pygame.quit()