Skip to content

Instantly share code, notes, and snippets.

View GrahamJoonsar's full-sized avatar

Graham Joonsar GrahamJoonsar

View GitHub Profile
@GrahamJoonsar
GrahamJoonsar / GunGame.py
Last active September 11, 2020 16:52
Trying to make a simple top down shooter
import math
import pygame
import random
# http://programarcadegames.com/index.php?chapter=introduction_to_sprites
RED = (255, 0, 0)
WHITE = (255, 255, 255)
GRAY = (100, 100, 100)
vel_x = 0