I thought pygame didn't work with 3.X?
If it does, it should still follow the same instructions.
1) Load image (pygame.image.load(image))
2) Blit onto display screen (screen_variable.blit(image, image.coordinates))
3) Update display (pygame.display.update())
import pygame, sys, time, random
from pygame.locals import *
# set up pygame
mainClock = pygame.time.Clock()
# set up the window
WINDOWWIDTH = 400
WINDOWHEIGHT = 400
windowSurface = pygame.display.set_mode((WINDOWWIDTH, WINDOWHEIGHT), 0, 32)
pygame.display.set_caption('Sprites and Sound')
# set up the colors
BLACK = (0, 0, 0)
# set up the block data structure
pi = pygame.image.load('C:/python31/include/player.ss.png')
it keeps giving this back
Traceback (most recent call last):
File "C:/Python31/7.py", line 19, in <module>
TypeError: invalid destination position for blit
I don't understand why it isn't recognizing any of the coordinates I try
I Developed application in C# with crystal reports and created setup file in third party (Advance) Installer.When i installed my application on client system application is working but ...