Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/devtools/SpriteTypeTest/JPGs 3High
diff options
context:
space:
mode:
authorolpc <olpc@xo-10-A7-93.localdomain>2010-06-15 16:13:58 (GMT)
committer olpc <olpc@xo-10-A7-93.localdomain>2010-06-15 16:13:58 (GMT)
commit299d4792e4859ef6540a75fd277ba60a92540f69 (patch)
treea99b71134bebfd1c068fe80236c1b1982b2db7a5 /devtools/SpriteTypeTest/JPGs 3High
parent7972356e06aa7b29fdf42ed6844e7b4f61c02ef1 (diff)
Previous entry incorrect, this push adds new directories and files
Diffstat (limited to 'devtools/SpriteTypeTest/JPGs 3High')
-rwxr-xr-xdevtools/SpriteTypeTest/JPGs 3High/0 Button.jpgbin0 -> 14798 bytes
-rwxr-xr-xdevtools/SpriteTypeTest/JPGs 3High/1 Button.jpgbin0 -> 14382 bytes
-rwxr-xr-xdevtools/SpriteTypeTest/JPGs 3High/2 Button.jpgbin0 -> 14783 bytes
-rwxr-xr-xdevtools/SpriteTypeTest/JPGs 3High/3 Button.jpgbin0 -> 14896 bytes
-rwxr-xr-xdevtools/SpriteTypeTest/JPGs 3High/4 Button.jpgbin0 -> 14573 bytes
-rwxr-xr-xdevtools/SpriteTypeTest/JPGs 3High/5 Button.jpgbin0 -> 14702 bytes
-rwxr-xr-xdevtools/SpriteTypeTest/JPGs 3High/6 Button.jpgbin0 -> 14751 bytes
-rwxr-xr-xdevtools/SpriteTypeTest/JPGs 3High/7 Button.jpgbin0 -> 14328 bytes
-rwxr-xr-xdevtools/SpriteTypeTest/JPGs 3High/8 Button.jpgbin0 -> 14663 bytes
-rwxr-xr-xdevtools/SpriteTypeTest/JPGs 3High/9 Button.jpgbin0 -> 14708 bytes
-rwxr-xr-xdevtools/SpriteTypeTest/JPGs 3High/Attack Button.jpgbin0 -> 16377 bytes
-rwxr-xr-xdevtools/SpriteTypeTest/JPGs 3High/Battle Hand.jpgbin0 -> 55742 bytes
-rwxr-xr-xdevtools/SpriteTypeTest/JPGs 3High/Blank Button.jpgbin0 -> 15320 bytes
-rwxr-xr-xdevtools/SpriteTypeTest/JPGs 3High/Clear Button.jpgbin0 -> 15148 bytes
-rwxr-xr-xdevtools/SpriteTypeTest/JPGs 3High/Enter Button.jpgbin0 -> 16819 bytes
-rwxr-xr-xdevtools/SpriteTypeTest/JPGs 3High/Hand.jpgbin0 -> 95108 bytes
-rwxr-xr-xdevtools/SpriteTypeTest/JPGs 3High/Item Button.jpgbin0 -> 16169 bytes
-rwxr-xr-xdevtools/SpriteTypeTest/JPGs 3High/Magic Button.jpgbin0 -> 16298 bytes
-rwxr-xr-xdevtools/SpriteTypeTest/JPGs 3High/Pause Screen.jpgbin0 -> 99926 bytes
-rwxr-xr-xdevtools/SpriteTypeTest/JPGs 3High/Special Button.jpgbin0 -> 16264 bytes
-rwxr-xr-xdevtools/SpriteTypeTest/JPGs 3High/bounce.py70
21 files changed, 70 insertions, 0 deletions
diff --git a/devtools/SpriteTypeTest/JPGs 3High/0 Button.jpg b/devtools/SpriteTypeTest/JPGs 3High/0 Button.jpg
new file mode 100755
index 0000000..cb30b94
--- /dev/null
+++ b/devtools/SpriteTypeTest/JPGs 3High/0 Button.jpg
Binary files differ
diff --git a/devtools/SpriteTypeTest/JPGs 3High/1 Button.jpg b/devtools/SpriteTypeTest/JPGs 3High/1 Button.jpg
new file mode 100755
index 0000000..3bb39de
--- /dev/null
+++ b/devtools/SpriteTypeTest/JPGs 3High/1 Button.jpg
Binary files differ
diff --git a/devtools/SpriteTypeTest/JPGs 3High/2 Button.jpg b/devtools/SpriteTypeTest/JPGs 3High/2 Button.jpg
new file mode 100755
index 0000000..c572485
--- /dev/null
+++ b/devtools/SpriteTypeTest/JPGs 3High/2 Button.jpg
Binary files differ
diff --git a/devtools/SpriteTypeTest/JPGs 3High/3 Button.jpg b/devtools/SpriteTypeTest/JPGs 3High/3 Button.jpg
new file mode 100755
index 0000000..fe66efd
--- /dev/null
+++ b/devtools/SpriteTypeTest/JPGs 3High/3 Button.jpg
Binary files differ
diff --git a/devtools/SpriteTypeTest/JPGs 3High/4 Button.jpg b/devtools/SpriteTypeTest/JPGs 3High/4 Button.jpg
new file mode 100755
index 0000000..f6f6ecd
--- /dev/null
+++ b/devtools/SpriteTypeTest/JPGs 3High/4 Button.jpg
Binary files differ
diff --git a/devtools/SpriteTypeTest/JPGs 3High/5 Button.jpg b/devtools/SpriteTypeTest/JPGs 3High/5 Button.jpg
new file mode 100755
index 0000000..6c65f59
--- /dev/null
+++ b/devtools/SpriteTypeTest/JPGs 3High/5 Button.jpg
Binary files differ
diff --git a/devtools/SpriteTypeTest/JPGs 3High/6 Button.jpg b/devtools/SpriteTypeTest/JPGs 3High/6 Button.jpg
new file mode 100755
index 0000000..e7c0309
--- /dev/null
+++ b/devtools/SpriteTypeTest/JPGs 3High/6 Button.jpg
Binary files differ
diff --git a/devtools/SpriteTypeTest/JPGs 3High/7 Button.jpg b/devtools/SpriteTypeTest/JPGs 3High/7 Button.jpg
new file mode 100755
index 0000000..fbdf990
--- /dev/null
+++ b/devtools/SpriteTypeTest/JPGs 3High/7 Button.jpg
Binary files differ
diff --git a/devtools/SpriteTypeTest/JPGs 3High/8 Button.jpg b/devtools/SpriteTypeTest/JPGs 3High/8 Button.jpg
new file mode 100755
index 0000000..589b12e
--- /dev/null
+++ b/devtools/SpriteTypeTest/JPGs 3High/8 Button.jpg
Binary files differ
diff --git a/devtools/SpriteTypeTest/JPGs 3High/9 Button.jpg b/devtools/SpriteTypeTest/JPGs 3High/9 Button.jpg
new file mode 100755
index 0000000..02d2fb0
--- /dev/null
+++ b/devtools/SpriteTypeTest/JPGs 3High/9 Button.jpg
Binary files differ
diff --git a/devtools/SpriteTypeTest/JPGs 3High/Attack Button.jpg b/devtools/SpriteTypeTest/JPGs 3High/Attack Button.jpg
new file mode 100755
index 0000000..62051db
--- /dev/null
+++ b/devtools/SpriteTypeTest/JPGs 3High/Attack Button.jpg
Binary files differ
diff --git a/devtools/SpriteTypeTest/JPGs 3High/Battle Hand.jpg b/devtools/SpriteTypeTest/JPGs 3High/Battle Hand.jpg
new file mode 100755
index 0000000..8286359
--- /dev/null
+++ b/devtools/SpriteTypeTest/JPGs 3High/Battle Hand.jpg
Binary files differ
diff --git a/devtools/SpriteTypeTest/JPGs 3High/Blank Button.jpg b/devtools/SpriteTypeTest/JPGs 3High/Blank Button.jpg
new file mode 100755
index 0000000..8b730fd
--- /dev/null
+++ b/devtools/SpriteTypeTest/JPGs 3High/Blank Button.jpg
Binary files differ
diff --git a/devtools/SpriteTypeTest/JPGs 3High/Clear Button.jpg b/devtools/SpriteTypeTest/JPGs 3High/Clear Button.jpg
new file mode 100755
index 0000000..a476b7c
--- /dev/null
+++ b/devtools/SpriteTypeTest/JPGs 3High/Clear Button.jpg
Binary files differ
diff --git a/devtools/SpriteTypeTest/JPGs 3High/Enter Button.jpg b/devtools/SpriteTypeTest/JPGs 3High/Enter Button.jpg
new file mode 100755
index 0000000..e1cb964
--- /dev/null
+++ b/devtools/SpriteTypeTest/JPGs 3High/Enter Button.jpg
Binary files differ
diff --git a/devtools/SpriteTypeTest/JPGs 3High/Hand.jpg b/devtools/SpriteTypeTest/JPGs 3High/Hand.jpg
new file mode 100755
index 0000000..a4aeb75
--- /dev/null
+++ b/devtools/SpriteTypeTest/JPGs 3High/Hand.jpg
Binary files differ
diff --git a/devtools/SpriteTypeTest/JPGs 3High/Item Button.jpg b/devtools/SpriteTypeTest/JPGs 3High/Item Button.jpg
new file mode 100755
index 0000000..4f0d38a
--- /dev/null
+++ b/devtools/SpriteTypeTest/JPGs 3High/Item Button.jpg
Binary files differ
diff --git a/devtools/SpriteTypeTest/JPGs 3High/Magic Button.jpg b/devtools/SpriteTypeTest/JPGs 3High/Magic Button.jpg
new file mode 100755
index 0000000..06ad4c7
--- /dev/null
+++ b/devtools/SpriteTypeTest/JPGs 3High/Magic Button.jpg
Binary files differ
diff --git a/devtools/SpriteTypeTest/JPGs 3High/Pause Screen.jpg b/devtools/SpriteTypeTest/JPGs 3High/Pause Screen.jpg
new file mode 100755
index 0000000..e9e87d4
--- /dev/null
+++ b/devtools/SpriteTypeTest/JPGs 3High/Pause Screen.jpg
Binary files differ
diff --git a/devtools/SpriteTypeTest/JPGs 3High/Special Button.jpg b/devtools/SpriteTypeTest/JPGs 3High/Special Button.jpg
new file mode 100755
index 0000000..fe5a855
--- /dev/null
+++ b/devtools/SpriteTypeTest/JPGs 3High/Special Button.jpg
Binary files differ
diff --git a/devtools/SpriteTypeTest/JPGs 3High/bounce.py b/devtools/SpriteTypeTest/JPGs 3High/bounce.py
new file mode 100755
index 0000000..aaeab2e
--- /dev/null
+++ b/devtools/SpriteTypeTest/JPGs 3High/bounce.py
@@ -0,0 +1,70 @@
+import sys, pygame, time
+pygame.init()
+
+size = width, height = 600,400
+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.jpg")
+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.jpg"),
+ 2: pygame.image.load("3 Button.jpg"),
+ 3: pygame.image.load("4 Button.jpg"),
+ 4: pygame.image.load("5 Button.jpg"),
+ 5: pygame.image.load("6 Button.jpg"),
+ 6: pygame.image.load("7 Button.jpg"),
+ 7: pygame.image.load("8 Button.jpg"),
+ 8: pygame.image.load("9 Button.jpg"),
+ 9: pygame.image.load("1 Button.jpg")
+ }
+ ball = switcher.get(i,pygame.image.load("1 Button.jpg"))
+
+ #ball = pygame.Surface(rect.size).convert()
+ #ball.blit(self.sheet, (0,0), rect)
+ colorkey = (255, 156, 0)
+ ball.set_colorkey(colorkey, pygame.RLEACCEL)
+
+ 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)