diff options
Diffstat (limited to 'devtools/SpriteTypeTest/GIFs Transparent')
-rwxr-xr-x | devtools/SpriteTypeTest/GIFs Transparent/1 Button.gif | bin | 207 -> 0 bytes | |||
-rwxr-xr-x | devtools/SpriteTypeTest/GIFs Transparent/2 Button.gif | bin | 316 -> 0 bytes | |||
-rwxr-xr-x | devtools/SpriteTypeTest/GIFs Transparent/3 Button.gif | bin | 297 -> 0 bytes | |||
-rwxr-xr-x | devtools/SpriteTypeTest/GIFs Transparent/4 Button.gif | bin | 241 -> 0 bytes | |||
-rwxr-xr-x | devtools/SpriteTypeTest/GIFs Transparent/5 Button.gif | bin | 250 -> 0 bytes | |||
-rwxr-xr-x | devtools/SpriteTypeTest/GIFs Transparent/6 Button.gif | bin | 233 -> 0 bytes | |||
-rwxr-xr-x | devtools/SpriteTypeTest/GIFs Transparent/7 Button.gif | bin | 228 -> 0 bytes | |||
-rwxr-xr-x | devtools/SpriteTypeTest/GIFs Transparent/8 Button.gif | bin | 258 -> 0 bytes | |||
-rwxr-xr-x | devtools/SpriteTypeTest/GIFs Transparent/9 Button.gif | bin | 304 -> 0 bytes | |||
-rwxr-xr-x | devtools/SpriteTypeTest/GIFs Transparent/bounce.py | 66 |
10 files changed, 0 insertions, 66 deletions
diff --git a/devtools/SpriteTypeTest/GIFs Transparent/1 Button.gif b/devtools/SpriteTypeTest/GIFs Transparent/1 Button.gif Binary files differdeleted file mode 100755 index 2aad244..0000000 --- a/devtools/SpriteTypeTest/GIFs Transparent/1 Button.gif +++ /dev/null diff --git a/devtools/SpriteTypeTest/GIFs Transparent/2 Button.gif b/devtools/SpriteTypeTest/GIFs Transparent/2 Button.gif Binary files differdeleted file mode 100755 index ed22525..0000000 --- a/devtools/SpriteTypeTest/GIFs Transparent/2 Button.gif +++ /dev/null diff --git a/devtools/SpriteTypeTest/GIFs Transparent/3 Button.gif b/devtools/SpriteTypeTest/GIFs Transparent/3 Button.gif Binary files differdeleted file mode 100755 index 246cd12..0000000 --- a/devtools/SpriteTypeTest/GIFs Transparent/3 Button.gif +++ /dev/null diff --git a/devtools/SpriteTypeTest/GIFs Transparent/4 Button.gif b/devtools/SpriteTypeTest/GIFs Transparent/4 Button.gif Binary files differdeleted file mode 100755 index 722f240..0000000 --- a/devtools/SpriteTypeTest/GIFs Transparent/4 Button.gif +++ /dev/null diff --git a/devtools/SpriteTypeTest/GIFs Transparent/5 Button.gif b/devtools/SpriteTypeTest/GIFs Transparent/5 Button.gif Binary files differdeleted file mode 100755 index 6a71348..0000000 --- a/devtools/SpriteTypeTest/GIFs Transparent/5 Button.gif +++ /dev/null diff --git a/devtools/SpriteTypeTest/GIFs Transparent/6 Button.gif b/devtools/SpriteTypeTest/GIFs Transparent/6 Button.gif Binary files differdeleted file mode 100755 index 0dd2145..0000000 --- a/devtools/SpriteTypeTest/GIFs Transparent/6 Button.gif +++ /dev/null diff --git a/devtools/SpriteTypeTest/GIFs Transparent/7 Button.gif b/devtools/SpriteTypeTest/GIFs Transparent/7 Button.gif Binary files differdeleted file mode 100755 index 1e9914b..0000000 --- a/devtools/SpriteTypeTest/GIFs Transparent/7 Button.gif +++ /dev/null diff --git a/devtools/SpriteTypeTest/GIFs Transparent/8 Button.gif b/devtools/SpriteTypeTest/GIFs Transparent/8 Button.gif Binary files differdeleted file mode 100755 index 390124b..0000000 --- a/devtools/SpriteTypeTest/GIFs Transparent/8 Button.gif +++ /dev/null diff --git a/devtools/SpriteTypeTest/GIFs Transparent/9 Button.gif b/devtools/SpriteTypeTest/GIFs Transparent/9 Button.gif Binary files differdeleted file mode 100755 index 61c8c3c..0000000 --- a/devtools/SpriteTypeTest/GIFs Transparent/9 Button.gif +++ /dev/null diff --git a/devtools/SpriteTypeTest/GIFs Transparent/bounce.py b/devtools/SpriteTypeTest/GIFs Transparent/bounce.py deleted file mode 100755 index 50e57e2..0000000 --- a/devtools/SpriteTypeTest/GIFs Transparent/bounce.py +++ /dev/null @@ -1,66 +0,0 @@ -import sys, pygame, time -pygame.init() - -size = width, height = 600,400 -#size = width, height = 1200,900 -print "\n\n ---- ---- ---- ---- ---- ---- \nFiltype test - Authors Dave Silverman and Scott Mengel" -print "Set size to 1200 x 900 px" -speed = [2, 2] -black = 255, 255, 255 - -screen = pygame.display.set_mode(size) - -ball = pygame.image.load("1 Button.gif") -ballrect = ball.get_rect() -i=1 -print "Ball Loaded, collision detection ready, Initiating Loop:" - -# R is the Renewed time -# init is the time started -# tt is the test time, gathered by adding the previous test time with -#the new elapsed time which is test.time()'s difference from init - -r=0 - -start = time.time() - -while 1: - # Homemade switcher for the purpose of selecting which img to load - switcher = { - 1: pygame.image.load("2 Button.gif"), - 2: pygame.image.load("3 Button.gif"), - 3: pygame.image.load("4 Button.gif"), - 4: pygame.image.load("5 Button.gif"), - 5: pygame.image.load("6 Button.gif"), - 6: pygame.image.load("7 Button.gif"), - 7: pygame.image.load("8 Button.gif"), - 8: pygame.image.load("9 Button.gif"), - 9: pygame.image.load("1 Button.gif") - } - ball = switcher.get(i,pygame.image.load("1 Button.gif")) - - i=i+1 - - if i>9: i=1 - - for event in pygame.event.get(): - if event.type == pygame.QUIT: sys.exit() - - ballrect = ballrect.move(speed) - - if ballrect.left < 0 or ballrect.right > width: - speed[0] = -speed[0] - if ballrect.top < 0 or ballrect.bottom > height: - speed[1] = -speed[1] - - screen.fill(black) - screen.blit(ball, ballrect) - pygame.display.flip() - - r=r+1 - - val=1/((time.time()-start)/r) - print val - print r - if r > 500: - sys.exit(0) |