Skip to content

Instantly share code, notes, and snippets.

View s0lst1ce's full-sized avatar

s0lst1ce s0lst1ce

View GitHub Profile
@kadir014
kadir014 / fadehandler.py
Created January 26, 2020 16:23
Fade effect for pygame
import pygame
display = None
fade_surface = None
tick = 0
speed = 10
anim_state = None
anim_func = None
def init():